Skip to content
Snippets Groups Projects

Add KEY_ZENKAKUHANKAKU mapping for touchpad toggle

Description

  • Add KEY_ZENKAKUHANKAKU mapping for touchpad toggle

Pressing the touchpad toggle key on some notebooks produces the key sequence Control + Super + KEY_ZENKAKUHANKAKU. Actual Hankaku/Zenkakus keys however do not use this scancode/keycode, but the tilde ones instead.

This patch binds the, until now on evdev unbound, KEY_ZENKAKUHANKAKU to touchpad toggle so the desktop environments can act accordingly.

Signed-off-by: Werner Sembach wse@tuxedocomputers.com

Rationale for the inclusion in this project

After this !794 (closed) I went to the LKML where is was directed back to XKB and the DEs https://lore.kernel.org/all/1bee0a62-058b-482a-8eec-d45b8aca1614@redhat.com/

This new patch now only maps KEY_ZENKAKUHANKAKU from kernel to XF86TouchpadToggle. The duty of ignoring the pressed meta keys is offloaded to the DEs. According to Hans, GNOME already does that and KDE was also fast in accepting the change:

Checklist

  • I read the contribution instructions.
  • I justified the inclusion of this feature by providing evidences that it is popular enough. Please note that it is in your interest to provide neutral and accessible sources, if possible in English.
  • I ensured that the formatting follows the same conventions of the rest of the file.
  • I added a changelog entry following these instructions.
  • The commits messages are self-sufficient.
  • I ensure that the CI pipeline passes.
Edited by Werner Sembach

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Wismill
  • Wismill
  • Wismill
  • Wismill
  • Wismill
  • Wismill
  • Wismill requested changes

    requested changes

  • Werner Sembach added 1 commit

    added 1 commit

    • 271d03d7 - Apply suggestions by Wismill

    Compare with previous version

  • Werner Sembach added 1 commit

    added 1 commit

    • c0f56028 - Added KEY_ZENKAKUHANKAKU mapping for touchpad toggle.

    Compare with previous version

  • Werner Sembach resolved all threads

    resolved all threads

  • Werner Sembach added 1 commit

    added 1 commit

    • 9b77b62e - Added KEY_ZENKAKUHANKAKU mapping for touchpad toggle.

    Compare with previous version

  • Werner Sembach added 1 commit

    added 1 commit

    • 86b7609e - Added KEY_ZENKAKUHANKAKU mapping for touchpad toggle.

    Compare with previous version

  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading