Had to do some tricky key remapping, and write some custom javascript to see if the numlock LED was on.
It might have been better to explicitly track the numlock in a variable someplace, instead of looking for the LED object.
Altirra arrow keys depend on the ALT key being pressed, but pressing ALT also enables the window's menu. This means that you press the 6 key, cursor goes right as expected, but the window's menu might suddenly be active. Press 'F' for a surprise.
It works fine in full-screen mode though.
Had to do some tricky key remapping, and write some custom javascript to see if the numlock LED was on.
It might have been better to explicitly track the numlock in a variable someplace, instead of looking for the LED object.
Altirra arrow keys depend on the ALT key being pressed, but pressing ALT also enables the window's menu. This means that you press the 6 key, cursor goes right as expected, but the window's menu might suddenly be active. Press 'F' for a surprise. It works fine in full-screen mode though.