From 873c093bb698f9128aae2ae4e88556ed45facbd8 Mon Sep 17 00:00:00 2001 From: cyber-sushi <99445392+cyber-sushi@users.noreply.github.com> Date: Fri, 1 Dec 2023 23:59:06 +0100 Subject: [PATCH] Readme updated for v0.2.1 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 55fac1c..9ca478e 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,7 @@ BTN_LEFT = ["KEY_S", "KEY_H", "KEY_U", "KEY_T", "KEY_D", "KEY_O", "KEY_W", "KEY_ BTN_RIGHT = ["KEY_S", "KEY_H", "KEY_U", "KEY_T", "KEY_D", "KEY_O", "KEY_W", "KEY_N", "KEY_SPACE", "KEY_N", "KEY_O", "KEY_W", "KEY_ENTER"] BTN_MIDDLE = ["KEY_S", "KEY_H", "KEY_U", "KEY_T", "KEY_D", "KEY_O", "KEY_W", "KEY_N", "KEY_SPACE", "KEY_N", "KEY_O", "KEY_W", "KEY_ENTER"] ``` -To check all of the available key codes, refer to the file `/usr/include/linux/input-event-codes.h`.\ +To see all of the available key codes, refer to the file `/usr/include/linux/input-event-codes.h`.\ Remember that keys like Ctrl and Alt will have key codes like `KEY_LEFTCTRL`, `KEY_RIGHTCTRL`, `KEY_LEFTALT` and `KEY_RIGHTALT`. Just using `KEY_CTRL` and `KEY_ALT` will throw a parsing error because the key code does not exist.\ Keys that are not explicitly remapped will keep their default functionality. If you don't need to remap any key, you can just omit the entire `[keys]` paragraph.