I'm trying to do to assign keys to my game like:
module Controller CROUCH = "Q"endHow can I test if the Q key on the keyboard was pressed. Instead of having to do something like :C and mapping it to the Q on the keyboard. Is there any way to do it? If not how can I set so the :C button or whichever I want is by default Q on the keyboard? Last time I shared my game with someone the key bindings were like RPG Maker default.
module Controller CROUCH = "Q"endHow can I test if the Q key on the keyboard was pressed. Instead of having to do something like :C and mapping it to the Q on the keyboard. Is there any way to do it? If not how can I set so the :C button or whichever I want is by default Q on the keyboard? Last time I shared my game with someone the key bindings were like RPG Maker default.