-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
50 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
# Touch Cursor Linux configuration file | ||
|
||
# Find this line using 'cat /proc/bus/input/devices | less' and copy the full Name="" line here | ||
# If there are multiple devices with the same name, you may add :# to the string (ex: Name="Your Keyboard":2) | ||
[Device] | ||
Name="AT Translated Set 2 keyboard" | ||
|
||
# Hyper key | ||
[Hyper] | ||
HYPER1=KEY_SPACE | ||
|
||
# KEY_1=KEY_2 | ||
# https://github.com/torvalds/linux/blob/master/include/uapi/linux/input-event-codes.h | ||
[Bindings] | ||
|
||
# Default bindings for IJKLHNUOMPY | ||
KEY_K=KEY_UP | ||
KEY_H=KEY_LEFT | ||
KEY_J=KEY_DOWN | ||
KEY_L=KEY_RIGHT | ||
KEY_U=KEY_PAGEUP | ||
KEY_D=KEY_PAGEDOWN | ||
KEY_I=KEY_HOME | ||
KEY_O=KEY_END | ||
KEY_M=KEY_DELETE | ||
KEY_P=KEY_BACKSPACE | ||
KEY_Y=KEY_INSERT | ||
# Default bindings from SpaceFN: https://geekhack.org/index.php?topic=51069 | ||
KEY_B=KEY_SPACE | ||
KEY_1=KEY_F1 | ||
KEY_2=KEY_F2 | ||
KEY_3=KEY_F3 | ||
KEY_4=KEY_F4 | ||
KEY_5=KEY_F5 | ||
KEY_6=KEY_F6 | ||
KEY_7=KEY_F7 | ||
KEY_8=KEY_F8 | ||
KEY_9=KEY_F9 | ||
KEY_0=KEY_F10 | ||
KEY_MINUS=KEY_F11 | ||
KEY_EQUAL=KEY_F12 | ||
KEY_SLASH=KEY_MENU | ||
#KEY_RIGHTBRACE=KEY_PAUSE | ||
#KEY_BACKSLASH=KEY_INSERT | ||
#KEY_BACKSPACE=KEY_DELETE | ||
|
||
# Moved over one key | ||
KEY_COMMA=KEY_GRAVE | ||
# This is not currently possible | ||
#KEY_DOT=KEY_TILDE |