Magic Lantern Forum

Developing Magic Lantern => Scripting Corner => Scripting Q&A => Topic started by: garry23 on September 29, 2019, 12:08:06 PM

Title: PicStyle Key Strangeness
Post by: garry23 on September 29, 2019, 12:08:06 PM
I'm using the latest Lua fix on a 5D3.

I've convinced myself something is 'strange' with the PicStyle key.

When I press it I get a key 20 return, which is UNPRESS_UDLR.

Does anyone have any insight.

My use case is to hijack the PicStyle key in my script.
Title: Re: PicStyle Key Strangeness
Post by: garry23 on September 30, 2019, 09:52:28 PM
@a1ex

I hope you can throw some education my way.

What I'm seeing, with some keys, are two values: when I'm expecting one.

For example, the zoom-in button gives me 21 when I press it and 30 when I release it.

30 is PICSTYLE.

As I say, I'm confused.

Do you have any insight?