diff --git a/touchcursor/touchcursor.conf b/touchcursor/touchcursor.conf new file mode 100644 index 00000000..9c605032 --- /dev/null +++ b/touchcursor/touchcursor.conf @@ -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