diff options
author | cbdev <cb@cbcdn.com> | 2019-07-13 17:51:11 +0200 |
---|---|---|
committer | cbdev <cb@cbcdn.com> | 2019-07-13 17:51:11 +0200 |
commit | ee4a46105acecb6a7adc1e7189e8b0a66404b421 (patch) | |
tree | d7b8b48c917027fcf2ef09c1896b943ba47ce0b0 /configs/lua.cfg | |
parent | 86b9706220ca285db961ea43ec0859ea99cc9f71 (diff) | |
download | midimonster-ee4a46105acecb6a7adc1e7189e8b0a66404b421.tar.gz midimonster-ee4a46105acecb6a7adc1e7189e8b0a66404b421.tar.bz2 midimonster-ee4a46105acecb6a7adc1e7189e8b0a66404b421.zip |
Improved Lua backend with intervals
Diffstat (limited to 'configs/lua.cfg')
-rw-r--r-- | configs/lua.cfg | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/configs/lua.cfg b/configs/lua.cfg index 9182122..42fd27d 100644 --- a/configs/lua.cfg +++ b/configs/lua.cfg @@ -8,8 +8,9 @@ bind = 0.0.0.0 device = /dev/input/by-path/platform-i8042-serio-2-event-mouse [evdev xbox] -input = Xbox Wireless +device = /dev/input/event17 axis.ABS_X = 34300 0 65535 255 4095 +axis.ABS_Y = 34300 0 65535 255 4095 [lua lua] script = configs/demo.lua @@ -19,8 +20,9 @@ universe = 0 destination = 255.255.255.255 [map] -mouse.EV_KEY.BTN_LEFT > lua.input -xbox.EV_ABS.ABS_X > lua.input +mouse.EV_KEY.BTN_LEFT > lua.click +xbox.EV_ABS.ABS_X > lua.offset +xbox.EV_ABS.ABS_Y > lua.width art.1 < lua.out0 art.2 < lua.out1 @@ -33,3 +35,5 @@ art.8 < lua.out7 art.9 < lua.out8 art.10 < lua.out9 art.11 < lua.out10 + +art.12 < lua.dim |