For amusement, I'm wring a python pygame program. I wanted to add keyboard shortcuts as an alternative to using the mouse to click the buttons. When investigating this I was looking at the event.mod types that can act as modifiers on the keys (i.e. alt, ctrl, shift, num lock, etc.). They are pretty straightforward except for one.
I cannot figure out what key the modifier pygame.KMOD_MODE is intended to indicate is being pressed. This is the list of modifiers, and it is the last one.
Constant Description
-------------------------
KMOD_NONE no modifier keys pressed
KMOD_LSHIFT left shift
KMOD_RSHIFT right shift
KMOD_SHIFT left shift or right shift or both
KMOD_LCTRL left control
KMOD_RCTRL right control
KMOD_CTRL left control or right control or both
KMOD_LALT left alt
KMOD_RALT right alt
KMOD_ALT left alt or right alt or both
KMOD_LMETA left meta
KMOD_RMETA right meta
KMOD_META left meta or right meta or both
KMOD_CAPS caps lock
KMOD_NUM num lock
KMOD_MODE mode
The numeric value of the flag is hex 0x4000, but that's just a mapping and doesn't indicate what triggers the modifier flag getting set.
I have been searching around but cannot find anything that uses or explains what this is intended to indicate. Of course I can just ignore it since this is just for fun and not a 'real' project, but I really would like to understand what this is.
Anyone know what key would trigger this modifier?