1LIBEVDEV-TWEAK-DEVICE(1) General Commands Manual LIBEVDEV-TWEAK-DEVICE(1)
2
3
4
6 libevdev-tweak-device - modify an evdev kernel device
7
9 libevdev-tweak-device --abs ABS_X [--min a] [--max b] [--res c] [--fuzz
10 d] [--flat e] /dev/input/eventX libevdev-tweak-device --resolution
11 res[,yres] /dev/input/eventX
12
13 libevdev-tweak-device --led LED_NUML --on|--off /dev/input/eventX
14
16 The libevdev-tweak-device tool changes the properties of the evdev ker‐
17 nel device at /dev/input/eventX. Currently this may be used to force
18 an LED on or off, or to change the properties of an absolute axis (e.g.
19 its minimum/maximum range or resolution). Changes are permanent until
20 the device is removed.
21
23 Changing absolute axes
24 --abs axis
25 Change the given named ABS_ kernel axis, e.g. ABS_X. For a full
26 list, see linux/input.h. Each of the options min, max, res,
27 fuzz, flat may be given.
28
29 --min v Set the absinfo minimum to the value v
30
31 --max v Set the absinfo maximum to the value v
32
33 --res v Set the absinfo resolution to the value v
34
35 --fuzz v
36 Set the absinfo fuzz to the value v
37
38 --flat v
39 Set the absinfo flat to the value v
40
41 Changing the x/y resolution
42 --resolution res[,yres]
43 Changes the resolution of the ABS_X, ABS_MT_POSITION_X, ABS_Y,
44 and ABS_MT_POSITION_Y axis to the given resolution. If only one
45 resolution value is provided, both x and y axis are set to the
46 same resolution, otherwise the first resolution value is
47 applied to the x axes and the second value to the y axes.
48
49 Toggling LEDs
50 --led led
51 Change the given LED, e.g. LED_NUML. For a full list, see
52 linux/input.h.
53
54 --on Change the LED state to on
55
56 --off Change the LED state to off
57
59 The kernel does not notify processes about absinfo property changes.
60 Any process that has previously obtained the absinfo from the device
61 will remain on the old information. This makes using this tool poten‐
62 tially racy, use with caution.
63
64
65
66 LIBEVDEV-TWEAK-DEVICE(1)