Make the character callback use the key converted through the keymap, instead of trying to perform a direct conversion.
Store a persistent keymap_state, instead of creating a new one every time. This makes sure that modifiers such as shift/capslock/ctrl are taken into account.
Make the character callback use the key converted through the keymap, instead of trying to perform a direct conversion.
Store a persistent keymap_state, instead of creating a new one every time. This makes sure that modifiers such as shift/capslock/ctrl are taken into account.
Closes #288.