aboutsummaryrefslogtreecommitdiffhomepage
path: root/configs/evdev.conf
blob: 386e154664c28481f45c238ee1741e9f7457ff5f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
[backend artnet]
bind = * 6454
net = 0

[evdev xbox]
device = /dev/input/event14
axis.ABS_X = 34300 0 65535 255 4095
axis.ABS_RZ = 34300 0 65535 255 4095
axis.ABS_Y = 34300 0 65535 255 4095

[artnet out]
uni = 0
dest = 129.13.215.127

[map]
xbox.EV_ABS.ABS_X > out.1+2
xbox.EV_ABS.ABS_Y > out.3+4

xbox.EV_ABS.ABS_Z > out.16+17
xbox.EV_ABS.ABS_RZ > out.18+19

xbox.EV_ABS.ABS_BRAKE > out.8
xbox.EV_ABS.ABS_GAS > out.23

xbox.EV_KEY.BTN_NORTH > out.5
xbox.EV_KEY.BTN_EAST > out.6
xbox.EV_KEY.BTN_SOUTH > out.7

xbox.EV_KEY.BTN_NORTH > out.20
xbox.EV_KEY.BTN_EAST > out.21
xbox.EV_KEY.BTN_SOUTH > out.22