diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2009-05-21 10:23:37 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-05-21 15:51:08 +1000 |
commit | 255b9f6bbf374a315750019c6fadc5f82fb7d41d (patch) | |
tree | 14577972ccfbbfd5eaa77cd120c622579cd3360a /src/Makefile.am | |
parent | Rename pEvdev->buttons to pEvdev->num_buttons for clarity. (diff) | |
download | xf86-input-evdev-255b9f6bbf374a315750019c6fadc5f82fb7d41d.tar.gz xf86-input-evdev-255b9f6bbf374a315750019c6fadc5f82fb7d41d.tar.bz2 xf86-input-evdev-255b9f6bbf374a315750019c6fadc5f82fb7d41d.zip |
Only initialize the number of buttons we actually have.
This takes into account driver-configured button mappings, i.e. if device
with one button has this button mapped to 25 through the ButtonMapping
option, the X server will think the device has result 25 buttons.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'src/Makefile.am')
0 files changed, 0 insertions, 0 deletions