Magic Lantern Forum

Developing Magic Lantern => General Development => Topic started by: Marsu42 on February 18, 2014, 07:26:29 AM

Title: What keypress events are available on what model?
Post by: Marsu42 on February 18, 2014, 07:26:29 AM
Is there a table somewhere stating which keypress (and unpress) event works where, in and outside live view?

This would be very useful when trying to code a module that works cross-platform, if it doesn't exist how about creating one - maybe with an automated tool that collects the required feedback from owners of these cameras?
Title: Re: What keypress events are available on what model?
Post by: nanomad on February 18, 2014, 08:27:48 AM
No but it could be compiled. It's not a huge task and could be indeed very useful
Title: Re: What keypress events are available on what model?
Post by: g3gg0 on February 18, 2014, 08:42:39 AM
i dont have access to google drive from there.
but we had a comparison of the various models and LCD sizes, memory maps etc.
there might be some information - if not you can add a sheet there.

for portability of modules, there are model-independent keycodes in module.h but as you wrote,
its not clear which model allows which one in which mode.
Title: Re: What keypress events are available on what model?
Post by: Marsu42 on February 23, 2014, 07:35:04 PM
Quote from: g3gg0 on February 18, 2014, 08:42:39 AM
for portability of modules, there are model-independent keycodes in module.h but as you wrote,
its not clear which model allows which one in which mode.

The problem from my coding experiments and moving 60d->6d is that the exception is the rule rather than full compatibility - if such a keycode event list is compiled, the amount of "portable" codes might be surprisingly short. If so, some abstraction and mapping might make sense to lift the burden from module authors to keep in mind every camera model out there they'll never own nor touch.