From e8afe25802d9b036d75fe5c6c2c39fd4dc6bbb78 Mon Sep 17 00:00:00 2001 From: cyber-sushi <99445392+cyber-sushi@users.noreply.github.com> Date: Fri, 1 Dec 2023 23:28:55 +0100 Subject: [PATCH] Added mouse sample config --- config examples/config-mouse.toml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 config examples/config-mouse.toml diff --git a/config examples/config-mouse.toml b/config examples/config-mouse.toml new file mode 100644 index 0000000..ea9107b --- /dev/null +++ b/config examples/config-mouse.toml @@ -0,0 +1,16 @@ +#SAMPLE CONFIG FILE FOR PLAYSTATION CONTROLLERS +#Put this in ~/.config/makima and rename it to config.toml +#You can find the available keycodes in /usr/include/linux/input-event-codes.h +#If you're not sure which keycode corresponds to which key, you can run 'evtest', select your keyboard/mouse and press the corresponding key/button. +#This config file is tested for DualShock 3, DualShock 4 and DualSense controllers. When using a different controller, if no specific config file for your device is available, change the keycodes on the left according to those of your controller (evtest is your friend again). If your controller has a button to enable/disable analog sticks, make sure they're enabled. + +[keys] +#CONTROLLER MOUSE/KEYBOARD BINDINGS +BTN_RIGHT = ["KEY_A"] #triangle + +[rel] +SCROLL_WHEEL_UP = ["KEY_LEFTCTRL", "KEY_LEFTSHIFT", "KEY_EQUAL"] +SCROLL_WHEEL_DOWN = ["KEY_LEFTCTRL", "KEY_MINUS"] + +[settings] +GRAB_DEVICE = "true" #gain exclusivity on the device