# quit mouse layer q: layer initial # keep the mouse layer active space: layer mouse r: reload-config l: move 1 0 j: move -1 0 k: move 0 1 i: move 0 -1 p: scroll up n: scroll down leftalt: speed 4.0 e: speed 0.3 capslock: speed 0.1 f: button left d: button middle s: button right # move to the top left corner k0: "exec xdotool mousemove 0 0 " # another layer for arrows and some other keys name: mouse # when true, keys that are not mapped keep their original meaning passThrough: true bindings: # when tab is held and another key pressed, activate mouse layer tab: tap-hold-next tab toggle-layer mouse 500 # when a is held for 300ms, activate mouse layer a: tap-hold a toggle-layer mouse 300 # right alt key toggles arrows layer rightalt: toggle-layer arrows # switch escape with capslock esc: capslock capslock: esc # a layer for mouse movement useful for setting the keyboard layout # startCommand: "setxkbmap de" # the default speed for mouse movement and scrolling baseMouseSpeed: 750.0 baseScrollSpeed: 20.0 # the time it takes to accelerate to baseMouseSpeed (in ms), 0 to reach top speed immediately mouseAccelerationTime: 200.0 # the shape of the acceleration curve, 1.0 is linear, higher values have more time at low speeds mouseAccelerationCurve: 2.0 # speed of the mouse when it starts moving startMouseSpeed: 0.0 # same for deceleration mouseDecelerationTime: 300.0 mouseDecelerationCurve: 3.0 # the rest of the config defines the layers with their bindings layers: # - "/dev/input/by-id/SOME_KEYBOARD_REPLACE_ME-event-kbd" # this is executed when mouseless starts, e.g. ![]() # the keyboard devices it reads from, if no devices are specified, it reads from all devices:
0 Comments
Leave a Reply. |