Skip to content

Strange key codes on Linux #170

@KungPhoo

Description

@KungPhoo

When I type 'q' on the keyboard, I get the keypress event.keyboard.keyCode of 0x18 "0x17-0x19 IME-Keys" and an input event for 0x71 = 'q'.
On Windows, I get keypress 0x51='Q' and input = 0x71 = 'q', then keypress 0x41 'A' and input 0x61 = 'a'.
I found, that I had to use the mappedKey instead of keyCode, but it was a pitfall for me. Maybe set the keycode to zero on button press events?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions