So, I'm trying to test whether Construct 2 can detect the keycode for both "A" and "a", turns out Construct can only detect keycode 65 (for "A") and not 97 (for "a") because the debug text object doesn't show anything when I use event On keyboard key code 97 pressed.
Does anyone know how do I detect "a" keycode? Because I want to do something different when the keycode for "A" and "a" are pressed.
thanks.
Not sure why Keyboard.LastKeyCode doesn't return full ASCII codes. Maybe Ashley can clarify.
Since all lower case letters are equal to the keycode for the uppercase + 32, you could do it in Events.
For instance,
IF SHIFT (or CAPS) IS DOWN set keyvariable to Keyboard.LastKeyCode+32
ELSE set keyvariable Keyboard.LastKeyCode
Would this be of use?