1 commit 76b1d58a9791257fa8b4e6d3322fcb082c86b18a
2 Author: Peter Hutterer <peter.hutterer@who-t.net>
3 Date: Wed Mar 7 20:39:09 2012 +1000
7 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
9 commit 224a28de25fda654040a9fd4e5c4d748c9e29809
10 Author: Peter Hutterer <peter.hutterer@who-t.net>
11 Date: Wed Jan 25 16:03:34 2012 +1000
13 Only force REL_X/Y if no ABS_X/Y exists
15 5c5b2c8db851df7921cedd888222a6630a007fd8 added forced x/y axes if a device
16 has any axes of the same mode. This was too broad a brush, some devices have
17 a relative wheel but absolute x/y axes and would now get misdetected as
18 purely relative device.
20 Only force relative axes if a device no rel x/y _and_ no abs x/y.
22 Reproducible: virtual machine with QEMU USB Tablet will stop working
24 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
25 Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
27 commit bc2f01ab838119a962f5e5eabb36e33d4c084f2c
28 Author: Chase Douglas <chase.douglas@canonical.com>
29 Date: Thu Jan 19 14:17:34 2012 -0800
31 Copy last valuator values into new touch valuator masks
33 Evdev is a 100% stateful protocol. The following represents three
34 touches. Two touches begin and end at the same time at (500, 500) and
35 (1000, 1000). The third touch begins after the first two end, and is at
38 ABS_MT_SLOT 0 /* Set touch slot */
39 ABS_MT_TRACKING_ID 0 /* New touch with ID 0 in slot 0 */
40 ABS_MT_POSITION_X 500 /* Initial X position */
41 ABS_MT_POSITION_Y 500 /* Initial Y position */
42 ABS_MT_SLOT 1 /* Set touch slot */
43 ABS_MT_TRACKING_ID 1 /* New touch with ID 1 in slot 1 */
44 ABS_MT_POSITION_X 1000 /* Initial X position */
45 ABS_MT_POSITION_Y 1000 /* Initial Y position */
46 SYNC /* End of frame */
47 ABS_MT_SLOT 0 /* Go back to slot 0 */
48 ABS_MT_TRACKING_ID -1 /* Touch in slot 0 ended */
49 ABS_MT_SLOT 1 /* Go to slot 1 */
50 ABS_MT_TRACKING_ID -1 /* Touch in slot 1 ended */
51 SYNC /* End of frame */
52 ABS_MT_SLOT 0 /* Go back to slot 0 */
53 ABS_MT_TRACKING_ID 2 /* New touch in slot 0 with ID 2 */
54 SYNC /* End of frame */
55 ABS_MT_TRACKING_ID -1 /* Touch in last slot (0) ended */
56 SYNC /* End of frame */
58 Note that touch 2 has the same X and Y position as touch 0. This is
59 implied because no new value was emitted for slot 0. In fact, Linux will
60 not emit an event in the same slot with the same event type and code
61 unless the value has changed. Thus, we can only assume that all the MT
62 valuators have the same values as they were when they were last sent for
65 This change adds an array of valuator mask to hold all the last valuator
66 values that came from evdev for each slot. When a new touch begins, all
67 the last values are copied into it.
69 This patch assumes initial axis values of 0 in each slot. Linux and
70 mtdev do not provide a facility to query the current values of axes in
71 each slot yet. This may cause spurious incorrect touch valuator values
72 at the beginning of an X session, but there's nothing we can do about it
75 Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
76 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
78 commit 9d9c9870c88f2c636799a68cde8efcab59a4a2a5
79 Author: Peter Hutterer <peter.hutterer@who-t.net>
80 Date: Fri Jan 13 09:51:36 2012 +1000
82 Prefere relative axis labelling over absolute axis labelling
84 If a device has both relative and absolute axes, we'd initialise the
85 relative axes but label them with the absolute labels.
87 The current code is broken for mixed mode devices. Most of these devices
88 operate primarily in relative mode, but have some absolute axes available
89 for secondary functionality. For now, label the relative axes properly. We
90 can fix the absolute axes later.
92 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
93 Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
95 commit 5c5b2c8db851df7921cedd888222a6630a007fd8
96 Author: Peter Hutterer <peter.hutterer@who-t.net>
97 Date: Thu Jan 12 11:03:30 2012 +1000
99 Force x/y axes to exist on devices with any other axes (#44655)
101 Too much in the server relies on x/y to exist and to be axes 0 and 1. So if
102 any relative axes exist, initialize REL_X/Y or ABS_X/Y as well.
104 For servers up to 1.11: a scrollwheel-only device now has relative axes
105 where it only had buttons before.
107 For servers 1.12 or later: the device now has x/y in addition to the scroll
110 X.Org Bug 44655 <http://bugs.freedesktop.org/show_bug.cgi?id=44655>
112 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
113 Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
114 Reviewed-by: Daniel Stone <daniel@fooishbar.org>
116 commit 854df75f4908bee66e1057f6f04817a1c47124bc
117 Author: Pete Beardmore <pete.beardmore@msn.com>
118 Date: Mon Jan 9 23:47:45 2012 +0000
120 missing multitouch related define tests
122 addition of two missing define tests required when no multitouch related
123 symbols are available in user-space
125 Fixes X.Org Bug 44578 <https://bugs.freedesktop.org/show_bug.cgi?id=44578>
127 Signed-off-by: Pete Beardmore <pete.beardmore@msn.com>
128 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
130 commit 8c55e94a6ac91fa856d37206c8a7eda1adcc6b9d
131 Author: Chase Douglas <chase.douglas@canonical.com>
132 Date: Tue Jan 3 15:31:43 2012 -0800
134 Set the default resolution to 0
136 If we don't know the resolution, set it to 0. This is invalid, and tells
137 the X client that we don't know the resolution, rather than reporting an
140 This value was originally from commit
141 6271494faa4c45f4fa10509f72e0515f2cef36c6, which is the initial commit
142 from Adam Jackson adding absolute axis support.
144 Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
145 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
147 commit 965338e9d0ee5e2a6135a930347e9dab4b8db0dd
148 Author: Peter Hutterer <peter.hutterer@who-t.net>
149 Date: Tue Jan 3 08:44:27 2012 +1000
153 Added in 683a55e504f4fc2d1c847c54986439a0c61b2f20 due to a botched up
154 rebase -i. The contents of udev.c and EvdevIsVirtual are identical, there is
155 no need for an extra file for this one function.
157 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
159 commit 0075da20d691e451f32bdf3c8ba0f270a6c8b0e1
160 Author: Cyril Brulebois <kibi@debian.org>
161 Date: Sat Dec 31 19:46:08 2011 +0100
163 configure.ac: Fix udev/libudev dependency.
165 In 683a55e504f4fc2d1c847c54986439a0c61b2f20, a dependency on libudev was
166 added, but documented in configure.ac as a dependency on udev (which
167 also happens to ship a pkg-config file).
169 Signed-off-by: Cyril Brulebois <kibi@debian.org>
170 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
172 commit 009ac94a8e6d084c13f15ed8b2e1b22f86530c9f
173 Author: Jeremy Huddleston <jeremyhu@apple.com>
174 Date: Sat Dec 31 21:28:53 2011 -0500
176 Remove redundant redeclaration of Evdev3BEmuPreInit
179 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
181 commit 4b76d80e934f5503c712289ce73d4e10cc79bba6
182 Author: Cyril Brulebois <kibi@debian.org>
183 Date: Sat Dec 31 18:38:30 2011 +0100
187 Signed-off-by: Cyril Brulebois <kibi@debian.org>
189 commit 6dd6f2d3c6b2fee5f78b01618643c7f3ed0819c3
190 Author: Peter Hutterer <peter.hutterer@who-t.net>
191 Date: Thu Dec 29 10:37:38 2011 +1000
193 Require xserver 1.12 RC1
195 Remove the ABI check hack, just check for the server version directly now
196 that we have one that definitely has the multitouch APIs.
198 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
200 commit 0c7c087f77132657dd8ee342963bb1b51d659571
201 Author: Peter Hutterer <peter.hutterer@who-t.net>
202 Date: Thu Dec 29 10:19:48 2011 +1000
204 Test for mtdev before assuming multitouch
206 If the XI2.2 headers are present but mtdev isn't, build without MULTITOUCH
209 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
211 commit ba9377c6d9e6d0d2813e471b516bb36902dae2ce
212 Author: Peter Hutterer <peter.hutterer@who-t.net>
213 Date: Sat Dec 24 12:19:40 2011 +1000
215 Remove need for --enable-multitouch
217 If we spot inputproto 2.1.99.3, we assume we have a capable X server. This
218 should really be a server version check, but the server version hasn't been
221 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
223 commit 7f7606fc461dca1f087a756c85e22f2cc773d008
224 Author: Peter Hutterer <peter.hutterer@who-t.net>
225 Date: Sat Dec 24 12:31:34 2011 +1000
227 Include config.h from evdev.h
229 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
231 commit 0ba58f483e564bd815bae36f6272029693c1fd5c
232 Author: Peter Hutterer <peter.hutterer@who-t.net>
233 Date: Sat Dec 24 12:18:16 2011 +1000
235 Always include mt_mask in the evdev struct
237 Even if MT support isn't available, include it in the build. The checks in
238 the code check whether mt_mask is non-NULL but they would all need ifdef
241 Leave the mtdev part inside the ifdef however, so that we don't need the
242 mtdev header if we don't build with multitouch.
244 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
246 commit 5fb48757477b2effd69c8fe8722ad95b21dbf7f5
247 Merge: 7909975 e99ab23
248 Author: Peter Hutterer <peter.hutterer@who-t.net>
249 Date: Fri Dec 23 08:16:54 2011 +1000
251 Merge branch 'multitouch'
253 commit e99ab2314f712df8dd705b16008755f8b3095707
254 Author: Peter Hutterer <peter.hutterer@who-t.net>
255 Date: Tue Dec 20 15:08:06 2011 +1000
257 Don't count legacy and MT axes twice
259 The kernel exports both ABS_X and ABS_MT_POSITION_X (and a couple others)
260 for a multi-touch capable device. For such devices, only count the axis once
261 since we submit ABS_MT_POSITION_X through ABS_X.
263 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
265 commit 191660189a01b9c96bb4c0fa1a2e5008ae666238
266 Author: Peter Hutterer <peter.hutterer@who-t.net>
267 Date: Tue Dec 20 14:14:16 2011 +1000
269 Add is_blacklisted_axis() helper
271 The kernel exports a bunch of information as axis that shouldn't be an axis
272 and we don't treat it as axis in the server. Add this helper instead of
273 checking for the axis codes manually.
277 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
279 commit a1c3f8efbbff7f93e216ccdb32bd176a8ba33b09
280 Author: Peter Hutterer <peter.hutterer@who-t.net>
281 Date: Tue Dec 20 13:32:06 2011 +1000
283 Drop now-unnecessary XI 2.1 and XI 2.2 error suppression defines
285 Gone since inputproto 2.1.99.3
287 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
289 commit f3c628acc4f7399325756590cdc72e769341243c
290 Author: Peter Hutterer <peter.hutterer@who-t.net>
291 Date: Tue Dec 20 10:56:22 2011 +1000
293 Map ABS_MT_POSITION_X/Y into ABS_X/Y
295 MT axes are the same as traditional axes, so one into the other so we get
296 x/y coordinates regardless wich axes it comes from.
298 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
300 commit 7909975b0b965fbf0935bf012987a5368ea0e67a
301 Author: Paulo Zanoni <paulo.r.zanoni@intel.com>
302 Date: Thu Dec 15 12:26:37 2011 -0200
304 Fix relative events with swapped axes
306 After we swap the axes, we only call valuator_mask_set for axes that are
307 not zero, so we need to unset the axes that became zero when swapped.
309 Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
310 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
312 commit 8d6dfd13b0c4177305555294218e366a6cddc83f
313 Author: Paulo Zanoni <paulo.r.zanoni@intel.com>
314 Date: Wed Dec 14 15:23:36 2011 -0200
316 Fix absolute events with swapped axes
318 We were correctly swapping the valuator values, but we were not
319 calling valuator_mask_unset() when needed, so the cursor kept jumping
322 This patch does the swapping before the main "for", so we don't need to
323 store unswapped_{x,y} and unswapped_isset_{x,y} even when we don't need
326 Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
327 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
329 commit fed454192ddc4ad94226040c657deb6abea3df88
330 Author: Peter Hutterer <peter.hutterer@who-t.net>
331 Date: Thu Dec 15 08:55:32 2011 +1000
333 Use xf86InitValuatorAxisStruct, the touch-specific version was dropped
335 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
337 commit cf93a21df1dd66118d3a1f5a0769d48f317de749
338 Author: Chase Douglas <chase.douglas@canonical.com>
339 Date: Tue Nov 29 18:02:58 2011 -0800
341 Don't send pointer events for multitouch touchscreen devices
343 Pointer events will be emulated by the server.
345 Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
347 commit fac1a41c75a7c4bfabff34dc8ed1dff2587c6011
348 Author: Peter Hutterer <peter.hutterer@who-t.net>
349 Date: Fri Nov 11 15:57:26 2011 +1000
351 Add the required defines to compile against the inputproto
353 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
355 commit 3175a2a96d448a0b2584a58ab3d05fbebb11fab1
356 Author: Peter Hutterer <peter.hutterer@who-t.net>
357 Date: Wed Nov 2 09:53:34 2011 +1000
359 Print to the log if we find multitouch axes.
361 No real effect on the code, but it helps to have that line in the log when
362 searching for driver issues.
364 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
366 commit 5e9b027807cc205dc9c4efbb8360ac4b20317682
367 Author: Peter Hutterer <peter.hutterer@who-t.net>
368 Date: Mon Oct 31 08:58:18 2011 +1000
370 Replace 0/1 button values with enums
372 BUTTON_PRESS is much harder to confuse with a button number than a simple 1.
374 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
376 commit 2ce305129ca94394096f4d697d51eb120de2940b
377 Author: Peter Hutterer <peter.hutterer@who-t.net>
378 Date: Wed Oct 26 13:21:18 2011 +1000
380 Skip event posting for empty slots.
382 ABS_MT_SLOT comes before any other events. The following order of events
383 is common for protocol B devices (and mtdev):
387 ABS_MT_SLOT → posting here means we miss on the position information
395 Store the stot state as SLOT_EMPTY after posting an event (i.e. EV_SYN and
396 ABS_MT_SLOT) and then don't post until the next slot/syn event.
398 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
400 commit 9411749f76c31a8054ded62a6fb767c8135b4d4e
401 Author: Peter Hutterer <peter.hutterer@who-t.net>
402 Date: Wed Oct 26 13:09:30 2011 +1000
404 Replace open_slot/close_slot with a SlotState enum
406 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
408 commit 239e972be1f2c6a984dd6c5aecce710d0b866257
409 Author: Peter Hutterer <peter.hutterer@who-t.net>
410 Date: Wed Oct 26 11:14:04 2011 +1000
412 Simplify a condition, only the event type differs here
414 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
416 commit 6127923fe0d50cb9b9ac4ae0a3876ba6f180137c
417 Author: Peter Hutterer <peter.hutterer@who-t.net>
418 Date: Wed Oct 26 10:51:16 2011 +1000
420 When resetting the queue, don't reset the touchMask
422 Otherwise we segfault after the first SYN event
424 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
426 commit fc4f98153c2608389d87e37316036a31fb1021e7
427 Author: Peter Hutterer <peter.hutterer@who-t.net>
428 Date: Wed Oct 26 09:59:34 2011 +1000
430 MT axes are counted separately, make sure they're initialized too.
432 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
434 commit fabee66bcc7260ec50c3091be3f9b503eea65e61
435 Author: Peter Hutterer <peter.hutterer@who-t.net>
436 Date: Tue Oct 25 15:06:38 2011 +1000
438 0 is the value for "unknown/unlimited" number of touches
440 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
442 commit 91d90a79593369ba1079d06a75f09ceaa9143768
443 Author: Peter Hutterer <peter.hutterer@who-t.net>
444 Date: Tue Oct 25 14:55:47 2011 +1000
446 Use mtdev API to allocate/free mtdev structs
448 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
450 commit c1b89bda12c1897120bace941625cfa27e547458
451 Author: Peter Hutterer <peter.hutterer@who-t.net>
452 Date: Tue Oct 25 14:52:26 2011 +1000
454 Remove duplicate line
456 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
458 commit 907b7cad3fd892ca3349cd18e9ccdc5659027b40
459 Author: Chase Douglas <chase.douglas@canonical.com>
460 Date: Thu Dec 2 18:01:41 2010 -0500
462 Ensure touchpad events are always processed with MT
464 Without this change, an MT touchpad in relative mode could end a touch
465 while not resetting the oldMask used to calculate relative values. This
466 fix allows a Magic Trackpad to behave as a relative mode device again.
468 Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
470 commit c9a2b4e9ce9b15e57241184df78c72ec8f6a4705
471 Author: Chase Douglas <chase.douglas@canonical.com>
472 Date: Mon Nov 8 14:35:02 2010 -0500
474 Use MTDev for multitouch devices
476 MTDev translates all multitouch devices to the slotted evdev protocol.
477 This provides a clean and uniform interface and reduces message handling
478 inside the input module and X.
480 Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
482 commit e18abd0049421a98e61c15c2d56cfe2821cf4739
483 Author: Chase Douglas <chase.douglas@canonical.com>
484 Date: Mon Nov 8 11:08:01 2010 -0500
486 Add experimental XI 2.1 multitouch support
488 This multitouch addition only supports slotted MT evdev protocol
489 devices. Support must be enabled at configure time using
492 Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
494 Amendments: XI_TouchMotion -> XI_TouchUpdate, rename mtMask to mt_mask
496 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
498 commit 683a55e504f4fc2d1c847c54986439a0c61b2f20
499 Author: Peter Hutterer <peter.hutterer@who-t.net>
500 Date: Tue Oct 25 09:59:50 2011 +1000
502 Use a new "Virtual Device" boolean property to mark virtual devices
504 Use udev to check for the device's sysfs path, if it contains LNXSYSTM it's
505 a kernel-emulated device. This property can then be used to determine if
506 there are any real devices connected, allowing the desktop environment to
507 e.g. turn off the touchpad whenever there's a mouse attached.
509 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
511 commit a9cdb6590cdf72917cdfeb17e2fcc6a110b2c7d1
512 Author: Peter Hutterer <peter.hutterer@who-t.net>
513 Date: Fri Nov 11 07:31:02 2011 +1000
515 Move misplaced #endif caused by smooth-scrolling merge
517 Bad conflict resolution in xf86-input-evdev-2.6.0-30-g745fca0
519 Reported-by: Sebastian Glita <glseba@yahoo.com>
520 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
522 commit dd000dd4fa118529809632e610a0a439d7467096
523 Author: Peter Hutterer <peter.hutterer@who-t.net>
524 Date: Wed Nov 9 16:04:06 2011 +1000
528 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
530 commit 745fca03a20117583bc18c7134583311ff52c29c
531 Merge: eede8cc b450efd
532 Author: Peter Hutterer <peter.hutterer@who-t.net>
533 Date: Wed Nov 9 16:01:48 2011 +1000
535 Merge branch 'smooth-scrolling'
540 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
542 commit b450efdf95999cad08de23ce069f04a66bdae24b
543 Author: Peter Hutterer <peter.hutterer@who-t.net>
544 Date: Fri Aug 19 11:15:09 2011 +1000
546 Support smooth scrolling on REL_WHEEL, REL_HWHEEL and REL_DIAL
548 Automatic smooth scrolling setup for these axes, with REL_WHEEL and REL_DIAL
549 both mapping into vscrolling. REL_WHEEL is the preferred axis.
551 Mouse wheel emulation is not yet updated for smooth scrolling.
553 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
554 Reviewed-by: Daniel Stone <daniel@fooishbar.org>
556 commit eede8ccffc1a831f4de89403edc8dffd52494e8b
557 Author: Peter Hutterer <peter.hutterer@who-t.net>
558 Date: Tue Oct 25 15:43:38 2011 +1000
560 Don't crop long value from EvdevBitIsSet.
562 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
563 Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
564 Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
566 commit 2aba790ed3acc3ece5e56dac088e0a0a4a04b45d
567 Author: Jools Wills <jools@oxfordinspire.co.uk>
568 Date: Sun Oct 30 23:19:21 2011 +0000
570 emuThird: Use xf86SetIntOption, not xf86SetBoolOption for integer values
572 Signed-off-by: Jools Wills <jools@oxfordinspire.co.uk>
573 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
574 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
576 commit 49693892ce35e95674fbb3d2a067c8fa0227da87
577 Author: Max Schwarz <Max@x-quadraht.de>
578 Date: Mon Oct 17 21:01:22 2011 +0200
580 type-safe inline functions for bitmask manipulation
582 We can't use BitIsSet/SetBit from the server (inputstr.h) since they
583 operate on byte arrays. EvdevSetBit is added in preparation for the
584 "smooth-scrolling on wheel emulation" patch.
586 Signed-off-by: Max Schwarz <Max@x-quadraht.de>
587 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
589 commit 070f30e08956e7fa8b7f9ca6b94fee3ef39caa1e
590 Author: Peter Hutterer <peter.hutterer@who-t.net>
591 Date: Mon Aug 15 11:34:12 2011 +1000
593 Exit axis labelling if axes are neither rel nor abs
595 No actual effect since labels_len is always 0 anyway but let's make the
596 return more explicit.
598 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
600 commit ffe35b6c2566fc2a3f418185a61a12c7f377affd
601 Author: Terry Lambert <tlambert@chromium.org>
602 Date: Fri Jul 15 17:23:20 2011 -0700
604 xf86-input-evdev: Return proper default for unknown values in pInfo->device_control.
606 Signed-off-by: Terry Lambert <tlambert@chromium.org>
607 Reviewed-by: Stephane Marchesin <marcheu@chromium.org>
608 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
610 commit 5069e053354ad6adfcbb08c962bff93b607dec3d
611 Author: Peter Hutterer <peter.hutterer@who-t.net>
612 Date: Fri May 27 16:20:03 2011 +1000
614 Remove unused misc_label and val
616 evdev.c: In function 'EvdevInitAxesLabels':
617 evdev.c:2192:11: warning: variable 'misc_label' set but not used
618 [-Wunused-but-set-variable]
619 obsolete with 880ad1e19afd83ac115948b67d4049e16cb12df0
621 emuWheel.c: In function 'EvdevWheelEmuPreInit':
622 emuWheel.c:252:10: warning: variable 'val' set but not used
623 [-Wunused-but-set-variable]
624 obsolete with b0737bdbd1f6e601eb4984b6f4cb49279190984c
626 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
627 Reviewed-by: Daniel Stone <daniel@fooishbar.org>
629 commit 0b9fad23a3d464ac064521d0e29f036b0ffdc9b8
630 Author: Peter Hutterer <peter.hutterer@who-t.net>
631 Date: Fri May 27 16:17:12 2011 +1000
633 Print abs axes ranges on verbosity 6.
635 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
636 Reviewed-by: Daniel Stone <daniel@fooishbar.org>
638 commit b79776cf8caa2b8db2984177661698da862befa6
639 Author: Peter Hutterer <peter.hutterer@who-t.net>
640 Date: Wed Jun 15 10:22:39 2011 +1000
644 We require ABI 12.2 in the driver, enforce it through pkg-config.
645 Technically ABI 12.2 is first available in 1.9.99.902 but 1.10 looks so much
648 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
649 Reviewed-by: Daniel Stone <daniel@fooishbar.org>
651 commit a52cd1cab2ae84442758de5155c5ec1417a7d16d
652 Author: Daniel Kurtz <djkurtz@google.com>
653 Date: Tue Jun 14 18:09:00 2011 +0800
655 Set prop_product_id undeletable
657 prop_invert was accidentally being set undeletable twice.
659 Signed-off-by: Daniel Kurtz <djkurtz@google.com>
660 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
662 commit eaf202531f2bb2b3da6d4769769f76da5489ae68
663 Author: Peter Hutterer <peter.hutterer@who-t.net>
664 Date: Mon Jan 31 14:11:44 2011 +1000
666 Export device node as property.
668 There is currently no mapping between XI devices and physical devices other
669 than what can be extracted by parsing the Xorg logfile. Add new property
670 "Device Node" to the driver to export the open device file.
672 Server 1.11 and later standardises on this property name.
674 The client is responsible for detecting if the device is on the same host
675 and converting the data into a more useful format (e.g. sysfs path).
677 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
679 commit 74151b3c52d989208c6ec8acadadd9bcf063bcc5
680 Author: Peter Korsgaard <jacmet@sunsite.dk>
681 Date: Tue May 24 09:44:05 2011 +0200
683 Handle touchscreens without BTN_TOUCH
685 Some touchscreens (like the Lumio crystaltouch in single touch mode) send
686 BTN_LEFT rather than BTN_TOUCH:
688 Input driver version is 1.0.1
689 Input device ID: bus 0x3 vendor 0x202e product 0x5 version 0x111
690 Input device name: "LUMIO Inc LUMIO CrystalTouch ver 1.1C"
694 Event code 272 (LeftBtn)
695 Event code 273 (RightBtn)
696 Event code 274 (MiddleBtn)
697 Event type 2 (Relative)
699 Event type 3 (Absolute)
709 Event code 4 (ScanCode)
710 Testing ... (interrupt to exit)
711 Event: time 1305882024.934011, type 4 (Misc), code 4 (ScanCode), value 90001
712 Event: time 1305882024.934017, type 1 (Key), code 272 (LeftBtn), value 1
713 Event: time 1305882024.934029, type 3 (Absolute), code 0 (X), value 270
714 Event: time 1305882024.934034, type 3 (Absolute), code 1 (Y), value 1513
715 Event: time 1305882024.934039, type 2 (Relative), code 9 (Misc), value 1
717 This causes evdev to handle these device as a mouse rather than a
718 touchscreen, which naturally doesn't work very well. We already internally
719 translate BTN_TOUCH as BTN_LEFT, so accept this kind of devices as
720 touchscreens by checking for devices with BTN_LEFT, absolute X/Y and NO
723 Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
724 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
726 commit e9d96e87acbd79b22837ac4b225ceb0bd0e1942e
727 Author: Peter Hutterer <peter.hutterer@who-t.net>
728 Date: Wed May 18 12:20:19 2011 +1000
730 Add a property to toggle function key mode
732 On some keyboards, the multimedia function keys are overlaid with the F
733 keys. This property enables clients to switch the primary mode of these F
734 keys between function keys and multimedia keys.
735 Some keyboards provide an Fn key to toggle between the modes. This is
736 hardware-specific and may or may not work on any given keyboard device.
738 The current imlementation is only hooked up to apple keyboards.
739 The kernel provides a tweak to enable/disable.
741 /sys/module/hid_apple/parameters/fnmode
742 0 .. keyboard sends Fx keys, Fn disabled
743 1 .. keyboard sends multimedia keys, Fn toggles to function keys
744 2 .. keyboard sends function keys, Fn toggles to multimedia keys
746 If fnmode is on 0, we force it to 2.
748 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
749 Reviewed-by: Michel Dänzer <michel@daenzer.net>
751 commit bb15bac149411a2066eca6ddd50e2ca2cc38f7c8
752 Author: Peter Hutterer <peter.hutterer@who-t.net>
753 Date: Wed May 18 12:20:00 2011 +1000
755 Export product/vendor ID through a property.
757 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
758 Reviewed-by: Daniel Stone <daniel@fooishbar.org>
760 commit 7611d2fc7357c44f56fed174d90681d5128f99e3
761 Author: Peter Hutterer <peter.hutterer@who-t.net>
762 Date: Wed May 18 12:19:24 2011 +1000
764 Move invert variable to the block it is used in.
766 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
767 Reviewed-by: Daniel Stone <daniel@fooishbar.org>
769 commit ebe41bfba77ba9c95d990d47d5e8f5a8a4f7477e
770 Author: Chase Douglas <chase.douglas@canonical.com>
771 Date: Fri Apr 15 12:14:03 2011 -0400
773 Copy out of proximity values into current values selectively
775 Otherwise, an event that causes us to go into proximity with some new
776 valuator values will retain some old valuator values from when last in
777 proximity. This change ensures that all values posted while out of
778 proximity are accounted for.
780 Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
781 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
783 commit 68a6a18fc2fe1d95c9196c1948a27f9e95029bec
784 Author: Chase Douglas <chase.douglas@canonical.com>
785 Date: Mon Apr 4 09:40:14 2011 -0400
787 Ensure all known valuator values are stored when out of proximity
789 The current code overwrites *all* the stored axis values with whatever
790 came in from evdev. Evdev is a stateful protocol, so it only sends us
791 updates to the axis values that have changed. We need to only update
792 the values that have changed.
794 Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
795 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
797 commit eeacd3e5a8bbd797776f27e18d8ed68aa95a8823
798 Author: Chase Douglas <chase.douglas@canonical.com>
799 Date: Mon Apr 4 09:40:13 2011 -0400
801 Ensure events are posted when entering into proximity
803 Fixes LP: #736829 (https://bugs.launchpad.net/bugs/573006)
805 Re-fixes old X.Org Bug 29645
806 <http://bugs.freedesktop.org/show_bug.cgi?id=29645>
808 Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
809 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
811 commit 5708e384942a7257257fbae8b1d64548fd6559a0
812 Author: Simon Thum <simon.thum@gmx.de>
813 Date: Sun Mar 20 15:49:48 2011 +0100
815 rename valuator init functions
817 Since the mode of valuators (no longer?) bears a relation to the device class
818 actually initialized, this naming was quite misleading.
820 Signed-off-by: Simon Thum <simon.thum@gmx.de>
821 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
823 commit 41111ce1efc6181b8da042c5b01f01cdf92315be
824 Author: Rami Ylimäki <rami.ylimaki@vincit.fi>
825 Date: Tue Mar 8 11:23:47 2011 +0200
827 Remove constness of device filename to avoid warning when freed.
829 A warning from free() can be avoided by casting the constness away
830 from its argument pointer or by not declaring the pointer as const in
833 Signed-off-by: Rami Ylimäki <rami.ylimaki@vincit.fi>
834 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
836 commit b4c47d5f9454a708a5ab161c015646f2ca6e1ac3
837 Author: Rami Ylimäki <rami.ylimaki@vincit.fi>
838 Date: Tue Mar 8 11:23:46 2011 +0200
840 Release leaked device identifier on input device disconnect.
842 Signed-off-by: Rami Ylimäki <rami.ylimaki@vincit.fi>
843 Reviewed-by: Erkki Seppälä <erkki.seppala@vincit.fi>
844 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
846 commit 50193a0dd35b6f54499fb76ab68f615237cc51f9
847 Author: Rami Ylimäki <rami.ylimaki@vincit.fi>
848 Date: Tue Mar 8 11:23:45 2011 +0200
850 Release leaked XKB options on input device disconnect.
852 Currently the XKB options duplicated in EvdevAddKeyClass are never
853 released. For example, connecting and disconnecting a bluetooth
854 keyboard repeatedly causes a steadily growing memory leak.
856 Signed-off-by: Rami Ylimäki <rami.ylimaki@vincit.fi>
857 Reviewed-by: Erkki Seppälä <erkki.seppala@vincit.fi>
858 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
860 commit 0049cce4d0691f055dfe9059e4c0c4ad30301db6
861 Author: Peter Hutterer <peter.hutterer@who-t.net>
862 Date: Fri Feb 11 13:31:52 2011 +1000
864 Use Absolute/Relative as argument to xf86Post*
866 xf86Post* takes an int for the is_absolute parameter. Since the XI protocol
867 spec requires Relative to be 0 and Absolute to be 1, use those instead to
868 make the code easier to read.
870 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
872 commit d9001a6be9d86a5f30549af9fbb02a466f4b0709
873 Author: Peter Hutterer <peter.hutterer@who-t.net>
874 Date: Wed Jan 26 12:11:00 2011 +1000
876 Add third button emulation.
879 "Evdev Third Button Emulation" → switch on/off
880 "Evdev Third Button Emulation Timeout" → timeout until event is delivered
881 "Evdev Third Button Emulation Button" → phys button to be emulated
882 "Evdev Third Button Emulation Threshold" → move threshold before emulation
885 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
886 Tested-by: Benjamin Tissoires <tissoire@cena.fr>
888 commit 22db196815b813ff1c4806dd4cbb06788763d6b6
889 Author: Peter Hutterer <peter.hutterer@who-t.net>
890 Date: Mon Jan 31 13:39:46 2011 +1000
892 Static atoms don't need to be initialized to 0.
894 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
896 commit 54ac2306b83434a014e941e25a5286a592e74351
897 Author: Peter Hutterer <peter.hutterer@who-t.net>
898 Date: Mon Jan 31 12:07:48 2011 +1000
900 Replace xf86Msg() with xf86IDrvMsg().
902 The latter provides a standardised message format in the form of
903 driver name: device name: message
905 making it easier to grep for driver messages in the log.
907 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
909 commit 768c25a99b2f4ec07993eb15a0f05a5e22b5c695
910 Author: Chase Douglas <chase.douglas@canonical.com>
911 Date: Mon Jan 24 11:49:05 2011 -0500
913 Add support for masked valuators
915 With the X server now supporting masked valuators for XI2, enable
918 Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
919 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
921 commit b5c9f41b2b6c680b7c44eadef8da855b1d9adcb7
922 Author: Chase Douglas <chase.douglas@canonical.com>
923 Date: Sat Jan 22 16:40:49 2011 -0500
925 Switch to "goto" logic for error handling when adding classes
927 This will be necessary for the addition of multitouch functionality.
929 Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
930 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
932 commit 8bc4be3048754b9c751cd98f5a5b46cf59a56f3a
933 Author: Chase Douglas <chase.douglas@canonical.com>
934 Date: Sat Jan 22 16:40:48 2011 -0500
936 Remove support for X input ABI < 12.2
938 Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
939 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
941 commit 30c3645e20e945b0f8b7dc624748948464be606e
942 Author: Peter Hutterer <peter.hutterer@who-t.net>
943 Date: Tue Jan 11 12:46:40 2011 +1000
947 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
949 commit 3b52fe2ea4a934a8d87aacd185593beb01f8f273
950 Author: Chase Douglas <chase.douglas@canonical.com>
951 Date: Wed Jan 5 10:09:55 2011 -0500
953 Print out error messages when failing to init devices
955 Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
956 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
958 commit 540a4cce9071fce183c941ded35e7e8fb8f3507e
959 Author: Peter Hutterer <peter.hutterer@who-t.net>
960 Date: Wed Jan 5 09:04:56 2011 +1000
964 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
966 commit bed25600f66db245b895a48d6edca30568ca7559
967 Author: Peter Hutterer <peter.hutterer@who-t.net>
968 Date: Thu Dec 23 12:13:16 2010 +1000
970 Don't update first_val and num_val if we don't have data (#32480)
972 For touchpads, rel_queued may be on (due to abs to rel conversion) but the
973 delta for x/y is 0/0 on the first touch. Hence, we don't have any valuators
974 to post. The current results in a num_vals of -15 and a subsequent segfault
975 when the data is posted to the server.
977 Start with a last valuator of -1, so that we know if we have at least one to
980 X.Org Bug 32480 <http://bugs.freedesktop.org/show_bug.cgi?id=32480>
982 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
983 Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
985 commit 9aea1c5fa09c25ad83bcf2fd4ee4bd853d889e5e
986 Author: Peter Hutterer <peter.hutterer@who-t.net>
987 Date: Tue Dec 21 10:53:06 2010 +1000
989 Add use_proximity bit for BTN_TOOL handling.
991 Touchpads send garbage data between BTN_TOOL_FINGER and BTN_TOUCH. This
992 leads to cursor movement towards invalid positions (bottom left corner,
995 Add a new flag "use_proximity" as a delimiter for BTN_TOUCH handling. If
996 unset, the actual proximity bits are ignored, no proximity events are sent
997 and BTN_TOUCH is used for the tool handling.
999 Example event stream for synaptics:
1001 Event: time 1292893041.002731, -------------- Report Sync ------------
1002 Event: time 1292893041.015807, type 1 (Key), code 330 (Touch), value 0
1003 Event: time 1292893041.015812, type 3 (Absolute), code 0 (X), value 4283
1004 Event: time 1292893041.015813, type 3 (Absolute), code 1 (Y), value 4860
1005 Event: time 1292893041.015815, type 3 (Absolute), code 24 (Pressure), value 23
1006 Event: time 1292893041.015817, type 3 (Absolute), code 28 (Tool Width), value 5
1007 Event: time 1292893041.027537, -------------- Report Sync ------------
1008 Event: time 1292893041.038854, type 3 (Absolute), code 0 (X), value 1
1009 Event: time 1292893041.038857, type 3 (Absolute), code 1 (Y), value 5855
1010 Event: time 1292893041.038859, type 3 (Absolute), code 24 (Pressure), value 1
1011 Event: time 1292893041.038861, type 3 (Absolute), code 28 (Tool Width), value 5
1012 Event: time 1292893041.038864, -------------- Report Sync ------------
1013 Event: time 1292893041.062432, type 3 (Absolute), code 24 (Pressure), value 0
1014 Event: time 1292893041.062435, type 3 (Absolute), code 28 (Tool Width), value 0
1015 Event: time 1292893041.062437, type 1 (Key), code 325 (ToolFinger), value 0
1016 Event: time 1292893041.062438, -------------- Report Sync ------------
1018 Reported-by: Dave Airlie <airlied@redhat.com>
1019 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
1020 Reviewed-by: Chris Bagwell <chris@cnpbagwell.com>
1022 commit 0c987a929dd4c98d4a80d8b7f75286902eb572f2
1023 Author: Peter Hutterer <peter.hutterer@who-t.net>
1024 Date: Tue Dec 21 10:45:11 2010 +1000
1026 Revert "Don't count BTN_TOUCH as tool. (#29428)"
1028 Synaptics devices send garbage between BTN_TOUCH and BTN_TOOL_FINGER. By
1029 switching to use this as proximity data now, the pointer is reset to the
1030 garbage data position (usually around 1/5855).
1032 This reverts commit 899218e18120918138f6d7420465763422d5b3b7.
1034 Reported-by: Dave Airlie <airlied@redhat.com>
1035 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
1036 Reviewed-by: Chris Bagwell <chris@cnpbagwell.com>
1038 commit 242a01eb0f2f9b56fb6d6f0b41fc6a899cadb857
1039 Author: Peter Hutterer <peter.hutterer@who-t.net>
1040 Date: Tue Dec 21 10:40:45 2010 +1000
1042 Rename proximity to in_proximity.
1044 No functional change, just making it a bit more obvious to read.
1046 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
1047 Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
1048 Reviewed-by: Chris Bagwell <chris@cnpbagwell.com>
1050 commit 7415953b9afac3221d1bb834aadcc7c1917366fd
1051 Author: Peter Hutterer <peter.hutterer@who-t.net>
1052 Date: Tue Dec 21 10:44:14 2010 +1000
1054 Fix grammar typo in comment.
1056 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
1058 commit 1ced7ec7e23c57c0e1aaddeb3c113e67a5cb7341
1059 Author: Peter Korsgaard <jacmet@sunsite.dk>
1060 Date: Fri Dec 10 16:16:59 2010 +0100
1062 evdev: rename EvdevCacheCompare() to EvdevCache()
1064 Since 59056e656c64 (Remove the reopen timer logic) from last year,
1065 EvdevCacheCompare() is only used for caching ioctl values and not for
1066 comparing, so remove the unused compare logic and rename the function
1069 Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
1070 Reviewed-by: Benjamin Tissoires <benjamin.tissoires@enac.fr>
1071 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
1073 commit 1c5ad6f8a0f098da89aa88102f424c667addf376
1074 Author: Peter Hutterer <peter.hutterer@who-t.net>
1075 Date: Wed Dec 8 12:40:49 2010 +1000
1079 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
1081 commit 6fd1d0860e71c644fa72b4b40872e0ced671726c
1082 Author: Peter Hutterer <peter.hutterer@who-t.net>
1083 Date: Mon Dec 6 11:41:11 2010 +1000
1085 Return error codes from EvdevOpenDevice()
1087 The server's behaviour is to stop adding new devices when a BadAlloc occurs
1088 on any device (on the assumption that new devices won't magically have more
1089 memory). Change EvdevOpenDevice() to return an error code of BadValue when
1090 it fails (and thus to the server) to prevent other devices being ignored
1091 because of one misconfigured one.
1093 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
1094 Reviewed-by: Daniel Stone <daniel@fooishbar.org>
1096 commit 31ba99e9edd28ff81437e0167c5322b9f619c52a
1097 Author: Peter Hutterer <peter.hutterer@who-t.net>
1098 Date: Fri Nov 19 14:27:09 2010 +1000
1102 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
1104 commit a4aefca2ed52e675e6151a0fb0742a9e19565a41
1105 Author: Peter Hutterer <peter.hutterer@who-t.net>
1106 Date: Mon Oct 25 11:05:18 2010 +1000
1108 Reshuffle to avoid the need for XI86_CONFIGURED.
1110 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
1111 Reviewed-by: Benjamin Tissoires <tissoire@cena.fr>
1113 commit 20d7a0a4aab64232712186811ae55c40d2b7d161
1114 Author: Peter Hutterer <peter.hutterer@who-t.net>
1115 Date: Mon Oct 25 10:38:21 2010 +1000
1117 Input API 12 requires a valuator mode for each axis.
1119 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
1120 Reviewed-by: Benjamin Tissoires <tissoire@cena.fr>
1122 commit 5e26ba8641809addc63e783e1cefac0f8524b020
1123 Author: Nikolai Kondrashov <spbnick@gmail.com>
1124 Date: Wed Oct 20 23:31:30 2010 +0400
1126 Extend button mapping to full ranges
1128 Extend button code to number mapping to cover full BTN_MOUSE and BTN_MISC
1129 ranges, including undefined codes.
1131 This extends mapping introduced with 0367e387 to the following:
1133 1 BTN_LEFT BTN_0 BTN_TOUCH
1134 2 BTN_MIDDLE BTN_1 BTN_STYLUS
1135 3 BTN_RIGHT BTN_2 BTN_STYLUS2
1139 10 BTN_FORWARD BTN_5
1151 This should fix https://bugs.freedesktop.org/show_bug.cgi?id=30336
1153 Signed-off-by: Nikolai Kondrashov <spbnick@gmail.com>
1154 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
1156 commit 71dd18f72889ef6998a1bd699630da583dcb775a
1157 Author: Peter Hutterer <peter.hutterer@who-t.net>
1158 Date: Tue Oct 19 10:22:55 2010 +1000
1160 Rename CountBits to EvdevCountBits.
1162 Avoid name collision with the server.
1164 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
1165 Reviewed-by: Benjamin Tissoires <tissoire@cena.fr>
1166 Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
1168 commit c3e49f2b95d3e40f97d6bffdaf8a6c036093fa91
1169 Author: Peter Hutterer <peter.hutterer@who-t.net>
1170 Date: Wed Oct 20 10:33:39 2010 +1000
1172 Use an array for the proximity bits.
1174 Instead of two lists that need to be kept in sync, just store the bits in an
1175 array and run through them.
1177 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
1178 Reviewed-by: Benjamin Tissoires <tissoire@cena.fr>
1179 Reviewed-by: Daniel Stone <daniel@fooishbar.org>
1181 commit b06d3ffdcdb14978201af5b24a7292ee73b65318
1182 Author: Peter Hutterer <peter.hutterer@who-t.net>
1183 Date: Wed Oct 20 10:20:26 2010 +1000
1185 Rename abs/rel/prox to abs_queued/rel_queued/prox_queued.
1187 Mainly to avoid confusing between pEvdev->prox and pEvdev->proximity and to
1188 better express what these fields are actually holding.
1190 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
1191 Reviewed-by: Benjamin Tissoires <tissoire@cena.fr>
1192 Reviewed-by: Daniel Stone <daniel@fooishbar.org>
1194 commit 3646371eefae63678876f45daa0eea2ac522f2e2
1195 Author: Benjamin Tissoires <tissoire@cena.fr>
1196 Date: Sat Oct 16 20:20:31 2010 +0200
1198 Add the names of the valuators for the multitouch properties
1200 Thoses definitions have been included in the kernel and in the X server.
1201 However, the evdev driver has not been updated accordingly.
1203 Without these definitions, the multitouch axes are not correctly labelled.
1205 Signed-off-by: Benjamin Tissoires <tissoire@cena.fr>
1206 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
1208 commit b48f4c41c0d3386bba3e9d8fa3da91f18aae190b
1209 Author: Peter Hutterer <peter.hutterer@who-t.net>
1210 Date: Mon Oct 11 09:33:28 2010 +1000
1212 Add proximity support.
1214 When one of the tools comes into proximity, queue up a proximity event and
1215 send it accordingly.
1217 Includes special handling for tablets that do not send axes with tools
1220 Some tablets send axis values, then EV_SYN, and in the next event the
1221 BTN_TOOL_PEN/BTN_TOUCH, etc. For these tablets, the cursor doesn't move as
1222 coordinates while not in proximity are ignored.
1224 Buffer coordinates received while out-of-proximity and if we get a proximity
1225 event without other coordinates, re-use the last ones received.
1227 X.Org Bug 29645 <http://bugs.freedesktop.org/show_bug.cgi?id=29645>
1229 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
1230 Reviewed-by: Chris Bagwell <chris@cnpbagwell.com>
1231 Reviewed-by: Benjamin Tissoires <tissoire@cena.fr>
1233 commit 185ad42078a3bcb423b83e41ebeddbb7541fe26c
1234 Author: Peter Hutterer <peter.hutterer@who-t.net>
1235 Date: Wed Sep 8 10:47:34 2010 +1000
1237 Rename evdev->tool to evdev->proximity.
1239 evdev doesn't care about the actual tool used, only that it is used as an
1240 indicator for proximity. Rename the field accordingly to make the code more
1243 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
1244 Reviewed-by: Chris Bagwell <chris@cnpbagwell.com>
1246 commit 7282e3ac6c3b23cce927271fb9ca34b2acd36fd3
1247 Author: Peter Hutterer <peter.hutterer@who-t.net>
1248 Date: Wed Sep 8 11:30:14 2010 +1000
1250 When posting buttons, post absolute valuators if we have them.
1252 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
1253 Reviewed-by: Benjamin Tissoires <tissoire@cena.fr>
1255 commit c504852aa27239a57445ca1de013b5bfefa68276
1256 Author: Peter Hutterer <peter.hutterer@who-t.net>
1257 Date: Wed Sep 8 11:29:11 2010 +1000
1259 Fix valuator offset when posting absolute motion events.
1261 If first_v was not zero, the values passed to xf86PostMotionEventP were
1264 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
1265 Reviewed-by: Benjamin Tissoires <tissoire@cena.fr>
1267 commit 4bbf9c9125db51394870c86413fe18a0c8ec7068
1268 Author: Peter Hutterer <peter.hutterer@who-t.net>
1269 Date: Wed Sep 8 11:28:27 2010 +1000
1271 Don't pass pointers around to first_v and num_v.
1273 We only use them as values, no need for the addresses.
1275 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
1276 Reviewed-by: Benjamin Tissoires <tissoire@cena.fr>
1278 commit 684426a9d2b4850ae80c824d4afe1e95875eee21
1279 Author: Peter Hutterer <peter.hutterer@who-t.net>
1280 Date: Wed Sep 8 10:59:12 2010 +1000
1282 De-duplicate event queue access.
1284 Factor out access to the next queue element in a static function to be
1285 reused for button and key presses.
1287 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
1288 Reviewed-by: Benjamin Tissoires <tissoire@cena.fr>
1290 commit 9664e5a48723e7085fc3ece2aa13f8696f631a3d
1291 Author: Peter Hutterer <peter.hutterer@who-t.net>
1292 Date: Wed Oct 6 10:58:17 2010 +1000
1294 Remove refcnt initialization from InputDriverRec.
1296 Removed from the server with
1297 commit 6130170e7e9b64c611ee942ec3455dd1a185193d
1298 Author: Adam Jackson <ajax@redhat.com>
1299 Date: Sat Sep 18 06:41:35 2010 -0400
1301 xfree86: Remove unused refcounting from input drivers
1303 And given that it was unused, we don't need to ifdef it.
1305 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
1307 commit 0367e3871f02993b4ce04873d6e40df16fb0a202
1308 Author: Nikolai Kondrashov <spbnick@gmail.com>
1309 Date: Thu Sep 2 18:09:13 2010 +0400
1311 Clean up button code to number mapping
1313 Now BTN_MOUSE, BTN_MISC and BTN_DIGI button ranges are all mapped to the
1314 same lower numbers including first three, corresponding to the LMR mouse
1317 1 BTN_LEFT BTN_0 BTN_TOUCH
1318 2 BTN_MIDDLE BTN_1 BTN_STYLUS
1319 3 BTN_RIGHT BTN_2 BTN_STYLUS2
1323 10 BTN_FORWARD BTN_5
1329 This streamlines the button mapping under the assumption that these ranges
1330 don't generally appear in a single device simultaneously. If they do appear,
1331 they will simply report overlapping button numbers.
1333 Signed-off-by: Nikolai Kondrashov <spbnick@gmail.com>
1334 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
1336 commit 617a09e298768d0a1d33cb6b367410455489e8b8
1337 Author: Nikolai Kondrashov <spbnick@gmail.com>
1338 Date: Tue Sep 7 10:38:20 2010 +1000
1340 Add BTN_TOUCH/STYLUS/STYLUS2 support.
1342 These three buttons are mapped into buttons 1/2/3, respectively.
1343 Overlapping range with BTN_LEFT/MIDDLE/RIGHT, assuming that these
1344 ranges don't generally appear in a single device simultaneously.
1346 Signed-off-by: Nikolai Kondrashov <spbnick@gmail.com>
1347 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
1349 commit b83515485b739451b6cde29c7e6f5c900175eaf9
1350 Author: Tim Yamin <plasm@roo.me.uk>
1351 Date: Tue Sep 7 10:31:02 2010 +1000
1353 SwapAxes should rescale raw values when enabled
1355 Current implementation assumes that X & Y axes have the same min and max
1356 values. If they don't, you'll end up with funny behaviour if SwapAxes is
1359 Signed-off-by: Tim Yamin <plasm@roo.me.uk>
1360 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
1362 commit 009d442aa347cea15d07ceaec955a2f69f247364
1363 Merge: 10493de 4964c61
1364 Author: Peter Hutterer <peter.hutterer@who-t.net>
1365 Date: Wed Sep 1 13:04:29 2010 +1000
1367 Merge branch 'input-api' of git://people.freedesktop.org/~whot/xf86-input-evdev
1369 commit 10493de96e905b831e14bd510f2af1b8da3d2be6
1370 Author: Nikolai Kondrashov <spbnick@gmail.com>
1371 Date: Tue Aug 31 11:31:07 2010 +0400
1373 Improve dumb tablet detection
1375 Improve dumb tablet detection by checking if BTN_STYLUS or BTN_STYLUS2
1376 (first or second pen barrel button) is present when BTN_TOOL_PEN is not
1379 This enables detection of tablets without explicit tool proximity reporting.
1380 These include at least four UC-Logic tablet models: WP4030U, WP5540U,
1381 WP8060U and PF1209, on which many Genius and Trust models are based.
1383 Signed-off-by: Nikolai Kondrashov <spbnick@gmail.com>
1384 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
1385 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
1387 commit 829facd516d90f92187b78ccf6d921a1b1671990
1388 Author: Peter Hutterer <peter.hutterer@who-t.net>
1389 Date: Tue Aug 31 14:09:46 2010 +1000
1393 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
1395 commit fbafe59420f128b6264feeb115bbcbc1c933f611
1396 Author: Nikolai Kondrashov <spbnick@gmail.com>
1397 Date: Wed Aug 25 00:39:45 2010 +0400
1399 Fix comments about BTN_TOOL_PEN.
1401 Fix incorrect usage of BTN_DIGI instead of BTN_TOOL_PEN in comments.
1402 Fix forgotten pEvdev->digi reference.
1404 Signed-off-by: Nikolai Kondrashov <spbnick@gmail.com>
1405 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
1407 commit 990540fa1905b11403d5c25345c428c5bc9ed126
1408 Author: Peter Hutterer <peter.hutterer@who-t.net>
1409 Date: Mon Aug 23 10:34:36 2010 +1000
1413 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
1415 commit b8945e61eb97265fdccace8411b8b33d3d56be13
1416 Author: Peter Hutterer <peter.hutterer@who-t.net>
1417 Date: Mon Aug 23 10:27:35 2010 +1000
1419 man: don't reference README.mouse
1421 No real reason to refer to the mouse driver's readme.
1423 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
1425 commit 97dc45b769c9a4dfa61782d7ce491df8ebaed3dc
1426 Author: Peter Hutterer <peter.hutterer@who-t.net>
1427 Date: Thu Aug 19 12:50:25 2010 +1000
1431 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
1433 commit ec6cb31cc47eed3ccba4c906ca6c54b99136e9eb
1434 Author: Bartosz Brachaczek <b.brachaczek@gmail.com>
1435 Date: Tue Aug 10 22:31:37 2010 +0200
1437 evdev: Initialize valuators array. (#24737)
1439 The array needs to be filled with zeros, otherwise we may end up sending
1440 it with random values if non-zero values aren't in one row (which is the
1441 case for A4Tech X-750F which sends REL_MISC events without a reason).
1443 X.Org Bug 24737 <http://bugs.freedesktop.org/show_bug.cgi?id=24737>
1445 Signed-off-by: Bartosz Brachaczek <b.brachaczek@gmail.com>
1446 Tested-by: Bartek Iwaniec <hash87@gmail.com>
1447 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
1448 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
1450 commit ed47c7f33e315f163a6aebeb3e1c8947004576fd
1451 Author: Bartosz Brachaczek <b.brachaczek@gmail.com>
1452 Date: Tue Aug 10 22:31:00 2010 +0200
1454 evdev: Revert "Set all valuators for relative motion events (#24737)"
1456 It isn't necessary to post zero-deltas to X Server. In order not to post
1457 uninitialized "v" array we should rather simply initialize it.
1459 This reverts commit c1f16a4f59a584ab4546c2f16e20b06703042057.
1461 Signed-off-by: Bartosz Brachaczek <b.brachaczek@gmail.com>
1462 Tested-by: Bartek Iwaniec <hash87@gmail.com>
1463 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
1464 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
1466 commit 899218e18120918138f6d7420465763422d5b3b7
1467 Author: Peter Hutterer <peter.hutterer@who-t.net>
1468 Date: Mon Aug 9 13:01:11 2010 +1000
1470 Don't count BTN_TOUCH as tool. (#29428)
1472 Devices that don't have a tool but BTN_TOUCH simply have the tool always on.
1473 Devices that have a tool other than BTN_TOUCH set this tool before BTN_TOUCH
1476 X.Org Bug 29428 <http://bugs.freedesktop.org/show_bug.cgi?id=29428>
1478 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
1480 commit 4964c61f4b248e9eb16e8eadb5f5d0b6410b6b84
1481 Author: Peter Hutterer <peter.hutterer@who-t.net>
1482 Date: Thu Jul 22 11:32:08 2010 +1000
1484 Return BadMatch for already configured devices.
1486 PreInit can now return different error codes. Return BadAlloc for alloc
1487 failures and BadMatch if the device was already configured or the cache
1488 comparison/probe failed.
1490 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
1492 commit 92e8dc49611398c8a9659b244645530cd26736fe
1493 Author: Peter Hutterer <peter.hutterer@who-t.net>
1494 Date: Thu Jul 22 10:57:02 2010 +1000
1496 Use the new input API (changed PreInit function prototype).
1498 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
1500 commit e0e4b7d89b20ab9997a2eeb17dc7381ecafa31e3
1501 Author: Peter Hutterer <peter.hutterer@who-t.net>
1502 Date: Thu Jul 22 10:51:54 2010 +1000
1504 Move private init down.
1506 No real change, preparation for new input API.
1508 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
1510 commit d2c11d36a05e18936e39f7aa592c15b254aff1de
1511 Author: Peter Hutterer <peter.hutterer@who-t.net>
1512 Date: Thu Jul 22 10:51:12 2010 +1000
1514 Use pInfo->options instead of dev->commonOptions.
1516 No real change, preparation for new input API.
1518 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
1520 commit 2f636402d882c775497e88c1f74477c4f6e9521d
1521 Author: Peter Hutterer <peter.hutterer@who-t.net>
1522 Date: Thu Jul 22 10:40:01 2010 +1000
1524 Add ifdefs for pre ABI 12 support.
1526 The server doesn't provide these defines anymore, define them here for
1527 future use. To be purged whenever we drop support for the current server.
1529 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
1531 commit 3d3565c069558b9d1e8e0e86332415731b88b11d
1532 Author: Peter Hutterer <peter.hutterer@who-t.net>
1533 Date: Thu Jul 22 10:38:58 2010 +1000
1535 Remove usage of XI86_POINTER_CAPABLE and XI86_KEYBOARD_CAPABLE.
1537 XI86_KEYBOARD_CAPABLE was write-only, both in the driver and the server.
1538 XI86_POINTER_CAPABLE was write-only in the server and can be emulated with
1539 has_abs_axes and has_rel_axes.
1541 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
1543 commit 421585fda6ce67c209d43952109dda056ee40941
1544 Author: Alex Warg <alexander.warg@os.inf.tu-dresden.de>
1545 Date: Wed Jun 30 10:33:46 2010 +1000
1547 Fix out-of-bounds access if more than MAX_VALUATORS are present. (#28809)
1549 The functions EvdevAddRelClass and EvdevAddAbsClass do out of bounds
1550 accesses to vals and old_vals arrays in the EvdevRec structure if there are
1551 more than MAX_VALUATORS axes reported by the kernel.
1553 X.Org Bug 28809 <http://bugs.freedesktop.org/show_bug.cgi?id=28809>
1555 Signed-off-by: Alex Warg <alexander.warg@os.inf.tu-dresden.de>
1556 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
1558 commit 8697811f56160146981f2364d6e154b2c57f388e
1559 Author: Peter Hutterer <peter.hutterer@who-t.net>
1560 Date: Tue Jun 22 14:40:13 2010 +1000
1562 man: some minor fixes to man page.
1564 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
1566 commit b06bffdc979eb7d1ebf10680bc9b11baf9bd34a0
1567 Author: Peter Hutterer <peter.hutterer@who-t.net>
1568 Date: Fri Jun 11 10:01:08 2010 +1000
1570 Add myself to Authors in man page.
1572 git blames me for about half the driver now, I guess that's enough
1575 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
1577 commit 9410e452d26aeb81fb6068ab83ffdcd5aca32f67
1578 Author: Gaetan Nadon <memsize@videotron.ca>
1579 Date: Thu May 27 21:56:47 2010 -0400
1581 config: use AC_PROG_INSTALL now supplied by XORG_DEFAULT_OPTIONS
1583 It depends on util-macros 1.8
1584 The existing statement can now be removed from the configuration file.
1586 Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
1588 commit 516e538da4c866dde12d747095fa1779fd4275c0
1589 Author: Gaetan Nadon <memsize@videotron.ca>
1590 Date: Thu May 27 20:51:47 2010 -0400
1592 config: upgrade to util-macros 1.8 for additional man page support
1594 Use MAN_SUBST now supplied in XORG_MANPAGE_SECTIONS
1595 The value of MAN_SUBST is the same for all X.Org packages.
1597 Use AC_PROG_SED now supplied by XORG_DEFAULT_OPTIONS
1598 The existing statement can now be removed from the configuration file.
1600 Use Automake $() for variables in Makefile.am
1602 Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
1604 commit 1f38e1bc1174a66980d4a7e8e0a36aef938625df
1605 Author: Gaetan Nadon <memsize@videotron.ca>
1606 Date: Sat Jun 12 09:59:06 2010 -0400
1608 COPYING: update and refactor the Copyright notices
1610 Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
1612 commit 456579ba30edbda8182cc8a7f6347e591d191bd0
1613 Author: Peter Hutterer <peter.hutterer@who-t.net>
1614 Date: Tue Jun 1 10:20:25 2010 +1000
1618 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
1620 commit 21a2ac818e75ef918d320ce1e88b6263e68e598d
1621 Author: Peter Hutterer <peter.hutterer@who-t.net>
1622 Date: Fri May 28 09:47:17 2010 +1000
1624 Disable middle mouse button emulation by default.
1626 The AUTO feature was the default, MB emulation was on until a middle mouse
1627 button was pressed. MB emulation however results in a delay of the first
1628 press, causing minor annoyances to the users and being generally confusing
1629 when the behaviour before a button press is different to after a button
1632 Disable the feature by default instead. There's not a lot of two-button mice
1633 around anymore though and the inability to detect two-button mice makes for
1634 non-deterministic detection of when the emulation should be on.
1636 Middle button emulation can be enabled with a configuration snippet:
1638 Section "InputClass"
1639 Identifier "middle button emulation"
1641 Option "Emulate3Buttons" "on"
1644 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
1645 Acked-by: Daniel Stone <daniel@fooishbar.org>
1647 commit 4c216242404d749b9ae8ec181146689f89119cb4
1648 Author: Peter Hutterer <peter.hutterer@who-t.net>
1649 Date: Thu May 20 12:40:13 2010 +1000
1651 Remove libc wrappers for malloc, calloc and free.
1653 Evdev is Linux-only, and we've had the above calls for quite a while now.
1654 Plus, now that the server has removed them they generate _a lot_ of warnings
1657 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
1658 Reviewed-by: Jamey Sharp <jamey@minilop.net>
1660 commit 6e244b109861d6f602066cac8b766a55a5016c63
1661 Author: Peter Hutterer <peter.hutterer@who-t.net>
1662 Date: Thu May 20 12:38:19 2010 +1000
1664 Move mode declaration, it's not const either.
1666 What we're getting back from xf86SetStrOption is a strdup'd string, not
1667 const, especially given that we free it a few lines down.
1669 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
1671 commit e7c301563a4b1718d2fc0066c1b3125404e3060f
1672 Author: Peter Hutterer <peter.hutterer@who-t.net>
1673 Date: Thu May 20 14:24:05 2010 +1000
1675 Move opening the device into a separate function.
1677 Re-use from EvdevOn and PreInit.
1679 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
1681 commit ffc2c9961f5fb099b85a97550a30a854420ee773
1682 Author: Peter Hutterer <peter.hutterer@who-t.net>
1683 Date: Thu May 20 11:54:56 2010 +1000
1685 Move checks for calibration, inversion and axis swap to EvdevProbe.
1687 Keyboard devices don't need these checks.
1689 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
1691 commit 7c01cff1faede468efddf2c66c9ca85022585244
1692 Author: Peter Hutterer <peter.hutterer@who-t.net>
1693 Date: Wed May 19 15:37:01 2010 +1000
1695 Move EVIOCGRAB into a static func.
1697 This is in preparation of some major rework, there are no functional
1700 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
1702 commit e6e20c1b3e5977830a2b78046c0a8c49e38746fd
1703 Author: Peter Hutterer <peter.hutterer@who-t.net>
1704 Date: Wed May 19 15:09:29 2010 +1000
1706 Move error handling in PreInit down to the end.
1708 Just have one exit path instead of different ones. Guards are in place to
1709 avoid freeing/deleting something that shouldn't be.
1711 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
1712 Reviewed-by: Jamey Sharp <jamey@minilop.net>
1714 commit b27d03b248e36ec7a674113baa494b82e3ad728b
1715 Author: Peter Hutterer <peter.hutterer@who-t.net>
1716 Date: Wed May 19 14:55:32 2010 +1000
1718 Comment odd EVIOCGRAB behaviour and reshuffle conditions a bit.
1720 The reason for this rather weird approach is to ungrab immediately after
1721 getting a successful grab. Evdev shouldn't be hogging the device if nothing
1724 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
1725 Reviewed-by: Jamey Sharp <jamey@minilop.net>
1727 commit ba78428ed50685fd89ef4f35143a9b3f2b1ac0f6
1728 Author: Peter Hutterer <peter.hutterer@who-t.net>
1729 Date: Wed May 19 14:52:29 2010 +1000
1731 Remove support for kernel 2.4.
1733 It's been 6 years since 2.6, I doubt evdev would even work on 2.4 right now.
1735 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
1736 Reviewed-by: Jamey Sharp <jamey@minilop.net>
1737 Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
1739 commit 041a1f246a10951ca5c0fc34b0c88c4762c076bf
1740 Author: Gaetan Nadon <memsize@videotron.ca>
1741 Date: Mon May 10 21:42:35 2010 -0400
1743 config: AC_PROG_SED is required explicitly.
1745 It sets the SED env variable with an appropriate sed program path
1746 It still works on some platform when not explicity called.
1748 Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
1750 commit 44b80d177f57a5d697402e0bbb1c3bf77d5f39e6
1751 Author: Peter Hutterer <peter.hutterer@who-t.net>
1752 Date: Thu May 6 11:10:45 2010 +1000
1754 Update a stale comment about the use of pEvdev->tool.
1756 Including some typo fixes in the same comment.
1758 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
1760 commit 7bbbce9a834f2549168b63d1c5993440ef325f87
1761 Author: Peter Hutterer <peter.hutterer@who-t.net>
1762 Date: Thu Apr 29 10:06:24 2010 +1000
1764 Read the device resolution from the kernel.
1766 For earlier kernels, use the previous hardcoded resolution in place.
1768 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
1769 Reviewed-by: Julien Cristau <jcristau@debian.org>
1771 commit 35b6085bf8feb9e6d3d3020db868a6e285dec38a
1772 Author: Peter Hutterer <peter.hutterer@who-t.net>
1773 Date: Wed Apr 28 10:41:06 2010 +1000
1775 config: remove AH_TOP autoheader statement.
1777 Include it in evdev.h instead.
1778 xorg-server.h is required to define the right datatype sizes on 64 bit,
1779 hence ensure that evdev.h is the first included in each file.
1781 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
1782 Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
1784 commit 539d67505cdb36018bd0e5ef01bd78939eafaadb
1785 Author: Gaetan Nadon <memsize@videotron.ca>
1786 Date: Thu Apr 22 10:50:55 2010 +1000
1788 Revert "config: remove AH_TOP autoheader statement"
1790 The changed location of xorg-server.h had some side-effects.
1791 See Bug 27768 <https://bugs.freedesktop.org/show_bug.cgi?id=27768>
1793 This reverts commit 9dbace89bee55a001e794ccf3ff36e3afeda4715.
1795 Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
1796 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
1798 commit a77dea1caa5aa632adad10028ed86544b4bb65e1
1799 Merge: 993e011 5fb1e84
1800 Author: Peter Hutterer <peter.hutterer@who-t.net>
1801 Date: Tue Apr 20 16:31:09 2010 +1000
1803 Merge branch 'master' of git://gitorious.org/omcfadde/xf86-input-evdev
1805 commit 5fb1e841eb26f6223504e46dacfc40c2e510f72d
1806 Author: Oliver McFadden <oliver.mcfadden@nokia.com>
1807 Date: Tue Apr 20 06:59:58 2010 +0300
1809 evdev: EvdevProbe: check ioctl() return value and warn on failure.
1811 Called function "ioctl" whose return value should be checked (checked 10
1814 Signed-off-by: Oliver McFadden <oliver.mcfadden@nokia.com>
1815 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
1817 commit a4f2d12cd8fbd19d13a184c45817d7539cb7e3be
1818 Author: Oliver McFadden <oliver.mcfadden@nokia.com>
1819 Date: Tue Apr 20 05:48:33 2010 +0300
1821 evdev: ioctl() may return a negative value therefor use a signed integer.
1823 Signed-off-by: Oliver McFadden <oliver.mcfadden@nokia.com>
1824 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
1826 commit 6b5c0401e2b8fe1637f937739e822a33206ef1ac
1827 Author: Oliver McFadden <oliver.mcfadden@nokia.com>
1828 Date: Tue Apr 20 05:37:39 2010 +0300
1830 evdev: leaked_storage: free memory allocated from the xf86Option code.
1832 Signed-off-by: Oliver McFadden <oliver.mcfadden@nokia.com>
1833 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
1835 commit 993e011b91d318dcb8df76799e5102a20060a169
1836 Author: Gaetan Nadon <memsize@videotron.ca>
1837 Date: Sat Apr 17 18:42:29 2010 -0400
1839 man: Use Autoconf provided $(AM_V_GEN)$(SED)
1841 Enables silent rule and use platform appropriate version of sed.
1843 Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
1845 commit 2d5e922a6daacf5d6e7f93ff072842a278ceed42
1846 Author: Gaetan Nadon <memsize@videotron.ca>
1847 Date: Sat Apr 17 18:23:48 2010 -0400
1849 include: EXTRA_DIST is not required for header files.
1851 The sdk_HEADERS is sufficient as the "sdk" prefix
1852 matches the "dir" suffix in the "sdkdir" variable.
1854 Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
1856 commit 41a38ec88608a829dc175cece79f3100671c9e84
1857 Author: Gaetan Nadon <memsize@videotron.ca>
1858 Date: Sat Apr 17 18:18:55 2010 -0400
1860 config: require macros 1.4, fix warnings, m4 quotings and layout
1863 Fix some autoconf warnings
1864 remove AC_PROG_CC as it overrides AC_PROG_C_C99 from XORG_DEFAULT_OPTIONS
1865 Regroup statements per section
1867 Upgrade X.Org macros to 1.4 for INSTALL file copying
1869 Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
1871 commit b31c00efeaa0e3c75c0ab35458aaa322719a823f
1872 Author: Gaetan Nadon <memsize@videotron.ca>
1873 Date: Sat Apr 17 15:11:43 2010 -0400
1875 config: optional extension check for inputproto not required
1877 The check should be in PKG_CHECK_MODULES permanently.
1879 The XORG_DRIVER_CHECK_EXT will add inputproto to PKG_CHECK_MODULES
1880 only if the extension is available. By definition, this extension
1881 is always available and the evdev driver cannot function without it.
1883 This is evidenced by the absence of XINPUT conditional code.
1885 Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
1887 commit b48dcfa3f22575840a377380fbe98e5e05e400c9
1888 Author: Gaetan Nadon <memsize@videotron.ca>
1889 Date: Thu Apr 15 13:27:14 2010 -0400
1891 config: replace deprecated INCLUDES with AM_CPPFLAGS
1893 Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
1895 commit 44baa36b9904f2afdfd00769a2d15a5eb630059e
1896 Author: Gaetan Nadon <memsize@videotron.ca>
1897 Date: Thu Apr 15 13:22:31 2010 -0400
1899 config: refactor and comment the sdkdir distcheck workaround
1901 Seperate legitimate sdkdir usage from distcheck workaround.
1902 Comment this non obvious workaround.
1904 Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
1906 commit 7fa5982d477351f7e4b825234bfa248363d3d183
1907 Author: Gaetan Nadon <memsize@videotron.ca>
1908 Date: Thu Apr 15 13:13:45 2010 -0400
1910 config: remove unrequired AC_HEADER_STDC
1913 "This macro is obsolescent, as current systems have conforming
1914 header files. New programs need not use this macro".
1916 Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
1918 commit fe8d0fa11a1ffaf219cc66ac3c509fdc844025bd
1919 Author: Gaetan Nadon <memsize@videotron.ca>
1920 Date: Thu Apr 15 13:12:49 2010 -0400
1922 replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERS
1924 Regroup AC statements at the top.
1926 Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
1928 commit 09b918db86febb8a25c0e497f1629cd245c71975
1929 Author: Gaetan Nadon <memsize@videotron.ca>
1930 Date: Thu Apr 15 13:10:58 2010 -0400
1932 config: update AC_PREREQ statement to 2.60
1934 Unrelated to the previous patches, the new value simply reflects
1935 the reality that the minimum level for autoconf to configure
1936 all x.org modules is 2.60 dated June 2006.
1938 ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.60.tar.gz
1940 Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
1942 commit 9dbace89bee55a001e794ccf3ff36e3afeda4715
1943 Author: Gaetan Nadon <memsize@videotron.ca>
1944 Date: Thu Apr 15 13:09:05 2010 -0400
1946 config: remove AH_TOP autoheader statement
1948 The generated config.h does not need to include xorg-server.h
1949 for the content it provides.
1950 Add #include <xorg-server.h> in .[hc] files as needed.
1952 Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
1954 commit aaf65e7bfacd9501c4475a579d92c3bc60409893
1955 Author: Paulo Ricardo Zanoni <pzanoni@mandriva.com>
1956 Date: Wed Apr 14 17:12:27 2010 -0300
1958 Don't set pEvdev->rel for mouse wheel events
1960 This way we won't get empty MotionNotify events when the mouse wheel is
1963 Signed-off-by: Paulo Ricardo Zanoni <pzanoni@mandriva.com>
1964 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
1965 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
1967 commit 8eede7ea8d3e3bc3a3b0d48c89df3c5f40041ef7
1968 Author: Peter Hutterer <peter.hutterer@who-t.net>
1969 Date: Thu Apr 8 16:49:01 2010 +1000
1971 Use X_PROBED instead of X_INFO for probed values.
1973 No functional changes, only the log output differs now.
1975 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
1976 Reviewed-by: Fernando Carrijo <fcarrijo@yahoo.com.br>
1978 commit 1936632cb0b777e54cef9dd58df9060155d0643e
1979 Author: Peter Hutterer <peter.hutterer@who-t.net>
1980 Date: Tue Apr 6 10:31:16 2010 +1000
1984 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
1986 commit 0dc931e1acee6ea3afd032be887f85ce1121f325
1987 Author: Simon Thum <simon.thum@gmx.de>
1988 Date: Tue Mar 16 16:00:21 2010 +0100
1990 move feedback initialization up
1992 This allows the backend to propery initialize the feedback from options,
1993 as it works with most other drivers. This is the hacky equivalent of
1994 fixing the initialization of pointer acceleration, which would require
1995 changes to most drivers however.
1997 Signed-off-by: Simon Thum <simon.thum@gmx.de>
1998 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2000 commit d525b48a2ffeeb63fd248e21324e33156ed61ed0
2001 Author: Peter Hutterer <peter.hutterer@who-t.net>
2002 Date: Mon Mar 15 11:08:05 2010 +1000
2004 When labeling a device as touchpad, only check for LMR buttons.
2006 Touchpads that have physical buttons have either LMR or BTN_TOOL_FINGER.
2007 Other buttons in the range evdev recognises shouldn't be taken into account
2008 here - they skew the detection towards touchpads and away from touchscreens.
2012 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2013 Reviewed-by: Simon Thum <simon.thum@gmx.de>
2015 commit 801778c3106fc7e409369b4500253a38be6a5795
2016 Author: Oliver McFadden <oliver.mcfadden@nokia.com>
2017 Date: Thu Feb 25 07:11:21 2010 +0200
2019 emuMB: default to disabled mouse button emulation for touchscreens.
2021 Because touchscreens only use one button (see EvdevProcessKeyEvent())
2022 EvdevMBEmuFilterEvent() never calls EvdevMBEmuEnable(..., FALSE) to
2023 disable emulation. This results in touchscreen devices incurring a delay
2024 of Emulate3Timeout (typically 50 ms.)
2026 Default to MBEMU_DISABLED for touchscreen devices (unless overwritten by
2029 Signed-off-by: Oliver McFadden <oliver.mcfadden@nokia.com>
2030 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
2031 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2033 commit 99505011d124bef00acffb6ab07f6b765f5870b7
2034 Author: Peter Hutterer <peter.hutterer@who-t.net>
2035 Date: Thu Feb 18 19:01:51 2010 +1000
2037 man: fix man page formatting for option EmulateWheel.
2039 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2041 commit fd036680c210266ba535b0204cac38e503371398
2042 Author: Gaetan Nadon <memsize@videotron.ca>
2043 Date: Thu Feb 11 10:08:07 2010 -0500
2045 config: move CWARNFLAGS from configure.ac to Makefile.am
2047 Compiler warning flags should be explicitly set in the makefile
2048 rather than being merged with other packages compiler flags.
2050 Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2052 commit e81cd935cfff18d3c387eed3e8083977c19c92f0
2053 Author: Andrej Gelenberg <andrej.gelenberg@udo.edu>
2054 Date: Tue Jan 12 11:22:16 2010 +0100
2056 Implement XSetDeviceMode request handler
2058 Implement XSetDeviceMode request handler for evdev.
2059 Devices with absolute axes can be switched in relative
2060 mode or absolute mode. Devices with relative axes
2061 can be switched only in relative mode. Other devices
2062 return BadMatch, cause they have no valuators and
2063 don't report motion events.
2065 New option "Mode" force devices with absolute axes
2066 to work in relative or absolute mode.
2070 Signed-off-by: Andrej Gelenberg <andrej.gelenberg@udo.edu>
2072 commit 0b5844ce677a99110730ac885fc990c4b8f4bfa9
2073 Author: Alan Coopersmith <alan.coopersmith@sun.com>
2074 Date: Fri Jan 15 15:10:55 2010 -0800
2076 Update Sun license notices to current X.Org standard form
2078 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2080 commit d6beb16be26df65cd65eaeb146fde0d355521535
2081 Author: Dima Kogan <dkogan@cds.caltech.edu>
2082 Date: Sat Dec 5 02:05:19 2009 -0800
2084 allow wheel emulation to work with absolute-position devices
2086 Signed-off-by: Dima Kogan <dkogan@cds.caltech.edu>
2087 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2089 commit 2f5a0fb6988809a91c4e6821aaed46ba27c9855c
2090 Author: Dima Kogan <dkogan@cds.caltech.edu>
2091 Date: Sat Dec 5 02:08:32 2009 -0800
2093 removed unnecessary static declarations
2095 Signed-off-by: Dima Kogan <dkogan@cds.caltech.edu>
2096 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2098 commit 1b0df04abe329433658c95debdafdf1714173814
2099 Author: Peter Hutterer <peter.hutterer@who-t.net>
2100 Date: Tue Dec 1 15:44:39 2009 +1000
2102 Fix up BTN_TOUCH handling for non-button tablets.
2104 BTN_TOOL_* is treated as tool, just like before. BTN_TOUCH on the other hand
2105 may need to be treated as a button left press. This again requires a button
2108 Tested on an HP Touchsmart and a Wacom tablet.
2110 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2112 commit 2ca24a16f08095f35d5610f16e202c525b3075e9
2113 Author: Peter Hutterer <peter.hutterer@who-t.net>
2114 Date: Tue Dec 1 14:16:10 2009 +1000
2116 Only init the calibration property for absolute devices.
2118 Relative devices can't be calibrated anyway so why bother.
2120 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2122 commit 7b285a802b8ccddd1edcf40ab345c4a96bcdf43c
2123 Author: David Woodhouse <dwmw2@infradead.org>
2124 Date: Tue Dec 1 00:14:54 2009 +0000
2126 Report initial calibration parameters.
2128 Where an initial calibration is provided through the Calibration option
2129 to the driver, it wasn't being exposed in the 'Evdev Axis Calibration'
2130 property. Remedy that...
2132 Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2133 Acked-by: Peter Hutterer <peter.hutterer@who-t.net>
2134 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2136 commit f187badb71554a73bf9ca30ce75c9d166e688f03
2137 Author: David Woodhouse <dwmw2@infradead.org>
2138 Date: Tue Dec 1 00:12:36 2009 +0000
2140 Swap axes before applying touch screen calibration.
2142 When the SwapAxes option is set, the X and Y axes in calibration should
2143 be labelled as the user perceives them -- not as the kernel sends them.
2145 Currently, we apply the X-axis calibration to the X-axis of the input,
2146 and then do the axis swapping so we've actually applied the X-axis
2147 calibration to what the user sees as the Y-axis.
2149 This patch changes the order of the operations, so that the axes are
2150 swapped before the calibration is applied.
2152 Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2153 Acked-by: Peter Hutterer <peter.hutterer@who-t.net>
2154 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2156 commit 0e9d75ba68d648f38ea5850f910867c9fc908d07
2157 Author: Peter Hutterer <peter.hutterer@who-t.net>
2158 Date: Fri Nov 27 14:29:52 2009 +1000
2160 Fix a comment, EV_CNT is available since 2.6.24
2162 Introduced in the kernel as 2.6.23-6147-g7b19ada.
2164 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2166 commit 3a6d27b83dbc69e42f289d7249bfa92328b69676
2167 Author: Gaetan Nadon <memsize@videotron.ca>
2168 Date: Mon Nov 23 09:25:05 2009 -0500
2170 Makefile.am: add ChangeLog and INSTALL on MAINTAINERCLEANFILES
2172 Now that the INSTALL file is generated.
2173 Allows running make maintainer-clean.
2175 commit 886e303af1434d5af8db6938e873baf399261105
2176 Author: Gaetan Nadon <memsize@videotron.ca>
2177 Date: Wed Oct 28 14:41:40 2009 -0400
2179 INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206
2181 Automake 'foreign' option is specified in configure.ac.
2182 Remove from Makefile.am
2184 commit 3d23ef4888a75b42a95e117db0811e98693f8d09
2185 Author: Gaetan Nadon <memsize@videotron.ca>
2186 Date: Wed Oct 28 14:09:09 2009 -0400
2188 INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206
2190 Add missing INSTALL file. Use standard GNU file on building tarball
2191 README may have been updated
2192 Remove AUTHORS file as it is empty and no content available yet.
2193 Remove NEWS file as it is empty and no content available yet.
2195 commit c0473e4921f3c3beec59abefb63180cba4d168df
2196 Author: Gaetan Nadon <memsize@videotron.ca>
2197 Date: Mon Oct 26 12:54:20 2009 -0400
2199 Several driver modules do not have a ChangeLog target in Makefile.am #23814
2201 The git generated ChangeLog replaces the hand written one.
2202 Update configure.ac to xorg-macros level 1.3.
2203 Use XORG_DEFAULT_OPTIONS which replaces four XORG_* macros
2204 Update Makefile.am to add ChangeLog target if missing
2205 Remove ChangeLog from EXTRA_DIST or *CLEAN variables
2206 This is a pre-req for the INSTALL_CMD
2208 commit afc9e917656508fc3277b7d39e5ab436cf0542f4
2209 Author: Gaetan Nadon <memsize@videotron.ca>
2210 Date: Thu Oct 22 12:34:16 2009 -0400
2212 .gitignore: use common defaults with custom section # 24239
2214 Using common defaults will reduce errors and maintenance.
2215 Only the very small or inexistent custom section need periodic maintenance
2216 when the structure of the component changes. Do not edit defaults.
2218 commit c1f16a4f59a584ab4546c2f16e20b06703042057
2219 Author: Bartosz Brachaczek <b.brachaczek@gmail.com>
2220 Date: Fri Nov 13 00:18:00 2009 +1000
2222 Set all valuators for relative motion events (#24737)
2224 We should process all the deltas reported by a relative motion device,
2225 otherwise some devices such as A4Tech X-750F or similar may trigger a
2226 situation when the `v` array contains random values (it isn't
2227 initialized anywhere) and later we process them and in effect the mouse
2228 cursor "jumps" on the screen.
2229 I'm not sure why, but we also must be sure that the `first` and `last`
2230 variables reflect the axis map, otherwise the mouse cursor "jumps" on
2231 the screen when clicking mouse buttons in some rare cases reported by
2232 Bartek Iwaniec on Bugzilla. That's why a simple initialization of the
2233 `v` array with zeros isn't sufficient.
2235 X.Org Bug 24737 <http://bugs.freedesktop.org/show_bug.cgi?id=24737>
2237 Signed-off-by: Bartosz Brachaczek <b.brachaczek@gmail.com>
2238 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2240 commit a0f7f34dc5effc5822c618bfbf3a0872669c30ad
2241 Author: Dmitry Torokhov <dmitry.torokhov@gmail.com>
2242 Date: Mon Nov 2 23:11:55 2009 -0800
2244 Relax checks when reopening devices
2246 When checking whether we are dealing with the same device as before
2247 when we try to reopen it evdev should not require exact match of
2248 entire keymap. Users should be allowed to adjust keymaps to better
2249 match their hardware even after X starts. However we don't expect
2250 changes in [BTN_MISC, KEY_OK) range since these codes are reserved for
2251 mice, joysticks, tablets and so forth, so we will limit the check to
2254 The same goes for absinfo - limits can change and it should not result
2255 in device being disabled.
2257 Also check the length of the data returned by ioctl and don't try to
2258 compare more than we were given.
2260 [peter: moved the key comparison below the led+abs comparison]
2262 Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
2263 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2265 commit 11669d82790fd7c94c44c0d487d3fa5e203528e9
2266 Author: Peter Hutterer <peter.hutterer@who-t.net>
2267 Date: Mon Nov 2 13:57:18 2009 +1000
2269 Fix drag-lock property handler for multiple draglock buttons.
2271 Parsing of the values was wrong. Given an input of 1 2 3 4, button 1 sets
2272 the lock for button 2 and button 3 sets the lock for button 4.
2274 This also means we need to return BadMatch if the property isn't a multiple
2277 Red Hat Bug 524428 <https://bugzilla.redhat.com/show_bug.cgi?id=524428>
2279 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2281 commit 9cbffda91009001ab6aab84efd2ffb4e35561958
2282 Author: Peter Hutterer <peter.hutterer@who-t.net>
2283 Date: Thu Oct 22 15:13:02 2009 +1000
2285 Forward keycodes > 255
2287 The server doesn't handle them yet but eventually it should learn.
2289 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2291 commit 59056e656c6475816ab45b2798bd4d4466482f6a
2292 Author: Peter Hutterer <peter.hutterer@who-t.net>
2293 Date: Tue Oct 13 14:51:49 2009 +1000
2295 Remove the reopen timer logic.
2297 This logic was needed in older kernels that sometimes gave error messages
2298 after coming back from resume (2.6.27 release kernels). I haven't seen any
2299 log files that needed this reopen timer in a long time, suggesting that need
2302 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2304 commit aa6399fdb9ec970e205b1efb336338ac870d2bcf
2305 Author: Peter Hutterer <peter.hutterer@who-t.net>
2306 Date: Mon Oct 19 11:40:24 2009 +1000
2310 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2312 commit 1d86f5dec16beaf9391f320d7702cc59e9486bf4
2313 Author: Peter Hutterer <peter.hutterer@who-t.net>
2314 Date: Thu Oct 15 11:13:47 2009 +1000
2316 Convert IgnoreAbsolute/RelativeAxes options into trinary state.
2318 The Xen Virtual Pointer device exports both absolute and relative axes from
2319 the kernel device. Which coordinates are used is a run-time decision and
2320 depends on the host-specific configuration.
2321 0a3657d2ee62f4086e9687218cb33835ba61a0b3 broke these devices, and they are
2322 now unusable out-of-the-box as there is no configuration to cover them.
2324 This patch converts the IgnoreAbsoluteAxes and the IgnoreRelativeAxes
2325 configuration options into a trinary state.
2326 1. If unset, configure the device as normal by trying to guess the right
2328 2. If set to true, ignore the specific axis type completely (except for
2330 3. If set to false, explicitly 'unignore' the axis type, alwas configuring
2331 it if it is present on the device. This setting introduces seemingly
2332 buggy behaviour (see Bug 21832)
2334 1. and 2. replicate the current driver behaviour.
2335 The result of 3. is that is that if a device has absolute axes and the
2336 options set to false, both axes will be initialized (absolute last to get
2337 clipping right). This requires axis labelling priorty to switch from
2338 relative first to absolute first.
2340 Relative events are forwarded into the server through the absolute axes,
2341 the server scales this into the device absolute range and everyone is happy.
2343 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2345 commit fbd86e2530f3f69f397d3bae9ad87cf8e2d14221
2346 Author: Peter Hutterer <peter.hutterer@who-t.net>
2347 Date: Thu Oct 15 10:52:27 2009 +1000
2349 Fix copy/paste typo in comment.
2351 commit 9ea1f9a6954c8dceee17076f10ff0f82f042de88
2352 Author: Peter Hutterer <peter.hutterer@who-t.net>
2353 Date: Tue Oct 13 10:49:46 2009 +1000
2355 Fix typo, use uppercase like the other messages
2357 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2359 commit 57b54ee3995f2f678ef359e7663cad517a8b2433
2360 Author: Oliver McFadden <oliver.mcfadden@nokia.com>
2361 Date: Mon Oct 12 16:32:51 2009 +0300
2363 evdev: Support the "Calibration" string option.
2365 Originally based on a patch from Daniel Stone, this commit allows for
2366 the calibration factors to be set either from Xorg.conf or via HAL.
2368 Previously the only way was via the properties interface.
2370 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2372 commit f2dc0681febd297d95dae7c9e3ae19b771af8420
2373 Author: Peter Hutterer <peter.hutterer@who-t.net>
2374 Date: Tue Oct 6 19:09:33 2009 +1000
2376 Finalize the middle button emulation when a read error occurs (#23048)
2378 If a read error occurs, remove the block and wakeup handlers for middle
2379 mouse button emulation. Otherwise, they'll still be around after the device
2380 has been reopened and overwritten with the new ones created by EvdevOn. Once
2381 this happened, future removal of the device can lead to a server crash.
2383 X.Org Bug 23048 <http://bugs.freedesktop.org/show_bug.cgi?id=23048>
2385 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2387 commit 3fa49dfcab9081787840ed6bb9451cb73f65e248
2388 Author: Peter Hutterer <peter.hutterer@who-t.net>
2389 Date: Thu Oct 8 14:26:41 2009 +1000
2393 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2395 commit 941391ca34a7537542f0bb894fc0f02e200165b4
2396 Author: Peter Hutterer <peter.hutterer@who-t.net>
2397 Date: Wed Sep 30 12:05:17 2009 +1000
2399 Add explicit options to ignore relative or absolute axes.
2401 The X server cannot deal with devices that have both relative and absolute
2402 axes. Evdev tries to guess wich axes to ignore given the device type and
2403 disables absolute axes for mice and relative axes for tablets, touchscreens
2404 and touchpad. This guess is sometimes wrong and causes exitus felis
2405 domesticae parvulae.
2407 Two new configuration options are provided to explicitly allow ignoring an
2408 axis. Mouse wheel axes are exempt and will work even if relative axes are
2409 ignored. No property, this option must be set in the configuration.
2411 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2412 Acked-by: Daniel Stone <daniel@fooishbar.org>
2414 commit 2144f7d83426136cc1a9de2fafb302683645c6da
2415 Author: Peter Hutterer <peter.hutterer@who-t.net>
2416 Date: Wed Sep 30 11:49:21 2009 +1000
2418 Remove unused has_xy.
2420 has_xy is only ever set, but not used for anything else.
2422 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2424 commit 61b4e88e01f32e976f85e7970a7f5b21fcd84f97
2425 Author: Peter Hutterer <peter.hutterer@who-t.net>
2426 Date: Mon Sep 21 16:56:28 2009 +1000
2428 emuWheel: fix signed/unsigned screwup
2430 This patch fixes wheel emulation on buttons other than 0.
2432 Reported-by: Andy Neitzke
2433 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2435 commit 9ee70943ec304b08b8e4651c512a8e65fa13cc9c
2436 Author: Peter Hutterer <peter.hutterer@who-t.net>
2437 Date: Fri Sep 11 09:57:22 2009 +1000
2439 Require xorg-macros 1.3 and XORG_DEFAULT_OPTIONS
2441 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2443 commit 415b6ffa958e3103eeb52af4ccd881497169eed4
2444 Author: Peter Hutterer <peter.hutterer@who-t.net>
2445 Date: Thu Aug 20 11:02:31 2009 +1000
2447 Only take the driver-internal button mapping to count buttons (#23405)
2450 If a user has multiple buttons mapped to the same button number, the
2451 number of buttons counted is set to a wrong value. e.g. a button
2452 mapping of 1 1 1 for a mouse with three buttons would only initialize 1
2453 button to the X server.
2455 In the future, the user cannot change this button mapping as the server
2456 only knows about one button.
2458 The user-supplied button map (option ButtonMapping) shouldn't matter when
2459 counting the buttons. Only the driver-internal mapping (BTN_0 -> button 1,
2462 X.Org Bug 23405 <http://bugs.freedesktop.org/show_bug.cgi?id=23405>
2464 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2466 commit f4ba2bd785b25fd522967abd7775925d5fded70f
2467 Author: Dima Kogan <dkogan@secretsauce.net>
2468 Date: Sun Aug 16 23:11:50 2009 -0700
2470 Allow 0 as wheel emulation button for unconditional scrolling (#20529)
2472 If wheel emulation is on and the emulation button is 0, then any x/y motion
2473 of the device is converted into wheel events. The devices becomes a
2474 scrolling-only device.
2476 Signed-off-by: Dima Kogan <dkogan@cds.caltech.edu>
2477 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2479 commit 2e5f68754fd5bc4e6b7fa5b95bdd30e2bb4e57fb
2480 Author: Peter Hutterer <peter.hutterer@who-t.net>
2481 Date: Mon Aug 17 09:41:11 2009 +1000
2483 Restrict wheel emulation to a single axis at a time.
2485 Wheel emulation works for both horizontal and vertical axes. Thus, if a
2486 device doesn't move in perfect straight line, scroll events build up on the
2487 respective other axis.
2489 In some clients, scroll wheel events have specific meanings other than
2490 scrolling (e.g. mplayer). In these clients, erroneous scrolling events come
2493 Thus, if a scroll wheel event is generated for one axis, reset the inertia
2494 of the other axis to 0, avoiding the buildup of these erroneous scrolling
2497 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2499 commit 8fdb2abb6fe0426cbbfeead2c187092a56792557
2500 Author: Peter Hutterer <peter.hutterer@who-t.net>
2501 Date: Fri Aug 14 12:59:27 2009 +1000
2503 man: fix documentation for EVDEV_PROP_WHEEL_BUTTON
2505 0 doesn't disable it, it's still treated like a button number. copy/paste
2508 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2510 commit ca0fb396f1a4b87be9f8aa7ad066e0b469c9075d
2511 Author: Peter Hutterer <peter.hutterer@who-t.net>
2512 Date: Fri Aug 14 11:00:12 2009 +1000
2516 commit 7967677789e3ee24733b3514e1ae7a8e12bbc2b5
2517 Author: Peter Hutterer <peter.hutterer@who-t.net>
2518 Date: Fri Aug 14 09:05:40 2009 +1000
2520 Treat tablets (BTN_TOOL_PEN devices) differently from touchpads.
2522 The previous checks for BTN_TOOL_FINGER and BTN_TOUCH reported false
2523 positives for touchpads for most popular tablets.
2524 As a result, their events were converted to relative events.
2526 Add a new flag EVDEV_TABLET pending presence of BTN_TOOL_PEN and ignore the
2527 touchpad special casing to report the events as-is.
2529 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2531 commit 36064dca9097df896b4b1b49c9c68775f1728846
2532 Author: Peter Hutterer <peter.hutterer@who-t.net>
2533 Date: Thu Aug 13 10:27:16 2009 +1000
2535 Add EvdevPostButtonEvent API to immediately post a button event (#23269)
2537 The wheel emulation code needs this API. When the timer expires, the event
2538 must be posted immediately, not enqueued onto the internal event queue.
2539 Otherwise, the emulated middle button press is enqueued only and no event is
2540 sent until the next physical event (and its EV_SYN) arrives.
2542 Since the timer is triggered outside of the SIGIO and SIGIO is blocked
2543 during this period anyway, we could also just enqueue the event and flush by
2544 simulating an EV_SYN. It's easier this way though.
2546 X.Org Bug 23269 <http://bugs.freedesktop.org/show_bug.cgi?id=23269>
2548 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2549 Acked-by: Oliver McFadden <oliver.mcfadden@nokia.com>
2551 commit 8bf93709cbcf9f041cd177e929ff46adce8a6b79
2552 Author: Peter Hutterer <peter.hutterer@who-t.net>
2553 Date: Thu Aug 13 10:16:18 2009 +1000
2555 Rename parts of the Post API to a Queue API.
2557 Button and key events aren't posted from EvdevPost*Event, they are simply
2558 enqueued onto the evdev-internal event queue until the next EV_SYN arrives.
2559 Rename those interfaces from EvdevPost* to EvdevQueue* and leave only those
2560 that actually post to the server with a matching "*Post*" name.
2562 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2563 Acked-by: Oliver McFadden <oliver.mcfadden@nokia.com>
2565 commit 37373a223b2aeef7041c9c0bb99be613789a3125
2566 Author: Peter Hutterer <peter.hutterer@who-t.net>
2567 Date: Thu Aug 13 10:26:33 2009 +1000
2571 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2573 commit d764dded18c47cec009babc075f2324cba1781ce
2574 Author: Peter Hutterer <peter.hutterer@who-t.net>
2575 Date: Wed Aug 5 18:57:30 2009 +1000
2577 Skip check for EVDEV_RELATIVE_EVENTS for wheel events.
2579 This patch fixes a regression introduced with 1f641d75e.
2580 Wheel axis events are posted as button clicks, a device may have no relative
2581 axes but it does need to post these button clicks.
2583 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2585 commit f352598e45be86f9e24d9dba88c657f03f3b168e
2586 Author: Michael Witten <mfwitten@gmail.com>
2587 Date: Tue Aug 4 03:11:49 2009 -0500
2589 evdev.c: Fix/improve discrimination of rel/abs axes
2591 The relevant comment from evdev.c:
2593 We don't allow relative and absolute axes on the same device. The
2594 reason is that some devices (MS Optical Desktop 2000) register both
2595 rel and abs axes for x/y.
2597 The abs axes register min/max; this min/max then also applies to the
2598 relative device (the mouse) and caps it at 0..255 for both axes.
2599 So, unless you have a small screen, you won't be enjoying it much;
2600 consequently, absolute axes are generally ignored.
2602 However, currenly only a device with absolute axes can be registered
2603 as a touch{pad,screen}. Thus, given such a device, absolute axes are
2604 used and relative axes are ignored.
2606 The code for initializing abs/rel axes has been abstracted out into
2607 3 functions, so that initialization in EvdevInit(device) is as easy
2610 if (pEvdev->flags & (EVDEV_TOUCHPAD | EVDEV_TOUCHSCREEN))
2611 EvdevInitTouchDevice(device, pEvdev);
2612 else if (pEvdev->flags & EVDEV_RELATIVE_EVENTS)
2613 EvdevInitRelClass(device, pEvdev);
2614 else if (pEvdev->flags & EVDEV_ABSOLUTE_EVENTS)
2615 EvdevInitAbsClass(device, pEvdev);
2617 Signed-off-by: Michael Witten <mfwitten@gmail.com>
2618 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2620 commit 69d6ff3e01263ce2d52ed18b08f054bf3fdb923c
2621 Author: Oliver McFadden <oliver.mcfadden@nokia.com>
2622 Date: Sun Aug 2 12:03:04 2009 +0300
2624 evdev: Use the EvdevPost...Event() functions in the emulation code.
2626 This is similar to commit 1f641d75edba7394201c1c53938215bae696791b.
2628 It provides the same functionality of queuing the (in this case
2629 emulated) events and waiting until an EV_SYN synchronization event is
2630 received before posting them to the server.
2632 This preserves the order of events (both real and emulated) and ensures
2633 that MotionNotify events will always be posted first. It also unifies
2634 the event posting into a few small functions which improves
2637 From this point on, you should never use the xf86Post...Event()
2638 functions in new code, but rather the EvdevPost...Event() versions.
2640 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2642 commit 6f4634111a83808bc52e7e53733cf2d3bab0cccd
2643 Author: Peter Hutterer <peter.hutterer@who-t.net>
2644 Date: Thu Jul 30 09:27:27 2009 +1000
2646 Evdev doesn't require inputproto.
2648 None of the inputproto headers seem to be included anywhere.
2650 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2652 commit 1f641d75edba7394201c1c53938215bae696791b
2653 Author: Oliver McFadden <oliver.mcfadden@nokia.com>
2654 Date: Thu Jul 23 13:19:49 2009 +0300
2656 evdev: Only send the events at synchronization time.
2658 Instead of just posting the button/key press/release events to the
2659 server as soon as they arrive, add them to an internal queue and post
2660 them once we receive an EV_SYN synchronization event.
2662 The motion events are always sent first, followed by the queued events.
2663 There will be one motion event and possibly many queued button/key
2664 events posted every EV_SYN event.
2666 Note that the size of the event queue (EVDEV_MAXQUEUE) is arbitrary and
2667 you may change it. If we receive more events than the queue can handle,
2668 those events are dropped and a warning message printed.
2670 Tested on my Lenovo T400 using evdev for all input devices; keyboard,
2671 touchpad, and trackpoint.
2673 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2675 commit 2994825665790dc8e35b2944e0d411f3cc9f76fd
2676 Author: Peter Hutterer <peter.hutterer@who-t.net>
2677 Date: Mon Jul 20 14:52:34 2009 +1000
2679 Don't register middle mouse button emulation handlers for keyboards.
2681 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2683 commit 9bfd9e8a3683f14860149ae9f842e88828cc0960
2684 Author: Oliver McFadden <oliver.mcfadden@nokia.com>
2685 Date: Thu Jul 16 18:25:37 2009 +0300
2687 Coverity Prevent: NO_EFFECT in EvdevWheelEmuSetProperty:
2689 Event unsigned_compare: Comparing unsigned less than zero is never true. "pEvdev->emulateWheel.timeout < 0UL"
2690 342 if (pEvdev->emulateWheel.timeout < 0)
2692 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2694 commit dcca28a59ce0a2f8a06c559eed493ca43afc20cb
2695 Author: Peter Hutterer <peter.hutterer@who-t.net>
2696 Date: Wed Apr 29 18:29:58 2009 +1000
2698 Count REL_DIAL as a scrollwheel during EvdevProbe (#21457)
2700 The Griffin Powermate only has a single axis (REL_DIAL). This axis is
2701 posted as horizontal scroll wheel, so we need to ensure the scroll wheel
2702 setup (including ensuring that enough buttons are available) is triggered
2705 X.Org Bug 21457 <http://bugs.freedesktop.org/show_bug.cgi?id=21457>
2707 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2709 commit db8b1ca5cffbc48f7d9c5c166489c714ac92ea86
2710 Author: Asbjørn Sannes <ace@sannes.org>
2711 Date: Wed Jul 1 09:51:12 2009 +0200
2713 evdev: Fix spelling of property in man page to match source code. #22571
2715 Signed-off-by: Asbj�rn Sannes <ace@sannes.org>
2716 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2718 commit 8cc0d0f285261b0f26d22b5b4eca9ccbd1beeb93
2719 Author: Peter Hutterer <peter.hutterer@who-t.net>
2720 Date: Fri Jun 26 09:59:04 2009 +1000
2722 Fix absolute axis labelling - mapping must be initialized before the labels.
2724 88eedea281a710008a82f1e6af4bdffd19477f46 added axis labelling to the
2725 valuator initialization. This requires the axis mapping to be established
2726 before the absolute axis labels are initialized.
2728 88eedea did this for relative axes, but missed out on the absolute ones. As
2729 a result, all abs. labels were initialized to "None".
2731 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2733 commit aa1609285dfa51570f74671a9f4240bccc1516c2
2734 Author: Peter Hutterer <peter.hutterer@who-t.net>
2735 Date: Fri Jun 26 09:42:36 2009 +1000
2737 Message "found absolute touchpad" also applies to tablets - fix.
2739 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2741 commit b07ab6ea97b779b26e7ae8326528c262cc9907a1
2742 Author: Peter Hutterer <peter.hutterer@who-t.net>
2743 Date: Fri Jun 26 09:37:29 2009 +1000
2745 If a device fails to initialize relative axes, init the abs. axes instead.
2747 Some devices have relative axes that don't count (scroll wheels). In this
2748 case, don't claim we've initialized relative axes, continue with the
2749 absolute axes instead.
2751 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2753 commit 7bc48c666d702e649dc529b5d928b6a8549514c3
2754 Author: Peter Hutterer <peter.hutterer@who-t.net>
2755 Date: Tue Jun 23 15:43:16 2009 +1000
2757 Fix wrong axis label index causing OOB reads/writes.
2759 The atoms array is filled with each axis atom in mapping order (i.e. after
2760 the driver mapping has been applied). 'axis' OTOH is from 0 to ABS_MAX.
2762 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2764 commit 880ad1e19afd83ac115948b67d4049e16cb12df0
2765 Author: Peter Hutterer <peter.hutterer@who-t.net>
2766 Date: Tue Jun 23 14:48:17 2009 +1000
2768 Initialize the axis labels to 0, not "misc".
2770 If we don't know what an axis label is, then don't initialize it. None is a
2773 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2775 commit 6ab23e4519ed4ce07b745c573ddf544a2a1ee1b2
2776 Author: Peter Hutterer <peter.hutterer@who-t.net>
2777 Date: Thu Jun 18 16:15:16 2009 +1000
2779 Add missing checks for ABI_XINPUT_VERSION 7.
2781 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2783 commit 88eedea281a710008a82f1e6af4bdffd19477f46
2784 Author: Peter Hutterer <peter.hutterer@who-t.net>
2785 Date: Thu Jun 18 15:33:33 2009 +1000
2787 Cope with ABI_XINPUT_VERSION 7 - requires button + axes labels.
2789 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2791 commit 9a5a4fed3acae87c89694a9ef8bf905ca0d6a6dd
2792 Author: Peter Hutterer <peter.hutterer@who-t.net>
2793 Date: Thu Jun 18 15:15:57 2009 +1000
2795 Split axes and button labels into separate function.
2797 We'll re-use this bit very soon.
2799 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2801 commit 0a3657d2ee62f4086e9687218cb33835ba61a0b3
2802 Author: Derek Upham <sand@blarg.net>
2803 Date: Thu May 21 00:15:28 2009 -0700
2805 evdev: Prevent driver from processing motion events that it has not configured. #21832
2807 The current implementation initializes itself to support relative
2808 motion events, or absolute motion events, or neither. But the
2809 event-handling code attempts to process all events, no matter what the
2810 initialization was. This patch reproduces the flag tests found during
2811 init, to skip events that the driver doesn't support.
2813 Signed-off-by: Derek Upham <sand@blarg.net>
2814 Signed-off-by: Julien Cristau <jcristau@debian.org>
2815 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2817 commit dc2191285e799be891787e1f64d10c1cba271240
2818 Author: Peter Hutterer <peter.hutterer@who-t.net>
2819 Date: Thu May 21 13:30:10 2009 +1000
2821 Deal with BTN_3 to BTN_9 buttons.
2823 These buttons were previously mapped to 0, i.e. inactive. This patch
2824 slightly improves things in that the buttons are now mapped to 8+.
2826 Devices that have both BTN_3 and BTN_SIDE (or a similar pair in that
2827 sequence) have both mapped to the same button number though.
2828 Devices that have BTN_LEFT, BTN_0, BTN_3 and BTN_SIDE have the last three
2829 mapped to 8 (and their followers have double-mappings too). We'll fix that
2830 once we actually see devices affected by this.
2832 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2834 commit 255b9f6bbf374a315750019c6fadc5f82fb7d41d
2835 Author: Peter Hutterer <peter.hutterer@who-t.net>
2836 Date: Thu May 21 10:23:37 2009 +1000
2838 Only initialize the number of buttons we actually have.
2840 This takes into account driver-configured button mappings, i.e. if device
2841 with one button has this button mapped to 25 through the ButtonMapping
2842 option, the X server will think the device has result 25 buttons.
2844 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2846 commit aa117d49a5139bcc453e6ab022b67347464a8acd
2847 Author: Peter Hutterer <peter.hutterer@who-t.net>
2848 Date: Thu May 21 09:51:57 2009 +1000
2850 Rename pEvdev->buttons to pEvdev->num_buttons for clarity.
2852 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2854 commit b358f1eb3a4ef8fdee099114d6c70d6ea06eba95
2855 Author: Peter Hutterer <peter.hutterer@who-t.net>
2856 Date: Wed May 20 11:57:01 2009 +1000
2858 Ensure enough buttons are advertised to pass the button mapping.
2860 Some buttons are mapped to higher button numbers. For example, BTN_0 is
2861 posted as button 8 if BTN_LEFT is present. On top of that, the
2862 driver-specific button mapping may map the button to something else again.
2863 We need to take these mappings into account when counting the number of
2864 buttons on the device.
2866 Example: A device with BTN_LEFT and BTN_0 and a mapping from 1 -> 7 and 8 ->
2869 BTN_LEFT is mapped to 1. 1 is mapped to 7. num_buttons is 7.
2870 BTN_0 is mapped to 8. 8 is mapped to 2. num_buttons remains 7.
2872 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2874 commit 33cc112ca1af377a85cfeb05dfb72f07d3850a95
2875 Author: Peter Hutterer <peter.hutterer@who-t.net>
2876 Date: Wed May 20 11:47:37 2009 +1000
2878 Up the number of button labels atoms to EVDEV_MAXBUTTONS.
2880 Button labels would smash memory if the device had less than 4 buttons and
2881 did not advertise a wheel event. In this case the hard-coded wheel button
2882 labels would write past the atoms[] boundary.
2884 Potential memory smash if a device had a BTN_LEFT and BTN_0, since the
2885 latter would map to 8, regardless of the the number of actual buttons
2886 (same with BTN_MIDDLE and BTN_1 or BTN_RIGHT and BTN_2).
2888 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2890 commit 3c43d880f13725a04fcd7c0c8d5978a36208e373
2891 Author: Peter Hutterer <peter.hutterer@who-t.net>
2892 Date: Wed May 20 11:42:35 2009 +1000
2894 Only label axes and buttons if the device has axes or buttons.
2896 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2898 commit 54628989356793828fcbb5f62a091b962c7da4f9
2899 Author: Peter Hutterer <peter.hutterer@who-t.net>
2900 Date: Wed May 13 12:51:52 2009 +1000
2902 Use xf86DisableDevice instead of the DIX' DisableDevice.
2904 DisableDevice has changed API in xi2, xf86DisableDevice hasn't. So let's use
2905 this one so we can have one version for master and xi2.
2907 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2909 commit 9243d338d1de7df8afb1e254590cd4bf84888c7e
2910 Author: Dan Nicholson <dbn.lists@gmail.com>
2911 Date: Sun May 10 08:29:21 2009 -0700
2913 Fix copy-paste error when probing type name
2915 A minor copy and paste error was introduced in 71e9a69e leaving an "if"
2916 where an "else if" should be. Without this, any device configured as
2917 XI_TOUCHPAD or XI_TABLET will end up having the type_name reset to
2918 either XI_TOUCHSCREEN or XI_MOUSE.
2920 Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
2921 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2923 commit 71e9a69ed68257e5ded26c062a9797de571bb880
2924 Author: Peter Hutterer <peter.hutterer@who-t.net>
2925 Date: Wed Apr 29 18:03:18 2009 +1000
2927 Revamp the whole "has_axes" definition.
2929 Since we can now deal with multiple axes, etc. we might as well print it
2932 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2934 commit 220e2dfb8f6aa08bd5f59e81c6883c057b945721
2935 Author: Peter Hutterer <peter.hutterer@who-t.net>
2936 Date: Thu Apr 16 13:23:50 2009 +1000
2938 Print read errors as X_NONE to avoid mallocs in the server.
2940 Messages of type X_NONE are just passed down to the log files, everything else
2941 gets the (EE) or (II) prefixed. Since this mallocs, we can't use it in the
2944 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2946 commit ddc126637404cb3d9356b7698779dcd8849f8718
2947 Author: Peter Hutterer <peter.hutterer@who-t.net>
2948 Date: Thu Apr 16 12:01:03 2009 +1000
2950 Pre-allocate the reopen timer so we don't allocate during sigio handling.
2952 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2954 commit 98ecb5233bb3b899bd696a90d2733c6a345676dd
2955 Author: Peter Hutterer <peter.hutterer@who-t.net>
2956 Date: Mon Apr 6 10:22:25 2009 +1000
2958 Trigger read error handling if len is <= 0.
2960 Red Hat Bug 494245 <https://bugzilla.redhat.com/show_bug.cgi?id=494245>
2962 Reported-by: David Woodhouse <dwmw2@infradead.org>
2963 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2965 commit 92ca3dc2e759759545c0e0adea4277b3bddb05e5
2966 Author: Peter Hutterer <peter.hutterer@who-t.net>
2967 Date: Thu Mar 26 13:40:07 2009 +1000
2969 Fix wrong reference to axis and button label atom list.
2971 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2973 commit 3fa28c8acd3aad054f9c74e94c1411654d709dca
2974 Author: Peter Hutterer <peter.hutterer@who-t.net>
2975 Date: Thu Mar 26 10:11:26 2009 +1000
2977 Remove test/ directory.
2979 This shouldn't really be part of the driver source, it's better to just have
2980 it as a separate repository. Code has moved to
2981 git://people.freedesktop.org/~whot/testdevices.git
2983 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2985 commit d9809d7edd2be714a15115b990286554e2979fb6
2986 Author: Peter Hutterer <peter.hutterer@who-t.net>
2987 Date: Tue Mar 17 14:08:29 2009 +1000
2989 Fix jumpy touchpads by updating old_vals only when reported by the device.
2991 Remember whether ABS_X or ABS_Y were reported before the SYN event and only
2992 update the old_vals[0, 1] if we got data for them.
2993 Touchpads that reported pressure data before x/y would otherwise update
2994 old_x/y with bogus values, leading to jumps when the first x/y coordinates
2995 were actually reported.
2997 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2999 commit b11439a1763b5f210460b492dd4f47e973f90a3a
3000 Author: Peter Hutterer <peter.hutterer@who-t.net>
3001 Date: Tue Mar 17 13:25:58 2009 +1000
3003 If we have a touchpad, print so, don't claim we're configuring a tablet.
3005 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
3007 commit 740dc202f735106532dce581deabe2b95c52759f
3008 Author: Jeremy Jay <dinkumator@gmail.com>
3009 Date: Mon Mar 16 23:19:54 2009 -0400
3011 make sure to clear all axis_map entries
3013 don't use uninitialized axis_map entries, ie axis_map[ABS_PRESSURE]
3015 Signed-off-by: Jeremy Jay <dinkumator@gmail.com>
3016 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
3018 commit 7ac0c4456dc0846f7e09f334a26f9536e20065df
3019 Author: Peter Hutterer <peter.hutterer@who-t.net>
3020 Date: Tue Mar 17 08:02:00 2009 +1000
3022 Assume touchscreen/touchpad if we have _either_ ABS_PRESSURE or BTN_TOUCH
3024 Touchpads have pressure or touch and also BTN_TOOL_FINGER.
3025 Touchscreens have either pressure or touch, but no finger.
3027 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
3029 commit b4f6ab126dfc897759559aae7ae32fbc0efe24d8
3030 Author: Peter Hutterer <peter.hutterer@who-t.net>
3031 Date: Fri Mar 13 13:40:16 2009 +1000
3033 Move keymap/modifier initialization behind the ABI < 5 ifdefs.
3035 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
3037 commit a3ea979c2b70d166d62422b4ba450ce2910389c3
3038 Author: Jeremy Jay <dinkumator@gmail.com>
3039 Date: Mon Mar 16 08:36:53 2009 +1000
3041 Set "rel" when converting absolute touchpad coordinates to relative (#20661)
3043 We unset "abs" and convert to relative, but never set "rel" so the events
3044 don't get posted. This bit got broken in 43dd2a959243877.
3046 X.Org Bug 20661 <http://bugs.freedesktop.org/show_bug.cgi?id=20661>
3048 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
3050 commit a7fb654a68a26ad5f019a902312c6b94dbe9c3ea
3051 Author: Peter Hutterer <peter.hutterer@who-t.net>
3052 Date: Tue Mar 10 15:17:53 2009 +1000
3054 Restore repeat-filtering for server 1.5 and earlier.
3056 Letting the server deal with key repeats is fine if we have server 1.6. For
3057 earlier servers, we need to pass on the repeat events (except for modifier
3060 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
3061 Tested-by: Marty Jack <martyj19@comcast.net>
3063 commit 3f06825a446e317485c2e2d1880c1886684d8742
3064 Author: Peter Hutterer <peter.hutterer@who-t.net>
3065 Date: Mon Mar 9 09:26:51 2009 +1000
3069 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
3071 commit 31853c39bfae7bb1035485407fd245cd11337d4f
3072 Author: Peter Hutterer <peter.hutterer@who-t.net>
3073 Date: Mon Mar 9 09:29:48 2009 +1000
3075 Define MAX_VALUATORS if it's missing to allow for builds against 1.5.
3077 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
3079 commit 2c49e21a815632fc1addd04dde96592237757a2e
3080 Author: Peter Hutterer <peter.hutterer@who-t.net>
3081 Date: Mon Mar 9 09:05:10 2009 +1000
3083 Check button label before fetching the Atom from the server. (#20524)
3085 The server doesn't like NULL names, so don't call XIGetKnownProperty for
3086 labels that don't exist.
3088 X.Org Bug 20524 <http://bugs.freedesktop.org/show_bug.cgi?id=20524>
3090 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
3091 Tested-by: Peter Henriksson
3093 commit 4361b3efa0da5e85da7f0506c81dba31e59dc897
3094 Author: Peter Hutterer <peter.hutterer@who-t.net>
3095 Date: Fri Mar 6 08:13:36 2009 +1000
3097 Fix duplicate wheel button up mapping.
3099 Reported by Simon Thum.
3101 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
3102 Signed-off-by: Simon Thum <simon.thum@gmx.de>
3104 commit 281a7b4b88015c768639b7ae960b62f3539f012b
3105 Author: Peter Hutterer <peter.hutterer@who-t.net>
3106 Date: Mon Mar 2 16:27:47 2009 +1000
3110 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
3112 commit 051cb8b528f6eddddccee44842bcb2152ed0e418
3113 Author: Peter Hutterer <peter.hutterer@who-t.net>
3114 Date: Thu Feb 26 12:14:20 2009 +1000
3116 Add support for button labelling.
3118 Buttons 4/5 and 6/7 are hardcoded for wheel buttons.
3120 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
3122 commit 1abcc881715327614e248e9047c5fbd29a945c03
3123 Author: Peter Hutterer <peter.hutterer@who-t.net>
3124 Date: Thu Feb 26 10:48:06 2009 +1000
3126 Rename prop_label to prop_axis_label.
3128 commit c89bbf80be65eb9d0d20871761d22c6d6d76708b
3129 Author: Peter Hutterer <peter.hutterer@who-t.net>
3130 Date: Thu Feb 26 12:14:03 2009 +1000
3132 Don't double-assign the UKNOWN axis label.
3134 All labels default to unknown anyway.
3136 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
3138 commit 178435832f5f6988e58fddc4ffe82ddc032d9dce
3139 Author: Peter Hutterer <peter.hutterer@who-t.net>
3140 Date: Thu Feb 26 12:09:33 2009 +1000
3142 If scrollwheels are found, bump the button number by 4 (or up to 7).
3144 Scrollwheel data is always posted as buttons, so we need to advertise at least
3145 enough buttons to accommodate for 6/7 (horizontal wheel).
3147 Note that this may mean that if you have a device that has scroll wheels and
3148 axes, but no buttons, it may be interpreted as a mouse.
3150 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
3152 commit c9cab83bac32275f6851d2616bb749b3b2621ed6
3153 Author: Peter Hutterer <peter.hutterer@who-t.net>
3154 Date: Tue Feb 24 11:32:40 2009 +1000
3156 Ignore REL_WHEEL, REL_HWHEEL and REL_DIAL during axis initialisation.
3158 We don't post the events for them anyway, so lets ignore them completely.
3160 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
3162 commit 43dd2a959243877c1628a08b4fc6c07c9ae6bac0
3163 Author: Peter Hutterer <peter.hutterer@who-t.net>
3164 Date: Tue Feb 24 10:36:41 2009 +1000
3166 Pass on all relative events, not just x/y.
3168 9620fe776 added generic axes support for relativ values, but values from such
3169 axes didn't get passed on to the server. Fix this.
3171 Note that wheel events are not posted as motion events.
3173 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
3175 commit 7977947e0df6ea6379dab76805b06be6bdd71947
3176 Author: Adam Jackson <ajax@redhat.com>
3177 Date: Tue Feb 24 10:08:22 2009 +1000
3179 Reduce the number of read calls in ReadInput.
3181 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
3182 Signed-off-by: Adam Jackson <ajax@redhat.com>
3184 commit 11a56d4a176a2c5b2f8794147d4bafd88477b80b
3185 Author: Peter Hutterer <peter.hutterer@who-t.net>
3186 Date: Tue Feb 24 09:39:01 2009 +1000
3188 Split ReadInput into ReadInput and ProcessEvent.
3190 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
3192 commit 7b0f613c7f1462fc36f1e13968d96e8b8a559be6
3193 Author: Adam Jackson <ajax@redhat.com>
3194 Date: Tue Feb 24 09:34:26 2009 +1000
3196 Move relative motion and other magic up to EV_SYN processing.
3198 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
3199 Signed-off-by: Adam Jackson <ajax@redhat.com>
3201 commit 75af278861dcd96124544d3c2889028578708317
3202 Author: Adam Jackson <ajax@redhat.com>
3203 Date: Mon Feb 23 16:01:14 2009 -0500
3205 Open with O_NONBLOCK, and simplify EvdevReadInput to match.
3207 xf86WaitForInput() would call select() with zero timeout to discover if
3208 more input was ready. But we know that's always true at least once,
3209 since we're only ever called from the sigio handler (if silken is
3210 active) or from the main loop (if it's not and we selected readable).
3211 With nonblocking IO we can just spin around until we hit EAGAIN, which
3212 gets us down to n+1 syscalls per event instead of 2n.
3214 commit 4fd9cd2ea81607c17eb39baaad24f09dd55995f2
3215 Author: Peter Hutterer <peter.hutterer@who-t.net>
3216 Date: Thu Feb 19 10:02:49 2009 +1000
3218 Revert "Remove useless include directive."
3220 Necessary for builds against 1.6, but let's at least get rid of XKB defines.
3222 This reverts commit aa5dfa1d6ae374479d39f1394b85660e6b6bb881.
3224 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
3226 commit 12c287df894c88a1b2badf105ef625c7c67f334d
3227 Author: Peter Hutterer <peter.hutterer@who-t.net>
3228 Date: Wed Feb 18 09:30:17 2009 +1000
3230 Label axes conditional on actual support.
3232 Server 1.6 has device properties, but not axis labels.
3234 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
3236 commit 9f1b9aa6eb81087b3df12184eafb104c0e745f41
3237 Author: Peter Hutterer <peter.hutterer@who-t.net>
3238 Date: Wed Feb 18 09:04:12 2009 +1000
3240 Accommodate for holes in the ABS label defines.
3242 abs_labels[] has to be aligned with the defines in linux/input.h, but the
3243 latter does not have continuous range. Pad the holes with
3244 AXIS_LABEL_PROP_ABS_MISC.
3246 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
3248 commit acb1d557e216d7fa58ef8dbf3182e6604888ae2a
3249 Author: Peter Hutterer <peter.hutterer@who-t.net>
3250 Date: Tue Feb 17 15:08:03 2009 +1000
3252 Add support for arbitrary relative axis labels.
3254 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
3256 commit 6a1f8f463d28c263a73b81b92d9d52a6cd3873cb
3257 Author: Peter Hutterer <peter.hutterer@who-t.net>
3258 Date: Tue Feb 17 14:54:49 2009 +1000
3260 Remove superfluous (and duplicate) call to xf86MotionHistoryAllocate.
3262 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
3264 commit 9620fe7765b340213a552b5656d9d10bbbefd4cb
3265 Author: Peter Hutterer <peter.hutterer@who-t.net>
3266 Date: Tue Feb 17 14:53:51 2009 +1000
3268 Add generic axis support for relative axes.
3270 Just query the kernel what axes we actually have, rather than hard-coding x/y.
3272 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
3274 commit a1714cac5242e5f8320ed7212efca481351355a2
3275 Author: Peter Hutterer <peter.hutterer@who-t.net>
3276 Date: Tue Feb 17 14:42:19 2009 +1000
3278 Add dynamic axis labelling for absolute devices.
3280 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
3282 commit 5a99ef7ed21ff879b6c55027590733bc7a9c6742
3283 Author: Peter Hutterer <peter.hutterer@who-t.net>
3284 Date: Mon Feb 16 15:11:20 2009 +1000
3286 remove duplicate (code > 255) check.
3288 commit 3b22e4703fa712ddb6d14d3a847ecfeac27520b4
3289 Author: Peter Hutterer <peter.hutterer@who-t.net>
3290 Date: Mon Feb 16 14:48:04 2009 +1000
3292 man: list the options and properties in alphabetical order.
3294 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
3296 commit 0de20a8f1b9f80b33081cea20444a05a745cb95e
3297 Author: Peter Hutterer <peter.hutterer@who-t.net>
3298 Date: Mon Feb 16 14:40:45 2009 +1000
3300 man: Fix two minor typos in man page.
3302 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
3304 commit 978384ede7b0832fef8a399efbc3050bb2f212f7
3305 Author: Peter Hutterer <peter.hutterer@who-t.net>
3306 Date: Mon Feb 16 14:07:30 2009 +1000
3308 Swap axes after scaling, not before.
3310 If we swap before scaling, we scale with the wrong coordinate range.
3312 Reported by Matt Helsley.
3314 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
3316 commit df7ff12ed230009de895107c40de8f457879d66b
3317 Author: Peter Hutterer <peter.hutterer@who-t.net>
3318 Date: Mon Feb 16 12:00:52 2009 +1000
3320 CacheCompare before probing the device.
3322 Saves a few duplicate ioctls.
3324 Suggested by Matt Helsley.
3326 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
3328 commit dd2c89ac93535b833ee79e459410f4679c060774
3329 Author: Matt Helsley <matt.helsley@gmail.com>
3330 Date: Mon Feb 16 11:18:50 2009 +1000
3332 General axis valuator support.
3334 Instead of x/y and pressure, support any absolute axis that is reported on the
3335 device. Note that there are still locations that special-case X and Y.
3337 Minor modifications by Peter Hutterer.
3339 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
3341 commit 4616c79f6cc6d81c1d9d27efa05ffaf51d521d2b
3342 Author: Peter Hutterer <peter.hutterer@who-t.net>
3343 Date: Mon Feb 16 11:15:25 2009 +1000
3345 Change cached bitmasks from long to unsigned long.
3347 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
3349 commit a31170718d098fd7ce42cf4f6e457a713e39a0c1
3350 Author: Peter Hutterer <peter.hutterer@who-t.net>
3351 Date: Mon Feb 16 10:48:58 2009 +1000
3353 Remove unused 'screen' variable from the EvdevRec.
3355 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
3357 commit 95099cb0368d76ee139f1442253f26f68d493df9
3358 Author: Peter Hutterer <peter.hutterer@who-t.net>
3359 Date: Mon Feb 16 10:43:36 2009 +1000
3361 Log which EVIOCGABS ioctl failed.
3363 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
3365 commit c58bae0b77b9e39ab341af994648ca22867271a2
3366 Author: Peter Hutterer <peter.hutterer@who-t.net>
3367 Date: Mon Feb 16 12:05:45 2009 +1000
3369 Remove superfluous motion history allocation.
3371 The motion history buffer is allocated during InitValuatorClassDeviceStruct
3374 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
3376 commit 32242871f7001e7e995d501a32f350120bad2fd6
3377 Author: Peter Hutterer <peter.hutterer@who-t.net>
3378 Date: Mon Feb 16 08:51:22 2009 +1000
3380 Remove duplicate MB emu finalization.
3382 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
3384 commit aa5dfa1d6ae374479d39f1394b85660e6b6bb881
3385 Author: Peter Hutterer <peter.hutterer@who-t.net>
3386 Date: Fri Feb 13 16:24:36 2009 +1000
3388 Remove useless include directive.
3390 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
3392 commit 2a6c1d7a605e11189e4539db84b1c4da5707dbc6
3393 Author: Bryce Harrington <bryce@bryceharrington.org>
3394 Date: Thu Feb 12 17:52:43 2009 -0800
3396 Add descriptive messages for device-has-changed errs
3398 As can be seen in e.g. bugs 19819 & 20025, it can be unclear what
3399 exactly caused a given "Device has changed - disabled" error. This
3400 patch adds some more specific messages to give a better clue on what
3401 exactly was seen to have changed.
3403 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
3405 commit 0f0743e3cfc2f7d288dfec3fba9bc093cbedf537
3406 Author: Dan Nicholson <dbn.lists@gmail.com>
3407 Date: Mon Feb 2 22:35:20 2009 -0800
3409 Really fix distcheck
3411 distcheck has an annoying feature where it checks that all files install
3412 under $prefix. Unfortunately, this conflicts with the desire to install
3413 headers to the SDK directory. Workaround by passing --with-sdkdir during
3416 Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
3417 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
3419 commit 095766ebb3afafc4906cb29e22d996dbcd773ad8
3420 Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
3421 Date: Mon Feb 2 19:47:50 2009 -0200
3423 Janitor: make distcheck, .gitignore.
3425 Remove non toplevel .gitignore and .cvsignore files.
3426 The "make distcheck correction" for $(sdkdir) probably has a better
3427 approach using a "*-hook:" target, or possibly making $sdkdir a
3428 configure time option that could be set with DISTCHECK_CONFIGURE_FLAGS.
3430 commit 0dbb88c52b057cfdff6116060060841e4fc4abb5
3431 Author: Julien Plissonneau Duquene <julien.plissonneau.duquene@savoirfairelinux.com>
3432 Date: Mon Feb 2 10:46:52 2009 -0500
3434 EvdevCacheCompare: ignore changes in current device position
3436 Input devices (especially touchscreens) were disabled when switching
3437 virtual console back to X because EvdevCacheCompare() thought the device
3438 was substituted by another while away from X. Actually only the current
3439 position reported by the device changed from what was in the cache. Fixed
3440 by ignoring the current position in the comparison.
3444 Signed-off-by: Julien Cristau <jcristau@debian.org>
3445 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
3447 commit c9281567024ef1e94f2da42f0d701ed69728c355
3448 Author: Peter Breitenlohner <peb@mppmu.mpg.de>
3449 Date: Fri Nov 21 21:57:41 2008 +0100
3451 fix manpage formatting
3453 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
3455 commit 07f40a04df28e9ee6318411beb71eedc7cd6e288
3456 Author: Peter Hutterer <peter.hutterer@who-t.net>
3457 Date: Mon Feb 2 11:00:30 2009 +1000
3459 Protect against zero-sized property values. #19882
3461 X.Org Bug 19882 <http://bugs.freedesktop.org/show_bug.cgi?id=19882>
3463 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
3465 commit e260993b6af0c463bd593a3192d2ba4ee6912fc9
3466 Author: Alan Coopersmith <alan.coopersmith@sun.com>
3467 Date: Fri Jan 30 20:18:50 2009 -0800
3469 Add README with pointers to mailing list, bugzilla & git repos
3471 commit dc72e6d8aecbc60900bb3b72978d63495f3f6954
3472 Author: Dan Nicholson <dbn.lists@gmail.com>
3473 Date: Thu Jan 22 10:15:15 2009 -0800
3475 Stop hammering XKB defaults
3477 With the new InitKeyboardDeviceStruct, we can just pass the RMLVO we
3478 want without setting the defaults first.
3480 Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
3481 Signed-off-by: Daniel Stone <daniel@fooishbar.org>
3483 commit 1906e4d5c112c25c9d7a736d4924d1005267aba7
3484 Author: Peter Hutterer <peter.hutterer@who-t.net>
3485 Date: Thu Jan 22 09:44:15 2009 +1100
3487 Reshuffle property initialization.
3489 We don't need axis calibration, etc. on keyboards, so let's do it
3490 conditionally on actually having axes.
3492 Reported by Simon Thum.
3494 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
3496 commit 3047c25db24becf475b45d13e03a8badd58dcde6
3497 Author: Peter Hutterer <peter.hutterer@who-t.net>
3498 Date: Thu Jan 22 09:19:16 2009 +1100
3500 Deal with XINPUT ABI 5.
3502 Some XKB stuff has been removed, so let's deal with it.
3504 commit c158cf2b64034a49e1c95549603b684e21e7511a
3505 Author: Peter Hutterer <peter.hutterer@who-t.net>
3506 Date: Wed Jan 21 16:32:27 2009 +1100
3510 Welcome to the future.
3512 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
3514 commit dae1a78a521fa2e9fe7d058a66ae9ef7ea5d9471
3515 Author: Peter Hutterer <peter.hutterer@who-t.net>
3516 Date: Tue Jan 20 09:45:44 2009 +1100
3518 Add automatic axis labeling.
3520 Since we don't support anything but REL/ABS x/y and sometimes pressure this is
3521 bordering on pointlessness, but once the year of the Linux desktop comes
3522 around this will be really handy. Or so.
3524 Also, we don't allow changing axis labels, but should eventually rearrange
3525 them if swapaxis is on.
3527 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
3529 commit 263bf04a9d350dddd796f3a21c7b1749647be91c
3530 Author: Peter Hutterer <peter.hutterer@who-t.net>
3531 Date: Tue Jan 20 11:46:05 2009 +1100
3533 Don't print xkb options twice to the log file.
3535 xf86SetStrOption already prints with X_CONFIG anyway, no need to do it again.
3537 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
3539 commit c035f3d0f58698d0f1dbeb1be7ad00f0787d3292
3540 Author: Peter Hutterer <peter.hutterer@who-t.net>
3541 Date: Tue Jan 20 09:44:49 2009 +1100
3543 Register the property handler AFTER setting all the properties.
3545 Otherwise, we add a new property based on a setting in pEvdev, which triggers
3546 the update handler to change the setting in pEvdev based on the property.
3549 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
3551 commit a7e8af65fca9c38a8c0c24ffc660c06c8d4a0b9b
3552 Author: Peter Hutterer <peter.hutterer@who-t.net>
3553 Date: Mon Jan 19 21:23:34 2009 +1100
3555 Test for pressure BEFORE using has_pressure.
3557 commit 0592d97fbb5a1241ee79397ce9203346d050a9f9
3558 Author: Michael Chapman <mike@very.puzzling.org>
3559 Date: Fri Jan 9 19:07:10 2009 +1100
3561 Disable middle mouse button emulation when a middle mouse button event is registered
3563 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
3565 commit 4dfd86b2201b2b19761a1abb3c580cecf0060224
3566 Author: Matt Helsley <matt.helsley@gmail.com>
3567 Date: Sun Jan 11 18:36:59 2009 -0800
3569 Fix FOO_MAX off-by-one
3571 In linux/input.h each section's (e.g. ABS) FOO_MAX is the maximum FOO
3572 value. Recent kernels define FOO_CNT as the maximum number of FOO there
3573 will ever be. Hence using FOO_MAX to size the bit vectors representing
3574 the capabilities of an evdev device is off by one.
3576 Define FOO_CNT values for use with Linux kernels which lack them. Use
3577 FOO_CNT whenever we need to know the number of bits needed -- usually to
3578 calculate the number of longs needed.
3580 When iterating over the values FOO_MAX still seems appropriate however
3581 the loop test should include FOO_MAX rather than skip it.
3583 Signed-off-by: Matt Helsley <matt.helsley@gmail.com>
3584 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
3586 commit d3fd42d8644310abcae23bbf534f8c445296bcb7
3587 Author: Matt Helsley <matt.helsley@gmail.com>
3588 Date: Sun Jan 11 18:04:40 2009 -0800
3590 rename NBITS to NLONGS to reflect its actual meaning
3592 NBITS really convers the number of bits passed as its argument
3593 into a number of longs. This is somewhat atypical of many
3594 function-like-macro names. Rename it to NLONGS.
3596 Signed-off-by: Matt Helsley <matt.helsley@gmail.com>
3597 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
3599 commit dd1752ce3ffe9bdfa3e13dc075b7f22750e77fea
3600 Author: Matt Helsley <matt.helsley@gmail.com>
3601 Date: Sat Jan 10 23:51:22 2009 -0800
3603 Add pressure valuator
3605 If it's available report pressure as third valuator.
3606 (Use xf86PostMotionEventP instead of the varargs wrapper.)
3608 Signed-off-by: Matt Helsley <matt.helsley@gmail.com>
3609 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
3611 commit 0f0a149067abdd1ed89717de43febe89b2a3490b
3612 Author: Alan Coopersmith <alan.coopersmith@sun.com>
3613 Date: Fri Jan 9 16:13:09 2009 -0800
3615 Remove xorgconfig & xorgcfg from See Also list in man page
3617 commit d170cba0cdd8f7a2e500e094f5b21fc33aefb52a
3618 Author: Yan Li <yan.i.li@intel.com>
3619 Date: Mon Jan 5 16:35:09 2009 +0800
3621 Fix XkbModel parsing error
3623 Signed-off-by: Yan Li <yan.i.li@intel.com>
3624 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
3626 commit 268038270593aae45e2740ad2151243383743c1d
3627 Author: Peter Hutterer <peter.hutterer@who-t.net>
3628 Date: Fri Dec 19 08:27:47 2008 +1000
3630 Add dummy test device - simple device that doesn't move at all.
3632 Good for filling up the device list without getting distracted by spurious
3633 events all the time.
3635 commit 0f36384d0636d6a8d3a8f182be69c72cccd1ff5c
3636 Author: Sascha Hlusiak <saschahlusiak@arcor.de>
3637 Date: Mon Dec 8 12:32:31 2008 +0100
3639 Revert "Keyboard: Disable kernel autorepeat"
3641 This reverts commit 6867652c2c8ad563d5655302d94134592b10265b.
3642 Functionally replaced by commit ece72ce9e97adae23b1932dc1334f63669196d56
3644 Signed-off-by: Daniel Stone <daniel@fooishbar.org>
3646 commit ece72ce9e97adae23b1932dc1334f63669196d56
3647 Author: Sascha Hlusiak <saschahlusiak@arcor.de>
3648 Date: Mon Dec 8 12:27:34 2008 +0100
3650 Filter all repeated keys from kernel, because we do softrepeat in server
3652 Discard all repeated events that come from the device. The server will handle
3653 per-key autorepeat in software.
3655 Signed-off-by: Daniel Stone <daniel@fooishbar.org>
3657 commit 2bf6e29b40f0da2bc417964fd2bd819306e5d3ed
3658 Author: Peter Hutterer <peter.hutterer@redhat.com>
3659 Date: Wed Nov 26 15:01:57 2008 +1000
3661 Finalize MB emu (and wakeup handlers) before closing the fd.
3663 Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
3665 commit 2bd24649ecbae08b7bd4dacd67d141ae665f8db7
3666 Author: Tibi Nagy <nltibi@gmail.com>
3667 Date: Mon Nov 24 22:28:44 2008 +0200
3669 Support keyboards with scroll wheels.
3671 For keyboards, scroll events are reported by the kernel as EV_REL class events
3672 of REL_WHEEL type. If, during probing, the device is found to support wheel
3673 events, make sure it is set up as a pointing device, even if it doesn't have
3674 buttons or doesn't report motion along the X and Y axis so that the scroll
3675 events can be mapped to mouse wheel buttons (usually buttons 4 and 5).
3677 Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
3679 commit 6867652c2c8ad563d5655302d94134592b10265b
3680 Author: Daniel Stone <daniel@fooishbar.org>
3681 Date: Thu Nov 27 13:24:08 2008 +1100
3683 Keyboard: Disable kernel autorepeat
3685 We handle autorepeat in software due to per-key repeat and whatnot, so
3686 disable the kernel's, which just interferes with ours.
3688 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
3690 commit 63af314368cec47b6b8266db331f2c820e7a071f
3691 Author: Peter Hutterer <peter.hutterer@redhat.com>
3692 Date: Mon Nov 17 10:03:11 2008 +1000
3694 Store device file's minor/major to avoid duplicate devices.
3696 Devices added that use the same min/maj as an already added device are ignored
3697 by the driver. This way users can have an xorg.conf entry on
3698 /dev/input/by-id/blahblah and not get the same device added by HAL.
3700 Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
3702 commit 4c5c9c111d406e5590429377262b86e91868ef76
3703 Author: Fernando Carrijo <fcarrijo@yahoo.com.br>
3704 Date: Thu Nov 6 13:20:16 2008 -0500
3708 commit 4826969f23a0b298da2750c2e23a92b9d91819dd
3709 Author: Peter Hutterer <peter.hutterer@redhat.com>
3710 Date: Mon Nov 3 13:25:06 2008 +1030
3712 Add support for axes swapping.
3714 New option: SwapAxes (boolean)
3715 New property: EVDEV_PROP_SWAP_AXES.
3717 Actual swapping code written by Donnie Berkholz.
3719 Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
3721 commit 33eb36f26663c09c873acede1b35e91ef4c64479
3722 Author: Peter Hutterer <peter.hutterer@redhat.com>
3723 Date: Thu Oct 30 16:55:29 2008 +1030
3725 Add support for run-time calibration.
3727 Some devices require run-time axis calibration. We can't change the min/max
3728 ranges once we've initialised the valuator structs though, so in-driver
3729 run-time calibration is required.
3731 If the property is set, the driver scales from the calibrated range to the
3732 values reported to the X server (which then may scale to screen coordinates).
3733 If the property is not set (i.e. zero items) no scaling is performed.
3735 commit d5cf24d3f0075a467e026592bfbb76b207dea8eb
3736 Author: Peter Hutterer <peter.hutterer@redhat.com>
3737 Date: Wed Oct 29 16:54:16 2008 +1030
3739 Add test/ directory for uinput-based test devices.
3741 Three test devices provided:
3742 btn0 .... Provides BTN_0, BTN_1, BTN_2 instead of BTN_LEFT, BTN_MIDDLE,
3744 abs ..... Provdes x/y absolute axes, jumps between 100/100 and 120/120.
3745 absrel .. Provides relative x/y axes and absolute x/y axes at the same time.
3747 Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
3749 commit 64554e4799a697d37dfd8be480f8eee636b9bea1
3750 Author: Peter Hutterer <peter.hutterer@redhat.com>
3751 Date: Wed Oct 29 13:50:07 2008 +1030
3753 Treat BTN_[0-2] as LMR buttons if necessary.
3755 Treat BTN_[0-2] as LMR buttons on devices that do not advertise BTN_LEFT,
3756 BTN_MIDDLE, BTN_RIGHT (e.g. 3Dconnexion SpaceNavigator).
3758 Otherwise, treat BTN_[0+n] as button 5+n. Note: This causes duplicate
3759 mappings for BTN_0 + n and BTN_SIDE + n.
3761 This also fixes a bug where we could end up with negative button numbers after
3762 trying to map BTN_0.
3764 Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
3766 commit b77f9398570fb8eae1fcf50bc3c10c9c390c6bac
3767 Author: Peter Hutterer <peter.hutterer@redhat.com>
3768 Date: Wed Oct 29 13:28:19 2008 +1030
3770 Remove obsolete FIXME
3772 xkeyboard-config's maps are perfectly able to cope with evdev now.
3774 Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
3776 commit a43ab4999b9cad10f77aa6c703d3c61b754f1fd4
3777 Author: Peter Hutterer <peter.hutterer@redhat.com>
3778 Date: Tue Oct 28 12:09:26 2008 +1030
3780 Flush input after re-opening the fd.
3782 Suggested by Julien Cristau.
3784 Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
3786 commit af096e8c5d8b425f725a37bf4a98e205e70716e9
3787 Author: Peter Hutterer <peter.hutterer@redhat.com>
3788 Date: Mon Oct 27 15:54:49 2008 +1030
3790 emuMB: add EvdevMBEmuOn and call from EvdevOn to register wakeup handlers.
3792 This got broken in b0737bdbd1f6e601eb4984b6f4cb49279190984c, when the
3793 EmuMBPreInit call was removed from EvdevOn. As a result, VT switching away and
3794 back wouldn't restore the wakeup handlers and mouse button presses
3797 commit 12498042fcc08e34aef0117ce84192f59542fd56
3798 Author: Peter Hutterer <peter.hutterer@redhat.com>
3799 Date: Fri Oct 24 13:09:46 2008 +1030
3801 Fix axis inversion for absolute coordinates.
3803 If min_x/y was not equal to 0, the inverted calculated range was off and leads
3804 to inaccessible or out-of-range areas.
3806 commit 0f8fcfccb3251ee3df80d90ae5d7df638722d24e
3807 Author: Peter Hutterer <peter.hutterer@redhat.com>
3808 Date: Fri Oct 24 09:21:36 2008 +1030
3810 emulate MB: fix confusing log message.
3812 If we're forcing MB emulation behaviour as per config, then at least state
3813 whether we're forcing it off or on.
3815 Found by Michel Dänzer.
3817 commit 0ab4c09e504ba3822c5e030732b770140165e725
3818 Author: Peter Hutterer <peter.hutterer@redhat.com>
3819 Date: Thu Oct 23 14:05:41 2008 +1030
3821 Silence compiler warning by memsetting the struct properly.
3823 commit d348eb8ce78640363c159e1a4fdbfa9b596fa5bb
3824 Author: Peter Hutterer <peter.hutterer@redhat.com>
3825 Date: Thu Oct 23 13:22:17 2008 +1030
3827 MB emulation timeout is stored as Time, make the property 32-bit too.
3829 commit 2c1698fa615a083de7dd647622a302d5de77dc0c
3830 Author: Peter Hutterer <peter.hutterer@redhat.com>
3831 Date: Wed Oct 22 18:01:58 2008 +1030
3833 Init ioctl bitmasks to 0, shuts up valgrind too.
3835 commit 8c39302594445ba774ea3fec66417492cc5643e0
3836 Author: Søren Hauberg <hauberg@gmail.com>
3837 Date: Wed Oct 1 11:06:31 2008 +0930
3839 Add touchscreen support.
3841 Touchscreens are devices that do not have buttons and only advertise
3842 BTN_TOUCH. Add a new flag to note the device type.
3844 If BTN_TOUCH is detected, change it to BTN_LEFT and process it normally.
3846 commit f57e8face94c9e6986b35ca2ec231e284b9f58cf
3847 Author: Julien Cristau <jcristau@debian.org>
3848 Date: Tue Oct 21 19:21:21 2008 +0200
3850 Fix TestBit() on 64bit
3852 Reported by Albert Damen <albrt@gmx.net>
3853 X.Org Bug#18150 <http://bugs.freedesktop.org/show_bug.cgi?id=18150>
3855 commit 4912e2aa7f867a86d383010023b8426c881fb3b0
3856 Author: Peter Hutterer <peter.hutterer@redhat.com>
3857 Date: Thu Oct 16 15:23:06 2008 +1030
3859 Add option "GrabDevice", don't grab the device by default.
3861 We now have the matching code in the server to set the console to RAW mode and
3862 don't need to grab the devices anymore.
3864 This is an updated version of e8534d47c8524ac081c2e3e6ebaabe4c6b274a18, which
3865 was reverted in 6dc41991557fa55a9e2f5aaf0fe40c70a08d41fd.
3867 commit 7243116f55609a2a5f73bb88cf6ad6386c9bbc0b
3868 Author: Peter Hutterer <peter.hutterer@who-t.net>
3869 Date: Thu Oct 16 22:35:42 2008 +1030
3871 Don't post keycodes > 255.
3873 If we only have keys > 255 we don't set up a key class rec, so don't post
3874 them. It makes the server unhappy.
3876 Signed-off-by: Julien Cristau <jcristau@debian.org>
3878 commit 0089d931ac5fb290c82908da652b28c8b515d449
3879 Author: Peter Hutterer <peter.hutterer@redhat.com>
3880 Date: Tue Oct 14 17:02:43 2008 +1030
3882 Fix "Device reopened after N attempts" message.
3884 commit 0f5a5ac09ebc89e984b72d395475bb9f412e240c
3885 Author: Peter Hutterer <peter.hutterer@redhat.com>
3886 Date: Tue Oct 14 16:45:44 2008 +1030
3888 Don't init draglock, etc. if we don't have the required capabilities.
3890 commit 36d68b006d6bb3d41c93888acead73043ca304a1
3891 Author: Peter Hutterer <peter.hutterer@redhat.com>
3892 Date: Tue Oct 14 16:41:54 2008 +1030
3894 8-bit properties should use 8-bit storage types...
3896 commit bb1f42168761b928478a9cb066457b525c41ddd9
3897 Author: Peter Hutterer <peter.hutterer@redhat.com>
3898 Date: Tue Oct 14 16:25:27 2008 +1030
3900 Don't include the client-side header anymore. xkbstr.h is server SDK.
3902 commit 0405f7b17fb0ce5cadcc6c5aa6eeb61bdacdf9cd
3903 Author: Peter Hutterer <peter.hutterer@redhat.com>
3904 Date: Tue Oct 14 16:21:00 2008 +1030
3908 This includes shuffling some functions around so we don't need the prototypes
3911 commit 088e0a175a4913bf827c1f7e19de09fdf987d347
3912 Author: Peter Hutterer <peter.hutterer@redhat.com>
3913 Date: Tue Oct 14 16:14:13 2008 +1030
3915 Rename DragLockInit to DragLockPreInit, remove superfluous "return".
3917 commit cefedeb205291001e7e47b7516de261dbccce059
3918 Author: Peter Hutterer <peter.hutterer@redhat.com>
3919 Date: Tue Oct 14 16:12:13 2008 +1030
3921 Register property handler from within the modules, not the main evdev file.
3923 commit b0737bdbd1f6e601eb4984b6f4cb49279190984c
3924 Author: Peter Hutterer <peter.hutterer@redhat.com>
3925 Date: Tue Oct 14 16:09:20 2008 +1030
3927 Clean up program flow - don't call PreInit for "modules" on DEVICE_INIT.
3929 Call the PreInit functions for MB Emulation, wheel emu, and draglock during
3930 PreInit, not on DEVICE_INIT. This way, we only parse the options once and
3931 don't overwrite with defaults when coming back from a VT switch.
3933 commit 5f2c8a2dcdf98b39997ee5e7c9a9ace3b640bfa3
3934 Author: Peter Hutterer <peter.hutterer@redhat.com>
3935 Date: Tue Oct 14 16:01:17 2008 +1030
3937 Janitor: clean up xf86Msg use, might as well use X_CONFIG directly.
3939 commit ff783fce65a63707555098759692b22147646263
3940 Author: Peter Hutterer <peter.hutterer@redhat.com>
3941 Date: Tue Oct 14 15:30:20 2008 +1030
3943 Add property support for ReopenAttempts option.
3945 commit c638aa4a88116a1219cf4941aacd630e070db099
3946 Author: Peter Hutterer <peter.hutterer@redhat.com>
3947 Date: Tue Oct 14 15:06:40 2008 +1030
3949 Document properties in man page.
3951 commit b46677e346c33379cac814895641349cbd3b37f2
3952 Author: Peter Hutterer <peter.hutterer@redhat.com>
3953 Date: Tue Oct 14 15:06:17 2008 +1030
3955 Document InvertX/Y options.
3957 commit 680b41dc7681cd611ed385af8009489be6071a41
3958 Author: Peter Hutterer <peter.hutterer@redhat.com>
3959 Date: Mon Oct 13 17:08:22 2008 +1030
3963 commit 9065d0ccb26d013f26570d29c332bf1c93fabb2d
3964 Author: Peter Hutterer <peter.hutterer@redhat.com>
3965 Date: Wed Oct 8 16:16:58 2008 +1030
3967 Remove "Path" option.
3969 Path was just an alias for Device anyway, so we might as well not parse it.
3970 By now you should be using HAL anyway which fills in Device for you.
3972 commit a9fcce1833f167ed8aa79d4dbfbbc3d6bca2e7fd
3973 Author: Peter Hutterer <peter.hutterer@redhat.com>
3974 Date: Wed Oct 8 16:15:14 2008 +1030
3976 Remove parsing of ScreenNumber option.
3978 Was unused anyway, so we might as well not parse it.
3980 commit ab934d840dac8df761691533985a9d998ec5e21e
3981 Author: Peter Hutterer <peter.hutterer@redhat.com>
3982 Date: Wed Oct 8 16:14:51 2008 +1030
3984 Janitor: purge unused headers, reshuffle for readability, fix whitespace errors.
3986 commit 6f6ac982951165a6ac77b3e32750c47780ea4990
3987 Author: Peter Hutterer <peter.hutterer@redhat.com>
3988 Date: Wed Oct 8 14:25:53 2008 +1030
3990 Add checkonly handling to property handlers.
3992 If checkonly is TRUE, we can only check if applying the value would succeed.
3993 The value is actually applied if checkonly is FALSE.
3995 commit a2633c807812e6e8ad9c82e2a5940dfbf370aff5
3996 Author: Peter Hutterer <peter.hutterer@redhat.com>
3997 Date: Wed Oct 8 14:52:13 2008 +1030
3999 Fix up bad return code in draglock property handler.
4001 commit e6c699dedcd6f3b5db497fe2d226806ca4bbe683
4002 Author: Peter Hutterer <peter.hutterer@redhat.com>
4003 Date: Wed Oct 8 14:35:12 2008 +1030
4005 Stricter value checking for property changes.
4007 commit 847eac826286e6202f42b9a2ccc160a232a710a3
4008 Author: Julien Cristau <jcristau@debian.org>
4009 Date: Sat Oct 11 02:10:48 2008 +0200
4011 Set pInfo->fd to -1 on DEVICE_CLOSE
4013 This allows the reopen logic to kick in later.
4014 DEVICE_CLOSE gets called on regen, so without this we'd keep a stale
4015 file descriptor in pInfo->fd in subsequent sessions.
4017 Debian bug#496101 (http://bugs.debian.org/496101)
4019 commit a196672a6bafd4e7d3a2cca991a2a3bf4bdcd952
4020 Author: Peter Hutterer <peter.hutterer@redhat.com>
4021 Date: Wed Oct 1 13:58:24 2008 +0930
4023 Add property support for axis inversion.
4025 commit 3985d423204217a1f072fa6e0145cba547f79a97
4026 Author: Søren Hauberg <hauberg@gmail.com>
4027 Date: Wed Oct 1 11:07:57 2008 +0930
4029 Add support for axis inversion.
4031 commit e138e4b79a750e22712802b84bf36a70a929d12f
4032 Author: Peter Hutterer <peter.hutterer@redhat.com>
4033 Date: Fri Sep 26 10:42:05 2008 +0930
4035 Install xorg-evdev.pc for clients who need evdev-properties.h
4037 commit 125e2b8ce23b8ceea250ae52ba69cd14af5592f9
4038 Author: Peter Hutterer <peter.hutterer@redhat.com>
4039 Date: Thu Oct 2 10:56:04 2008 +0930
4041 Close fd on DEVICE_OFF. (LP #276887)
4043 Leaving the fd open means we still get keyboard events after VT switching
4044 away. Coming back, some of these events are replayed on the application that
4045 has the current focus.
4048 1. open terminal, focus.
4050 3. type something, preferably a password
4051 4. VT switch back, trigger a mouse event
4052 5. Observe the X server guessing your password.
4054 Closing the fd on DEVICE_OFF fixes this. Reopen is handled by the reopen
4055 code introduced with
4057 commit 9930477cbeb4acfd070ae70894d13ffabfc347b8
4058 Author: Peter Hutterer <peter.hutterer@redhat.com>
4059 Date: Tue Aug 26 14:33:40 2008 +0930
4061 Attempt to re-open devices on read errors.
4063 Launchpad Bug 276887
4064 <https://bugs.edge.launchpad.net/ubuntu/+source/xorg-server/+bug/276887>
4066 commit 91bc0a0ba3c4c941b2b7695b6d4f303fb7128fd9
4067 Author: Peter Hutterer <peter.hutterer@redhat.com>
4068 Date: Wed Oct 1 13:36:09 2008 +0930
4070 Remove useless initialization of rc.
4072 commit 4c55186aedd9030ac46654cee18b09173db988e8
4073 Author: Peter Hutterer <peter.hutterer@redhat.com>
4074 Date: Wed Oct 1 13:58:47 2008 +0930
4076 Change DragLock atom name - prepend with Evdev.
4078 commit 62069b97d216fb9b4e7db0c60f87ab006ad7011c
4079 Author: Peter Hutterer <peter.hutterer@redhat.com>
4080 Date: Fri Sep 26 10:57:07 2008 +0930
4082 Move misplaced #endif
4084 commit 2718a5c56b9f34360738b6525c89ea0af4c368d1
4085 Author: Peter Hutterer <peter.hutterer@redhat.com>
4086 Date: Fri Sep 26 10:46:47 2008 +0930
4088 Register property handlers directly, instead of abstracting them.
4090 This removes a left-over from the early device property code where we could
4091 only have a single handler. Now it's easier to just register the handlers for
4092 each subsystem (emulate wheel, draglock and MB emulation).
4094 commit 90d1d494f82255b07d07800d8270ad754163b7ab
4095 Author: Peter Hutterer <peter.hutterer@redhat.com>
4096 Date: Fri Sep 26 13:49:28 2008 +0930
4098 Cleanup: "valid_vals" should be "vals" now.
4100 commit a77c2622cc7979cea6c1549f1978fae575b76c6c
4101 Author: Peter Hutterer <peter.hutterer@redhat.com>
4102 Date: Fri Sep 26 13:47:24 2008 +0930
4104 Add evdev-properties.h file with #defines for all property names.
4106 commit 84a0e39c0dd8bcc80d4f6912562260c1771f311f
4107 Author: Peter Hutterer <peter.hutterer@redhat.com>
4108 Date: Thu Sep 18 16:44:27 2008 +0930
4110 Use new property API (no ConfigureDP, less args to ChangeDP)
4112 Return appropriate status codes from property handlers.
4113 Make properties non-deletable.
4115 commit 73869372212f7afc18e02184f347bcd94ce19d04
4116 Author: Peter Hutterer <peter.hutterer@redhat.com>
4117 Date: Thu Sep 18 16:47:35 2008 +0930
4119 draglock: Shut up compiler warning.
4121 commit fcf8375f2b960993686bd08fd4d0e2d8623b4680
4122 Author: Peter Hutterer <peter.hutterer@redhat.com>
4123 Date: Fri Sep 26 12:53:29 2008 +0930
4125 Don't require randrproto.
4127 commit 9930477cbeb4acfd070ae70894d13ffabfc347b8
4128 Author: Peter Hutterer <peter.hutterer@redhat.com>
4129 Date: Tue Aug 26 14:33:40 2008 +0930
4131 Attempt to re-open devices on read errors.
4133 Coming back from resume may leave us with a file descriptor that can be opened
4134 but fails on the first read (ENODEV).
4135 In this case, try to open the device until it becomes available or until the
4136 predefined count expires. To be safe, we cache the information from the device
4137 and compare against it when we re-open. This way we ensure that if the
4138 topology changes under us, we don't open a completely different device. If a
4139 device has changed, we disable it.
4141 Adds option "ReopenAttempts" <int>
4143 commit 4509ec1daf8a03b261c1fa8aa48b5def3f336aed
4144 Author: Peter Hutterer <peter.hutterer@redhat.com>
4145 Date: Thu Sep 4 18:22:56 2008 +0930
4147 Use HAVE_PROPERTIES define instead of GET_ABI_MAJOR for property compilation.
4149 commit a205dfc091e6d7c67e3fa1421fe8a43f5ed40b00
4150 Author: Peter Hutterer <peter.hutterer@redhat.com>
4151 Date: Fri Aug 22 14:07:17 2008 +0930
4153 Shut up "unused variable" compiler warnings.
4155 Hide properties behind ifdefs, fake use of "val".
4157 commit 184206e7174dc08239d6a78a1ca912176e3f6229
4158 Author: Peter Hutterer <peter.hutterer@redhat.com>
4159 Date: Mon Aug 25 17:24:15 2008 +0930
4161 Wheel emulation: initial values must be char.
4163 parsing int* to char* in XIChangeDeviceProperty means we lose values.
4165 commit 79ff677c52d38f67144f09bd534aaef862946a5e
4166 Author: Peter Hutterer <peter.hutterer@redhat.com>
4167 Date: Fri Aug 22 09:00:13 2008 +0930
4169 Init all emulateWheel values, even if EmulateWheel is disabled.
4171 Even if we don't want EmulateWheel, we can at least init everything to usable
4172 values. This way we only need to toggle "enabled", rather than initialising
4173 the whole lot before usage.
4175 commit 37e3addf89923bfc1e7ae23b678614f4ca926dcf
4176 Author: Dan Nicholson <dbn.lists@gmail.com>
4177 Date: Wed Aug 20 18:16:41 2008 -0700
4179 Add wheel timeout property support
4181 Copied from the wheel inertia property support.
4183 Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
4184 Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
4186 commit e237de0dea9fe24e1c4efc78523bfdd86ed73876
4187 Author: Dan Nicholson <dbn.lists@gmail.com>
4188 Date: Wed Aug 20 18:16:40 2008 -0700
4190 Add timeout support for mouse wheel emulation
4192 Support the EmulateWheelTimeout option as the mouse driver does.
4194 Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
4195 Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
4197 commit 92c6611b6f4495103fccea38dcafc6c6bf18049a
4198 Author: Peter Hutterer <peter.hutterer@redhat.com>
4199 Date: Mon Aug 18 12:13:15 2008 +0930
4201 Add property support for drag lock.
4203 commit bd405ddc83b9ad1ceed47f572245fccae598e6bb
4204 Author: Chris Salch <emeraldd.chris@gmail.com>
4205 Date: Sun Aug 17 12:31:23 2008 -0500
4207 Adding in DragLockButtons functionality.
4209 Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
4211 commit 36d702006d5aace50083ca52b7065d465b497077
4212 Author: Daniel Stone <daniel@fooishbar.org>
4213 Date: Sat Aug 16 15:33:23 2008 +0300
4215 Force rules, not model, to be evdev
4217 xkeyboard-config recently changed to a separate ruleset for the evdev
4218 driver, so match that by only forcing the ruleset, not the model, to be
4221 commit 6dc41991557fa55a9e2f5aaf0fe40c70a08d41fd
4222 Author: Peter Hutterer <peter.hutterer@redhat.com>
4223 Date: Fri Aug 15 09:23:02 2008 +0930
4225 Revert "Don't grab devices unless specified through the config options."
4227 Not such a good idea, CTRL+C terminates the server and other issues. Reverting
4228 for now until a better solution is found, at least this way the driver is
4231 See also: http://lists.freedesktop.org/archives/xorg/2008-August/038032.html
4233 This reverts commit e8534d47c8524ac081c2e3e6ebaabe4c6b274a18.
4235 commit e8534d47c8524ac081c2e3e6ebaabe4c6b274a18
4236 Author: Peter Hutterer <peter.hutterer@redhat.com>
4237 Date: Thu Aug 14 13:38:50 2008 +0930
4239 Don't grab devices unless specified through the config options.
4241 Grabbing event devices stops in-kernel event forwarding, most notably rfkill
4242 and the "Macintosh mouse button emulation" device. Let's not do that.
4244 Option "GrabDevice" forces grabbing the device.
4246 commit 555f5a7cbf3c980c436c205e9b23a78f3e19bdfe
4247 Author: Chris Salch <chrissalch@letu.edu>
4248 Date: Fri Aug 8 15:56:27 2008 +0930
4250 Filter wheel events before middle mouse button emulation.
4252 The Emulate3Button needs to be the last filter function, otherwise the timeout
4253 code causes it to hijack button presses for the first 3 buttons.
4255 Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
4257 commit 134829d911c698704595014ba402516ae9a2f36c
4258 Author: Peter Hutterer <peter.hutterer@redhat.com>
4259 Date: Thu Aug 7 17:34:54 2008 +0930
4261 Simplify the property handler registration.
4263 Instead of having separate handlers for each property, just handle all of them
4264 in one handler for emuMB, and one handler for emuWheel.
4266 commit 4e121b297ee0a9b179f8188926564fb8b2c3f6c8
4267 Author: Peter Hutterer <peter.hutterer@who-t.net>
4268 Date: Thu Aug 7 16:57:06 2008 +0930
4270 Add EVDEV_MAXBUTTONS instead of checking against 32.
4272 Numbers are so lame, defines are all the rage now I've heard.
4274 commit 9793de81373bb78b9ddbb2487e0af5d2ddd0b246
4275 Author: Peter Hutterer <peter.hutterer@who-t.net>
4276 Date: Thu Aug 7 16:53:51 2008 +0930
4278 Expose wheel emulation through device properties.
4280 Don't enable wheel emulation with 0 inertia - bad things happen.
4282 commit a9d72b40fbe178fa4fbb9d0e7c02dc6c5250969a
4283 Author: Chris Salch <emeraldd.chris@gmail.com>
4284 Date: Wed Aug 6 22:08:13 2008 -0500
4286 Adding mouse wheel emulation code.
4288 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
4290 commit c1f7f8c3d22ecae7839f82ea8b584069f54f1f5e
4291 Author: Adam Jackson <ajax@redhat.com>
4292 Date: Thu Aug 7 09:21:26 2008 +0930
4294 Print a warning if a keycode exceeds the range accepted by the server.
4296 Keycodes over 255 are silently ignored in the server. The least we can do is
4297 put a warning in the logs.
4299 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
4301 commit 40e1474d84c09d93197ac5db34a88e654386e68f
4302 Author: Chris Salch <emeraldd.chris@gmail.com>
4303 Date: Mon Aug 4 20:19:47 2008 -0500
4305 Adding a function to map button events to button numbers.
4307 Remove code duplication, let the mapping function hand us the actual button
4308 event to be passed up to the server.
4310 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
4312 commit d9097df01b01afaf946fa04fca8ae8ab7108ff21
4313 Author: Julien Cristau <jcristau@debian.org>
4314 Date: Mon Aug 4 09:16:53 2008 +0930
4316 Actually close the fd on DEVICE_CLOSE (bug#16948)
4318 Fixes file descriptor leak.
4320 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
4322 commit 5c074af5a9abba138023e3bc6954d1062f7c36dd
4323 Author: Julien Cristau <jcristau@debian.org>
4324 Date: Wed Jul 30 10:40:47 2008 +0200
4326 Print the device name when we get a read error
4328 commit 72551662a09eedf696508aaacf6aa02c0254e4de
4329 Author: Michel Dänzer <michel@tungstengraphics.com>
4330 Date: Tue Jul 29 10:06:07 2008 +0200
4332 xf86-input-evdev: Fix EVIOCGBIT ioctl usage on big endian platforms.
4334 With this fix, on my PowerBook HAL hotplugging correctly detects my USB mouse,
4335 and no longer thinks keyboards have random numbers of mouse buttons. :)
4337 The LONG_BITS and NBITS macro definitions are stolen from xf86-input-synaptics.
4339 Signed-off-by: Michel Dänzer <michel@tungstengraphics.com>
4340 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
4342 commit 53e7525744cd7c47707c7339f0b771f59f99b97c
4343 Author: Peter Hutterer <peter.hutterer@who-t.net>
4344 Date: Mon Jul 21 18:15:35 2008 +0930
4346 Add support for ButtonMapping option.
4348 commit 5d13259a5ddab31dbb2158975c8ccbb1f3c99046
4349 Author: Peter Hutterer <peter.hutterer@who-t.net>
4350 Date: Mon Jul 21 13:10:06 2008 +0930
4352 Guard property changes against ABI_XINPUT < 3.
4354 commit 2b7edaa4ab88e192d7285d39b4834d1e535b94d0
4355 Author: Julien Cristau <jcristau@debian.org>
4356 Date: Sun Jul 20 11:33:37 2008 +0200
4358 Fill up the version info
4360 Report correct versions instead of
4361 "compiled for 0.0.0, module version = 1.0.0"
4363 commit bf0d81011e19a8bb5bbd80c6b496c8ae257b4f2c
4364 Author: Peter Hutterer <whot@possum.(none)>
4365 Date: Mon Jul 14 13:06:32 2008 +0930
4367 Don't enable the device if the grab failed with ENODEV.
4369 After suspend/resume, sometimes the device doesn't come back up on the same
4370 node. Since we do not call PreInit for the device (which would detect this
4371 situation), we continue to try to read a nonexisting file, spamming the log
4372 file with "Read Error".
4374 commit ef4bb69c1a64e784fef1c758ee439372ba329b0a
4375 Author: Peter Hutterer <peter.hutterer@who-t.net>
4376 Date: Thu Jul 10 19:32:22 2008 +0930
4378 Add .gitignore file.
4380 commit d1818ef2066d7e526e0f64fffd41e06061ceb017
4381 Author: Peter Hutterer <peter.hutterer@who-t.net>
4382 Date: Tue Jul 8 16:37:42 2008 +0930
4384 Add support for device properties, currently MB emulation and timeout.
4386 commit a9223edcd869288cf6e90f2214e607db510c7027
4387 Author: Peter Hutterer <peter.hutterer@who-t.net>
4388 Date: Thu Jul 10 16:55:21 2008 +0930
4390 Clean out configure.ac
4392 We're not building with or without XInput. Same with xkb.
4394 commit ec23c6b2f550f2679226da907c1d022295d453f1
4395 Author: Peter Hutterer <peter.hutterer@who-t.net>
4396 Date: Thu Jul 3 15:01:32 2008 +0930
4398 Remove static ChangeLog, autogenerate as part of make dist.
4400 Hook taken from xserver's Makefile.am
4402 commit 18d70d796fe68116907d86fc27ed77528a51ff1d
4403 Author: Peter Hutterer <peter.hutterer@who-t.net>
4404 Date: Thu Jul 3 14:50:45 2008 +0930
4406 Update COPYING with the correct copyright info.
4408 Fix up licence of emuMB.c, was using Red Hat instead of "The authors", but
4409 this code wasn't contributed by RH anyway.
4411 commit 37b854cb643fa9c5087eccdd1b6ba940d5413bf9
4412 Author: Peter Hutterer <peter.hutterer@who-t.net>
4413 Date: Thu Jul 3 14:45:41 2008 +0930
4415 Remove stale comments.
4417 Ctrl+Alt+Backspace works, I'm using it daily.
4418 CapsLock doesn't repeat, otherwise we wouldn't have Bug 16318.
4420 commit 8c06093191761f9bd2f3c5eb0b57d7b9feca70bc
4421 Author: Peter Hutterer <peter.hutterer@who-t.net>
4422 Date: Thu Jul 3 14:44:52 2008 +0930
4424 Remove EvdevConvert, nobody calls it now anyway.
4426 Conversion is now done in the DIX.
4428 commit 0830676a0ce3618eae9cf4c072998c16e164c687
4429 Author: Ander Conselvan de Oliveira <ander@mandriva.com.br>
4430 Date: Thu Jun 26 14:36:58 2008 -0300
4432 Mice with a lot of buttons (e.g. Logitech MX1000) generate button events greater than BTN_TASK.
4434 Signed-off-by: Peter Hutterer <peter@cs.unisa.edu.au>
4436 commit 1cf7b8f7ee224d823d94ea65458f5269a1a77d2e
4437 Author: Peter Hutterer <peter@cs.unisa.edu.au>
4438 Date: Sat Jun 28 17:50:26 2008 +0930
4440 Count buttons at probe and print to log.
4442 We don't really do anything with the number other than print it since I'm sure
4443 that half the mice don't report the correct number anyway (especially with the
4444 wheel button mapping). But having a bit more debug info is good.
4446 commit 826e6e7dd408659af9a1751ed16e437db8c8dc34
4447 Author: Peter Hutterer <peter@cs.unisa.edu.au>
4448 Date: Sun Jun 22 17:52:40 2008 +0930
4452 commit 5a0ea39b79b27b7c3117661a21e7ab5eba3c9b24
4453 Author: Peter Hutterer <peter@cs.unisa.edu.au>
4454 Date: Sat Jun 21 16:42:12 2008 +0930
4456 No need to finalize MB emulation after EvdevProbe anymore.
4458 Follow-up to 76800bfa75807e49398380b902f6c0f547cd4c0e.
4460 commit 373e13ae353d1e0022f8821adc528ebc5411d47d
4461 Author: Simon Munton <simon@munton.demon.co.uk>
4462 Date: Sat Jun 21 10:19:07 2008 +0930
4464 Close file descriptor if EvdevProbe fails.
4466 Signed-off-by: Peter Hutterer <peter@cs.unisa.edu.au>
4468 commit 76800bfa75807e49398380b902f6c0f547cd4c0e
4469 Author: Keith Packard <keithp@keithp.com>
4470 Date: Fri Jun 20 18:20:55 2008 -0700
4472 Enable middle button emulation at DEVICE_ON instead of DEVICE_INIT.
4474 This ensures that the middle button emulation is re-enabled after VT switch,
4475 otherwise the block handler that deals with the timeouts would not get
4478 Signed-off-by: Keith Packard <keithp@keithp.com>
4480 commit 04003a98a9ca1b4b0c32d319fab07ee7afc83c75
4481 Author: Peter Hutterer <peter@cs.unisa.edu.au>
4482 Date: Tue Jun 17 14:01:49 2008 +0930
4486 commit 0443fb430f2481c1f0d0d83730a9145b5794f559
4487 Author: Peter Hutterer <peter@cs.unisa.edu.au>
4488 Date: Tue Jun 17 13:59:15 2008 +0930
4490 Shut up compiler warning "implicit declaration of function 'xf86Msg'"
4492 commit 998f52010f92dc79f2ace6048a2f3fd600a97582
4493 Author: Peter Hutterer <peter@cs.unisa.edu.au>
4494 Date: Thu Jun 12 11:23:10 2008 +0930
4496 Finalize MB emulation if EvdevProbe fails.
4498 This avoids segfaults when HAL is restarted behind our backs. Also, only init
4499 MB emulation when the device actually has a button.
4501 commit de07c04f5c2874b8e407913c3121e715e46653d2
4502 Author: Peter Hutterer <peter@cs.unisa.edu.au>
4503 Date: Wed Jun 11 11:24:07 2008 +0930
4507 1.99.3 had a nasty bug, so here's a quick update.
4509 commit 01355b9d4b3ed92da42f90fb69384eb22cdcb3d9
4510 Author: Peter Hutterer <peter@cs.unisa.edu.au>
4511 Date: Wed Jun 11 11:19:04 2008 +0930
4513 If Emulate3Buttons is specified in the config, don't auto-deactivate it.
4515 Default setting is still "on" until middle button is pressed. If the options
4516 is however explicitly stated in the config file, it takes the value from the
4517 config file, no matter if a middle button is present.
4519 commit 9591dc1f6cc89208805b120eabd055e8dabd3e40
4520 Author: Peter Hutterer <peter@cs.unisa.edu.au>
4521 Date: Wed Jun 11 10:36:00 2008 +0930
4523 Remove wakeup handlers when device is closed.
4525 Less SIGABRTs are less exciting, but sometimes boredom is what we want.
4527 commit 08ba40b2532bd61b60c9cf994b21300f596f7ebd
4528 Author: Adam Jackson <ajax@redhat.com>
4529 Date: Tue Jun 10 17:35:33 2008 -0400
4533 commit 39dc453691804648f34dbd856bd7e66cfdc59d66
4534 Author: Peter Hutterer <peter@cs.unisa.edu.au>
4535 Date: Tue Jun 10 22:48:01 2008 +0930
4537 Disable middle mouse button emulation when a real middle MB event is detected.
4539 Devices may report middle mouse buttons even if they don't have one (PS/2
4540 devices just don't know any better), so we can't be sure until we see the
4543 commit e8887435ac065ec3071b2d8bf0895e8cb196ec3d
4544 Author: Peter Hutterer <peter@cs.unisa.edu.au>
4545 Date: Tue Jun 10 15:55:40 2008 +0930
4547 Enable middle-mouse button emulation.
4549 Ported from xf86-input-mouse, with a few cleanups.
4551 commit b0f6987ee6b133e28f3af18da62cfb5ca79fbe07
4552 Author: Peter Hutterer <peter@cs.unisa.edu.au>
4553 Date: Tue Jun 10 22:41:43 2008 +0930
4555 Plug a memory leak, we allocated pEvdev twice, dropping the first memory area.
4557 commit fec73e1418a4da1b64496faca27b06fef0aa5206
4558 Author: Sven Wegener <swegener@gentoo.org>
4559 Date: Sat Jun 7 13:01:22 2008 +0200
4561 evdev: Port b4a5a204 "Fix pointer crossing screen bug." to current master branch
4563 The commit b4a5a204 fixed an issue, where we can't move the pointer to
4564 other screens and this happens in current master branch again. This commit
4565 ports the old commit to the current master branch.
4567 Signed-off-by: Sven Wegener <swegener@gentoo.org>
4568 Signed-off-by: Peter Hutterer <peter@cs.unisa.edu.au>
4570 commit da112737eb109dc263169e820b7ef903b7f8624f
4571 Author: Peter Hutterer <peter@cs.unisa.edu.au>
4572 Date: Sun Jun 8 00:12:03 2008 +0930
4574 Check for XINPUT ABI < 3 (corrected version)
4576 Thanks to Sven Wegener for pointing out the incorrect previous version.
4578 commit d40125ea8c2ce6ec0f98bdc0655f79aa7274152e
4579 Author: Peter Hutterer <peter@cs.unisa.edu.au>
4580 Date: Sun Jun 8 00:09:40 2008 +0930
4582 Revert "Check for XINPUT ABI, parameters of InitValuatorClassRec have changed."
4584 GetMotionEvents() doesn't exist, led to compile errors with servers pre-MPX
4585 merge. Thanks to Sven Wegener for pointing this out.
4587 This reverts commit 42422d8f69e6806e1adfd93017cac064a75041c7.
4589 commit 42422d8f69e6806e1adfd93017cac064a75041c7
4590 Author: Peter Hutterer <peter@cs.unisa.edu.au>
4591 Date: Mon May 26 19:17:19 2008 +0930
4593 Check for XINPUT ABI, parameters of InitValuatorClassRec have changed.
4595 commit 15e0091f0b4b0d7dff29da143d405255a1c3bc12
4596 Author: Peter Hutterer <peter@cs.unisa.edu.au>
4597 Date: Wed May 21 16:48:32 2008 +0930
4599 Fail if the device cannot be grabbed during the probe.
4601 If the grab fails, this is most likely a sign that the device has been grabbed
4602 already (probably by a device specified in xorg.conf). So let's not add the
4603 device to the server's input device list, since it won't generate events
4606 Exception: keyboards and kernel 2.4 are not affected.
4608 commit d45f315845e19a720af25dc5f6c8a4c654c6e225
4609 Author: Adam Jackson <ajax@redhat.com>
4610 Date: Wed May 21 15:05:10 2008 -0400
4614 commit a4a7003f7c82ddf05d3aa88fa40698058648dbf6
4615 Author: Dan A. Dickey <dan.dickey@savvis.net>
4616 Date: Tue May 20 10:57:06 2008 +0930
4618 Fix a trivial bug in testing for absolute axes.
4620 Signed-off-by: Peter Hutterer <peter@cs.unisa.edu.au>
4622 commit 3e0dc9945d795cfd51ffe176100fa9416b6d3c4d
4623 Author: Peter Hutterer <peter@cs.unisa.edu.au>
4624 Date: Mon May 19 08:36:20 2008 +0930
4626 Shut up two compiler warnings.
4628 commit ff6251a2bd347eef7b3cd80825e84d983eeecfd3
4629 Author: Peter Hutterer <peter@cs.unisa.edu.au>
4630 Date: Mon May 19 08:24:55 2008 +0930
4632 Remove unused EvdevOpts and EvdevOptions.
4634 In the mouse driver, these options are only used if XFree86LOADER is
4635 undefined. configure.ac in the xserver forces said define to 1 if we're
4636 building the xfree86 DDX, so I don't see the point of having them around.
4637 Especially since they weren't used in evdev anyway.
4639 commit e9222a828582e560f9c3a29f0d3d9e1e46d973bd
4640 Author: Peter Hutterer <peter@cs.unisa.edu.au>
4641 Date: Sun May 18 11:04:43 2008 +0930
4643 man: Option "Path" is supported in the code, add it to man page.
4645 commit 8b7738457feef13e1fab88bb30c94093dd8bfcc5
4646 Author: Peter Hutterer <peter@cs.unisa.edu.au>
4647 Date: Wed Apr 30 18:10:08 2008 +0930
4649 Don't allow relative and absolute axes on the same device.
4651 This is a bit of a mess. The MS Optical Desktop 2000 registers both relative
4652 and absolute axes on the same device (the mouse). The absolute axes have a
4653 valid min/max range for x/y and thus overwrite the x/y relative axes in the
4654 server (no, this is not a server bug). And I wouldn't be surprised if other
4655 devices have similar issues.
4657 Since the device only sends relative events after that, the mouse is
4658 essentially restricted to the min..max range of 0..255. The server simply
4659 doesn't do unrestricted relative axis and restricted absolute axis on the same
4660 device (not for the same axis numbers anyway).
4662 commit 1b9deb8e7e50a905f94a371ab0aa39e09a703052
4663 Author: Sascha Hlusiak <saschahlusiak@arcor.de>
4664 Date: Tue Apr 1 17:24:13 2008 +0200
4666 Add XK_Meta_L and XK_Meta_R to list of modifiers
4668 Stopps meta/super key from autorepeating
4670 commit 0ec391f51cef4550daef041110ed93699089bea3
4671 Author: Daniel Stone <daniel@fooishbar.org>
4672 Date: Fri Mar 28 17:45:05 2008 +0200
4674 Keyboard: Don't allow arbitrary keymap settings
4676 Pretty much dead code anyway.
4678 commit f77410e1f97d394e98c854fd174f712666b0544c
4679 Author: Adam Jackson <ajax@redhat.com>
4680 Date: Fri Mar 14 11:15:01 2008 -0400
4682 Map REL_DIAL to REL_HWHEEL.
4684 Some Microsoft mice have this wrong. And it seems like a sensible thing
4687 commit d28c2e1efba9fd3e79d9dfecf23cdbded30b93f5
4688 Author: Adam Jackson <ajax@redhat.com>
4689 Date: Wed Mar 12 13:54:10 2008 -0400
4691 Filter out repeat events for mouse buttons.
4693 Not many mice do this, but some do, Apple Mighty Mouse in particular, and
4694 it makes click-and-drag pretty much impossible to use.
4696 Arguably we should filter _all_ repeat events from the kernel and handle
4697 synthesizing them in the server.
4699 commit 697e850a6387cf1e0a0a35ca8c694804a6c2427f
4700 Author: Adam Jackson <ajax@redhat.com>
4701 Date: Tue Mar 11 19:07:58 2008 -0400
4703 Fix middle/right button munging.
4705 Don't do this in the button map. That's writeable by clients, which means
4706 they have the chance to get it wrong. Just swap right and middle around
4707 in event dispatch before you get to the user's map.
4709 commit 87037b9953ebd47e9dbd99b3653050517aa490ff
4710 Author: Adam Jackson <ajax@redhat.com>
4711 Date: Mon Mar 10 17:16:38 2008 -0400
4713 Force xkb_model to be "evdev".
4715 Or at least, refuse to recognise the config option. It's nonsensical to
4716 use a model of something other than evdev, and it'll just break if you try.
4718 commit 71f4eaec7713643a7e2d07e27b9afeabd6f1ce02
4719 Author: Dan Nicholson <dbn.lists@gmail.com>
4720 Date: Sun Mar 9 14:46:56 2008 -0700
4722 Fix cut-and-paste errors in xkb alternate spellings code
4724 Fixes 2b334d6b69d7dde5d553c638e134ebdf974749f3.
4726 commit 72083976127a1ff15f79b0316570a947e6dd2b42
4727 Author: Adam Jackson <ajax@redhat.com>
4728 Date: Sun Mar 9 16:15:14 2008 -0400
4730 Fix cut-and-paste error in abs-to-rel translation.
4732 commit c250f843833b1aac3732ca97af5b1c0076996598
4733 Author: Adam Jackson <ajax@redhat.com>
4734 Date: Sun Mar 9 15:54:27 2008 -0400
4736 Fix the default XKB rules to be "base" instead of "xfree86".
4738 commit 2b334d6b69d7dde5d553c638e134ebdf974749f3
4739 Author: Adam Jackson <ajax@redhat.com>
4740 Date: Sun Mar 9 15:53:40 2008 -0400
4742 Handle the alternate spellings of the xkb options.
4744 commit 9773dac6238b64cab1d42b2231097b23058c44ee
4745 Merge: 11cf9c9 1a0bc8e
4746 Author: Adam Jackson <ajax@redhat.com>
4747 Date: Sat Mar 8 20:18:02 2008 -0500
4749 Merge branch 'evdev-2.0-branch'
4751 This resets to before the ad-hoc input hotplug state, ports that to
4752 current server ABI, adds input hotplug integration, and re-adds support
4753 for absolute coordinate events and XKB. Several other small fixes were
4754 cherry-picked from the new 1.2 branch.
4756 commit 1a0bc8e64a9ba6e8647b5908673b57710518f6c2
4757 Author: Adam Jackson <ajax@redhat.com>
4758 Date: Sat Mar 8 20:01:15 2008 -0500
4760 Force maximum keycode to be 255
4762 Even though we don't have keycodes for anything above 127, make sure our
4763 map always covers up to 255. This ensures that the keycode range never
4766 Spiritually cherry-picked from a9e87f29ccdadebb0742317bb57d66eaaca4b593
4767 and 6db4a9fb84f828f745202c3fddc58d389fca220b.
4769 commit 6271494faa4c45f4fa10509f72e0515f2cef36c6
4770 Author: Adam Jackson <ajax@redhat.com>
4771 Date: Sat Mar 8 19:54:44 2008 -0500
4773 Add absolute coordinate event support.
4775 There are two major classes here, touchscreens and touchpads. Touchpads
4776 are logically more like relative devices, in that your initial touch
4777 should not warp the cursor. So attempt to detect touchpads (via the
4778 existence of BTN_TOUCH) and translate absolute events from those devices
4781 commit f5bfc7ec3c132276ab7152b283f75387ee656ec2
4782 Author: Adam Jackson <ajax@redhat.com>
4783 Date: Sat Mar 8 16:52:17 2008 -0500
4785 Nuke the keyboard bell code.
4787 It did nothing, and the core won't invoke it anymore anyway.
4789 commit bf0848ec8e1ab45cb72fc8da0cc5dc47eefd0760
4790 Author: Adam Jackson <ajax@redhat.com>
4791 Date: Sat Mar 8 16:37:42 2008 -0500
4795 Almost entirely taken from a patch I did ages ago in bug #3912, with
4796 slight cleanups, and with the KcCGST options removed as per evdev 1.x.
4798 commit f1445feac77af65098eef1c2d86ae067d81fc6cb
4799 Author: Adam Jackson <ajax@redhat.com>
4800 Date: Sat Mar 8 16:09:47 2008 -0500
4802 Parse Option "Path" as well as Option "Device".
4804 The hotplug core passes Path not Device. With this change, hotplugging
4807 commit ad5bdcb50f511b1cd3bd0118d2b1f4fe58c4ab72
4808 Author: Adam Jackson <ajax@redhat.com>
4809 Date: Fri Mar 7 20:29:58 2008 -0500
4811 Ignore button events above BTN_TASK for now.
4813 commit bb36ca65c64d1d863f8fa4e6f058a384fbc80eb0
4814 Author: Adam Jackson <ajax@redhat.com>
4815 Date: Fri Mar 7 19:43:07 2008 -0500
4817 Support the new DIX motion history API
4819 Spiritually cherry-picked from 036b457c1b3f7d2d174da890cb8598d907181f8e
4821 commit 40a1e1439c120d791a2f106293f4a712c452fcc5
4822 Author: Daniel Stone <daniel@fooishbar.org>
4823 Date: Sun Jul 9 18:08:50 2006 +0100
4825 remove XFree86LOADER usage
4826 Build evdevModuleData, et al, unconditionally.
4828 commit 946beb16f8002e8f52af082d424aac74e6fd34a9
4829 Author: Adam Jackson <ajax@redhat.com>
4830 Date: Fri Mar 7 19:09:35 2008 -0500
4834 commit 305f90d37ad200063589c5ecf946474a09f0349b
4835 Author: Adam Jackson <ajax@redhat.com>
4836 Date: Fri Mar 7 19:06:14 2008 -0500
4838 Branch for evdev 2.0
4840 commit 11cf9c92c0d31d1058ec6c013b7126bd8909beba
4841 Author: Sascha Hlusiak <saschahlusiak@arcor.de>
4842 Date: Mon Mar 3 13:40:52 2008 +0200
4844 Updated manpage to reflect current state
4846 Large parts of the manpage were obsolete and confused users. Current state should reflect all available driver options. Some details are still missing.
4848 commit 7f1e8146d4b13929a86a4b80f783a720c1b5573a
4849 Author: Sascha Hlusiak <saschahlusiak@arcor.de>
4850 Date: Wed Feb 20 20:41:08 2008 +0100
4852 More accurate error messages on device open fail.
4854 The message "cannot open input pEvdev" resulted in a lot of bug reports of confused users that did not
4855 supply a device path. Now we tell them when it is missing or print out a reason when device open fails.
4857 commit 8ae4d17ca3fb9ec06b16df5c737cd9021453a020
4858 Author: Sascha Hlusiak <saschahlusiak@arcor.de>
4859 Date: Tue Feb 19 22:49:51 2008 +0100
4861 Let kernel autorepeat pass when set on default values
4863 xorg-server won't generate soft autorepeat, when interval/delay are at default of 40/660 (see xkb/ddxCtrls.c:
4864 XkbDDXUsesSoftRepeat). When we hit the defaults, we let the kernel autorepeat pass, if we differ, we swallow them all
4865 and let the server figure out autorepeat in software.
4867 commit 134ce2e493882ce411d17ea97ebb243a7d574144
4868 Author: Sascha Hlusiak <saschahlusiak@arcor.de>
4869 Date: Tue Feb 19 21:12:36 2008 +0100
4871 Set repeat_delay and repeat_interval to default values
4873 Set ctrls->repeat_delay and ctrls->repeat_interval so that keys will be automatically repeated in software.
4875 commit 10e7c3fbdf4e94c212c0807844721064e7490729
4876 Author: Sascha Hlusiak <saschahlusiak@arcor.de>
4877 Date: Tue Feb 19 21:09:13 2008 +0100
4879 Filter all incoming repeated key events
4881 Not just filter modifiers but every repeated key, because the software implementation will take care of what key to
4882 repeat and what not. Otherwise the kernel's autorepeated keys interfere with the software generated ones.
4884 commit f766404fd94851ea8b3cedc5c7336a5524b7a7ae
4885 Author: Sascha Hlusiak <saschahlusiak@arcor.de>
4886 Date: Tue Feb 19 21:05:49 2008 +0100
4888 Don't inform kernel evdev driver about autorepeat change
4890 We do autorepeat in software now. Informing the kernel would change the autorepeat speed on virtual terminals, which is
4891 probably not wanted so we leave the settings untouched.
4893 commit d032d3c8b40e152cc0fd8409f910f23559873aaf
4894 Author: Vinay Bondhugula <vinayb@vmware.com>
4895 Date: Tue Jan 29 22:15:22 2008 -0800
4897 Clear EV_ABS_V_USE_TOUCH for devices without a touch button
4899 VMware's absolute pointing device does not have a pressure/touch button.
4900 Although evdev correctly recognizes this, it sets "use_touch" for X and Y axes
4901 regardless of the touch button. This patch clears the USE_TOUCH flag for the X
4902 and Y axes if the device does not have a touch button.
4904 commit 5adbc6b98ca1da9a426528ce0df64a992feff3bd
4905 Author: Peter Hutterer <peter@cs.unisa.edu.au>
4906 Date: Tue Jan 29 14:07:49 2008 +1030
4908 Initialise b_map_data to correct size. Bug #13991
4910 X.Org Bug 13991 <http://bugs.freedesktop.org/show_bug.cgi?id=13991>
4912 commit eeb3727004327bc4d83192a7956c1835b3bd6161
4913 Author: Julien Cristau <jcristau@debian.org>
4914 Date: Fri Nov 9 00:38:54 2007 +0100
4916 Don't flush buttons on init (bug#12630)
4918 commit fa15e909933252d5cc0a2a272506effbcf21d6f9
4919 Author: Peter Samuelson <peter@p12n.org>
4920 Date: Thu Oct 11 07:27:30 2007 +0200
4922 Fix one additional typo in evdev.man (axis named BRAKE, not BREAK).
4924 commit 12a27693b9bb41b9222c5c2256815d225ee75929
4925 Author: Peter Samuelson <peter@p12n.org>
4926 Date: Thu Oct 11 00:09:40 2007 +0200
4928 evdev.man minor fixes
4930 * Use \- (ASCII dash) instead of - (hyphen), where appropriate
4931 * Use a roff escape instead of a UTF-8 character.
4932 * Consistent use of quote characters.
4933 * Consistent use of typographic conventions:
4934 italic "n" in place of "<N>" or "integer" or "number",
4935 bold for option names, bit maps, etc.
4939 commit 1c40c7db188bc9030aaf256004b914815e821940
4940 Author: James Cloos <cloos@jhcloos.com>
4941 Date: Mon Sep 3 05:52:08 2007 -0400
4943 Add *~ to .gitignore to skip patch/emacs droppings
4945 commit e2be2ffa473583b98b93a319163bb54eb5d83ed6
4946 Author: Daniel Stone <daniel@fooishbar.org>
4947 Date: Wed Aug 1 00:02:33 2007 +0300
4949 Options: Accept differently-named options
4951 Take some differently-named options for device and the XKB options. These
4952 should really be better-handled, but eh.
4954 commit e86aab93c56ad72f3798169ea94dc6b91dab6ab6
4955 Author: Brice Goglin <Brice.Goglin@ens-lyon.org>
4956 Date: Thu Jul 26 18:31:58 2007 +0200
4958 Multiple typos in evdev.man
4960 Reported by "A. Costa" <agcosta@gis.net> in
4961 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=432063
4963 commit c69f4bd5707093a4f998c3fad508f466edbe8334
4964 Author: Tiago Vignatti <vignatti@c3sl.ufpr.br>
4965 Date: Fri Jun 15 01:35:29 2007 -0300
4967 Clean up a little bit the code.
4969 commit 64677ecc76d6eae530960b714712921e1bb9d4a7
4970 Author: Tiago Vignatti <vignatti@c3sl.ufpr.br>
4971 Date: Fri Jun 15 01:33:49 2007 -0300
4973 Remove inotify things.
4975 commit 08a09682f5b6d43181e98bc72782e2b2eec180e5
4976 Author: Zephaniah E. Hull <warp@agamemnon.b5>
4977 Date: Wed Jun 13 11:05:07 2007 -0400
4979 Update version using PACKAGE_VERSION_*.
4981 commit 9c9a47210a6c7146f29fd6d05b6f46955a3bee5a
4982 Author: Zephaniah E. Hull <warp@agamemnon.b5>
4983 Date: Tue Jun 12 11:59:16 2007 -0400
4985 Move the mode option handling to the Init stage.
4986 (Sorta ugly placement wise, but the other segfaults.)
4988 commit 2d2c4804f925505e737c2c812687f47840218c93
4989 Author: Zephaniah E. Hull <warp@agamemnon.b5>
4990 Date: Mon Jun 11 09:08:24 2007 -0400
4994 Set and use the X mode control, letting XInput see it properly.
5000 Set and use the X mode control, letting XInput see it properly.
5004 Set and use the X mode control, letting XInput see it properly.
5008 Remove some cruft, the bell func can be NULL now, so do so.
5010 Don't bother looking for keys above 0xF7 until we can actually do
5011 something with them.
5013 commit 6b97bf7a4eaa34ebde4ac7250f660da5bab8164d
5014 Author: Zephaniah E. Hull <warp@agamemnon.b5>
5015 Date: Wed Jun 6 05:00:29 2007 -0400
5017 Handle default remapping around existing button targets better.
5019 commit 5c6b3dd86feef58ccf43a710624404031df72f2c
5020 Author: Zephaniah E. Hull <warp@agamemnon.b5>
5021 Date: Wed Jun 6 04:42:51 2007 -0400
5023 Move MapButtons_t closer to where it's used.
5025 commit f15636ac529481a9d83e0250ff89690296f96a3d
5026 Author: Zephaniah E. Hull <warp@agamemnon.b5>
5027 Date: Wed Jun 6 04:41:54 2007 -0400
5029 Wheel mice work again!
5030 (Old configs don't.)
5034 Add EvdevParseMapToButton and EvdevParseMapToButtons to evdev_map_parsers.
5036 Add EvdevParseMapOption to search through evdev_map_parsers.
5038 Fix up EvdevTokenize to handle the evdev_option_token_t changes.
5040 EvdevAxesNew0 after BtnNew0 instead of before now.
5041 (This isn't the right fix.)
5045 EVDEV_MAXBUTTONS -> BTN_MAX.
5047 Redid evdevBtnRec with the new mapping goodness.
5049 Removed v_min and v_max from evdevAbsRec.
5051 Reworked evdev_option_token_t, no union, no is_chain.
5052 If it's a chain, it still has a string, but the chain pointer is set.
5054 EvdevParseMapToButton, EvdevParseMapToButtons, and EvdevParseMapOption.
5058 Kill off EvdevAxesMapButton, a variant lives in evdev_btn.c now.
5060 Changes for the evdev_option_token_t changes.
5062 Use EvdevParseMapOption instead of repeating the contents twice.
5064 Disable EV_ABS_V_INVERT for the moment. (Better fix maybe needed.)
5070 EvdevMapButton and parser.
5072 EvdevMapButtons and parser.
5074 Nuke EvdevBtnCalcRemap as a whole.
5076 Move everything but the alloc to New1 from New0.
5078 New mapping code, same guts os the axes mapping code even.
5080 commit 276685fa1dfc7c2d78178173545df3e28bc82544
5081 Author: Zephaniah E. Hull <warp@agamemnon.b5>
5082 Date: Tue Jun 5 23:55:50 2007 -0400
5086 Make buttons mostly work again. (Short term fix.)
5088 NOTE: Wheel to button remapping is still missing!
5090 commit 27a86f81683794c1f7cd3bc6d474898ff69a7b6e
5091 Author: Zephaniah E. Hull <warp@agamemnon.b5>
5092 Date: Tue Jun 5 23:19:59 2007 -0400
5094 Update the copyright notices for me to include 2007.
5096 Finish merging copyright notices. (evdev_key.c was missed.)
5098 commit 26dbf38041ebe67e7ab399a6746684a404ea2121
5099 Merge: 2943558 9eb546e
5100 Author: Zephaniah E. Hull <warp@agamemnon.b5>
5101 Date: Tue Jun 5 23:14:46 2007 -0400
5103 Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/driver/xf86-input-evdev
5109 commit 294355842ba9fb3cb3bbd7bfd60c9ca3ce704475
5110 Author: Zephaniah E. Hull <warp@agamemnon.b5>
5111 Date: Tue Jun 5 23:12:58 2007 -0400
5113 Alright, this is a really big commit that breaks stuff.
5117 Switch to flags in the abs and rel structs.
5119 Add the axes struct, and defines.
5121 Rework the abs and rel structs, moving stuff to the axes struct and moving
5122 everything to the new mapping handling.
5124 Add the structs and function declarations for the new tokenization stuff,
5125 parsing stuff, and mapping stuff.
5127 evdev.c: Add EvdevTokenize, and the evdev_map_parsers list.
5131 Basicly a full rewrite, big, messy.
5133 We now use a completely different mapping setup for axes, and mapping to
5134 buttons is currently missing.
5136 However we now handle ABS_CALIB and ABS_AREA, including rotation in both
5141 Disable lots of code and break things horribly, we compile but we don't
5144 Fixing this is next on my todo list.
5146 commit 9eb546e0e00be30ac6e767b196b17651df2e3d96
5147 Author: Kristian Høgsberg <krh@redhat.com>
5148 Date: Tue Jun 5 18:26:07 2007 -0400
5150 Fix header file #ifdef guard.
5152 commit daf926081d1524a8d4980578d5254c42c2791462
5153 Author: Kristian Høgsberg <krh@redhat.com>
5154 Date: Tue Jun 5 18:24:33 2007 -0400
5156 Merge copyright notices.
5158 commit c22c955c482df9a7645662023b6d1cf0f33aff15
5159 Author: Peter Hutterer <peter@cs.unisa.edu.au>
5160 Date: Tue Apr 24 23:20:43 2007 +0930
5162 Disable and remove the device when a read error occurs.
5164 commit f87c44b90cb48a846160b16ff910545f5a659d15
5165 Author: Zephaniah E. Hull <warp@agamemnon.b5>
5166 Date: Tue Apr 24 07:44:26 2007 -0400
5168 Try harder to make unplugging work.
5170 commit 23309b334c1fe892f7afa735d04569e210497dc3
5171 Author: Zephaniah E. Hull <warp@agamemnon.b5>
5172 Date: Tue Apr 24 07:34:53 2007 -0400
5174 Kill some more unused bits.
5176 commit 1716ec88bbc980507aa7afeb133b552f77a91a01
5177 Author: Zephaniah E. Hull <warp@agamemnon.b5>
5178 Date: Tue Apr 24 07:34:25 2007 -0400
5180 Handle driver removal cleanly, we now xfree everything we Xcalloc.
5182 NOTE: Someone needs to check for memory leaks, I'd be willing to bet
5183 a fair bit that we've got tons in the mouse and xkb code, but.
5185 commit 246812bfbcd856ac0dea237cdbe252706fe17688
5186 Author: Zephaniah E. Hull <warp@agamemnon.b5>
5187 Date: Tue Apr 24 07:01:54 2007 -0400
5189 Remove the evil xf86ActivateDevice declaration, don't need it anymore.
5191 Fix the crash on device unplug.
5193 NOTE: We still don't properly get rid of ourselves.
5195 commit a0ea7363f51ff6c2bb81006b7220b7daa9ee9221
5196 Author: Zephaniah E. Hull <warp@agamemnon.b5>
5197 Date: Tue Apr 24 06:49:11 2007 -0400
5199 Remove all of evdev_brain.c and all callers.
5201 Remove the non-functional 2.4 kernel compiling compatibility.
5203 Remove the XInput 1.4+ SendCoreEvents/DontSendCoreEvents define replacements.
5205 Remove evdevDriver, some stuff from evdevDevice, all users.
5207 NOTE: This WILL BREAK all existing configurations.
5209 NOTE: Device read failure segfaults, don't unplug stuff.
5211 commit 3c4a96fbd851e46830fe82570d04e191bae5e8e3
5212 Author: Zephaniah E. Hull <warp@agamemnon.b5>
5213 Date: Tue Apr 24 06:12:14 2007 -0400
5215 Updated configure to 1.2.0, no changes yet.
5217 This branch is the great xserver input-hotplug rewrite, consider it unstable
5218 but usable with the 'current' (as of this commit) git xserver.
5220 (Once it's more done that is.)
5222 NOTE: This branch will _not_ remain source or binary compatable with
5223 pre-input-hotplug xservers, you have been warned.
5225 commit ba65c34068a836ae393565a6a8260a4e96709816
5226 Author: Peter Hutterer <peter@cs.unisa.edu.au>
5227 Date: Mon Apr 23 10:08:48 2007 +0930
5229 Remove driver from list if no device is associated any more.
5231 This effectively stops the driver from hotplugging new devices. Devices have
5232 to be added with the dbus hotplugging events.
5234 commit 9644a4afbfd8ac4cb51facf0409f73f55743d8a3
5235 Author: Peter Hutterer <peter@cs.unisa.edu.au>
5236 Date: Thu Apr 19 15:40:25 2007 +0930
5238 Remove direct call to DEVICE_INIT, ActivateDevice() takes care of that.
5240 commit d37ba205bba0be782e3cd02ca7cedb98a304482d
5241 Author: Peter Hutterer <peter@cs.unisa.edu.au>
5242 Date: Thu Apr 19 15:38:26 2007 +0930
5244 Add some documentation to evdev.c and evdev_brain.c.
5246 commit 9875e2f7f96c6bfc4f01fffc7e1127724bbd0b7d
5247 Author: Peter Hutterer <peter@cs.unisa.edu.au>
5248 Date: Thu Apr 19 11:28:13 2007 +0930
5250 ActivateDevice() before EnableDevice() in EvdevNew.
5252 commit 6db4a9fb84f828f745202c3fddc58d389fca220b
5253 Author: Peter Hutterer <peter@cs.unisa.edu.au>
5254 Date: Sun Mar 25 15:40:26 2007 +0930
5256 Key: Remove duplicate of keycode 0x6f, remove index 0xf8 to get a
5257 maxKeyCode of 255. This way keycode range is in sync with core keyboard range.
5259 commit a9e87f29ccdadebb0742317bb57d66eaaca4b593
5260 Author: Daniel Stone <daniel@fooishbar.org>
5261 Date: Wed Mar 21 12:19:48 2007 +0200
5263 Key: Force maximum keycode to be 255
5264 Even though we don't have keycodes for anything above 127, make sure our
5265 map always covers up to 255. This ensures that the keycode range never
5268 commit b4a5a20476f7bc77d54a860d7cdd81c223bdb81f
5269 Author: Tiago Vignatti <vignatti@c3sl.ufpr.br>
5270 Date: Wed Feb 14 19:23:21 2007 -0200
5272 Fix pointer crossing screen bug. Possibly the others input drivers must update
5273 this on the same manner.
5275 commit 24f9e67a8f9729fa7cb10f0479a3be9c16c5d13a
5276 Author: Philip Langdale <philipl@fido2.homeip.net>
5277 Date: Sat Feb 10 22:17:01 2007 -0800
5279 Stop caching the screen size for scaling.
5281 Do be able to correctly scale absolute inputs, the actual
5282 screen size must be used as this changes when the screen
5285 commit d8d8f114caece4c26c777ae6eee57e66b1f499e7
5286 Author: root <root@agamemnon.b5>
5287 Date: Wed Jan 17 19:27:40 2007 -0500
5289 For reasons related to handling pathological remapping cases, and
5290 differences between HID and X, pretend a middle button exists
5291 whenever a right button exists.
5293 commit ebb30a554fe084a50c7281defea80c38bc1b0ddd
5294 Author: root <root@agamemnon.b5>
5295 Date: Sat Jan 13 07:33:49 2007 -0500
5297 Fix a bug where we potentially wrote garbage events when LEDs change.
5299 Support setting keyboard repeat rate/period.
5301 commit 3d8bb262e42b1c5442aebb4048c71b4dc8ce24a0
5302 Author: root <root@agamemnon.b5>
5303 Date: Thu Jan 11 22:42:19 2007 -0500
5305 Handle swapping of right and middle buttons better in some odder cases.
5307 commit 987c6b1597f184e035c3ecef15a776f7c64cd4fe
5308 Author: root <root@agamemnon.b5>
5309 Date: Thu Jan 11 22:41:23 2007 -0500
5311 No more call to xf86OSRingBell in any cases,
5312 maybe do some conditional stuff later.
5314 commit 8155e49e76aa2d1d953fb71ead6a5c3110f3d80c
5315 Author: root <root@agamemnon.b5>
5316 Date: Mon Jan 8 08:59:44 2007 -0500
5318 Pad out button_names so we can loop over things more sanely.
5320 Support for ignoring the existance of buttons,
5321 and for not telling X about them.
5323 By default don't tell X about tools and touch as buttons.
5324 TODO: Revisit this choice later.
5326 commit e1fe72e7fe663a479a5be1b5e16ecbba52f511a8
5327 Author: Daniel Stone <daniel@fooishbar.org>
5328 Date: Sat Dec 16 01:42:18 2006 +0200
5332 commit 9f3be57929048950ad0e03cfef44b5336c38aab3
5333 Author: Daniel Stone <daniel@fooishbar.org>
5334 Date: Wed Dec 6 18:50:15 2006 +0200
5336 Makefile.am: make ChangeLog hook safer
5337 Make ChangeLog hook as safe as possible.
5339 commit 5a5457e69c719980334cb662e5abcb77cd09bc7a
5340 Author: Daniel Stone <daniel@fooishbar.org>
5341 Date: Thu Nov 2 03:42:57 2006 +0200
5345 commit 3fc70342aaba5f95d01b6e51164ae207532fa8f4
5346 Merge: 1a8cea3 ef01c2e
5347 Author: Daniel Stone <daniel@fooishbar.org>
5348 Date: Thu Nov 2 03:42:14 2006 +0200
5350 Merge branch 'input-hotplug'
5352 commit 1a8cea3dc4d8336b61a071a52479e71d7dd619d4
5353 Merge: 51d21a3 4c72fb7
5354 Author: Daniel Stone <daniel@fooishbar.org>
5355 Date: Thu Nov 2 03:42:13 2006 +0200
5357 Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/driver/xf86-input-evdev
5359 commit ef01c2ef65fa64cb213dc3adfa30c75635d1fe03
5360 Author: Daniel Stone <daniel@fooishbar.org>
5361 Date: Thu Nov 2 03:41:48 2006 +0200
5363 key: use os bell-ringing function
5364 Use the OS bell-ringing function to ding the bell.
5366 commit 036b457c1b3f7d2d174da890cb8598d907181f8e
5367 Author: Daniel Stone <daniel@fooishbar.org>
5368 Date: Wed Oct 25 02:22:46 2006 +0300
5370 support new DIX motion history API
5371 Use the DIX motion history if we have ABI version 1 or higher.
5373 commit 79eb7dcac8cdbecc07be08737388a8a6574e3d76
5374 Merge: d7f686b 63f7edf
5375 Author: Daniel Stone <daniel@fooishbar.org>
5376 Date: Tue Oct 17 11:32:39 2006 +0300
5378 Merge branch 'input-hotplug' of git+ssh://git.freedesktop.org/git/xorg/driver/xf86-input-evdev into input-hotplug
5380 commit d7f686bfa3e773cfc7740c707da9fc64196e143c
5381 Merge: ec09e0d 4c72fb7
5382 Author: Daniel Stone <daniel@fooishbar.org>
5383 Date: Tue Oct 17 11:31:58 2006 +0300
5385 Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/driver/xf86-input-evdev into input-hotplug
5387 commit ec09e0d55dd14164cc46a68a71d439cc550df063
5388 Author: Daniel Stone <daniel@fooishbar.org>
5389 Date: Sun Oct 15 19:37:46 2006 +0300
5391 brain: call xf86DeleteInput when removing device
5392 Call xf86DeleteInput from evdevRemoveDevice, so it also gets removed from
5393 xf86InputDevs in the DDX.
5395 commit 4c72fb7b769b78cfa2b4cc39eb03fdacd2b5039c
5396 Author: Adam Jackson <ajax@benzedrine.nwnk.net>
5397 Date: Fri Oct 13 18:25:10 2006 -0400
5401 commit 77cbbc20b60fd564f8add39bfb840c85d5cad51d
5402 Author: Daniel Stone <daniel@fooishbar.org>
5403 Date: Sun Oct 8 16:14:12 2006 +0300
5405 key: remove usage of OS keyboard layer for bell
5406 Right now, bell is a no-op.
5408 commit 5c5ef3fbd6eb0b668139df3ff5eda67766e86dcd
5409 Author: Drew Parsons <dparsons@debian.org>
5410 Date: Fri Oct 6 10:56:24 2006 +1000
5412 m68k support (thanks Geert Uytterhoeven for the inotify codes).
5414 commit a96b048e560782399a98c57cad255df778471ea1
5415 Author: Zephaniah E. Hull <warp@agamemnon.b5>
5416 Date: Mon Oct 2 17:50:55 2006 -0400
5418 Make some debugging messages optional.
5420 Correctly handle emulating relative mode from absolute data in the case where
5421 we do not get X and Y data at the same time on touching.
5423 commit d8ea40dc4a78a6197d474d806ac5367dae83655a
5424 Author: Zephaniah E. Hull <warp@agamemnon.b5>
5425 Date: Mon Oct 2 17:49:20 2006 -0400
5427 Use XORG_VERSION_CURRENT in the module version struct.
5429 commit ab65184d472614d2664e6cd7bca2d6dbc28fad07
5430 Author: Zephaniah E. Hull <warp@agamemnon.b5>
5431 Date: Sun Sep 10 06:47:15 2006 -0400
5435 commit 63f7edf7862032221e25de3c59fee1158d616597
5436 Merge: 7b91f92 771eee9
5437 Author: Zephaniah E. Hull <warp@agamemnon.b5>
5438 Date: Tue Jul 25 16:00:44 2006 -0400
5440 Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/driver/xf86-input-evdev into input-hotplug
5442 commit 771eee968282e308d997adfa78bd39e7429d2c1c
5443 Author: Zephaniah E. Hull <warp@agamemnon.b5>
5444 Date: Sun Jul 23 22:40:51 2006 -0400
5446 Replace the old two buffer approach to handling rel emulation of abs axes,
5447 should help with some of the reported jitter problems.
5449 commit e4681504487151553894ae0d513b9e833d2597d1
5450 Author: Daniel Stone <daniel@fooishbar.org>
5451 Date: Fri Jul 21 14:38:12 2006 -0400
5453 fix InitValuatorClassDeviceStruct call
5454 I don't know how the last parameter got there. Sorry.
5456 commit fa03de438ea0ae0f07424235f4972e73ff88ef17
5457 Author: Zephaniah E. Hull <warp@agamemnon.b5>
5458 Date: Wed Jul 19 23:06:23 2006 -0400
5460 Move the axis to button map code back into the rel code.
5462 This might solve some problems, but should at least prevent some odd behavior.
5464 commit 7b91f9277afb4bd9e557f9600bd92c68dd2435c9
5465 Author: Daniel Stone <daniel@fooishbar.org>
5466 Date: Wed Jul 19 19:45:27 2006 -0400
5468 pass maxval correctly to xf86InitValuatorAxisDeviceStruct
5469 Pass a maxval of -1 (i.e., fill this in appropriately), rather than 0 (0).
5471 commit 7defeb0aefb216d203b495a53a6d1d505f7dece4
5472 Author: Daniel Stone <daniel@fooishbar.org>
5473 Date: Wed Jul 19 19:43:08 2006 -0400
5475 pass number of axes to InitValuatorClassDeviceStruct
5476 This is now required with the input-hotplug server.
5478 commit 1cb568c0a6c18ec62ebb89ca21a22a77c78cad24
5479 Author: Daniel Stone <daniel.stone@nokia.com>
5480 Date: Wed Jul 19 19:41:54 2006 -0400
5482 prune device list on DEVICE_CLOSE
5483 Remove a device from the device list when we get DEVICE_CLOSE.
5485 commit dc88668839f4613d60526aa78aed3e74eebe64ad
5486 Author: Zephaniah E. Hull <warp@agamemnon.b5>
5487 Date: Thu Jul 13 11:59:25 2006 -0400
5489 Split the New functions so that structs can be allocated and buttons
5490 detected, and then stuff that depends on _other_ areas.
5491 (Specificly, axes and btn have a circular dependency on which one has to
5492 run first, this solves that.)
5494 Add button names, and a way to get a button number from a name.
5496 Add a function for checking to see if a button exists, takes the number from the previous function.
5498 Change the (unused) state array of pointers in the button struct to an array of pointers to functions for callback.
5500 Implemented the 'touch' feature, on by default if BTN_DIGI_TOUCH exists,
5501 won't, in rel mode, process x/y data unless it's down, and is used to
5502 try and make 'pick up stencil, move to other side of digitizer, set back
5503 down' not jump to the other side of the screen in rel mode.
5504 (This doesn't work as well as it could, but I'm fairly sure that it's
5505 due to the quality of the absolute input device I'm using, but feedback
5506 would be really nice.)
5508 FIXME: Update the manpage for this.
5510 commit 090d43acf315283effe8a1c858cac8167ebe4d08
5511 Author: Zephaniah E. Hull <warp@agamemnon.b5>
5512 Date: Tue Jul 11 16:47:15 2006 -0400
5514 Update the .gitignore files to remove some more noise.
5516 commit 1b9a9599a4df85b0e925086d12bd48626b09bb45
5517 Author: Zephaniah E. Hull <warp@agamemnon.b5>
5518 Date: Tue Jul 11 16:44:43 2006 -0400
5520 Rename .cvsignore to .gitignore.
5522 commit f7a9c74fbccd79bf406b0afc41237303642b75c2
5523 Author: Zephaniah E. Hull <warp@agamemnon.b5>
5524 Date: Tue Jul 11 16:42:41 2006 -0400
5526 Grab the ChangeLog generation rule from libX11.
5528 commit 9cb7c3dbad1a4afdb84c338e83f597455022dcdc
5529 Author: Zephaniah E. Hull <warp@agamemnon.b5>
5530 Date: Tue Jul 11 12:48:10 2006 -0400
5533 Remove the ChangeLog file, as the entire contents can be gotten via 'git log'.
5535 commit eba5ea8d5a19f2b1984cbf20c95d22e243f19567
5536 Author: Zephaniah E. Hull <warp@agamemnon.b5>
5537 Date: Tue Jul 11 03:08:30 2006 -0400
5539 Set pInfo->fd to -1 when we close it in EvdevProc.
5541 commit 51d21a369416bb0a45a2894e83a1cb092cc307d8
5542 Author: Daniel Stone <daniel@fooishbar.org>
5543 Date: Sun Jul 9 18:08:50 2006 +0100
5545 remove XFree86LOADER usage
5546 Build evdevModuleData, et al, unconditionally.
5548 commit 4645247d45b1653c56d8c99d5685960159e464be
5549 Author: Adam Jackson <ajax@nwnk.net>
5550 Date: Thu Jun 22 21:16:44 2006 +0000
5552 MIPS support. (Joshua Kinard)
5554 commit 57a7f2844108072bf03c9f82baf92e3447d18fbe
5555 Author: Adam Jackson <ajax@nwnk.net>
5556 Date: Fri Jun 2 19:39:52 2006 +0000
5558 Fix an obvious bogon to avoid crashing on absolute axis setup.
5560 commit 1b03250797daa0ac98323a9f43e895dd0b5c7761
5561 Author: Zephaniah E. Hull <warp@aehallh.com>
5562 Date: Mon May 15 22:47:23 2006 +0000
5564 Hopefully fix the bitops stuff to actually _work_.
5566 commit e9c60da89a9c55b81b2dedcf6ee3d1aefb4ff591
5567 Author: Zephaniah E. Hull <warp@aehallh.com>
5568 Date: Sun May 14 11:55:50 2006 +0000
5570 Tweak credits and references.
5571 Change the longs to unsigned longs in the bitfields.
5572 Cleanup our includes.
5573 Stop pulling in asm/types.h and asm/bitops.h.
5574 Conditionally define the stuff that used to come from the above, including
5575 our own test_bit, set_bit and clear_bit.
5576 Change the longs to unsigned longs in the bitfields.
5577 Change the longs to unsigned longs in the bitfields.
5578 Use the bitop defines in evdev.h properly.
5579 Change the longs to unsigned longs in the bitfields.
5580 Change the longs to unsigned longs in the bitfields.
5581 Use the bitop defines in evdev.h properly.
5582 Change the longs to unsigned longs in the bitfields.
5583 Use the bitop defines in evdev.h properly.
5584 Add HPPA/HPPA64 entries. (Thanks to Fabio M. Di Nitto
5585 <fabbione@ubuntu.com>)
5587 commit eca922bd95fbcf09dd0839e571dc30263c94172f
5588 Author: Zephaniah E. Hull <warp@aehallh.com>
5589 Date: Sun Apr 30 21:39:08 2006 +0000
5591 xf86-input-evdev v1.1.2
5592 Bugzilla #6734 <https://bugs.freedesktop.org/show_bug.cgi=6734> Apply patch
5593 from Philip Langdale which causes us to make sure that O_NONBLOCK is
5594 set on the inotify device.
5596 commit f75aadfd628db727e6732c2f0df0c17e75bdeda6
5597 Author: Zephaniah E. Hull <warp@aehallh.com>
5598 Date: Sat Apr 15 13:01:36 2006 +0000
5600 xf86-input-evdev v1.1.1
5602 commit cffc51e04aba0090dfb663d2927117318b5ea00c
5603 Author: Zephaniah E. Hull <warp@aehallh.com>
5604 Date: Fri Apr 14 07:01:37 2006 +0000
5606 evdevAbsRec: Remove the scale bool, rename scale_x and scale_y to scale[2].
5607 evdevAxesRec: Make btnMap an int array instead of a Card8 array.
5608 Make abs support and non-core stuff actually work.
5609 Relative emulation for abs mode is still a bit broken, but that's far less
5611 How many buttons we've registered is configuration information, not an
5614 commit c968040cde4e1a7c73332701008f6abfb1fa3ab3
5615 Author: Zephaniah E. Hull <warp@aehallh.com>
5616 Date: Sun Apr 9 00:41:42 2006 +0000
5618 Remove a debugging message.
5619 Actually, well, _work_. Note, abs support still segfaults, I'll debug it
5620 after I've slept. But I should get it tomorrow.
5622 commit 880879015bf1eec49d374274d644ba015a6a4610
5623 Author: Zephaniah E. Hull <warp@aehallh.com>
5624 Date: Sat Apr 8 21:55:17 2006 +0000
5626 Dropped the xorg-xserver 1.0.99.901 requirement. (Things were tweaked to
5627 mostly work for older servers again.)
5628 Close the device properly on read errer.
5629 Minimal inotify support, not ideal yet, but...
5630 Minimal inotify support, not ideal yet, but...
5631 Minimal inotify support, not ideal yet, but...
5633 commit c97fdb44493e55f3456222855293016a596ff56e
5634 Author: Zephaniah E. Hull <warp@aehallh.com>
5635 Date: Sat Apr 8 17:23:06 2006 +0000
5637 Remove evdev_abs.c and evdev_rel.c. Added evdev_axes.c.
5638 Change the calls to refer to EvdevAxes instead of Abs and Rel. Include
5639 mipointer.h. (Fixes a compile error.) Remove an unused variable from
5641 Removed evdev_abs.c and evdev_rel.c, added evdev_axes.c. Added count to rel
5642 and abs. Moved btnMap from rel to the new axes. Shuffle some includes,
5643 and include stdarg.h.
5645 New, a mix of rel and abs that should actually work in the rel case.
5646 Rearrange include order. btnMap was moved from being part of rel to being
5649 Rearrange include order.
5650 Rearrange include order.
5651 NOTE: This commit has been compile tested, not run tested.
5652 I have some other changes to make before I can do more heavy testing.
5654 commit ad4d62e1d318c629f994883e3b9926627bec16f0
5655 Author: Adam Jackson <ajax@nwnk.net>
5656 Date: Fri Apr 7 17:30:27 2006 +0000
5658 Unlibcwrap. Bump server version requirement. Bump to 1.1.0.
5660 commit e9a6f6d1a0b5cf6f7dc4fb122f6d28cbf3929960
5661 Author: Zephaniah E. Hull <warp@aehallh.com>
5662 Date: Fri Mar 31 18:11:52 2006 +0000
5664 Fix the fd pointer leak reported by primer. (Not the same patch.)
5665 Disable the undocumented xkb guts options in the key driver. (Requested by
5668 commit 05b56eeb5c74aebe81de7550c41546d7d6f3fb0c
5669 Author: Zephaniah E. Hull <warp@aehallh.com>
5670 Date: Thu Mar 16 13:09:19 2006 +0000
5672 Switch from my own globbing function to fnmatch.
5673 Detect keys numbered higher then buttons. Remove the (depreciated since
5674 long before xkb support was added to evdev) XkbKeymap option.
5676 commit a3149dc44a36a46cc117a2fde43ee348a2371304
5677 Author: Zephaniah E. Hull <warp@aehallh.com>
5678 Date: Thu Mar 16 13:05:04 2006 +0000
5680 Update to include all the new device matching options.
5682 commit 9972f2b1c77eefe5fb6a2ba7baacaf6b273228a8
5683 Author: Zephaniah E. Hull <warp@aehallh.com>
5684 Date: Mon Feb 27 13:22:35 2006 +0000
5686 Don't leave keys in the down state when we get turned off. (VT switching,
5687 getting unplugged, that sort of stuff.)
5689 commit 94cb4aa1f8caf1ba141ab0839c9eb0b2b5357470
5690 Author: Zephaniah E. Hull <warp@aehallh.com>
5691 Date: Mon Feb 27 10:48:40 2006 +0000
5693 Better error reporting if the read fails.
5694 Work properly if we're defining entirely by capability maps.
5696 commit 47482dad76ab74c0b5c9e8d455f04935651173ec
5697 Author: Zephaniah E. Hull <warp@aehallh.com>
5698 Date: Fri Feb 24 13:44:56 2006 +0000
5700 Compile with -Wall now. Add evdev.h to the sources so that make distcheck
5702 Bugzilla #5943 <https://bugs.freedesktop.org/show_bug.cgi=5943> Make sure
5704 Reduce EVDEV_MAXBUTTONS to 96.
5705 Split up evdevStateRec into a struct with pointers to new structs for btn,
5707 New structure type for handling the device capability bitmaps.
5708 Add device bits and struct input_id to evdevDeviceRec.
5709 Add matching device bits, struct input_id, and pass number to
5711 Prototype for evdevGetBits from evdev_brain.c.
5712 Conversion for the evdevStateRec split.
5713 Remove the errno.h include, it's in evdev.h for now.
5714 Move the bit getting from the drivers to here, into evdevDeviceRec.
5715 Fix a rare case of fd leakage.
5716 Add several new (and somewhat ugly) device matching options: <map>Bits:
5717 Where map is one of ev, key, rel, abs, msc, led, snd, or ff. In the
5718 format of '+0 +3 -1-2 ~5-10', requires bits 0 and 3 be set, bits 1 and
5719 2 to not be set, and at least one bit in the range of 5 to
5720 10 be set. bustype, vendor, product, and version: Simple integer options
5721 for matching the struct device_id fields, must be 0 (the default) or
5722 the exact value you wish to match against. pass: Bounded to 0-3,
5723 devices are matched to the first matching entry found, order for
5724 multiple matching entries in the same pass is undefined, but it starts
5725 with pass 0 and goes to pass 3.
5726 Adaptation for the evdevStateRec split and the change in capability bitmap
5728 Add evdevGetBits to fill the new evdevBitsRec struct type.
5729 Lots of somewhat ugly code for matching by capability bits.
5730 Split out of evdevRescanDevices to smaller handling functions. The new
5731 design should be better if I decide to handle arbitrary Device fields
5733 Adaptation for the evdevStateRec split and the change in capability bitmap
5735 Handle all buttons, no button compression at this time, however we reorder
5736 things so that BTN_MOUSE comes before BTN_MISC, somewhat evily.
5737 Support for the new btn->state[] array of int pointers.
5738 Adaptation for the evdevStateRec split and the change in capability bitmap
5740 Adaptation for the evdevStateRec split and the change in capability bitmap
5742 I really hope I didn't miss any changes.
5744 commit 739a0f51b07bd3fdccc156358bf9fca302477042
5745 Author: Lars Knoll <lars@trolltech.com>
5746 Date: Fri Feb 24 12:14:32 2006 +0000
5748 include errno.h to make it compile.
5750 commit 763edd37305e789bcc31746e5ea41f4df9d0b2a4
5751 Author: Zephaniah E. Hull <warp@aehallh.com>
5752 Date: Mon Feb 20 09:18:56 2006 +0000
5754 Bugzilla #5950 <https://bugs.freedesktop.org/show_bug.cgi=5950> Possible
5755 (maybe) fix for bug #5950. Though, I'm not convinced and still don't
5756 see how this bug could be happening, especially if this doesn't do it.
5758 commit c6dbf89d9d40fcbce72493404ea02b7e7957513f
5759 Author: Zephaniah E. Hull <warp@aehallh.com>
5760 Date: Sun Feb 19 19:11:04 2006 +0000
5764 commit 28ee08ef0810ad48c612280838be3e952c41971d
5765 Author: Zephaniah E. Hull <warp@aehallh.com>
5766 Date: Fri Feb 17 01:17:41 2006 +0000
5768 Bugzilla #5914 <https://bugs.freedesktop.org/show_bug.cgi?id=5914> Stupid
5769 little bug, properly handle wheels on 3 button mice.
5771 commit e7d4e6b11eb4cc026e91fd561fda24d9cf19adc4
5772 Author: Zephaniah E. Hull <warp@aehallh.com>
5773 Date: Tue Feb 14 14:57:37 2006 +0000
5775 Bugzilla #5696 <https://bugs.freedesktop.org/show_bug.cgi?id=5696> Slightly
5776 updated version of the patch listed. Basicly a rewrite of the driver,
5777 with a few pieces of the old. XKB support, proper device matching,
5778 basic absolute pointer support. Lots more, will require some user
5781 commit edbe44da9ae05469d28502af585cd2259d57d104
5782 Author: gravity <gravity>
5783 Date: Mon Jan 9 05:19:26 2006 +0000
5787 commit 6808674886a13c866bfeeb3ca5f3b8db72e3d5ca
5788 Author: Kevin E Martin <kem@kem.org>
5789 Date: Wed Dec 21 02:29:56 2005 +0000
5791 Update package version for X11R7 release.
5793 commit 5ae3abc1b3fda25d60a207c08b510c3a4f8c0148
5794 Author: Adam Jackson <ajax@nwnk.net>
5795 Date: Mon Dec 19 16:25:50 2005 +0000
5799 commit c58133445ee112901ea69023cac7afb3ca8d8064
5800 Author: Kevin E Martin <kem@kem.org>
5801 Date: Thu Dec 15 00:24:14 2005 +0000
5803 Update package version number for final X11R7 release candidate.
5805 commit b82e57a082662311cc47abbfc6a15b358be539d6
5806 Author: Kevin E Martin <kem@kem.org>
5807 Date: Tue Dec 6 22:48:29 2005 +0000
5809 Change *man_SOURCES ==> *man_PRE to fix autotools warnings.
5811 commit f56f4462f605348f90387308c028f622a5585231
5812 Author: Kevin E Martin <kem@kem.org>
5813 Date: Sat Dec 3 05:49:30 2005 +0000
5815 Update package version number for X11R7 RC3 release.
5817 commit 36fc29d0103707676b3d1ddfb3700457812779f8
5818 Author: Kevin E Martin <kem@kem.org>
5819 Date: Fri Dec 2 02:16:05 2005 +0000
5821 Remove extraneous AC_MSG_RESULT.
5823 commit 27690c112a2a890e7b556e51bbc5a42864671fc4
5824 Author: Adam Jackson <ajax@nwnk.net>
5825 Date: Tue Nov 29 23:29:55 2005 +0000
5827 Only build dlloader modules by default.
5829 commit a8ca6bc2d461288928f8ec907fb3dd40dc1642ca
5830 Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
5831 Date: Mon Nov 28 22:04:06 2005 +0000
5833 Change *mandir targets to use new *_MAN_DIR variables set by xorg-macros.m4
5834 update to fix bug #5167 (Linux prefers *.1x man pages in man1 subdir)
5836 commit 753e3320afd033122c9186382866ad8334bc7b7f
5837 Author: Eric Anholt <anholt@freebsd.org>
5838 Date: Mon Nov 21 10:49:03 2005 +0000
5840 Add .cvsignores for drivers.
5842 commit abcef337586d3862323ea5f77803a369d28aa90b
5843 Author: Kevin E Martin <kem@kem.org>
5844 Date: Wed Nov 9 21:15:11 2005 +0000
5846 Update package version number for X11R7 RC2 release.
5848 commit e7fa7d71e5c341027b6bfe47d8c6356d6ed7e92e
5849 Author: Kevin E Martin <kem@kem.org>
5850 Date: Tue Nov 1 15:08:49 2005 +0000
5852 Update pkgcheck depedencies to work with separate build roots.
5854 commit f8c131fff1a2adcb772aa5808559e93df2d442c3
5855 Author: Kevin E Martin <kem@kem.org>
5856 Date: Wed Oct 19 02:48:00 2005 +0000
5858 Update package version number for RC1 release.
5860 commit b543623997a1a7eda5c681bd431778e0a8da1347
5861 Author: Kevin E Martin <kem@kem.org>
5862 Date: Tue Oct 18 15:46:36 2005 +0000
5864 Do the following to make the drivers pass distcheck:
5865 - Only define EXTRA_DIST when there are actually man pages to be processed
5866 - Add missing man pages to keyboard and ati drivers EXTRA_DIST
5868 commit efcacda000e3020cf1c5348aec8e19f68f268a4b
5869 Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
5870 Date: Tue Oct 18 00:01:51 2005 +0000
5872 Use @DRIVER_MAN_SUFFIX@ instead of $(DRIVER_MAN_SUFFIX) in macro
5873 substitutions to work better with BSD make
5875 commit 1d4cfdd373207d685c89e240c611a0197bce18ec
5876 Author: Adam Jackson <ajax@nwnk.net>
5877 Date: Mon Oct 17 22:57:27 2005 +0000
5879 More 1.7 braindamage: define EXTRA_DIST in terms of @DRIVER_NAME@ instead
5882 commit ae0f10570960fc87c566d9084c7a3e78b05ce5ce
5883 Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
5884 Date: Mon Oct 17 00:08:55 2005 +0000
5886 Use sed & cpp to substitute variables in driver man pages
5888 commit ce0cafa1151841b46dedce616472cf5f38ffde83
5889 Author: Adam Jackson <ajax@nwnk.net>
5890 Date: Fri Sep 23 22:32:23 2005 +0000
5892 Bug #3913: Suppress kernel-generated repeat events for chording keys.
5894 commit 7d5839eb992e0a217b8368762cab80fa7a15faa2
5895 Author: Daniel Stone <daniel@fooishbar.org>
5896 Date: Thu Aug 18 09:03:38 2005 +0000
5898 Update autogen.sh to one that does objdir != srcdir.
5900 commit 88befc6f4b58a0353984a85a46c0107c8a3a4067
5901 Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk>
5902 Date: Wed Aug 10 14:07:22 2005 +0000
5904 Don\'t lose existing CFLAGS in all the input drivers and some of the video
5907 commit 8c4fcc1acdbd9e27e8e039c333f5abf77f81e6cf
5908 Author: Kevin E Martin <kem@kem.org>
5909 Date: Fri Jul 29 21:22:40 2005 +0000
5911 Various changes preparing packages for RC0:
5912 - Verify and update package version numbers as needed
5913 - Implement versioning scheme
5914 - Change bug address to point to bugzilla bug entry form
5915 - Disable loadable i18n in libX11 by default (use --enable-loadable-i18n to
5917 - Fix makedepend to use pkgconfig and pass distcheck
5918 - Update build script to build macros first
5919 - Update modular Xorg version
5921 commit b446f59cc56494f1d3052c587ab9e3bfee89cd48
5922 Author: Adam Jackson <ajax@nwnk.net>
5923 Date: Thu Jul 28 01:48:14 2005 +0000
5925 Yet more 2.4 build fixes, this time for BTN_TASK.
5927 commit f745d59b6c03aec59b5f4c8d0f279296270f0b72
5928 Author: Kristian Høgsberg <krh@redhat.com>
5929 Date: Mon Jul 25 16:07:34 2005 +0000
5931 Handle BTN_TASK too (#3859).
5933 commit 0656b4a517b41c047830553d412bc2575f537d46
5934 Author: Kevin E Martin <kem@kem.org>
5935 Date: Wed Jul 13 20:03:21 2005 +0000
5937 Make the module dir configurable
5939 commit d1dd2dfe4d49cae4b813c83301b3bddadd704e85
5940 Author: Kevin E Martin <kem@kem.org>
5941 Date: Wed Jul 13 02:20:59 2005 +0000
5943 Update all input drivers to pass distcheck
5945 commit 29621860ab38f318d8b19551391ac7997b8af2de
5946 Author: Adam Jackson <ajax@nwnk.net>
5947 Date: Tue Jul 12 06:15:08 2005 +0000
5949 Build skeletons for input drivers. Should basically work.
5951 commit 74021126a6e5e9075025911cb9c0b5273f70fda2
5952 Author: Adam Jackson <ajax@nwnk.net>
5953 Date: Mon Jul 11 02:37:59 2005 +0000
5955 Prep input drivers for modularizing by adding guarded #include "config.h"
5957 commit 672f8cd6616cd8cf97e9d01b4c408d9c59f09a7f
5958 Author: Adam Jackson <ajax@nwnk.net>
5959 Date: Sun Jul 3 00:06:01 2005 +0000
5961 Add some build compatibility for 2.6 linux systems with 2.4 kernel headers
5962 installed. Allow the use of evdev for mice on 2.4 kernels.
5964 commit 0145e216a7321011dc3bef7f9a0833ffbb61b953
5965 Author: Adam Jackson <ajax@nwnk.net>
5966 Date: Sat Jun 25 21:17:01 2005 +0000
5968 Bug #3626: _X_EXPORT tags for video and input drivers.
5970 commit df1b2f476dde1f6cbc13e9731d772a42baf97adb
5971 Author: Adam Jackson <ajax@nwnk.net>
5972 Date: Wed May 11 00:13:15 2005 +0000
5974 Bug #968: Grab the event device used by the evdev driver to avoid weird
5975 issues when input goes to multiple places. Restrict building the evdev
5976 driver to 2.6 kernels since EVIOCGRAB didn't exist in 2.4.
5978 commit 319e1b28a37c3b5511f0cf8ab627f9e4f0924634
5979 Author: Kristian Høgsberg <krh@redhat.com>
5980 Date: Tue Jan 18 20:18:09 2005 +0000
5982 Handle horizontal wheel events and move mapping of extra buttons up so they
5983 don't overlap the wheel buttons. Patch from Alan Swanson (#968).
5985 commit 4ada85ef11c56d5d998a4187d5ed1c557b7098bd
5986 Author: Adam Jackson <ajax@nwnk.net>
5987 Date: Fri Jan 14 17:14:07 2005 +0000
5989 Build fixes for static server.
5991 commit bdd94f37b31f78ebd2b13e7d263e8ee0dbbb0fb3
5992 Author: Kristian Høgsberg <krh@redhat.com>
5993 Date: Wed Jan 12 20:15:52 2005 +0000
5995 Add new evdev input driver. This driver uses the linux input layer directly
5996 and can handle both mice and keyboards.
5997 Convert this to UTF-8 again. The ChangeLog should be kept in UTF-8.