Unmapped ALT Keys

Monkey Forums/Monkey Bug Reports/Unmapped ALT Keys

dopeyrulz(Posted 2013) [#1]
Mark,

Just trying to use the Left/Right ALT keys (in this case for GLFW) and noticed they are not mapped.

Found this in the source:
'TODO: add these for applicable targets
'Const KEY_LSHIFT=160
'Const KEY_RSHIFT=161
'Const KEY_LCONTROL=162
'Const KEY_RCONTROL=163
'Const KEY_LALT=164
'Const KEY_RALT=165

I've manually added the Alt keys via glfwgame.cpp (BBGlfwGame::TransKey) using:

case GLFW_KEY_LALT:return VKEY_LALT;
case GLFW_KEY_RALT:return VKEY_RALT;

Could we please get these added to each applicable target (noting you fixed up Control in v68b).


marksibly(Posted 2013) [#2]
Eventually...there are several issues that supporting left/right modifier keys (which Monkey doesn't yet) raises that I need to have a think about first.


dopeyrulz(Posted 2013) [#3]
No probe Mark thanks for taking a look!