Damien Lespiau bce4c87232 evdev: Don't oveflow when translating buttons to masks
An array is used to translate the button to its mask. Clutter defines
the masks for button 1 to 5 but we report BTN_LEFT..BTN_TASK ie
0x110..0x117. We need to pad the array for the translation not to access
random data for buttons between 0x115 and 0x117.
2010-11-30 14:40:38 +00:00
..
2010-10-25 13:18:25 +01:00
2010-10-21 12:22:17 +01:00
2010-10-21 12:22:17 +01:00
2010-10-21 13:13:00 +01:00
2010-10-18 11:26:44 +01:00
2010-10-21 12:22:17 +01:00
2010-10-21 12:22:17 +01:00
2010-11-29 12:51:52 +00:00
2010-11-18 18:23:49 +00:00
2010-11-18 18:23:49 +00:00
2010-10-21 12:22:17 +01:00
2010-10-21 12:22:17 +01:00
2010-09-08 16:41:47 +01:00
2010-11-06 20:11:16 +00:00
2010-10-18 11:26:44 +01:00
2010-09-08 16:41:47 +01:00
2010-10-21 12:22:17 +01:00
2010-11-06 20:11:16 +00:00
2010-09-08 16:41:47 +01:00
2010-10-18 11:26:44 +01:00
2010-11-18 18:23:49 +00:00
2010-11-15 16:00:49 +00:00
2010-11-15 16:00:49 +00:00
2010-11-18 18:23:49 +00:00
2010-11-18 18:23:49 +00:00
2010-11-18 18:23:49 +00:00
2010-11-15 16:00:49 +00:00