N
N0ba
Guest
So I've been working on control rebinding. It all works, but obviously when global.up is bound to, for example "W", the game crashes because I'm checking for keyboard_check(global.up), and "W" isn't a number.
Is there any way to convert the input received by keyboard_string into the key code assigned to that character? I apologise if this is a dumb or easily answered question, but I've scoured Google looking for it and have turned up empty handed.
Is there any way to convert the input received by keyboard_string into the key code assigned to that character? I apologise if this is a dumb or easily answered question, but I've scoured Google looking for it and have turned up empty handed.