Added a few cross-platform keys

Jimmy

New member
3rd Party Module Dev
Tutorial Author
Joined
Jan 2, 2020
Messages
569
I added a few keycodes which are cross-platform on desktop. It took a complete afternoon so to spare others I'll upload the result here.
There's lots more of course but I decided not to add the rest because they have no sensible corresponding key for Windows/Linux.

These makes a lot of sense to add though.

These are the ones
code_language.cerberus:
    ' Keycodes
    ' Const KEY_ALT=18 ' Alt (aka Option on Apple)
    ' Const KEY_WIN Left=91 ' Left Command aka Apple key (MacOS) or Left Windows aka Logo key (Windows) or Super aka Hyper key (Linux) 
    ' Const KEY_CAPS_LOCK=20 ' Momentary
 
Last edited:
Top Bottom