I'm working on a desktop app for Picotron and I need to detect when the AltGr key is being pressed. I tried
if keyp("altgr") then
but it doesn't work. I've also tried
if key("alt") and key("ctrl") then
and its variants (like "lctrl" or "rctrl") but it also doesn't detect when I press altgr on my keyboard.
Thanks for any help!
The number is 0x0E6
for example:
if key(0x0E6) then print("works") end
You can find all the codes looking at SDL scancodes https://www.freepascal-meets-sdl.net/sdl-2-0-scancode-lookup-table/
does the new keyword configuration file help?
https://www.lexaloffle.com/dl/docs/picotron_manual.html#_Keyboard_Layout
I just tried, and it sadly doesn't. Currently, altgr isn't detected at all, even on picocotron's text editor. I'm on 0.1.0c.
For example, to type "/" on my keyboard, I have to press altgr+q. Currently, I can't type "/" anymore on picotron. It used to work on the previous version.
[Please log in to post a comment]