Skip to content

Commit

Permalink
Update usr_share_X11_xkb_to_hwdb.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
diyism authored Jul 27, 2024
1 parent 81aa3c4 commit 80c9694
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions usr_share_X11_xkb_to_hwdb.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ scancode名称可以查: https://github.com/torvalds/linux/blob/master/drivers/h
{ 0x07, 0x004f, "KeyboardRightArrow" },
keycode名称可以查: grep -i 106 /usr/include/linux/input-event-codes.h
#define KEY_RIGHT 106
用 keysym名称 查 X keycode(把x keycode减去8就是linux keycode): grep -i rctl /usr/share/X11/xkb/keycodes/evdev
<RCTL> = 105;

cat ./showkeys.sh:
#!/bin/bash
Expand Down

0 comments on commit 80c9694

Please sign in to comment.