diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2009-02-26 12:09:33 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-02-26 14:35:46 +1000 |
commit | 178435832f5f6988e58fddc4ffe82ddc032d9dce (patch) | |
tree | 91268fba3cf55b9a75837a97409e6e46c4fa66b9 /src/draglock.c | |
parent | Ignore REL_WHEEL, REL_HWHEEL and REL_DIAL during axis initialisation. (diff) | |
download | xf86-input-evdev-178435832f5f6988e58fddc4ffe82ddc032d9dce.tar.gz xf86-input-evdev-178435832f5f6988e58fddc4ffe82ddc032d9dce.tar.bz2 xf86-input-evdev-178435832f5f6988e58fddc4ffe82ddc032d9dce.zip |
If scrollwheels are found, bump the button number by 4 (or up to 7).
Scrollwheel data is always posted as buttons, so we need to advertise at least
enough buttons to accommodate for 6/7 (horizontal wheel).
Note that this may mean that if you have a device that has scroll wheels and
axes, but no buttons, it may be interpreted as a mouse.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'src/draglock.c')
0 files changed, 0 insertions, 0 deletions