261 Commits (e6e20c1b3e5977830a2b78046c0a8c49e38746fd)

Author SHA1 Message Date
Peter Hutterer 2994825665 Don't register middle mouse button emulation handlers for keyboards. 17 years ago
Oliver McFadden 9bfd9e8a36 Coverity Prevent: NO_EFFECT in EvdevWheelEmuSetProperty: 17 years ago
Peter Hutterer dcca28a59c Count REL_DIAL as a scrollwheel during EvdevProbe (#21457) 17 years ago
Peter Hutterer 8cc0d0f285 Fix absolute axis labelling - mapping must be initialized before the labels. 17 years ago
Peter Hutterer aa1609285d Message "found absolute touchpad" also applies to tablets - fix. 17 years ago
Peter Hutterer b07ab6ea97 If a device fails to initialize relative axes, init the abs. axes instead. 17 years ago
Peter Hutterer 7bc48c666d Fix wrong axis label index causing OOB reads/writes. 17 years ago
Peter Hutterer 880ad1e19a Initialize the axis labels to 0, not "misc". 17 years ago
Peter Hutterer 6ab23e4519 Add missing checks for ABI_XINPUT_VERSION 7. 17 years ago
Peter Hutterer 88eedea281 Cope with ABI_XINPUT_VERSION 7 - requires button + axes labels. 17 years ago
Peter Hutterer 9a5a4fed3a Split axes and button labels into separate function. 17 years ago
Derek Upham 0a3657d2ee evdev: Prevent driver from processing motion events that it has not configured. #21832 17 years ago
Peter Hutterer dc2191285e Deal with BTN_3 to BTN_9 buttons. 17 years ago
Peter Hutterer 255b9f6bbf Only initialize the number of buttons we actually have. 17 years ago
Peter Hutterer aa117d49a5 Rename pEvdev->buttons to pEvdev->num_buttons for clarity. 17 years ago
Peter Hutterer b358f1eb3a Ensure enough buttons are advertised to pass the button mapping. 17 years ago
Peter Hutterer 33cc112ca1 Up the number of button labels atoms to EVDEV_MAXBUTTONS. 17 years ago
Peter Hutterer 3c43d880f1 Only label axes and buttons if the device has axes or buttons. 17 years ago
Peter Hutterer 5462898935 Use xf86DisableDevice instead of the DIX' DisableDevice. 17 years ago
Dan Nicholson 9243d338d1 Fix copy-paste error when probing type name 17 years ago
Peter Hutterer 71e9a69ed6 Revamp the whole "has_axes" definition. 17 years ago
Peter Hutterer 220e2dfb8f Print read errors as X_NONE to avoid mallocs in the server. 17 years ago
Peter Hutterer ddc1266374 Pre-allocate the reopen timer so we don't allocate during sigio handling. 17 years ago
Peter Hutterer 98ecb5233b Trigger read error handling if len is <= 0. 17 years ago
Peter Hutterer 92ca3dc2e7 Fix wrong reference to axis and button label atom list. 17 years ago
Peter Hutterer d9809d7edd Fix jumpy touchpads by updating old_vals only when reported by the device. 17 years ago
Peter Hutterer b11439a176 If we have a touchpad, print so, don't claim we're configuring a tablet. 17 years ago
Jeremy Jay 740dc202f7 make sure to clear all axis_map entries 17 years ago
Peter Hutterer 7ac0c4456d Assume touchscreen/touchpad if we have _either_ ABS_PRESSURE or BTN_TOUCH 17 years ago
Peter Hutterer b4f6ab126d Move keymap/modifier initialization behind the ABI < 5 ifdefs. 17 years ago
Jeremy Jay a3ea979c2b Set "rel" when converting absolute touchpad coordinates to relative (#20661) 17 years ago
Peter Hutterer a7fb654a68 Restore repeat-filtering for server 1.5 and earlier. 17 years ago
Peter Hutterer 31853c39bf Define MAX_VALUATORS if it's missing to allow for builds against 1.5. 17 years ago
Peter Hutterer 2c49e21a81 Check button label before fetching the Atom from the server. (#20524) 17 years ago
Peter Hutterer 4361b3efa0 Fix duplicate wheel button up mapping. 17 years ago
Peter Hutterer 051cb8b528 Add support for button labelling. 17 years ago
Peter Hutterer 1abcc88171 Rename prop_label to prop_axis_label. 17 years ago
Peter Hutterer c89bbf80be Don't double-assign the UKNOWN axis label. 17 years ago
Peter Hutterer 178435832f If scrollwheels are found, bump the button number by 4 (or up to 7). 17 years ago
Peter Hutterer c9cab83bac Ignore REL_WHEEL, REL_HWHEEL and REL_DIAL during axis initialisation. 17 years ago
Peter Hutterer 43dd2a9592 Pass on all relative events, not just x/y. 17 years ago
Adam Jackson 7977947e0d Reduce the number of read calls in ReadInput. 17 years ago
Peter Hutterer 11a56d4a17 Split ReadInput into ReadInput and ProcessEvent. 17 years ago
Adam Jackson 7b0f613c7f Move relative motion and other magic up to EV_SYN processing. 17 years ago
Adam Jackson 75af278861 Open with O_NONBLOCK, and simplify EvdevReadInput to match. 17 years ago
Peter Hutterer 4fd9cd2ea8 Revert "Remove useless include directive." 17 years ago
Peter Hutterer 12c287df89 Label axes conditional on actual support. 17 years ago
Peter Hutterer 9f1b9aa6eb Accommodate for holes in the ABS label defines. 17 years ago
Peter Hutterer acb1d557e2 Add support for arbitrary relative axis labels. 17 years ago
Peter Hutterer 6a1f8f463d Remove superfluous (and duplicate) call to xf86MotionHistoryAllocate. 17 years ago