-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libkeymap: dump action codes for keycode 0
Keymaps in mac/* use keycode 0. For example, mac-qwerty-layout has the following definition: keycode 0 = a Therefore, dumpkeys should print definitions starting from 0, not 1. Signed-off-by: Oleg Bulatov <oleg@bulatov.me>
- Loading branch information
Showing
4 changed files
with
40 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
keymaps 0 | ||
alt_is_meta | ||
keycode 0 = a | ||
keycode 1 = s | ||
keycode 2 = d | ||
keycode 3 = f | ||
keycode 4 = h | ||
keycode 5 = g | ||
keycode 6 = z | ||
keycode 7 = x | ||
keycode 8 = c | ||
keycode 9 = v | ||
keycode 11 = b | ||
keycode 12 = q | ||
keycode 13 = w | ||
keycode 14 = e | ||
keycode 15 = r | ||
keycode 16 = y | ||
keycode 17 = t | ||
keycode 31 = o | ||
keycode 32 = u | ||
keycode 34 = i | ||
keycode 35 = p | ||
keycode 37 = l | ||
keycode 38 = j | ||
keycode 40 = k | ||
keycode 45 = n | ||
keycode 46 = m |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters