Skip to content

Commit

Permalink
feat(touch): hello world
Browse files Browse the repository at this point in the history
  • Loading branch information
cutbypham committed Aug 11, 2021
1 parent 93b6a57 commit b655a9d
Showing 1 changed file with 50 additions and 0 deletions.
50 changes: 50 additions & 0 deletions touchcursor/touchcursor.conf
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

0 comments on commit b655a9d

Please sign in to comment.