Recognize Hyper key

Also use only one implementation for detecting if a key is a modifier
key
This commit is contained in:
Kovid Goyal
2021-01-21 05:33:14 +05:30
parent f6d4b8e0b0
commit 60e589f775
11 changed files with 41 additions and 41 deletions

2
gen-key-constants.py Normal file → Executable file
View File

@@ -108,10 +108,12 @@ left_shift Shift_L 0x38 -
left_control Control_L 0x3B -
left_alt Alt_L 0x3A -
left_super Super_L 0x37 -
left_hyper Hyper_L - -
right_shift Shift_R 0x3C -
right_control Control_R 0x3E -
right_alt Alt_R 0x3D -
right_super Super_R 0x36 -
right_hyper Hyper_R - -
iso_level3_shift ISO_Level3_Shift - -
iso_level5_shift ISO_Level5_Shift - -
''' # }}}