Added cursor movement example

This commit is contained in:
cyber-sushi 2024-12-24 19:04:58 +01:00
parent 568f9cf763
commit fb82c7bc7c

View file

@ -23,5 +23,10 @@ KEY_LEFTCTRL-KEY_LEFTALT-KEY_LEFTSHIFT-KEY_O = ["notify-send 'OwO'"]
KEY_MINUS-KEY_K = ["pkill firefox"]
#Keep in mind that if you want to use Modifiers across multiple devices (e.g. KEY_LEFTCTRL on your keyboard and BTN_RIGHT on your mouse), both devices will have to be read by Makima and thus both will need a config file, even if empty. Having a config file is just a way to tell Makima "Hey, read this device!".
[movements]
KEY_LEFTSHIFT-KEY_W = "CURSOR_UP"
[settings]
CUSTOM_MODIFIERS = "KEY_GRAVE-KEY_BACKSLASH" #The keys listed here will be treated as modifiers and will only emit their own event when released. If another key is pressed before the custom modifier is released, it will not emit any event. If you declare a binding that uses a non-modifier key as a modifier in the [remap] or [commands] sections, it's automatically added to this setting.
CURSOR_SPEED = "10" #Speed of the cursor when moved through keys specified in [movements].
CURSOR_ACCEL = "0.5" #Acceleration of the cursor when moved through keys. Values from 0.0 to 1.0.