Skip to content

Kitty keyboard: incorrect handling of shifted keys #10

@rockorager

Description

@rockorager

Reproducer

kitten show-key -m kitty

Press ":" on us layout (shift + ;)

Expected output

CSI 59 : 58 ; 2 ; 58 u

Actual output

CSI 58 ; 2 ; 58 u

Issue

We need to get the physical key from xkb. Using wev I can see this is delivered as "key: 47" for both a ';' press and a 'shift + ;' press, but I can't see how to get this information from xkb directly in wraith. Ultimately, this will need to be used to set the input.KeyEvent key, physical_key, and unshifted_codepoint just before the keyCallback function.

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