Fixed mouse sample config
This commit is contained in:
parent
e8afe25802
commit
f101974afb
1 changed files with 6 additions and 7 deletions
|
@ -1,16 +1,15 @@
|
|||
#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
|
||||
#SAMPLE CONFIG FILE FOR A GENERIC MOUSE
|
||||
#Put this in ~/.config/makima and rename it to the exact name of the device as shown by the 'evtest' command, including spaces and capitalization.
|
||||
#You can find all 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
|
||||
#MOUSE BUTTONS MOUSE/KEYBOARD BINDINGS
|
||||
BTN_RIGHT = ["KEY_LEFTCTRL", "KEY_C"]
|
||||
|
||||
[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
|
||||
GRAB_DEVICE = "true" #gain exclusivity on the device
|
||||
|
|
Loading…
Add table
Reference in a new issue