Alt key gets ignored by Keyman Developer

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP


Alt key gets ignored by Keyman Developer



I'm attempting to make a keyboard in Keyman Developer 9.0. But rules involving any of the Alt keys seem to get ignored and produce no output in the debugger.



Here's my MCVE: this keyboard layout code is an attempt to modify the behavior of a single key, the Z key.


store(&VERSION) '9.0'
store(&NAME) 'Sandbox'
begin Unicode > use(main)

group(main) using keys
+ [SHIFT K_Z] > 'Shift! '
+ [LALT K_Z] > 'Lalt! '
+ [RALT K_Z] > 'Ralt! '



This compiles cleanly. Then typing Shiftz in the debugger print Shift! as intended.


Shift!



But Altz and Alt Grz don't do anything. It's as if those rules get ignored.



Same problem if I don't distinguish between left and right Alt keys and just use


+ [ALT K_Z] > 'Alt! '



How do I fix this?



My physical keyboard has a European layout, more specifically for Denmark... though I don't think this should have any effect on this issue.





You might try running it in the debugger to see what is going on. Using the current beta version of Keyman Developer (10.0.1057.0) I tried it on my American keyboard (in the debugger) and got this output when typing each of the three key combinations in succession: Shift! Lalt! Ralt!
– Tom Bogle
Apr 13 at 14:00





Yes, there was a limitation in the Keyman Developer 9 debugger that prevented it working with Alt keys. If you install the keyboard with version 9, it should work. However @TomBogle's suggestion of going with 10.0 is good.
– Marc Durdin
Apr 15 at 0:41




1 Answer
1



There is a limitation in the Keyman Developer 9.0 debugger that prevents it working with Alt keys.



This limitation has been lifted in version 10.0.



Note that this is only a issue with the debugger. If you actually install the keyboard with version 9.0, it should work.



Content migrated from Marc Dudin's comment to the original question.






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

Makefile test if variable is not empty

Will Oldham

'Series' object is not callable Error / Statsmodels illegal variable name