Skip to content

Out of bound keycode #849

Description

@wismill

Originally posted by @sundermann in #626 (comment):

Is it correct that an out of bounds key fails xkb_keymap_new_from_string? The log message indicates that the key was just ignored but this completely errors out creating a keymap. Is this intended? I am hitting this when parsing a keymap provided by the wayland compositor on webOS in Kodi:

2025-08-19 14:41:09.075 T:6803    error <general>: [xkb] Keycode too big: must be < 0xfff, got 0x5030; Key ignored
2025-08-19 14:41:09.075 T:6803    error <general>: [xkb] Failed to compile xkb_keycodes                                                   
2025-08-19 14:41:09.075 T:6803    error <general>: [xkb] [XKB-822] Failed to compile keymap

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    keymap compilerIndicates a need for improvements or additions to keymap compilationneeds info

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions