Guest User

keymapper config

a guest
Jul 20th, 2025
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.42 KB | None | 0 0
  1.  
  2.  
  3.  
  4. # define some aliases
  5. Alt = AltLeft
  6. AltGr = AltRight
  7. Win = Meta
  8. Command = Meta
  9.  
  10. # immediately forward common modifier keys (also used as mouse modifiers)
  11. # @forward-modifiers Shift Control Alt
  12.  
  13. # put Shift in a more ergonomic place
  14. AltLeft >> Shift
  15.  
  16.  
  17. # physical layout (flipped 180 for negative tilt)
  18. # ,----------------------------.
  19. # |Enter | Del | Ins 0 |
  20. # | -------+----+--------|
  21. # |Enter | 3 | 2 | 1 |
  22. # |------+------+----+--------|
  23. # | Bcksp| 6 | 5 | 4 |
  24. # |------+------+----+--------|
  25. # | + | 9 | 8 | 7 |
  26. # |------+------+----+--------|
  27. # | - | * | / | NumLock|
  28. # `---------------------------'
  29.  
  30. # Left:
  31. # ,----------------------------.
  32. # | | Del | Ins 0 |
  33. # | C -------+----+--------|
  34. # | | L | M | B |
  35. # |-------+------+----+--------|
  36. # | S | R | T | G |
  37. # |-------+------+----+--------|
  38. # | Q | V | D | K |
  39. # |-------+------+----+--------|
  40. # | LShift| XX | W | J |
  41. # `----------------------------'
  42.  
  43. # Right:
  44. # ,------------------------------.
  45. # | | XX | Backspace |
  46. # | Z -------+-------+-------|
  47. # | | Y | O | U |
  48. # |-------+------+-------+-------|
  49. # | P | N | A | I |
  50. # |-------+------+-------+-------|
  51. # | XX | F | H | X |
  52. # |-------+------+-------+-------|
  53. # | Space | E | RAlt | Enter |
  54. # `------------------------------'
  55.  
  56.  
  57. #[device != "AT Translated Set 2 keyboard"]
  58. [device-id != "usb-SZH_usb_keyboard-event-kbd"]
  59. NumpadEnter >> C
  60. Numpad3 >> L
  61. Numpad2 >> M
  62. Numpad1 >> B
  63.  
  64. #Backspace >> S
  65. Numpad6 >> R
  66. Numpad5 >> T
  67. Numpad4 >> G
  68.  
  69. NumpadAdd >> Q
  70. Numpad9 >> V
  71. Numpad8 >> D
  72. Numpad7 >> K
  73. NumpadSubtract >> Shift
  74. NumpadDivide >> W
  75. NumLock >> J
  76.  
  77. # due to a lucky turn of events only one of the numpads actually uses the id
  78. # is it due to order of pluggin in?
  79. #usb-SZH_usb_keyboard-event-kbd
  80. [device-id = "usb-SZH_usb_keyboard-event-kbd"]
  81. Numpad0 >> Backspace
  82. NumpadEnter >> Z
  83. Numpad3 >> Y
  84. Numpad2 >> O
  85. Numpad1 >> U
  86.  
  87. Backspace >> P
  88. Numpad6 >> N
  89. Numpad5 >> A
  90. Numpad4 >> I
  91.  
  92. Numpad9 >> F
  93. Numpad8 >> H
  94. Numpad7 >> X
  95.  
  96. NumpadSubtract >> Space
  97. NumLock >> Enter
  98. NumpadDivide >> AltRight
  99. NumpadMultiply >> E
  100.  
  101. # because Backspace also exists on regular keyboard aka AT2...
  102. [device-id != "usb-SZH_usb_keyboard-event-kbd"]
  103. [device != "AT Translated Set 2 keyboard"]
  104. Backspace >> S
  105.  
  106.  
  107.  
Advertisement
Add Comment
Please, Sign In to add comment