Debian Codegraph @

ChangeLog

raw
1 commit 2be6487de417473aac85ebd800392cdd8604c4a6
2 Author: Peter Hutterer <[email protected]>
3 Date: Fri Sep 15 11:26:54 2017 +1000
4
5 xf86-input-libinput 0.26.0
6
7 Signed-off-by: Peter Hutterer <[email protected]>
8
9 commit 6ce3d0249d426e6b3c83e7f86d76bb3145c00a74
10 Author: Peter Hutterer <[email protected]>
11 Date: Mon Jun 26 18:27:10 2017 +1000
12
13 Post a motion event before a tablet button down
14
15 Not all clients update the pointer position correctly from the button events
16 (for historical reasons) so we need to send a motion event before the button
17 event that represents a tip state change.
18
19 https://bugs.freedesktop.org/show_bug.cgi?id=101588
20
21 Signed-off-by: Peter Hutterer <[email protected]>
22
23 commit 87f9fe3a6fafe60134c69419c0e551b9dbc112b7
24 Author: Peter Hutterer <[email protected]>
25 Date: Wed May 24 08:42:02 2017 +1000
26
27 Only initialize properties that match capabilities on a subdevice
28
29 If a device is split into multiple subdevices, usually pointer+keyboard, we
30 initialized properties matching the libinput device on both devices. This
31 results in the keyboard having e.g. a Accel Speed or Left Handed settings even
32 though it cannot send any events of that type.
33
34 Filter by capabilities on the subdevice so we only get those properties that
35 match the subdevice's capabilities.
36
37 https://bugs.freedesktop.org/show_bug.cgi?id=100900
38
39 Signed-off-by: Peter Hutterer <[email protected]>
40
41 commit 0c657e0dcff4cff06a0d4cbea7dfac2a1d505cc3
42 Author: Peter Hutterer <[email protected]>
43 Date: Thu May 18 14:02:52 2017 +1000
44
45 Update copyright years
46
47 because why not
48
49 Signed-off-by: Peter Hutterer <[email protected]>
50
51 commit ac3574958f90bdcac946d26519123d809998c33b
52 Author: Niklas Haas <[email protected]>
53 Date: Mon May 15 03:13:43 2017 +0200
54
55 man: add missing documentation for Accel Profile
56
57 This seems to have been simply missing from 0163482e.
58
59 cf. https://bugs.freedesktop.org/show_bug.cgi?id=101017
60
61 Signed-off-by: Peter Hutterer <[email protected]>
62
63 commit 8772a593b45740f4429218648c9e3a305b3fe896
64 Author: Martin Kepplinger <[email protected]>
65 Date: Thu May 4 08:49:34 2017 +0200
66
67 Fix config comment description to match the config
68
69 Since the config matches on tablets too, update the describing comment
70 accordingly.
71
72 Signed-off-by: Martin Kepplinger <[email protected]>
73 Signed-off-by: Peter Hutterer <[email protected]>
74
75 commit a80773a488da3f3dfe5a5dc0fd658dc8a6a3b331
76 Author: Peter Hutterer <[email protected]>
77 Date: Fri May 5 13:43:23 2017 +1000
78
79 xf86-input-libinput 0.25.1
80
81 Signed-off-by: Peter Hutterer <[email protected]>
82
83 commit 8bc694595d26c2ae7dd98b27c9eed0ec0366b7a5
84 Author: Peter Hutterer <[email protected]>
85 Date: Tue Mar 21 13:13:43 2017 +1000
86
87 Post a motion event after proximity events
88
89 This patch splits the meat of xf86libinput_handle_tablet_axis into a helper
90 function xf86libinput_post_tablet_motion(), to be called right after we send
91 the proximity in event.
92
93 Clients that don't handle proximity (e.g. all XI2 clients) don't see the
94 coordinates we send along with the proximity events. And, for historical
95 reasons, they may not look at the coordinates in button events. So a device
96 that comes into proximity and immediately sends a tip down button event
97 doesn't send a motion event, causing the client to think the tip down was at
98 whatever the last known position was (before previous prox-out).
99
100 The practical effect is that when a user tries to draw a few dots, they end up
101 being connected to each other.
102
103 https://bugzilla.redhat.com/show_bug.cgi?id=1433755
104
105 Signed-off-by: Peter Hutterer <[email protected]>
106
107 commit 153a7fc62fa87a2cc2516826b3eae16fa8cc861d
108 Author: Peter Hutterer <[email protected]>
109 Date: Thu Mar 9 15:58:39 2017 +1000
110
111 xf86-input-libinput 0.25.0
112
113 Signed-off-by: Peter Hutterer <[email protected]>
114
115 commit 72fb6d304eec6eeeac6b42963c2729134d56de57
116 Author: Peter Hutterer <[email protected]>
117 Date: Tue Feb 28 14:45:29 2017 +1000
118
119 test: fix a test failure on ppc64(le) and aarch64
120
121 Caused by different results in -O0 vs -O2. The resulting array differs only
122 slightly but the initial sequence has one extra zero. That triggers our
123 assert, no other compiler flag seem to be affecting this.
124
125 Compiled with -O0:
126 Breakpoint 1, test_nonzero_x_linear () at test-bezier.c:157
127 157 assert(bezier[x] > bezier[x-1]);
128 (gdb) p bezier
129 $6 = {0 <repeats 409 times>, 1, 2, 4, 5, 7, 9, 10, 12, 14, 15, 17, 19, 21, 22,
130
131 Compiled with -O2:
132 (gdb) p bezier
133 $1 = {0 <repeats 410 times>, 1, 3, 5, 7, 9, 10, 12, 14, 15, 17, 19, 20, 22,
134
135 Printing of the temporary numbers in the decasteljau function shows that a few
136 of them are off by one, e.g.
137 408.530612/0.836735 with O0, but
138 409.510204/0.836735 with O2
139 Note: these are not rounding errors caused by the code, the cast to int
140 happens afterwards.
141
142 Hack around this by allowing for one extra zero before we check that the rest
143 of the curve is ascending again.
144
145 https://bugs.freedesktop.org/show_bug.cgi?id=99992
146
147 Signed-off-by: Peter Hutterer <[email protected]>
148
149 commit aae2c8ad9a9f1712149c93d50284ddb5f37e4cbd
150 Author: Peter Hutterer <[email protected]>
151 Date: Fri Feb 24 12:56:41 2017 +1000
152
153 Open sysfs files directly instead of going through the server
154
155 Only use-case here are pad mode LEDs that now live in /sys/class/leds. Asking
156 the server to open them is pointless, the server only knows how to open Option
157 "Device". And since the LEDs are in sysfs we should have access to them
158 anyway, so no need for jumping through or hula-ing hoops.
159
160 xf86CloseSerial() works as intended as it's a slim wrapper around close(), so
161 we only have to worry about the open() path here.
162
163 Signed-off-by: Peter Hutterer <[email protected]>
164
165 commit dafc296f2df587a1bb5feb37697c50608db4f246
166 Author: Peter Hutterer <[email protected]>
167 Date: Fri Feb 24 12:34:10 2017 +1000
168
169 Add streq() macro, replace strcmp instances with it
170
171 And why isn't this a thing in glibc yet
172
173 Signed-off-by: Peter Hutterer <[email protected]>
174 Reviewed-by: Eric Engestrom <[email protected]>
175
176 commit 7c90f06d569b1b14d84075e7cea22bce06b925e6
177 Author: Peter Hutterer <[email protected]>
178 Date: Fri Feb 24 12:27:37 2017 +1000
179
180 Update pad modes in a workproc, not during the input thread
181
182 Updating the property directly causes us to send events from the input thread
183 which has some "interesting" side effects like messing up the reply order or
184 just crashing the server.
185
186 Schedule a work proc instead and update it whenever the server is back in the
187 main thread.
188
189 Signed-off-by: Peter Hutterer <[email protected]>
190
191 commit 2eb5a2f0c08747df44eba6faff95cc9ce24b78ed
192 Author: Peter Hutterer <[email protected]>
193 Date: Thu Feb 9 16:16:34 2017 +1000
194
195 xf86-input-libinput 0.24.0
196
197 Signed-off-by: Peter Hutterer <[email protected]>
198
199 commit 19ceef972e76bc491438198659748786d9457668
200 Author: Peter Hutterer <[email protected]>
201 Date: Fri Jan 27 10:24:08 2017 +1000
202
203 Drop unnecessary function declaration
204
205 Signed-off-by: Peter Hutterer <[email protected]>
206
207 commit 07f30ea049303739bf6006d23ac924971a19d778
208 Author: Mihail Konev <[email protected]>
209 Date: Thu Jan 26 14:00:21 2017 +1000
210
211 autogen: add default patch prefix
212
213 Signed-off-by: Mihail Konev <[email protected]>
214
215 commit 6187ed0450e68aaf727779ad61b50b0b70a1122e
216 Author: Emil Velikov <[email protected]>
217 Date: Mon Mar 9 12:00:52 2015 +0000
218
219 autogen.sh: use quoted string variables
220
221 Place quotes around the $srcdir, $ORIGDIR and $0 variables to prevent
222 fall-outs, when they contain space.
223
224 Signed-off-by: Emil Velikov <[email protected]>
225 Reviewed-by: Peter Hutterer <[email protected]>
226 Signed-off-by: Peter Hutterer <[email protected]>
227
228 commit 974ab6b62bd2af97e1556314df28fe9f3b816e54
229 Author: Peter Hutterer <[email protected]>
230 Date: Fri Oct 28 11:20:22 2016 +1000
231
232 Add tablet tool area ratio property
233
234 By default, the X server maps the tablet axes to the available screen area.
235 When a tablet is mapped to the screen but has a different aspect ratio than
236 the screen, input data is skewed. Expose an area ratio property to map the
237 a subsection of the available tablet area into the desired ratio.
238
239 Differences to the wacom driver: there the x/y min/max values must be
240 specified manually and in device coordinates. For this driver we merely
241 provide the area ratio (e.g. 4:3) and let the driver work out the rest.
242
243 Signed-off-by: Peter Hutterer <[email protected]>
244 Reviewed-by: Jason Gerecke <[email protected]>
245
246 commit 5d0470738125243c98f7a8cc40d62f53604a8051
247 Author: Peter Hutterer <[email protected]>
248 Date: Mon Oct 24 14:41:51 2016 +1000
249
250 Implement stylus pressure curve support
251
252 Takes a 4-point cubic bezier curve as input and maps the pressure coordinates
253 to the values outlined by this curve. This is an extension of the current
254 implementation in the xf86-input-wacom driver which only allows the two center
255 control points to be modified.
256
257 Over the years a few users have noted that the wacom driver's pressure curve
258 makes it impossible to cap the pressure at a given value. Given our bezier
259 implementation here, it's effectively a freebie to add configurability of the
260 first and last control points. We do require all control points' x coordinates
261 to be in ascending order.
262
263 Signed-off-by: Peter Hutterer <[email protected]>
264
265 commit f65a5c50224efc34414f44c86700e15392b7039b
266 Author: Peter Hutterer <[email protected]>
267 Date: Wed Oct 26 11:57:49 2016 +1000
268
269 Add a bezier curve implementation
270
271 Needed for the wacom stylus pressure curve
272
273 Signed-off-by: Peter Hutterer <[email protected]>
274
275 commit 0dad7408fac3b69c4b6ab7705f39f790d7ba20c2
276 Author: Peter Hutterer <[email protected]>
277 Date: Mon Nov 28 14:09:06 2016 +1000
278
279 Calculate the required scroll distance based on the angle
280
281 For a mouse with a click angle of 15 degrees things are unchanged. For devices
282 with angles less than 10, the current code scrolled way too fast. Because the
283 angle wasn't used anywhere, each tick would count as full scroll wheel event,
284 a slight movement of the wheel would thus scroll as much as a large movement
285 on a normal mouse.
286
287 Fix this by taking the actual click angle of the device into account. We
288 calculate some multiple of the angle that's close enough to the default 15
289 degrees of the wheel and then require that many click events to hit the full
290 scroll distance. For example, a mouse with a click angle of 3 degrees now
291 requires 5 clicks to trigger a full legacy scroll button event.
292
293 XI2.1 clients get the intermediate events (i.e. in this case five times
294 one-fifth of the scroll distance) and can thus scroll smoothly, or more
295 specifically in smaller events than usual.
296
297 https://bugs.freedesktop.org/show_bug.cgi?id=92772
298
299 Signed-off-by: Peter Hutterer <[email protected]>
300 Reviewed-by: Hans de Goede <[email protected]>
301
302 commit ea02578a4e888d9908eb6bed6dcb858f78acb8bb
303 Author: Peter Hutterer <[email protected]>
304 Date: Tue Nov 29 08:31:32 2016 +1000
305
306 Move axis value calculation into a helper function
307
308 The only difference here is the axis number.
309
310 Signed-off-by: Peter Hutterer <[email protected]>
311 Reviewed-by: Hans de Goede <[email protected]>
312
313 commit 2ceb2e1b18b6f971706230d16a2a5665d87aabd4
314 Author: Peter Hutterer <[email protected]>
315 Date: Tue Nov 29 09:21:24 2016 +1000
316
317 Add a comment regarding scroll dist default values
318
319 Changed this during development because I forgot that the value actually
320 matters (for touchpads anyway).
321
322 Signed-off-by: Peter Hutterer <[email protected]>
323 Reviewed-by: Hans de Goede <[email protected]>
324
325 commit f47f78eb0bd9fba455f01c8c6dead3bd75242b2b
326 Author: Peter Hutterer <[email protected]>
327 Date: Tue Dec 20 15:36:55 2016 +1000
328
329 Ignore LED updates for disabled devices
330
331 If an XKB AccessX timeout is set and a VT switch is triggered, the
332 AccessXTimeoutExpire function may be called after the device has already been
333 disabled. This can cause a null-pointer dereference as our shared libinput
334 device may have been released by then.
335
336 In the legacy drivers this would've simply caused a write to an invalid fd
337 (-1), not a crash. Here we need to be more careful.
338
339 https://bugs.freedesktop.org/show_bug.cgi?id=98464
340
341 Signed-off-by: Peter Hutterer <[email protected]>
342 Reviewed-by: Hans de Goede <[email protected]>
343
344 commit 1c3ce3ce3c315213511735db1b0fdd74ca8442d0
345 Author: Peter Hutterer <[email protected]>
346 Date: Mon Dec 12 14:54:00 2016 +1000
347
348 xf86-input-libinput 0.23.0
349
350 Signed-off-by: Peter Hutterer <[email protected]>
351
352 commit 4d481ea7c80dad9f53b47c026959c25ad9da5211
353 Author: Peter Hutterer <[email protected]>
354 Date: Mon Dec 5 14:25:31 2016 +1000
355
356 Fix default scroll button number
357
358 Was exposing the evdev code rather than the xorg code.
359
360 Signed-off-by: Peter Hutterer <[email protected]>
361 Reviewed-by: Hans de Goede <[email protected]>
362
363 commit 72bac84df9ce72f2baf730655ecc23f1692d1e64
364 Author: Peter Hutterer <[email protected]>
365 Date: Tue Nov 15 11:23:08 2016 +1000
366
367 If the parent libinput_device is unavailable, create a new one
368
369 The parent device ref's the libinput device during pre_init and unref's it
370 during DEVICE_INIT, so the copy is lost. During DEVICE_ON, the libinput device
371 is re-added and ref'd, this one stays around now. But the takeaway is: unless
372 the device is enabled, no libinput device reference is available.
373
374 If a device is a mixed pointer + keyboard device, a subdevice is created
375 during a WorkProc. The subdevice relied on the parent's libinput_device being
376 available and didn't even check for it. This WorkProc usually runs after
377 the parent's DEVICE_ON, so in most cases all is well.
378
379 But when running without logind and the server is vt-switched away, the parent
380 device only runs PreInit and DEVICE_INIT but never DEVICE_ON, causing the
381 subdevice to burn, crash, and generally fail horribly when it dereferences the
382 parent's libinput device.
383
384 Fix this because we have global warming already and don't need to burn more
385 things and also because it's considered bad user experience to have the
386 server crash. The simple fix is to check the parent device first and if it is
387 unavailable, create a new one because it will end up disabled as well anyway,
388 so the ref goes away as well. The use-case where the parent somehow gets
389 disabled but the subdevice doesn't is a bit too niche to worry about.
390
391 This doesn't happen with logind because in that case we don't get a usable fd
392 while VT-switched away, so we can't even run PreInit and never get this far
393 (see the paused fd handling in the xfree86 code for that). It can be
394 reproduced by setting AutoEnableDevices off, but why would you do that,
395 seriously.
396
397 https://bugs.freedesktop.org/show_bug.cgi?id=97117
398
399 Signed-off-by: Peter Hutterer <[email protected]>
400 Reviewed-by: Hans de Goede <[email protected]>
401
402 commit 0b073d90e63d644401769c61611638d65a4eaf44
403 Author: Peter Hutterer <[email protected]>
404 Date: Fri Nov 11 12:36:01 2016 +1000
405
406 Link the left-handed property between the tools
407
408 The property is tablet-wide, not just per tool. So when one tool is updated,
409 run through all other devices that share the same underlying device.
410
411 Signed-off-by: Peter Hutterer <[email protected]>
412 Reviewed-by: Hans de Goede <[email protected]>
413
414 commit 669fbb098516e0bdf6c62c52c1bcb12580de069b
415 Author: Peter Hutterer <[email protected]>
416 Date: Tue Nov 1 10:42:19 2016 +1000
417
418 Drop indentation for matrix handling
419
420 Exit early if the string is NULL to reduce indentation. No functional changes.
421
422 Signed-off-by: Peter Hutterer <[email protected]>
423
424 commit c4f0a9bcb846f70b85a285e8acea8fe086abdccb
425 Author: Peter Hutterer <[email protected]>
426 Date: Tue Nov 1 10:06:03 2016 +1000
427
428 conf: match against tablets too
429
430 Now that we sort below the xf86-input-wacom driver anyway, there's no good
431 reason to ignore tablets anymore.
432
433 Signed-off-by: Peter Hutterer <[email protected]>
434
435 commit a61e156326197dbbf1c1294693946c504af9daee
436 Author: Peter Hutterer <[email protected]>
437 Date: Mon Oct 24 14:23:16 2016 +1000
438
439 man: sort the options and properties alphabetically
440
441 Signed-off-by: Peter Hutterer <[email protected]>
442
443 commit 552cbaf466a0aede8f789aa2013795f3b9ac253d
444 Author: Peter Hutterer <[email protected]>
445 Date: Wed Oct 26 15:03:48 2016 +1000
446
447 Don't init the AccelSpeed/LeftHanded properties on the base tablet device
448
449 This device never sends events, no point in exposing these options
450
451 Signed-off-by: Peter Hutterer <[email protected]>
452 Reviewed-by: Eric Engestrom <[email protected]>
453
454 commit bc91d337d7cf765fd23e47783a498e4b3b334f39
455 Author: Peter Hutterer <[email protected]>
456 Date: Thu Oct 20 08:42:53 2016 +1000
457
458 Fix potential NULL pointer dereferencing
459
460 Found by coverity.
461
462 Signed-off-by: Peter Hutterer <[email protected]>
463
464 commit c8d2293873d3f86e5cefffa5c51cfe423d09c948
465 Author: Peter Hutterer <[email protected]>
466 Date: Thu Oct 20 08:38:24 2016 +1000
467
468 Remove superfluous check for next being NULL
469
470 is_libinput_device(next) causes a dereference of next anyway, so this cannot
471 ever be NULL.
472
473 Besides, if next ends up as NULL that means we have lost count of how many
474 remaining devices use libinput, so we have other issues.
475
476 Found by coverity.
477
478 Signed-off-by: Peter Hutterer <[email protected]>
479
480 commit a7014aa8c619ed9bc1cd5c0b38428fd88f1bc8d4
481 Author: Peter Hutterer <[email protected]>
482 Date: Thu Oct 20 08:27:01 2016 +1000
483
484 Remove two unused variables
485
486 They were never used anyway
487
488 Signed-off-by: Peter Hutterer <[email protected]>
489
490 commit bf7fffde520277e13b350950de9dc5bf89858951
491 Author: Peter Hutterer <[email protected]>
492 Date: Wed Oct 19 11:42:57 2016 +1000
493
494 Don't init the horiz scroll property on non-pointer devices
495
496 Signed-off-by: Peter Hutterer <[email protected]>
497
498 commit 728217775626e2086d7c3acd0d242562390f145b
499 Author: Peter Hutterer <[email protected]>
500 Date: Wed Oct 19 10:55:12 2016 +1000
501
502 xf86-input-libinput 0.22.0
503
504 Signed-off-by: Peter Hutterer <[email protected]>
505
506 commit 1dd61abf7e6af9cdd12d8f5a35fe90954aa03e64
507 Author: Peter Hutterer <[email protected]>
508 Date: Wed Oct 19 10:37:32 2016 +1000
509
510 Wrap the input_lock calls into ifdefs
511
512 Missing from a790ff35f9
513
514 Signed-off-by: Peter Hutterer <[email protected]>
515
516 commit c80954386d536b83f2c9290e1a88515c04505818
517 Author: Peter Hutterer <[email protected]>
518 Date: Wed Oct 19 09:24:37 2016 +1000
519
520 xf86-input-libinput 0.21.0
521
522 Signed-off-by: Peter Hutterer <[email protected]>
523
524 commit a790ff35f90e459fe03e0c78ab6f4e9dd5045dd0
525 Author: Peter Hutterer <[email protected]>
526 Date: Fri Oct 14 17:00:41 2016 +1000
527
528 Swap the registered input device on DEVICE_OFF when needed
529
530 If we don't swap out the pInfo previously passed to xf86AddEnabledDevice(),
531 the thread eventually calls read_input on a struct that has been deleted.
532 Avoid this by swapping out the to-be-destroyed pInfo with the first one we
533 find.
534
535 Reproducer: sudo udevadm trigger --type=devices --action=add
536
537 Signed-off-by: Peter Hutterer <[email protected]>
538 Reviewed-by: Hans de Goede <[email protected]>
539
540 commit 6318ac420b644c7f7a6f2c8e47a64238a4afebeb
541 Author: Peter Hutterer <[email protected]>
542 Date: Fri Oct 14 13:34:56 2016 +1000
543
544 Fix tap button map option handling
545
546 Copy/paste error
547
548 https://bugs.freedesktop.org/show_bug.cgi?id=97989
549
550 Signed-off-by: Peter Hutterer <[email protected]>
551
552 commit cd02040a5d4a8f120d225a4c09f5d1dfc751c0a8
553 Author: Peter Hutterer <[email protected]>
554 Date: Fri Sep 30 17:01:21 2016 +1000
555
556 xf86-input-libinput 0.20.0
557
558 Signed-off-by: Peter Hutterer <[email protected]>
559
560 commit 0cfe9ec6c23e73507fd0797bae24c5ed6fcce033
561 Author: Michel Dänzer <[email protected]>
562 Date: Fri Sep 16 17:26:06 2016 +0900
563
564 Fix --with-xorg-conf-dir default value
565
566 If --prefix isn't specified on the command line, $prefix contains "NONE"
567 at this point, not the default prefix value. So make install would
568 attempt to install the xorg.conf.d snippet to
569 ${DESTDIR}NONE/share/X11/xorg.conf.d/.
570
571 Avoid this by leaving ${prefix} verbatim in the default value, to be
572 resolved by make.
573
574 Signed-off-by: Michel Dänzer <[email protected]>
575 Signed-off-by: Peter Hutterer <[email protected]>
576
577 commit b87d2530db46a08de15376722873295e01bef16f
578 Author: Keith Packard <[email protected]>
579 Date: Fri Sep 16 10:18:31 2016 -0700
580
581 Initializing strip association with wrong index
582
583 This looks like a cut&paste coding error to me, and it generated a
584 compiler warning about possibly uninitialized value.
585
586 Signed-off-by: Keith Packard <[email protected]>
587 Signed-off-by: Peter Hutterer <[email protected]>
588
589 commit 2f1df46ba9ef91c079f6485c04ac7c5515d6057a
590 Author: Peter Hutterer <[email protected]>
591 Date: Tue Sep 13 14:37:07 2016 +1000
592
593 Correct the horizontal scroll property name
594
595 Clear typo. Not bothering to be backwards compatible here, anything that uses
596 the #define will update on rebuild, anyone using the string directly should've
597 told me about the typo...
598
599 Signed-off-by: Peter Hutterer <[email protected]>
600 Reviewed-by: Hans de Goede <[email protected]>
601
602 commit fa69bb1bc244f378507e1ef2fbcb3ea343a59a32
603 Author: Peter Hutterer <[email protected]>
604 Date: Thu Aug 18 15:13:09 2016 +1000
605
606 Always delay hotplugging subdevices
607
608 Avoid creating new devices from within the input thread which was the case for
609 tablet tools. It requires a lot more care about locking and has a potential to
610 mess up things.
611
612 Instead, schedule a WorkProc and buffer all events until we have the device
613 created. Once that's done, replay the event sequence so far. If the device
614 comes into proximity and out again before we manage to create the new device
615 we just ditch the whole sequence and wait for the next proximity in.
616
617 Signed-off-by: Peter Hutterer <[email protected]>
618
619 commit af4fa36884b1945a231b2f7ebe011726b5a604c1
620 Author: Peter Hutterer <[email protected]>
621 Date: Tue Aug 16 09:06:27 2016 +1000
622
623 Add support for configurable tap button mapping
624
625 Signed-off-by: Peter Hutterer <[email protected]>
626 Reviewed-by: Hans de Goede <[email protected]>
627
628 commit a5b3c209fc8619dea6ac57420fb7837cf6e0e8bf
629 Author: Peter Hutterer <[email protected]>
630 Date: Mon May 30 15:27:52 2016 +1000
631
632 Add support for the rotation configuration
633
634 Signed-off-by: Peter Hutterer <[email protected]>
635
636 commit 0f7c5ed02d4f2de34c6fb1fc3f4debceef08d0d7
637 Author: Peter Hutterer <[email protected]>
638 Date: Tue Aug 30 12:42:58 2016 +1000
639
640 conf: drop libinput to below the other drivers
641
642 This is the continuation of 3f569ec493e, dropping libinput below the remaining
643 drivers. Wacom and synaptics already sort higher anyway (see wacom commit
644 0da5cd54 and synaptics commit 59e5db025). evdev remains the catchall
645 basic fallback driver and is overwritten by libinput. The two drivers affected
646 by this patch are joystick and vmmouse.
647
648 joystick is a niche driver and drives devices libinput doesn't handle anyway
649 so there is no need to override. If a user installs it, presumably it is to
650 use it.
651
652 vmmouse is a niche driver and does not assign itself anymore for newer kernel
653 drivers (see vmmouse commit 576e8123 from Oct 2014). So if vmmouse is
654 installed it can safely sort higher than libinput.
655
656 Note: this is upstream behavior, distributions have to work out the wanted
657 behavior themselves by renaming the config snippets accordingly.
658
659 Signed-off-by: Peter Hutterer <[email protected]>
660 Reviewed-by: Hans de Goede <[email protected]>
661
662 commit 0168716fa18cc72a8e6198b0d87b1798429d7096
663 Author: Peter Hutterer <[email protected]>
664 Date: Fri Aug 19 11:35:02 2016 +1000
665
666 Whitespace fix
667
668 Signed-off-by: Peter Hutterer <[email protected]>
669
670 commit b508c54fa0d569beb00ccba3d5b27ca993aae94d
671 Author: Peter Hutterer <[email protected]>
672 Date: Tue Aug 16 09:34:36 2016 +1000
673
674 Comment two read-only properties as such
675
676 Signed-off-by: Peter Hutterer <[email protected]>
677
678 commit d43e514430ef5878cd64387169952435d2f83007
679 Author: Peter Hutterer <[email protected]>
680 Date: Fri Jul 8 12:03:19 2016 +1000
681
682 Expose tablet pad modes as properties
683
684 There is not good wire protocol for pad modes so instead we just export the
685 information via properties. One property to tell us how many groups and how
686 many modes each group has. One property for the current mode of each group.
687 And three properties to tell us which group each button, ring and strip is in.
688
689 Signed-off-by: Peter Hutterer <[email protected]>
690
691 commit 5f2fff3c2455ad3580c4c130cf85cb5076838c18
692 Author: Peter Hutterer <[email protected]>
693 Date: Mon Aug 15 10:40:20 2016 +1000
694
695 Ensure parent devices are actual parent devices
696
697 The list returned by xf86FirstLocalDevice() includes our own device. If the
698 parent device is removed before the hotplug callback is invoked, the first
699 match with the same shared-device ID is our own device (or potentially another
700 subdevice on the same already-removed parent). Avoid this by making sure the
701 matched device is actually a parent device.
702
703 Signed-off-by: Peter Hutterer <[email protected]>
704 Reviewed-by: Hans de Goede <[email protected]>
705 Tested-by: Keith Packard <[email protected]>
706
707 commit 116cddba69b37246db564c1ddf772c0144c589f0
708 Author: Peter Hutterer <[email protected]>
709 Date: Wed Aug 3 16:17:03 2016 +1000
710
711 Bail out of PreInit if the parent driver data is NULL
712
713 If the parent device is removed before the WorkProc is called, the private
714 data is NULL.
715
716 Signed-off-by: Peter Hutterer <[email protected]>
717 Reviewed-by: Hans de Goede <[email protected]>
718
719 commit fb4847d243321cb400b9abbb1f04eb8566c8cf8e
720 Author: Peter Hutterer <[email protected]>
721 Date: Wed Aug 3 15:48:58 2016 +1000
722
723 Block input events while creating the virtual subdevices
724
725 If an event comes in halfway through the new device creation we read it from
726 libinput's epollfd but depending on the setup stage the new device may not be
727 ready yet.
728
729 https://bugs.freedesktop.org/show_bug.cgi?id=97117
730
731 Signed-off-by: Peter Hutterer <[email protected]>
732 Reviewed-by: Hans de Goede <[email protected]>
733
734 commit ce85b11e4c211da3b3fe1b6803498c96065c2598
735 Author: Peter Hutterer <[email protected]>
736 Date: Fri Jul 8 13:01:54 2016 +1000
737
738 Fix button offset for tablet pad buttons
739
740 4-7 is reserved for scroll buttons, as usual
741
742 Signed-off-by: Peter Hutterer <[email protected]>
743
744 commit 77a47a795c04f86260ecfa7a96281f8b5a3f4e0f
745 Author: Eric Engestrom <[email protected]>
746 Date: Sat Jul 2 12:39:12 2016 +0100
747
748 man: fix a couple typos
749
750 Signed-off-by: Eric Engestrom <[email protected]>
751 Signed-off-by: Peter Hutterer <[email protected]>
752
753 commit ae4f0a8d72e396528e1108161a3bcc0132df43a2
754 Author: Peter Hutterer <[email protected]>
755 Date: Fri Jun 10 08:27:30 2016 +1000
756
757 Init touch x/y axis labels as MT axis labels
758
759 https://bugs.freedesktop.org/show_bug.cgi?id=96481
760
761 Signed-off-by: Peter Hutterer <[email protected]>
762 Reviewed-by: Hans de Goede <[email protected]>
763
764 commit 289de5be15967983154c7cd9fbb344aab80b6679
765 Author: Keith Packard <[email protected]>
766 Date: Mon May 30 01:13:41 2016 -0700
767
768 Use xf86AddEnabledDevice instead of AddEnabledDevice when threaded [v3]
769
770 libinput can't run at SIGIO time, so it has been using
771 AddEnabledDevice to run in non-signal context.
772
773 Threaded input runs all input in non-signal context, so we want to use
774 xf86AddEnabledDevice at last.
775
776 v2: use XINPUT ABI version check instead of testing for presence of
777 AddEnabledDevice, which can't get removed from the server until
778 a few more patches past the threaded input change are merged.
779
780 v3: remove reference to XI86_SIGNAL_IO, which was presumably
781 a planned change to the xf86AddEnabledDevice path to make that
782 not use SIGIO.
783
784 Signed-off-by: Keith Packard <[email protected]>
785 Tested-by: Michel Dänzer <[email protected]>
786 Signed-off-by: Peter Hutterer <[email protected]>
787
788 commit ceea2bb8ba5d5be8601c7e79b68d7805af4ce5e4
789 Author: Peter Hutterer <[email protected]>
790 Date: Mon May 30 14:31:15 2016 +1000
791
792 Change some fixed floats to decimal notation
793
794 Just to make it more obvious we're using floats/doubles here.
795
796 Signed-off-by: Peter Hutterer <[email protected]>
797
798 commit d8aef838347bc64fa635eeac436c2d1154d846ce
799 Author: Peter Hutterer <[email protected]>
800 Date: Mon May 23 14:12:14 2016 +1000
801
802 Fix proximity events
803
804 Two bugs caused proximity events to be discarded. First, on proximity out
805 posting through pDev would be discarded because pDev is the parent device that
806 we use as a base for hotplugging the real devices for each tool from. That
807 device never sends events though, doing so will see the event discarded in the
808 server.
809
810 Second, if the tool already exists don't just exit, send the proximity event
811 first. To unify the three paths where we do send the events simply move them
812 down to the exit phase of the function.
813
814 https://bugs.freedesktop.org/show_bug.cgi?id=95484
815
816 Signed-off-by: Peter Hutterer <[email protected]>
817
818 commit 34b6ed980f8fd01e2246a94b87d32458a131974b
819 Author: Peter Hutterer <[email protected]>
820 Date: Mon Apr 18 11:54:04 2016 +1000
821
822 Add tablet pad support
823
824 Modelled to be mostly compatible to the xf86-input-wacom driver behavior. The
825 pad gets 7 axes, the first three of which are mute and the others are always
826 available but obviously only send events when the axis is there.
827
828 The strip axes are incompatible, the wacom driver merely forwards the device
829 events (which are a bitshifted value), libinput normalizes it and we just
830 expand this back into an integer range. Let's see how we go with this.
831
832 Signed-off-by: Peter Hutterer <[email protected]>
833
834 commit ce85432f41549cd6f3c6e0c5e2e39d0c1aee8dfd
835 Author: Peter Hutterer <[email protected]>
836 Date: Mon May 9 07:58:51 2016 +1000
837
838 Discard buttons >= 256
839
840 https://bugs.freedesktop.org/show_bug.cgi?id=95295
841
842 Signed-off-by: Peter Hutterer <[email protected]>
843
844 commit 181ea654dd737783553289a77b72706783b40c17
845 Author: Peter Hutterer <[email protected]>
846 Date: Thu Apr 28 14:10:50 2016 +1000
847
848 Fix potential use of uninitialized values
849
850 Signed-off-by: Peter Hutterer <[email protected]>
851
852 commit f9b6fa21df735e9a68c5f527afc422f519d6002c
853 Author: Peter Hutterer <[email protected]>
854 Date: Thu Apr 28 13:43:49 2016 +1000
855
856 xf86-input-libinput 0.19.0
857
858 Signed-off-by: Peter Hutterer <[email protected]>
859
860 commit 3f569ec493e738242da97afe30f7dd2a3b2b834d
861 Author: Peter Hutterer <[email protected]>
862 Date: Tue Apr 26 15:45:18 2016 +1000
863
864 conf: rename to 60-libinput.conf
865
866 60 sorts higher than the other drivers (evdev has 10, synaptics, wacom and
867 others have 50) so we keep the same order.
868
869 This is part of a two-step solution, the other half is renaming the
870 xf86-input-wacom's config snippet to sort higher than libinput's.
871
872 Currently libinput picks up devices that are (for now) destined to the wacom
873 driver. Since the wacom driver is more of a leaf package than libinput, the
874 best option here is to make the wacom driver sort higher and let users
875 uninstall it when not needed. To avoid crowding the 90-* space where users
876 usually have custom config snippets, drop libinput down to 60 and bump wacom
877 up.
878
879 Signed-off-by: Peter Hutterer <[email protected]>
880 Acked-by: Jason Gerecke <[email protected]>
881
882 commit 602bb8eefac929501b2cd5e5bd4a9838d1903774
883 Author: Stanislav Ochotnicky <[email protected]>
884 Date: Wed Oct 14 10:43:34 2015 +1000
885
886 Fix implicit declaration of function 'xf86Msg' in xf86libinput.c
887
888 Addition of xf86.h header fixes compilation issues in some cases.
889
890 See: https://bugs.gentoo.org/show_bug.cgi?id=560970
891
892 Signed-off-by: Stanislav Ochotnicky <[email protected]>
893 Signed-off-by: Peter Hutterer <[email protected]>
894
895 commit 13726f404f872b8baee507e6b3d4931f1bda2254
896 Author: Peter Hutterer <[email protected]>
897 Date: Thu Apr 7 13:31:28 2016 +1000
898
899 xf86-input-libinput 0.18.0
900
901 Signed-off-by: Peter Hutterer <[email protected]>
902
903 commit 5e7ee73fe24d53cba6a915223be53e0abcdaa70d
904 Author: Peter Hutterer <[email protected]>
905 Date: Thu Dec 3 15:58:49 2015 +1000
906
907 Support art pen rotation
908
909 The art pen is a normal pen, but it does provide a rotation axis.
910
911 Signed-off-by: Peter Hutterer <[email protected]>
912
913 commit 4564a92d59be39378170a2254ae1affb151a4757
914 Author: Peter Hutterer <[email protected]>
915 Date: Thu Dec 3 15:41:30 2015 +1000
916
917 Support the mouse/lens tool
918
919 Signed-off-by: Peter Hutterer <[email protected]>
920
921 commit 0c2bcd0358d1107bf61ac8ff6dcb156742eb1bc6
922 Author: Peter Hutterer <[email protected]>
923 Date: Thu Dec 3 15:24:24 2015 +1000
924
925 Add support for the airbrush tool axes
926
927 Same axes as the pen, but axis number 6 is the wheel (which really is a
928 slider)
929
930 Signed-off-by: Peter Hutterer <[email protected]>
931
932 commit b4541e4dff7248f1ce8894d8f950122785353d5b
933 Author: Peter Hutterer <[email protected]>
934 Date: Thu Nov 12 11:50:47 2015 +1000
935
936 Add support for tablet tools
937
938 Use two new internal capabilities, CAP_TABLET and CAP_TABLET_TOOL. If a
939 libinput tablet device is added, add an X device without any classes. This
940 device will not send events, but once we have pad support in libinput we
941 may be able to this the pad device.
942
943 When a tool comes into proximity, create a new X device for that serial number
944 and start sending events through it. Since the X device only represents a
945 single serial number/type combination, some of the wacom-specific
946 configuration options fall away. This only matters in the case of multiple
947 tools, in which case a per-tool configuration is preferable anyway, so we
948 don't lose anything here.
949
950 Gesture support only applied to the touch parts on the device, we don't
951 deal with this here specifically - that event node is handled by libinput as
952 touchscreen or touchpad.
953
954 This already works with GIMP and clients that don't rely on any
955 wacom-driver-specific properties. Configuration clients like
956 gnome-settings-daemon will need to change to handle new properties, to be
957 added as we go along.
958
959 Signed-off-by: Peter Hutterer <[email protected]>
960
961 commit 8136113139dd2a27fcfa4552da89aa110bc8fbe3
962 Author: Peter Hutterer <[email protected]>
963 Date: Fri Feb 26 15:57:48 2016 +1000
964
965 xf86-input-libinput 0.17.0
966
967 Signed-off-by: Peter Hutterer <[email protected]>
968
969 commit 202eb68dc061510d57900d29b3a76fe2ed811998
970 Author: Peter Hutterer <[email protected]>
971 Date: Thu Jan 28 15:02:54 2016 +1000
972
973 Fix compiler warnings about missing tablet event cases
974
975 Signed-off-by: Peter Hutterer <[email protected]>
976
977 commit e8f5394b0734db41abd15ab72457aea99c25d9ab
978 Author: Peter Hutterer <[email protected]>
979 Date: Wed Jan 27 11:04:40 2016 +1000
980
981 Add property/option for enabling/disabling tap-n-drag
982
983 Signed-off-by: Peter Hutterer <[email protected]>
984 Reviewed-by: Hans de Goede <[email protected]>
985
986 commit 20f5269a29b6f3697984872d689fbe8589e53b08
987 Author: Peter Hutterer <[email protected]>
988 Date: Wed Jan 27 11:12:48 2016 +1000
989
990 Fix default tapping drack lock property value
991
992 Signed-off-by: Peter Hutterer <[email protected]>
993
994 commit 3dacb28b206098f261d731195ed7556fc83837ed
995 Author: Peter Hutterer <[email protected]>
996 Date: Tue Nov 24 13:00:52 2015 +1000
997
998 Allow hotplugging a device immediately
999
1000 This splits the hotplugging code up so we can use it through a callback but
1001 also as an immediate call that gives us back the device just hotplugged. Also
1002 added is the ability to add extra options to the device.
1003
1004 Signed-off-by: Peter Hutterer <[email protected]>
1005
1006 commit db8e73141c3ebb09c19e95aab5dee46d331835df
1007 Author: Peter Hutterer <[email protected]>
1008 Date: Mon Nov 23 15:31:59 2015 +1000
1009
1010 Change creating subdevices to something more generic
1011
1012 Signed-off-by: Peter Hutterer <[email protected]>
1013
1014 commit 0d1851a000c5a80ba9b5787f516d2d72c62ce35e
1015 Author: Peter Hutterer <[email protected]>
1016 Date: Wed Dec 23 13:53:38 2015 +1000
1017
1018 xf86-input-libinput 0.16.0
1019
1020 Signed-off-by: Peter Hutterer <[email protected]>
1021
1022 commit ad8483b91387e99282a9b5a8360e8de7eed70257
1023 Author: Peter Hutterer <[email protected]>
1024 Date: Tue Dec 15 13:20:55 2015 +1000
1025
1026 Drain the fd after opening
1027
1028 Make sure we don't send any events that may have been enqueued before we
1029 initialized ourselves. Specifically, if we're using systemd-logind the fd
1030 remains open when we disable/enable the device, allowing events to queue up on
1031 the fd. These events are then replayed once the device is re-opened.
1032
1033 This is not the case when VT-switching, in that case logind closes the fd for
1034 us.
1035
1036 Signed-off-by: Peter Hutterer <[email protected]>
1037 Reviewed-by: Keith Packard <[email protected]>
1038
1039 commit 1f43f3921f6ceebd9a0cb92ef998a930d5fc3a3e
1040 Author: Peter Hutterer <[email protected]>
1041 Date: Wed Nov 11 10:10:58 2015 +1000
1042
1043 Split mixed pointer/keyboard devices into two separate X devices
1044
1045 The server struggles with devices that are both, the protocol (especially XI2)
1046 requires a fairly strict separation of pointer vs keyboard devices. Though the
1047 server has a couple of hacks to route events correctly, mixed
1048 devices still experience bugs like [1].
1049
1050 Instead of advertising the device as a single mixed device, split the device
1051 into two X devices, one with only a pointer/touch component, one with only a
1052 keyboard component. This ensures that the device is effectively attached to
1053 both the VCP and the VCK, something the XI2 protocol doesn't really allow.
1054
1055 This patch drops the keyboard capability on a mixed device, duplicates the
1056 input options and attributes and queues a NewInputDeviceRequest call. The new
1057 device only has the keyboard capability but is otherwise unchanged. The
1058 wacom driver has used this approach for years.
1059
1060 The WorkProc is necessary to avoid inconsistent state, the server doesn't
1061 handle a NewInputDeviceRequest during PreInit well.
1062
1063 The approach:
1064 During pre-init we create a struct xf86libinput_device with the
1065 libinput_device and a unique ID. The child device has that ID added to the
1066 options and will look for the other device during its pre-init. The two
1067 devices then share the xf86libinput_device struct.
1068
1069 We only have a single epollfd for all devices and the server calls read_input
1070 on the first device in the list with the epollfd as pInfo->fd. That shared
1071 struct is used as the userdata on the libinput_device we get back from the
1072 event, and each device is in the xorg_list device_list of that shared struct.
1073 We loop through those to find the ones with the right capabilities and
1074 post the event through that device.
1075
1076 Since devices can be enabled and disabled independently, the rest of the code
1077 makes sure that we only ever add the device to libinput when the first shared
1078 device is enabled, and remove it accordingly.
1079
1080 The server uses pInfo->major/minor to detect if another device is using the
1081 same path for a logind-controlled fd. If so, it reuses that device's
1082 pInfo->fd and sets the "fd" option to that value. That pInfo->fd is the
1083 libinput epollfd though, not the actual device fd.
1084
1085 This doesn't matter for us, since we manage the fds largely ourselves and the
1086 pInfo->fd we use is the epollfd anyway. On unplug however, the udev code
1087 triggers a device removal for all devices, including the duplicated ones. When
1088 we disable device, we restore the pInfo->fd from the "fd" option so that the
1089 server can request logind to close the fd.
1090
1091 That only works if the "fd" option is correct, otherwise the server asks
1092 logind to close the epollfd and everyone is unhappy.
1093
1094 [1] https://bugs.freedesktop.org/show_bug.cgi?id=49950
1095
1096 https://bugs.freedesktop.org/show_bug.cgi?id=92896
1097
1098 Signed-off-by: Peter Hutterer <[email protected]>
1099 Reviewed-by: Hans de Goede <[email protected]>
1100
1101 commit 83dfd31ec8ec2596648c33059fffb93b19691fae
1102 Author: Peter Hutterer <[email protected]>
1103 Date: Fri Nov 20 10:51:38 2015 +1000
1104
1105 Revert "Split mixed pointer/keyboard devices into two separate X devices"
1106
1107 When using logind, this causes the server to hang when a split device is
1108 unplugged. The reason is mostly in the server, when open the device by
1109 requesting the logind fd, the server loops through the device list to check if
1110 any other device has the same major/minor (see systemd_logind_take_fd()) and
1111 returns the pInfo->fd for that device instead of requesting the fd again from
1112 logind.
1113
1114 For libinput devices, the pInfo->fd is the epollfd, not the actual device, so
1115 our second device gets the epollfd assigned. When the devices are removed, we
1116 keep the device fd open and release the epollfd through logind.
1117
1118 This reverts commit c943739a2bfd4c380db0b21bc35b73deb7496c8a.
1119
1120 commit c943739a2bfd4c380db0b21bc35b73deb7496c8a
1121 Author: Peter Hutterer <[email protected]>
1122 Date: Wed Nov 11 10:10:58 2015 +1000
1123
1124 Split mixed pointer/keyboard devices into two separate X devices
1125
1126 The server struggles with devices that are both, the protocol (especially XI2)
1127 requires a fairly strict separation of pointer vs keyboard devices. Though the
1128 server has a couple of hacks to route events correctly, mixed
1129 devices still experience bugs like [1].
1130
1131 Instead of advertising the device as a single mixed device, split the device
1132 into two X devices, one with only a pointer/touch component, one with only a
1133 keyboard component. This ensures that the device is effectively attached to
1134 both the VCP and the VCK, something the XI2 protocol doesn't really allow.
1135
1136 This patch drops the keyboard capability on a mixed device, duplicates the
1137 input options and attributes and queues a NewInputDeviceRequest call. The new
1138 device only has the keyboard capability but is otherwise unchanged. The
1139 wacom driver has used this approach for years.
1140
1141 The WorkProc is necessary to avoid inconsistent state, the server doesn't
1142 handle a NewInputDeviceRequest during PreInit well.
1143
1144 The approach:
1145 During pre-init we create a struct xf86libinput_device with the
1146 libinput_device and a unique ID. The child device has that ID added to the
1147 options and will look for the other device during its pre-init. The two
1148 devices then share the xf86libinput_device struct.
1149
1150 We only have a single epollfd for all devices and the server calls read_input
1151 on the first device in the list with the epollfd as pInfo->fd. That shared
1152 struct is used as the userdata on the libinput_device we get back from the
1153 event, and each device is in the xorg_list device_list of that shared struct.
1154 We loop through those to find the ones with the right capabilities and
1155 post the event through that device.
1156
1157 Since devices can be enabled and disabled independently, the rest of the code
1158 makes sure that we only ever add the device to libinput when the first shared
1159 device is enabled, and remove it accordingly.
1160
1161 [1] https://bugs.freedesktop.org/show_bug.cgi?id=49950
1162
1163 https://bugs.freedesktop.org/show_bug.cgi?id=92896
1164
1165 Signed-off-by: Peter Hutterer <[email protected]>
1166 Reviewed-by: Hans de Goede <[email protected]>
1167
1168 commit a72e96538af2c4a94ead48f96e8e59a2a4980a64
1169 Author: Peter Hutterer <[email protected]>
1170 Date: Fri Nov 13 09:39:29 2015 +1000
1171
1172 Add a helper function for the driver context initialization
1173
1174 Signed-off-by: Peter Hutterer <[email protected]>
1175 Reviewed-by: Hans de Goede <[email protected]>
1176
1177 commit b1a9bea6079550fa8be4fa0b2e18ea810b0ea68c
1178 Author: Peter Hutterer <[email protected]>
1179 Date: Wed Nov 11 09:12:33 2015 +1000
1180
1181 Copy the device capabilities to the X driver struct
1182
1183 And use those copied caps instead of the direct device capability calls.
1184
1185 No functional changes at this point, this is preparation work for selectively
1186 disabling capabilities on a device.
1187
1188 Signed-off-by: Peter Hutterer <[email protected]>
1189 Reviewed-by: Hans de Goede <[email protected]>
1190
1191 commit a6aad69a97c68fa96e0a836e735b1a7f319b92df
1192 Author: Peter Hutterer <[email protected]>
1193 Date: Wed Nov 11 09:02:22 2015 +1000
1194
1195 Split type_name detection out into a helper function
1196
1197 No functional changes
1198
1199 Signed-off-by: Peter Hutterer <[email protected]>
1200 Reviewed-by: Hans de Goede <[email protected]>
1201
1202 commit 6fa5f30129ea770bcc5e50b0785a993a8254a418
1203 Author: Peter Hutterer <[email protected]>
1204 Date: Tue Nov 17 14:59:22 2015 +1000
1205
1206 Unref the libinput context on pre_init failure
1207
1208 A device that fails pre_init has a ref to the libinput context but may not
1209 have a pInfo->private. For those devices we never call libinput_unref() and
1210 the libinput struct never gets freed.
1211
1212 Thus if at least one device didn't pass pre_init, we never cleaned up after
1213 ourselves.
1214
1215 Signed-off-by: Peter Hutterer <[email protected]>
1216 Reviewed-by: Hans de Goede <[email protected]>
1217
1218 commit c53dde1a503ace84f755a2a8d0022fba48ad89c2
1219 Author: Peter Hutterer <[email protected]>
1220 Date: Fri Nov 13 10:48:02 2015 +1000
1221
1222 Don't fail DEVICE_CLOSE
1223
1224 We're not doing anything here, so no reason to fail.
1225
1226 Signed-off-by: Peter Hutterer <[email protected]>
1227
1228 commit d7331f6e34cedde2a1b8159d58aec0f68796f180
1229 Author: Peter Hutterer <[email protected]>
1230 Date: Fri Nov 13 13:01:45 2015 +1000
1231
1232 Remove unused server_fds list
1233
1234 Obsolete as of 353c52f2bec03
1235
1236 Signed-off-by: Peter Hutterer <[email protected]>
1237
1238 commit fb56f6d7a5139445a36b3468ef7dc61d1c127335
1239 Author: Peter Hutterer <[email protected]>
1240 Date: Fri Nov 13 10:02:16 2015 +1000
1241
1242 Set the device to NULL after unref
1243
1244 No real effect in the current code, but it adds a bit of safety.
1245
1246 Signed-off-by: Peter Hutterer <[email protected]>
1247
1248 commit c8861d2a2fd9ef875501a05b8c894045ce96ecc6
1249 Author: Peter Hutterer <[email protected]>
1250 Date: Thu Nov 12 10:02:38 2015 +1000
1251
1252 Plug two memory leaks
1253
1254 Signed-off-by: Peter Hutterer <[email protected]>
1255
1256 commit 44f4b2ed7075d424e3621f30815e11875b364c27
1257 Author: Peter Hutterer <[email protected]>
1258 Date: Tue Oct 27 17:08:59 2015 +1000
1259
1260 xf86-input-libinput 0.15.0
1261
1262 Signed-off-by: Peter Hutterer <[email protected]>
1263
1264 commit 0163482e22ad65ec51e3636cf31f9f39e29ff709
1265 Author: Peter Hutterer <[email protected]>
1266 Date: Thu Sep 3 18:03:00 2015 +1000
1267
1268 Add property support for the accel profiles
1269
1270 Signed-off-by: Peter Hutterer <[email protected]>
1271
1272 commit 80c356f58fed47080eb6fa5756a122dbe14e5f6f
1273 Author: Peter Hutterer <[email protected]>
1274 Date: Fri Sep 18 00:27:13 2015 +1000
1275
1276 conf: install the libinput xorg.conf.d snippet
1277
1278 Signed-off-by: Peter Hutterer <[email protected]>
1279
1280 commit 1645a79c343ea3cf8bbd71a36e9106b22e541c71
1281 Author: Peter Hutterer <[email protected]>
1282 Date: Fri Sep 18 00:28:36 2015 +1000
1283
1284 conf: don't hook onto tablets and joysticks
1285
1286 If we install the config file by default, we shouldn't use libinput for
1287 devices we know we can't handle.
1288
1289 Signed-off-by: Peter Hutterer <[email protected]>
1290
1291 commit b7f8db12a3389affaa16c584e03d452624ea8bf8
1292 Author: Peter Hutterer <[email protected]>
1293 Date: Fri Sep 18 00:24:13 2015 +1000
1294
1295 conf: rename 99-libinput.conf to 90-libinput.conf
1296
1297 This way it still sorts after the usual subjects, but it's easier to stack
1298 extra config in afterwards.
1299
1300 Signed-off-by: Peter Hutterer <[email protected]>
1301
1302 commit 6abd341279ea54e7c0ce56b1a2ad310a496be2b5
1303 Author: Peter Hutterer <[email protected]>
1304 Date: Thu Sep 3 17:42:20 2015 +1000
1305
1306 Fix invalid pointer passed to the properties
1307
1308 Takes a void*, not a void**
1309
1310 Signed-off-by: Peter Hutterer <[email protected]>
1311
1312 commit 19b42f242dddef7d6381b74b13930d6dd2734898
1313 Author: Peter Hutterer <[email protected]>
1314 Date: Thu Sep 3 17:33:40 2015 +1000
1315
1316 Move the read-only properties into the same condition
1317
1318 Signed-off-by: Peter Hutterer <[email protected]>
1319
1320 commit f48b64c8cd6f280ba8c589842ec2522a4bfe9b5c
1321 Author: Peter Hutterer <[email protected]>
1322 Date: Mon Aug 31 13:27:09 2015 +1000
1323
1324 xf86-input-libinput 0.14.0
1325
1326 Signed-off-by: Peter Hutterer <[email protected]>
1327
1328 commit b55239ef2552c43efd4c4fb7d39e22c255dd4e6d
1329 Author: Yomi0 <[email protected]>
1330 Date: Sun Aug 30 23:14:25 2015 -0400
1331
1332 Fix typo in libinput.man
1333
1334 Correct typo. Draging to dragging.
1335
1336 commit 9563334dda3c5563550fb2534b228c47216ec008
1337 Author: Peter Hutterer <[email protected]>
1338 Date: Thu Aug 13 11:03:44 2015 +1000
1339
1340 Use xf86OpenSerial instead of a direct open() call
1341
1342 This will transparently handle server-side fds for us.
1343
1344 Signed-off-by: Peter Hutterer <[email protected]>
1345 Reviewed-by: Hans de Goede <[email protected]>
1346 Reviewed-by: Martin Pieuchot <[email protected]>
1347
1348 commit 353c52f2bec035f04c136c8f3b28571e2a4515df
1349 Author: Peter Hutterer <[email protected]>
1350 Date: Thu Aug 13 10:59:39 2015 +1000
1351
1352 Revamp server fd opening
1353
1354 The server already stores the server-fd in the options, so we only need to run
1355 through the list of current devices, find a match and extract that fd from the
1356 options. Less magic in our driver and it gives us a pInfo handle in
1357 open_restricted which we'll can use for xf86OpenSerial().
1358
1359 Signed-off-by: Peter Hutterer <[email protected]>
1360 Reviewed-by: Hans de Goede <[email protected]>
1361 Reviewed-by: Martin Pieuchot <[email protected]>
1362
1363 commit f139f1424936abdc43b2c8611d569b496ffa4a68
1364 Author: Peter Hutterer <[email protected]>
1365 Date: Wed Aug 12 10:15:31 2015 +1000
1366
1367 Add an option to disable horizontal scrolling
1368
1369 libinput always has horizontal scrolling enabled and punts the decision when
1370 to scroll horizontally to the toolkit/widget. This is the better approach, but
1371 while we have a stack that's not ready for that, and in the X case likely
1372 never will be fully ready provide an option to disable horizontal scrolling.
1373
1374 This option doesn't really disable horizontal scrolling, it merely discards
1375 any horizontal scroll delta. libinput will still think it's scrolling.
1376
1377 https://bugs.freedesktop.org/show_bug.cgi?id=91589
1378
1379 Signed-off-by: Peter Hutterer <[email protected]>
1380 Reviewed-by: Hans de Goede <[email protected]>
1381
1382 commit e3a888c3ab0f4cc42943b0216852cba110c3dad2
1383 Author: Peter Hutterer <[email protected]>
1384 Date: Fri Aug 7 15:19:12 2015 +1000
1385
1386 Add drag lock support
1387
1388 First, why is this here and not in libinput: drag lock should be implemented
1389 in the compositor (not in libinput) so it can provide feedback when it
1390 activates and grouped in with other accessibility features. That will work for
1391 Wayland but in X the compositor cannot filter button events - only the server
1392 and the drivers can.
1393
1394 This patch adds mostly the same functionality that evdev provides with two
1395 options on how it works:
1396 * a single button number configures the given button to lock the next button
1397 pressed in a logically down state until a press+ release of that same button
1398 again
1399 * a set of button number pairs configures each button with the to-be-locked
1400 logical button, i.e. a pair of "1 3" will hold 3 logically down after a
1401 button 1 press
1402
1403 The property and the xorg.conf options take the same configuration as the
1404 evdev driver (though the property has a different prefix, libinput instead of
1405 Evdev).
1406
1407 The behavior difference to evdev is in how releases are handled, evdev sends
1408 the release on the second button press event, this implementation sends the
1409 release on the second release event.
1410
1411 https://bugs.freedesktop.org/show_bug.cgi?id=85577
1412
1413 Signed-off-by: Peter Hutterer <[email protected]>
1414 Reviewed-by: Hans de Goede <[email protected]>
1415
1416 commit cd61ddb040af288cf0e5a3fcccab3d390e3f1cab
1417 Author: Martin Pieuchot <[email protected]>
1418 Date: Tue Aug 11 12:58:33 2015 +0200
1419
1420 Remove unneeded header, epoll(7) interface is not directly used.
1421
1422 Signed-off-by: Martin Pieuchot <[email protected]>
1423 Signed-off-by: Peter Hutterer <[email protected]>
1424
1425 commit a19988005750f56254977f55bd3d11e944853176
1426 Author: Martin Pieuchot <[email protected]>
1427 Date: Tue Aug 11 12:37:51 2015 +0200
1428
1429 Rename a local variable to not shadow the BSD strmode(3) function.
1430
1431 Signed-off-by: Martin Pieuchot <[email protected]>
1432 Signed-off-by: Peter Hutterer <[email protected]>
1433
1434 commit cc57eecd720d0b002499bb81ada1f84515b0b49e
1435 Author: Peter Hutterer <[email protected]>
1436 Date: Fri Aug 7 16:34:32 2015 +1000
1437
1438 gitignore: add patterns for automake test suite and misc other bits
1439
1440 Signed-off-by: Peter Hutterer <[email protected]>
1441
1442 commit fe58cff48b6daa26b2d6f8a3b72d120db6fab642
1443 Author: Peter Hutterer <[email protected]>
1444 Date: Fri Aug 7 14:48:35 2015 +1000
1445
1446 Rename main source file to x86libinput.c
1447
1448 To avoid conflict and confusion with libinput's sources. This was originally
1449 triggered by needing a header file for the driver which cannot be named
1450 libinput.h. That need went away after other refacturing, but we might as well
1451 rename it now, sooner or later we'll need a xf86libinput.h file.
1452
1453 Can't do much about the libinput-properties header though, not worth breaking
1454 other projects and it's namespaced into /usr/include/xorg anyway.
1455
1456 Signed-off-by: Peter Hutterer <[email protected]>
1457
1458 commit 4b2bed6912d79f0104770d7956f14b4448c8b0ed
1459 Author: Peter Hutterer <[email protected]>
1460 Date: Tue Aug 4 17:08:22 2015 +1000
1461
1462 xf86-input-libinput 0.13.0
1463
1464 Signed-off-by: Peter Hutterer <[email protected]>
1465
1466 commit 223be9f62bc614c4bfa2836c5b0aaded70cadf9c
1467 Author: Stephen Chandler Paul <[email protected]>
1468 Date: Sun Aug 2 14:18:10 2015 -0400
1469
1470 Add a property for Disable While Typing
1471
1472 Signed-off-by: Stephen Chandler Paul <[email protected]>
1473 Reviewed-by: Peter Hutterer <[email protected]>
1474 Signed-off-by: Peter Hutterer <[email protected]>
1475
1476 commit d3ee745a2461c09c86916f2ecf97426b6145ee09
1477 Author: Peter Hutterer <[email protected]>
1478 Date: Tue Jul 21 11:21:47 2015 +1000
1479
1480 man: minor man page improvements
1481
1482 Signed-off-by: Peter Hutterer <[email protected]>
1483
1484 commit b550b70a002e0f1645a3ac6bc80d367bd72b4b7a
1485 Author: Peter Hutterer <[email protected]>
1486 Date: Tue Jul 21 11:16:06 2015 +1000
1487
1488 Fix compiler warnings about touchpad gestures
1489
1490 We don't do anything with them though.
1491
1492 Signed-off-by: Peter Hutterer <[email protected]>
1493
1494 commit 254b1f27a07f2372aa0c70674e8be5a02d068feb
1495 Author: Peter Hutterer <[email protected]>
1496 Date: Tue Jul 14 16:18:38 2015 +1000
1497
1498 xf86-input-libinput 0.12.0
1499
1500 Signed-off-by: Peter Hutterer <[email protected]>
1501
1502 commit bfedf7dbac7e92479629713c3f5622e4f19de1f4
1503 Author: Peter Hutterer <[email protected]>
1504 Date: Wed Jul 8 10:31:30 2015 +1000
1505
1506 Add a property for tap drag lock
1507
1508 Signed-off-by: Peter Hutterer <[email protected]>
1509 Reviewed-by: Hans de Goede <[email protected]>
1510
1511 commit 9c5cf971439292661e1f3055ef882526baae6310
1512 Author: Peter Hutterer <[email protected]>
1513 Date: Mon Jun 15 10:17:20 2015 +1000
1514
1515 Support buttons > BTN_BACK on mice
1516
1517 https://bugzilla.redhat.com/show_bug.cgi?id=1230945
1518
1519 Signed-off-by: Peter Hutterer <[email protected]>
1520
1521 commit 449b496a3abd2860ada3a27a4d23efc28b87448d
1522 Author: Peter Hutterer <[email protected]>
1523 Date: Fri Jun 5 13:40:31 2015 +1000
1524
1525 xf86-input-libinput 0.11.0
1526
1527 Signed-off-by: Peter Hutterer <[email protected]>
1528
1529 commit d4e0b5420ff2af2e790f12d10996f93ec6066b4a
1530 Author: Peter Hutterer <[email protected]>
1531 Date: Mon Jun 1 11:41:09 2015 +1000
1532
1533 Fix missing scroll methods default/scroll button property
1534
1535 Even if no scroll method is enabled by default, we still want those
1536 properties.
1537
1538 Introduced in 8d4e03570c.
1539
1540 Signed-off-by: Peter Hutterer <[email protected]>
1541
1542 commit 19c91044e44dd31deaeb638a919c64e9a9182448
1543 Author: Peter Hutterer <[email protected]>
1544 Date: Tue May 5 14:17:10 2015 +1000
1545
1546 Use the new unaccelerated valuator ValuatorMask features
1547
1548 SDL Games like openarena rely on relative input that's handled by the DGA code
1549 in the server. That code casts the driver's input data to int and sends it to
1550 the client. libinput does pointer acceleration for us, so sending any deltas
1551 of less than 1 (likely for slow movements) ends up being 0.
1552
1553 Use the new ValuatorMask accelerated/unaccelerated values to pass the
1554 unaccelerated values along, the server can then decide what to do with it.
1555
1556 Signed-off-by: Peter Hutterer <[email protected]>
1557 Reviewed-by: Hans de Goede <[email protected]>
1558
1559 commit 3d6afca975e5c54d458974ca2e9ada3df209587c
1560 Author: Peter Hutterer <[email protected]>
1561 Date: Wed May 20 13:22:45 2015 +1000
1562
1563 Only init abs axes if we don't have acceleration
1564
1565 A lot of devices (mainly MS input devices) have abs axes on top of the
1566 relative axes. Those axes are usually mute but with the current code we set up
1567 absolute axes for those devices. Relative events are then scaled by the server
1568 which makes the device appear slow.
1569
1570 As an immediate fix always prefer relative axes and only set up absolute axes
1571 if the device has a calibration matrix but no pointer acceleration.
1572 This may mess up other devices where the relative axes are dead, we'll deal
1573 with this when it comes.
1574
1575 https://bugs.freedesktop.org/show_bug.cgi?id=90322
1576
1577 Signed-off-by: Peter Hutterer <[email protected]>
1578 Reviewed-by: Hans de Goede <[email protected]>
1579
1580 commit 158e3264cefa9e6ac3e2218027b212237b039ce6
1581 Author: Peter Hutterer <[email protected]>
1582 Date: Thu May 21 09:52:40 2015 +1000
1583
1584 xf86-input-libinput 0.10.0
1585
1586 Signed-off-by: Peter Hutterer <[email protected]>
1587
1588 commit 006c80263027d5c5bc4e26d1b61a412f8a444a2d
1589 Author: Peter Hutterer <[email protected]>
1590 Date: Wed May 20 13:37:06 2015 +1000
1591
1592 Group scroll distances into a struct
1593
1594 Signed-off-by: Peter Hutterer <[email protected]>
1595
1596 commit d6ce065cea25785a8d03d27d723846e583c55e3b
1597 Author: Peter Hutterer <[email protected]>
1598 Date: Wed Apr 29 09:30:14 2015 +1000
1599
1600 Add option "ButtonMapping" (#90206)
1601
1602 With a long entry in the man page to detail what this option does.
1603 Specifically, it's the xorg.conf equivalent to XSetPointerMapping(3), it
1604 doesn't do any physical button remappings, merely the logical ones. If the
1605 physical button isn't mapped to the right logical button by default, that's
1606 either a libiput bug or an xkcd 1172 issue.
1607
1608 X.Org Bug 90206 <http://bugs.freedesktop.org/show_bug.cgi?id=90206>
1609
1610 Signed-off-by: Peter Hutterer <[email protected]>
1611 Reviewed-by: Hans de Goede <[email protected]>
1612
1613 commit b9a21505766a972016f18a48437411d88b25bd8b
1614 Author: Peter Hutterer <[email protected]>
1615 Date: Wed Apr 29 09:18:44 2015 +1000
1616
1617 man: add two linebreaks to make things easier to visually parse
1618
1619 Signed-off-by: Peter Hutterer <[email protected]>
1620 Reviewed-by: Hans de Goede <[email protected]>
1621
1622 commit 9356471f3f975aeb47d0cca43f31317af9ba384a
1623 Author: Peter Hutterer <[email protected]>
1624 Date: Wed Apr 29 08:18:13 2015 +1000
1625
1626 Move the option parsing into helper functions
1627
1628 No functional changes, though I did move a free() up a bit in the process (see
1629 sendevents parsing).
1630
1631 Signed-off-by: Peter Hutterer <[email protected]>
1632 Reviewed-by: Hans de Goede <[email protected]>
1633
1634 commit d5fa03c3433637c0fa8cbbfb38dadcf384f06ac3
1635 Author: Peter Hutterer <[email protected]>
1636 Date: Thu Apr 23 17:48:44 2015 +1000
1637
1638 Add a property for middle button emulation
1639
1640 Signed-off-by: Peter Hutterer <[email protected]>
1641 Reviewed-by: Hans de Goede <[email protected]>
1642
1643 commit 446401bea9d0335273963f476e897d8c4916420e
1644 Author: Peter Hutterer <[email protected]>
1645 Date: Thu Apr 23 12:20:12 2015 +1000
1646
1647 xf86-input-libinput 0.9.0
1648
1649 Signed-off-by: Peter Hutterer <[email protected]>
1650
1651 commit 8d4e03570cbdbb53bae57452614cbe45b6eb46f8
1652 Author: Peter Hutterer <[email protected]>
1653 Date: Mon Mar 16 09:33:17 2015 +1000
1654
1655 Add "libinput something Default" properties
1656
1657 A client or xorg.conf setting may change the property but once changed it
1658 cannot be reset by a client to the original state without knowledge about the
1659 device.
1660
1661 Export the various libinput_...get_default() functions as properties.
1662
1663 https://bugs.freedesktop.org/show_bug.cgi?id=89574
1664
1665 Signed-off-by: Peter Hutterer <[email protected]>
1666 Reviewed-by: Hans de Goede <[email protected]>
1667
1668 commit 0c5620a29c6f08b824457f5e6ce3c4e25c1c136e
1669 Author: Peter Hutterer <[email protected]>
1670 Date: Mon Mar 16 09:40:36 2015 +1000
1671
1672 Add a helper function for making properties
1673
1674 Signed-off-by: Peter Hutterer <[email protected]>
1675 Reviewed-by: Hans de Goede <[email protected]>
1676
1677 commit fb50cef7002392eb16537fe8f0cdffbc2ab03a7a
1678 Author: Peter Hutterer <[email protected]>
1679 Date: Wed Mar 18 09:10:38 2015 +1000
1680
1681 man: update the property list in the man page
1682
1683 Signed-off-by: Peter Hutterer <[email protected]>
1684
1685 commit 64a0f870e02f99f2204cc5568c3eea4d8a16e80d
1686 Author: Peter Hutterer <[email protected]>
1687 Date: Wed Mar 18 08:58:59 2015 +1000
1688
1689 Fix a couple of -Wformat warnings
1690
1691 unsigned int vs int
1692
1693 Signed-off-by: Peter Hutterer <[email protected]>
1694
1695 commit e362e4dc4c7662902c3e467d9ef9686bf63acbbd
1696 Author: Peter Hutterer <[email protected]>
1697 Date: Mon Mar 16 10:35:37 2015 +1000
1698
1699 cosmetic: drop duplicate empty lines
1700
1701 Signed-off-by: Peter Hutterer <[email protected]>
1702
1703 commit 7b3b04b5186abf9b3ebb7bc9db1c0bf10635d84c
1704 Author: Peter Hutterer <[email protected]>
1705 Date: Fri Mar 6 15:32:58 2015 +1000
1706
1707 xf86-input-libinput 0.8.0
1708
1709 Signed-off-by: Peter Hutterer <[email protected]>
1710
1711 commit 4ac531bdf6577ab4701b38d333626593abbf327d
1712 Author: Boyan Ding <[email protected]>
1713 Date: Fri Mar 6 10:22:15 2015 +0800
1714
1715 Initialize variable 'path' to NULL to silence warning
1716
1717 CC libinput.lo
1718 libinput.c: In function 'xf86libinput_pre_init':
1719 libinput.c:1222:2: warning: 'path' may be used uninitialized in this
1720 function [-Wmaybe-uninitialized]
1721 free(path);
1722 ^
1723
1724 Signed-off-by: Boyan Ding <[email protected]>
1725 Signed-off-by: Peter Hutterer <[email protected]>
1726
1727 commit 7ec0bf7ae2e3753d7e4989495bae80057f39508e
1728 Author: Peter Hutterer <[email protected]>
1729 Date: Wed Mar 4 14:46:29 2015 +1000
1730
1731 Up the scroll dist value for touchpads
1732
1733 For source FINGER and CONTINUOUS, the axis value is the same as relative
1734 motion - but scrolling in X usually doesn't have the same speed as finger
1735 movement, it's a lot coarser.
1736
1737 We don't know ahead of time where we'll get the scroll events from. Set a
1738 default scroll distance of 15 and multiply any wheel clicks we get by this
1739 value.
1740
1741 Signed-off-by: Peter Hutterer <[email protected]>
1742 Reviewed-by: Hans de Goede <[email protected]>
1743
1744 commit 2ffd8d14be6e713e7f26b8b220da076171efe427
1745 Author: Peter Hutterer <[email protected]>
1746 Date: Mon Mar 2 10:42:38 2015 +1000
1747
1748 Apply the configuration before initalizing the property
1749
1750 Otherwise the property contains the device defaults, rather than the xorg.conf
1751 options.
1752
1753 Signed-off-by: Peter Hutterer <[email protected]>
1754
1755 commit e9a0ee69cb81dea2280c0ae2eeea371c70d7911c
1756 Author: Peter Hutterer <[email protected]>
1757 Date: Mon Mar 2 10:42:03 2015 +1000
1758
1759 Don't unref the device until we're done with it in DEVICE_INIT
1760
1761 Signed-off-by: Peter Hutterer <[email protected]>
1762
1763 commit fb6506f5eeecb6f7def8a11cff58b89b78c89768
1764 Author: Peter Hutterer <[email protected]>
1765 Date: Thu Feb 26 17:03:15 2015 +1000
1766
1767 Add properties to change the click method (#89332)
1768
1769 X.Org Bug 89332 <http://bugs.freedesktop.org/show_bug.cgi?id=89332>
1770
1771 Signed-off-by: Peter Hutterer <[email protected]>
1772 Reviewed-by: Hans de Goede <[email protected]>
1773
1774 commit 275c71286652f5801c972095ed2142c3752306ea
1775 Author: Peter Hutterer <[email protected]>
1776 Date: Thu Feb 26 16:50:50 2015 +1000
1777
1778 Split out property init into helper functions
1779
1780 Makes the code less messy. Only functional change is that if one property
1781 fails to initialize we'll now continue with the others. Previously the first
1782 failed property would prevent any other property init.
1783
1784 Signed-off-by: Peter Hutterer <[email protected]>
1785 Reviewed-by: Hans de Goede <[email protected]>
1786
1787 commit 2455f0d03bf786ca4202e527d658b013db98084e
1788 Author: Peter Hutterer <[email protected]>
1789 Date: Wed Feb 25 13:05:03 2015 +1000
1790
1791 Use the new libinput_device_pointer_has_button
1792
1793 Signed-off-by: Peter Hutterer <[email protected]>
1794
1795 commit 98ae01b9ae8616d3c2047f5510205aa4e3bc52b5
1796 Author: Olivier Fourdan <[email protected]>
1797 Date: Wed Feb 25 11:49:19 2015 +0100
1798
1799 Ignore property changes if the device is disabled
1800
1801 If the device is present but disabled, the server will still call into
1802 SetProperty. We don't have a libinput device to back it up in this case,
1803 causing a null-pointer dereference.
1804
1805 This is a bug specific to this driver that cannot easily be fixed. All
1806 other drivers can handle property changes even if no device is present,
1807 here we rely on libinput to make the final call. But without a device
1808 path/fd we don't have a libinput reference.
1809
1810 The protocol doesn't mention this case, so let's pick BadMatch as the
1811 least wrong error code. And put a warning in the log, this needs a
1812 workaround in the client.
1813
1814 Also, if we get here and the device is on, then that's definitely a bug,
1815 warn about that.
1816
1817 https://bugs.freedesktop.org/show_bug.cgi?id=89296
1818
1819 Signed-off-by: Olivier Fourdan <[email protected]>
1820 Signed-off-by: Peter Hutterer <[email protected]>
1821
1822 commit 2600a4a352185f7d4d828f7d223628e4bb0f2aa3
1823 Author: Peter Hutterer <[email protected]>
1824 Date: Wed Feb 25 07:48:18 2015 +1000
1825
1826 Fix off-by-one error in buttonmap initialization (#89300)
1827
1828 X.Org Bug 89300 <http://bugs.freedesktop.org/show_bug.cgi?id=89300>
1829
1830 Signed-off-by: Peter Hutterer <[email protected]>
1831
1832 commit 278a685c5a643fc6c5042e15e063721b09e85282
1833 Author: Peter Hutterer <[email protected]>
1834 Date: Tue Feb 24 14:45:12 2015 +1000
1835
1836 xf86-input-libinput 0.7.0
1837
1838 Signed-off-by: Peter Hutterer <[email protected]>
1839
1840 commit 875f1696b780862886c75cd88b29fbc933ea7a1b
1841 Author: Peter Hutterer <[email protected]>
1842 Date: Wed Feb 4 14:08:46 2015 +1000
1843
1844 Only apply left-handed/scroll button configuration when it's available
1845
1846 https://bugs.freedesktop.org/show_bug.cgi?id=88961
1847
1848 Signed-off-by: Peter Hutterer <[email protected]>
1849
1850 commit 45e9b6c64b9bf0a84e3ee0e1fbb8f9f4efc3a8a0
1851 Author: Friedrich Schöller <[email protected]>
1852 Date: Sat Jan 24 02:20:22 2015 +0100
1853
1854 Reapply configuration at DEVICE_ON
1855
1856 The driver ignored my xorg configuration. Maybe I am doing something wrong,
1857 but I tried to track down the error and came up with this solution.
1858
1859 The device is closed after DEVICE_INIT so we need to apply configuration
1860 options at DEVICE_ON.
1861
1862 Signed-off-by: Friedrich Schöller <[email protected]>
1863 Signed-off-by: Peter Hutterer <[email protected]>
1864
1865 commit dcdf1e24c8427ecac3bff315b85e8273b849a1da
1866 Author: Peter Hutterer <[email protected]>
1867 Date: Wed Jan 28 10:48:50 2015 +1000
1868
1869 Formatting fix
1870
1871 Signed-off-by: Peter Hutterer <[email protected]>
1872
1873 commit 64e1b145982a9a9870fee8ce9e4404662151319e
1874 Author: Peter Hutterer <[email protected]>
1875 Date: Tue Jan 27 10:08:32 2015 +1000
1876
1877 xf86-input-libinput 0.6.0
1878
1879 Signed-off-by: Peter Hutterer <[email protected]>
1880
1881 commit e729451bb1ea54209e600acc801ce88d46784aa2
1882 Author: Peter Hutterer <[email protected]>
1883 Date: Tue Jan 27 07:49:53 2015 +1000
1884
1885 Swap button labels for back/forward to align with linux/input.h
1886
1887 We just forward the kernel buttons, so this should be in the same order.
1888
1889 Signed-off-by: Peter Hutterer <[email protected]>
1890
1891 commit 7d73602c4b60aedee41986362cee6a460ec91a92
1892 Author: Olivier Fourdan <[email protected]>
1893 Date: Tue Jan 20 13:54:10 2015 +0100
1894
1895 Move properties to a separate header
1896
1897 And install the header as part of the SDK, so that applications interfacing
1898 with the libinput driver do not have to copy paste all the properties' names.
1899
1900 Signed-off-by: Olivier Fourdan <[email protected]>
1901 Signed-off-by: Peter Hutterer <[email protected]>
1902
1903 commit 00b96de351404fc22e8f16610df667f7f35c448f
1904 Author: Peter Hutterer <[email protected]>
1905 Date: Wed Jan 21 11:56:32 2015 +1000
1906
1907 Revert "libinput-drv: Move properties to a separate header"
1908
1909 Missing the pkg-config file, updated patch coming up.
1910
1911 This reverts commit 8ceed9c73dfca991b9ffc639b7db8cdfc48fe4d9.
1912
1913 commit 8ceed9c73dfca991b9ffc639b7db8cdfc48fe4d9
1914 Author: Olivier Fourdan <[email protected]>
1915 Date: Tue Jan 20 12:01:10 2015 +0100
1916
1917 libinput-drv: Move properties to a separate header
1918
1919 And install the header as part of the SDK, so that applications interfacing
1920 with the libinput driver do not have to copy paste all the properties' names.
1921
1922 Signed-off-by: Olivier Fourdan <[email protected]>
1923 Signed-off-by: Peter Hutterer <[email protected]>
1924
1925 commit e4cd6cef9154a330646cfcaad4e78fcef3db3917
1926 Author: Olivier Fourdan <[email protected]>
1927 Date: Tue Jan 20 12:01:09 2015 +0100
1928
1929 libinput-drv: Add autogen.sh
1930
1931 Signed-off-by: Olivier Fourdan <[email protected]>
1932 Signed-off-by: Peter Hutterer <[email protected]>
1933
1934 commit 7bc662d0b48e718cf30c4e4b1b32c1c8a557e091
1935 Author: Peter Hutterer <[email protected]>
1936 Date: Mon Jan 19 14:36:59 2015 +1000
1937
1938 Remove unused define
1939
1940 Obsolete since 2348a6812a3cc575d729bee1d14a19d0a9b88651
1941
1942 Signed-off-by: Peter Hutterer <[email protected]>
1943
1944 commit a55cb9121a16e1f6d5c2fbb35fcbd5a676fae130
1945 Author: Peter Hutterer <[email protected]>
1946 Date: Mon Jan 19 14:36:19 2015 +1000
1947
1948 Move the property #defines up
1949
1950 Since they serve as documentation, make them easier to find.
1951
1952 Signed-off-by: Peter Hutterer <[email protected]>
1953
1954 commit efb5cacb25be0197479ec6178ffe194c93d61b90
1955 Author: Peter Hutterer <[email protected]>
1956 Date: Fri Jan 16 14:39:29 2015 +1000
1957
1958 xf86-input-libinput 0.5.0
1959
1960 Signed-off-by: Peter Hutterer <[email protected]>
1961
1962 commit 2348a6812a3cc575d729bee1d14a19d0a9b88651
1963 Author: Peter Hutterer <[email protected]>
1964 Date: Tue Jan 13 13:02:38 2015 +1000
1965
1966 Fix for new libinput APIs
1967
1968 Scroll events carry multiple axes.
1969
1970 Left-handed config was renamed to drop the "button" bit
1971
1972 Signed-off-by: Peter Hutterer <[email protected]>
1973
1974 commit 0c4eaf5480168b468547cdb3bd8ce5247b5a5378
1975 Author: Peter Hutterer <[email protected]>
1976 Date: Tue Dec 2 12:29:07 2014 +1000
1977
1978 Support server-side fds
1979
1980 libinput's device handling and server-side fd handling are a bit of a
1981 mismatch, so this is hackier than one would hope for.
1982
1983 The server sets pInfo->fd and the options "fd" and "device".
1984 The server requires pInfo->fd to be the one triggering select(2) to call the
1985 correct pInfo->read_input. We can't pass an fd to use into libinput, all we
1986 have is the open_restricted callback. That callback gives us the context, but
1987 not the pInfo with the fd we want.
1988
1989 The solution:
1990 1) In PreInit, store the patch + fd combination in a driver-wide list. Search
1991 that list for an fd in open_restricted, return the pre-openend fd.
1992
1993 2) Overwrite all devices' pInfo->fd with the libinput epollfd. In this driver
1994 we don't care about which device read_input is called on, we get the correct
1995 pInfo to post events from through the struct libinput_device of the libinput
1996 events.
1997
1998 3) When a device is closed, swap the real fd back in so systemd-logind closes the
1999 right fd.
2000
2001 This saves us worrying about keeping the right refcount on who currently has
2002 the fd set to the libinput fd. We just set it for all devices, let the server
2003 figure out which device to call (the first in inputInfo.devices) and we only
2004 need to remember to swap it back during DEVICE_OFF.
2005
2006 If the server calls close on a pInfo->fd without telling the driver, that's a
2007 bug anyway.
2008
2009 This patch also drops the pInfo->fd = -1 calls, they've been unnecessary since
2010 at least 1.11, possibly earlier.
2011
2012 Signed-off-by: Peter Hutterer <[email protected]>
2013 Reviewed-by: Hans de Goede <[email protected]>
2014
2015 commit bc7bcca342ad1abcfbbf0df58052ff1b6c2e38bd
2016 Author: Peter Hutterer <[email protected]>
2017 Date: Fri Dec 5 15:18:40 2014 +1000
2018
2019 xf86-input-libinput 0.4.0
2020
2021 Signed-off-by: Peter Hutterer <[email protected]>
2022
2023 commit e5079cd98e453ed8d6bd5a9f731adb33c464b96d
2024 Author: Peter Hutterer <[email protected]>
2025 Date: Fri Dec 5 15:11:43 2014 +1000
2026
2027 Require libinput 0.7.0
2028
2029 We've required this already anyway, now we have the libinput version to match
2030 though
2031
2032 Signed-off-by: Peter Hutterer <[email protected]>
2033
2034 commit 200be95ac9d4284dcd6875903ae5ef3f51c65440
2035 Author: Peter Hutterer <[email protected]>
2036 Date: Thu Dec 4 17:31:08 2014 +1000
2037
2038 Support absolute pointer devices
2039
2040 Detecting them is a bit of guesswork: if a device is a pointer device and has
2041 a calibration matrix option, then the device must be an abs device.
2042
2043 Signed-off-by: Peter Hutterer <[email protected]>
2044
2045 commit 8b5dbd4c018fbb8ac15fa19d8fe1365ad119529d
2046 Author: Peter Hutterer <[email protected]>
2047 Date: Mon Dec 1 11:55:33 2014 +1000
2048
2049 Split up a really long line
2050
2051 Signed-off-by: Peter Hutterer <[email protected]>
2052
2053 commit fb5c5b6f8547bee22a13e9e461da13103654b510
2054 Author: Peter Hutterer <[email protected]>
2055 Date: Mon Dec 1 11:52:28 2014 +1000
2056
2057 Move the option parsing into a separate function
2058
2059 No functional changes, makes preinit a bit more digestible.
2060
2061 Signed-off-by: Peter Hutterer <[email protected]>
2062
2063 commit 182363d674427478a3a86c0d81a038a663b9b66a
2064 Author: Peter Hutterer <[email protected]>
2065 Date: Mon Dec 1 11:48:56 2014 +1000
2066
2067 Change a sigsafe error to xf86IDrvMsg
2068
2069 We don't use the signal handler in this driver, so no need for sigsafe
2070 logging.
2071
2072 Signed-off-by: Peter Hutterer <[email protected]>
2073
2074 commit f0b14c6ccce202d9dba03170a9aa73ba0df7c082
2075 Author: Peter Hutterer <[email protected]>
2076 Date: Mon Dec 1 11:47:15 2014 +1000
2077
2078 Change the touch IDs to uints
2079
2080 Better overflow behavior, not that we're likely to trigger it.
2081
2082 Signed-off-by: Peter Hutterer <[email protected]>
2083
2084 commit e92c9f0bad257343224835dfe5e26dbf826c5ece
2085 Author: Peter Hutterer <[email protected]>
2086 Date: Mon Dec 1 11:45:40 2014 +1000
2087
2088 man: fix wrong option name
2089
2090 Signed-off-by: Peter Hutterer <[email protected]>
2091
2092 commit dda952fafed05ce15c79e0f5a5928cc012a60ec6
2093 Author: Peter Hutterer <[email protected]>
2094 Date: Mon Dec 1 11:44:11 2014 +1000
2095
2096 Leave the XKB defaults up to the server
2097
2098 Signed-off-by: Peter Hutterer <[email protected]>
2099
2100 commit 17302c335277b3dd760e52fd04f5ce1839df17bf
2101 Author: Peter Hutterer <[email protected]>
2102 Date: Fri Nov 28 09:18:14 2014 +1000
2103
2104 Allow disabling scroll methods
2105
2106 Signed-off-by: Peter Hutterer <[email protected]>
2107
2108 commit 7e3926f2b7b2a9f2a3b08e7e9d7578c93da33025
2109 Author: Peter Hutterer <[email protected]>
2110 Date: Fri Nov 28 08:52:34 2014 +1000
2111
2112 Split sendevent modes property into "available" and "current"
2113
2114 Clients need to know which methods are available, not just which one
2115 is currently set. Export bitmask config options as two properties,
2116 one read-only named "... Available" and one set-able one named "... Enabled"
2117
2118 Signed-off-by: Peter Hutterer <[email protected]>
2119
2120 commit 9ad23dd1cb44ad21207dd0110a7253506066a944
2121 Author: Peter Hutterer <[email protected]>
2122 Date: Fri Nov 28 08:29:16 2014 +1000
2123
2124 Split scroll methods property into "available" and "current"
2125
2126 Clients need to know which methods are available, not just which one is
2127 currently set. Export bitmask config options as two properties, one read-only
2128 named "... Available" and one set-able one named "... Enabled"
2129
2130 Signed-off-by: Peter Hutterer <[email protected]>
2131
2132 commit 7b2dbdc224e3e81cc322d3590e1c0079d4a5cb56
2133 Author: Peter Hutterer <[email protected]>
2134 Date: Mon Nov 24 17:43:23 2014 +1000
2135
2136 xf86-input-libinput 0.3.0
2137
2138 Signed-off-by: Peter Hutterer <[email protected]>
2139
2140 commit eddc8cb1b2b66f575348c6ff7cb189ce0052ef88
2141 Author: Peter Hutterer <[email protected]>
2142 Date: Mon Nov 24 11:44:43 2014 +1000
2143
2144 Don't process events from devices that got removed already
2145
2146 If the driver doesn't have a pInfo reference anymore for a libinput device,
2147 don't bother processing events, the device was already removed. This was
2148 triggered by the libevdev test suite which adds/removes devices very quickly.
2149
2150 Signed-off-by: Peter Hutterer <[email protected]>
2151
2152 commit 95597d80705dbd687cc86ce2eef02f35f7946ed6
2153 Author: Peter Hutterer <[email protected]>
2154 Date: Mon Nov 24 11:35:01 2014 +1000
2155
2156 Drop double empty lines
2157
2158 Signed-off-by: Peter Hutterer <[email protected]>
2159
2160 commit a323e221a715997aae6738acb106b86aed344355
2161 Author: Peter Hutterer <[email protected]>
2162 Date: Tue Nov 18 15:31:23 2014 +1000
2163
2164 Use the button conversion helper for normal button events too
2165
2166 Signed-off-by: Peter Hutterer <[email protected]>
2167
2168 commit 6385974e4dc74e1e742e485b68aa037c68c55fa9
2169 Author: Peter Hutterer <[email protected]>
2170 Date: Tue Nov 18 13:58:10 2014 +1000
2171
2172 Add support for changing the button-scrolling button
2173
2174 This currently exposes the libinput button name, which isn't ideal. Needs to
2175 be switched to X button numbers.
2176
2177 Signed-off-by: Peter Hutterer <[email protected]>
2178
2179 commit 439a244ae7e6ea21b4e15c08fcaef8cab00920ad
2180 Author: Peter Hutterer <[email protected]>
2181 Date: Tue Nov 18 14:26:15 2014 +1000
2182
2183 Add support for switching scroll methods
2184
2185 Signed-off-by: Peter Hutterer <[email protected]>
2186
2187 commit 4a049ad6f82c1c8cb5148579b2976d5caf639a14
2188 Author: Peter Hutterer <[email protected]>
2189 Date: Tue Nov 18 13:44:32 2014 +1000
2190
2191 Add support for left-handed button orientation
2192
2193 Signed-off-by: Peter Hutterer <[email protected]>
2194
2195 commit ef948537e1f2e7007f686f6b1aef0c98b68bb965
2196 Author: Peter Hutterer <[email protected]>
2197 Date: Wed Nov 19 14:54:02 2014 +1000
2198
2199 xf86-input-libinput 0.2.0
2200
2201 Signed-off-by: Peter Hutterer <[email protected]>
2202
2203 commit 576da9db26d4241dfede0310eef665d5a63ddb94
2204 Author: Peter Hutterer <[email protected]>
2205 Date: Wed Nov 19 11:42:04 2014 +1000
2206
2207 Hook up the libinput log handler
2208
2209 Let the server filter based on the verbosity levels in the server, so map
2210 ERROR to -1 (always), INFO to 3 (default verbosity) and DEBUG to 10.
2211
2212 Signed-off-by: Peter Hutterer <[email protected]>
2213
2214 commit 2eb01498bda0855edbfdfdb3bf9cb7b4312a785f
2215 Author: Peter Hutterer <[email protected]>
2216 Date: Wed Nov 19 11:30:12 2014 +1000
2217
2218 Add an explanatory comment for the disabled ptraccel
2219
2220 Signed-off-by: Peter Hutterer <[email protected]>
2221
2222 commit a4fb161c3e46919d69360794ccb27bc5df8d3340
2223 Author: Peter Hutterer <[email protected]>
2224 Date: Tue Nov 18 16:36:44 2014 +1000
2225
2226 Allow re-enabling of the sendevents configuration
2227
2228 When re-enabling the device, the mode is 0.
2229
2230 Signed-off-by: Peter Hutterer <[email protected]>
2231
2232 commit 15291e53b77a3ab89c7d285acd5ebae54539da5f
2233 Author: Peter Hutterer <[email protected]>
2234 Date: Tue Nov 18 15:50:17 2014 +1000
2235
2236 Update the README
2237
2238 Signed-off-by: Peter Hutterer <[email protected]>
2239
2240 commit d9c212d2665f2b8c25e5a4cdba29a047bd87d7cd
2241 Author: Peter Hutterer <[email protected]>
2242 Date: Tue Nov 18 15:41:17 2014 +1000
2243
2244 Init the right number of buttons for pointer devices
2245
2246 This only makes room for the highest button number present on the device, it
2247 doesn't cater for devices with 'holes'. i.e. if a device has only BTN_BACK, it
2248 will initialize buttons for all below too.
2249
2250 Which is also evdev's current behavior.
2251
2252 Signed-off-by: Peter Hutterer <[email protected]>
2253
2254 commit d48f437aa9d3f3afaa19bd51d15c3f915e1a1fa0
2255 Author: Peter Hutterer <[email protected]>
2256 Date: Tue Nov 18 15:37:04 2014 +1000
2257
2258 Replace hardcoded button number with one we can calculate
2259
2260 Signed-off-by: Peter Hutterer <[email protected]>
2261
2262 commit 84f301f7e34c503715f5c9851dc8ac14f0b76d3f
2263 Author: Peter Hutterer <[email protected]>
2264 Date: Tue Nov 18 15:33:05 2014 +1000
2265
2266 Fix loop condition
2267
2268 Use the passed-in value, not the global constant.
2269
2270 Signed-off-by: Peter Hutterer <[email protected]>
2271
2272 commit 6f06b1dd1d9b5b418ca7f3ad000598315c4c04b3
2273 Author: Peter Hutterer <[email protected]>
2274 Date: Tue Nov 18 13:37:31 2014 +1000
2275
2276 Set the XI type for the device
2277
2278 Signed-off-by: Peter Hutterer <[email protected]>
2279
2280 commit fdbf7eaf4be60c57fcd44aa79b20401184c75d90
2281 Author: Peter Hutterer <[email protected]>
2282 Date: Sun Oct 5 22:48:30 2014 +1000
2283
2284 man: add missing Makefile.am
2285
2286 commit 2b6c485117b51547e68d5e09128e9ebf1b126984
2287 Author: Peter Hutterer <[email protected]>
2288 Date: Thu Sep 25 16:27:49 2014 +1000
2289
2290 Store the data in the local options, then apply all at once
2291
2292 Less code this way, though if we somehow sneak in a bad option we get the
2293 error for it every time we update any property.
2294
2295 Signed-off-by: Peter Hutterer <[email protected]>
2296
2297 commit 246200cbdcdb745f238dab37d3d712b76c91fac5
2298 Author: Peter Hutterer <[email protected]>
2299 Date: Thu Sep 25 16:17:10 2014 +1000
2300
2301 Apply all config options on DEVICE_ON
2302
2303 Signed-off-by: Peter Hutterer <[email protected]>
2304
2305 commit fb41458a93b2e2492a440f0865291093e3301238
2306 Author: Peter Hutterer <[email protected]>
2307 Date: Thu Sep 25 16:03:59 2014 +1000
2308
2309 Expose all config options as xorg.conf options
2310
2311 Signed-off-by: Peter Hutterer <[email protected]>
2312
2313 commit d9d2e9a50138af479eabd81ade2159449c06fd1a
2314 Author: Peter Hutterer <[email protected]>
2315 Date: Thu Sep 25 13:42:09 2014 +1000
2316
2317 Add a man page
2318
2319 Signed-off-by: Peter Hutterer <[email protected]>
2320
2321 commit 0a58edd3f6db91375c007a8a0fa417518d4c0f52
2322 Author: Peter Hutterer <[email protected]>
2323 Date: Thu Sep 25 13:33:21 2014 +1000
2324
2325 Add a couple of general properties that all drivers should support
2326
2327 Signed-off-by: Peter Hutterer <[email protected]>
2328
2329 commit 8d6019c786febc55cf6c214fbecc44d70eba29be
2330 Author: Peter Hutterer <[email protected]>
2331 Date: Tue Sep 23 07:50:14 2014 +1000
2332
2333 Expose properties for the various configuration settings.
2334
2335 The property support isn't ideal, the server relies on the driver to check
2336 first if a setting is possible, applying the setting itself cannot fail.
2337 Thus we can't just check the libinput config status code, which matters mostly
2338 in the sendevents property where we simply check that only a single bit is set
2339 and that the supported modes are equal or more to the requested mode.
2340
2341 Signed-off-by: Peter Hutterer <[email protected]>
2342
2343 commit 532fe35522dc27c7589b37975e88b185f5b6b191
2344 Author: Peter Hutterer <[email protected]>
2345 Date: Wed Sep 24 15:58:33 2014 +1000
2346
2347 Require libinput 0.6
2348
2349 Signed-off-by: Peter Hutterer <[email protected]>
2350
2351 commit 65a40e2cfc6319b09e711d5d821e12e90b0294b5
2352 Author: Peter Hutterer <[email protected]>
2353 Date: Thu Aug 7 09:56:21 2014 +1000
2354
2355 Add a rudimentary README
2356
2357 Signed-off-by: Peter Hutterer <[email protected]>
2358
2359 commit 7522884a9e067a903c34e98b416755d146429732
2360 Author: Peter Hutterer <[email protected]>
2361 Date: Thu Aug 7 09:48:46 2014 +1000
2362
2363 Drop some mention of evdev
2364
2365 Signed-off-by: Peter Hutterer <[email protected]>
2366
2367 commit ef5f0295e77805af2780f4b63a6fc9d2675cc7ce
2368 Author: Peter Hutterer <[email protected]>
2369 Date: Thu Aug 7 09:48:32 2014 +1000
2370
2371 Ship an example config snippet
2372
2373 Signed-off-by: Peter Hutterer <[email protected]>
2374
2375 commit adb4963109fc68ca618e39e51fa86e531a492bef
2376 Author: Peter Hutterer <[email protected]>
2377 Date: Thu Jul 24 16:55:44 2014 +1000
2378
2379 Replace AC_PROG_LIBTOOL with LT_INIT
2380
2381 Former is deprecated in favor of the latter.
2382
2383 Signed-off-by: Peter Hutterer <[email protected]>
2384
2385 commit e8c4bbceee203665a5192e1ab6df711893f61834
2386 Author: Peter Hutterer <[email protected]>
2387 Date: Thu Jul 24 10:16:29 2014 +1000
2388
2389 xf86-input-libinput 0.1.2
2390
2391 Signed-off-by: Peter Hutterer <[email protected]>
2392
2393 commit e1a9c82dbcbec59f174cb4906eaf1ef77d5f9286
2394 Author: Peter Hutterer <[email protected]>
2395 Date: Thu Jul 24 10:17:51 2014 +1000
2396
2397 Drop two comments mentioning evdev
2398
2399 Signed-off-by: Peter Hutterer <[email protected]>
2400
2401 commit fe81ad3ae257f8063f63f8aa5320827a095a2192
2402 Author: Peter Hutterer <[email protected]>
2403 Date: Thu Jul 24 10:14:15 2014 +1000
2404
2405 Drop the pkgconfig file
2406
2407 We don't export anything, so need to ship it
2408
2409 Signed-off-by: Peter Hutterer <[email protected]>
2410
2411 commit 6a6946235979f51169f9256414eb24226cf6f1bc
2412 Author: Peter Hutterer <[email protected]>
2413 Date: Tue Jul 1 11:19:06 2014 +1000
2414
2415 Let libinput take care of pointer acceleration
2416
2417 Signed-off-by: Peter Hutterer <[email protected]>
2418
2419 commit 2f03f674260873c4fa14cd9d2896287885469bca
2420 Author: Peter Hutterer <[email protected]>
2421 Date: Thu Jun 26 15:36:49 2014 +1000
2422
2423 xf86-input-libinput 0.1.1
2424
2425 Signed-off-by: Peter Hutterer <[email protected]>
2426
2427 commit 6d634262fd0f42b9bf4237e6adef88201d7c9515
2428 Author: Peter Hutterer <[email protected]>
2429 Date: Thu Jun 26 15:36:25 2014 +1000
2430
2431 Fix distcheck
2432
2433 Signed-off-by: Peter Hutterer <[email protected]>
2434
2435 commit 6f91b84fd3bbad62c5364cfd4b6b8743cc08b941
2436 Author: Peter Hutterer <[email protected]>
2437 Date: Thu Jun 26 15:35:44 2014 +1000
2438
2439 Add COPYING file
2440
2441 Signed-off-by: Peter Hutterer <[email protected]>
2442
2443 commit 29fa1a6637fe52a67558b3b0793dd56340a37e62
2444 Author: Peter Hutterer <[email protected]>
2445 Date: Thu Jun 26 15:03:10 2014 +1000
2446
2447 xf86-input-libinput 0.1.0
2448
2449 Signed-off-by: Peter Hutterer <[email protected]>
2450
2451 commit 9e664af686ed780271ce26c02582fa1185d38ecd
2452 Author: Peter Hutterer <[email protected]>
2453 Date: Thu Jun 26 15:09:09 2014 +1000
2454
2455 Use the new libinput_ref/unref instead of manual counting.
2456
2457 Signed-off-by: Peter Hutterer <[email protected]>
2458
2459 commit c28d90ba698c3cf411b73a0a4f1314ccb7bb9b9f
2460 Author: Peter Hutterer <[email protected]>
2461 Date: Thu Jun 19 14:50:48 2014 +1000
2462
2463 Fix for libinput 0.4.0 API changes
2464
2465 Signed-off-by: Peter Hutterer <[email protected]>
2466
2467 commit 3b2e3e6f9e6cbbc2c40bb1bc18603eb241c17338
2468 Author: Peter Hutterer <[email protected]>
2469 Date: Tue Jun 10 09:05:40 2014 +1000
2470
2471 Require libinput 0.3.0
2472
2473 And add fix for the renamed button state enum
2474
2475 Signed-off-by: Peter Hutterer <[email protected]>
2476
2477 commit e7f7ed9303c6a9f9fa7462beb60afc2b2a094fa6
2478 Author: Jonas Ådahl <[email protected]>
2479 Date: Mon Jun 2 23:45:23 2014 +0200
2480
2481 Use floating point instead of fixed point numbers
2482
2483 Signed-off-by: Jonas Ådahl <[email protected]>
2484 Signed-off-by: Peter Hutterer <[email protected]>
2485
2486 commit 163b244ec5a9d5f73e0aa9732be9f4142bac4f06
2487 Author: Peter Hutterer <[email protected]>
2488 Date: Tue Jun 10 09:03:28 2014 +1000
2489
2490 Fix scrolling axis number
2491
2492 Signed-off-by: Peter Hutterer <[email protected]>
2493
2494 commit 102c126c02c46f1633e7550fd2bdec658debe053
2495 Author: Peter Hutterer <[email protected]>
2496 Date: Fri Apr 4 15:19:54 2014 +1000
2497
2498 Delete the input device reference on uninit
2499
2500 Signed-off-by: Peter Hutterer <[email protected]>
2501
2502 commit e114d517b500c5e0d30e352dc3a6d11aa41784f1
2503 Author: Peter Hutterer <[email protected]>
2504 Date: Fri Apr 4 15:18:43 2014 +1000
2505
2506 Unset the device user data on device off
2507
2508 Once we turn the device off, we may still get events from it but the pInfo
2509 struct may not be valid anymore to process those events.
2510
2511 Signed-off-by: Peter Hutterer <[email protected]>
2512
2513 commit 1ab6637b56272bb5cef0568a785e2e5948e6b022
2514 Author: Peter Hutterer <[email protected]>
2515 Date: Fri Mar 28 09:09:02 2014 +1000
2516
2517 zero out the valuator mask before sending touch events
2518
2519 otherwise we might re-submit values from other events
2520
2521 Signed-off-by: Peter Hutterer <[email protected]>
2522
2523 commit 16796d08d87a16dfa1ae0eb0f323b2c021cbd4d6
2524 Author: Peter Hutterer <[email protected]>
2525 Date: Tue Mar 25 14:11:36 2014 +1000
2526
2527 Switch to ValuatorMasks for motion and axis events
2528
2529 Allows us to use subpixel data, not that the server does a good job with it.
2530 But at least for scrolling we should now be able to scroll by small amounts
2531 too.
2532
2533 Signed-off-by: Peter Hutterer <[email protected]>
2534
2535 commit 116a484498d3be1fe89f32bcc1607040101bd0ff
2536 Author: Peter Hutterer <[email protected]>
2537 Date: Tue Mar 25 13:37:19 2014 +1000
2538
2539 Only post rel motion events if we have a non-zero delta
2540
2541 We trunc the li_fixed_t to int, so we don't always have a delta to post
2542
2543 Signed-off-by: Peter Hutterer <[email protected]>
2544
2545 commit b8611394cda21bf002c38379e01d62d61d9be04a
2546 Author: Benjamin Tissoires <[email protected]>
2547 Date: Fri Mar 7 10:34:46 2014 +1000
2548
2549 Do not set valuators for touch up events
2550
2551 the kernel does not send any ABS_MT_POSITION_X|Y data while releasing
2552 the touch, so use the previous values to set the position of the release.
2553
2554 If it's not done, the touch up occurs at (0,0) and moves dragged elements
2555 to the upper right corner.
2556
2557 Signed-off-by: Benjamin Tissoires <[email protected]>
2558 Signed-off-by: Peter Hutterer <[email protected]>
2559
2560 commit 74cd082e15e939648f552d24bec3fdd586d8e1c5
2561 Author: Peter Hutterer <[email protected]>
2562 Date: Fri Mar 7 10:33:31 2014 +1000
2563
2564 Fix up for new libinput API - without touch subtypes
2565
2566 Touch types are now top-level event types.
2567
2568 Signed-off-by: Peter Hutterer <[email protected]>
2569
2570 commit ac6e2171d7661336292b2dce64267caf9ea0ddaa
2571 Author: Peter Hutterer <[email protected]>
2572 Date: Fri Mar 7 10:32:44 2014 +1000
2573
2574 Whitespace fix
2575
2576 Signed-off-by: Peter Hutterer <[email protected]>
2577
2578 commit ec5e60c41edb9f5fc736af4785ed210d71c24a8b
2579 Author: Peter Hutterer <[email protected]>
2580 Date: Fri Feb 21 15:58:20 2014 +1000
2581
2582 Reset the fd to -1 after PreInit
2583
2584 We open and remove the device immediately, but the fd was left on the old
2585 value. This makes debugging harder, since the fd looks correct when it isn't.
2586
2587 Signed-off-by: Peter Hutterer <[email protected]>
2588
2589 commit c0046e2b418b8e88bd8d50eb2d23bfb5f5aae88b
2590 Author: Peter Hutterer <[email protected]>
2591 Date: Fri Feb 21 13:50:25 2014 +1000
2592
2593 Fix bitmask handling when changing LEDs
2594
2595 Signed-off-by: Peter Hutterer <[email protected]>
2596
2597 commit bee8989c741d693cd7adb20235cd05beb3cd90e0
2598 Author: Benjamin Tissoires <[email protected]>
2599 Date: Mon Feb 17 18:22:17 2014 -0500
2600
2601 Fix scrolling jumps
2602
2603 libinput currently scales wheel events by DEFAULT_AXIS_STEP_DISTANCE,
2604 which is currently 10.
2605 We may be able to find the value automatically, but it would require
2606 some dark codings that may not be robust.
2607 For the time being, just duplicate the define in libinput.c and remember
2608 to update it if it is changed in the future.
2609
2610 Signed-off-by: Benjamin Tissoires <[email protected]>
2611 Signed-off-by: Peter Hutterer <[email protected]>
2612
2613 commit 761603d9e7207f7ebe0a0824c0e0383e383727ac
2614 Author: Peter Hutterer <[email protected]>
2615 Date: Thu Feb 6 11:28:30 2014 +1000
2616
2617 Adjust for new API - current-screen-dimensions callback was removed
2618
2619 Signed-off-by: Peter Hutterer <[email protected]>
2620
2621 commit 17826b06dc72cbc897e0f4bbd8d3ef02e23f8a24
2622 Author: Peter Hutterer <[email protected]>
2623 Date: Tue Feb 4 08:45:18 2014 +1000
2624
2625 Keep track of the enabled devices
2626
2627 All libinput devices share the same file descriptor so make sure we don't
2628 remove from the server's select loop until the last device is disabled.
2629
2630 Signed-off-by: Peter Hutterer <[email protected]>
2631
2632 commit 54da516906904f186f26f4f5413e529dfae291a9
2633 Author: Peter Hutterer <[email protected]>
2634 Date: Tue Feb 4 08:19:29 2014 +1000
2635
2636 Clarify a comment
2637
2638 Whatever xf86AddEnabledDevice does to the fd, it doesn't work with an
2639 epollfd. Should probably investigate that further.
2640
2641 Signed-off-by: Peter Hutterer <[email protected]>
2642
2643 commit 5f502337d55d075b62b90a068b6a5641fb3711ae
2644 Author: Peter Hutterer <[email protected]>
2645 Date: Tue Feb 4 08:07:22 2014 +1000
2646
2647 Init with default XKB options
2648
2649 Signed-off-by: Peter Hutterer <[email protected]>
2650
2651 commit 6a8db18681a49a3b59bda8e62c84269bb03f5e34
2652 Author: Peter Hutterer <[email protected]>
2653 Date: Tue Feb 4 08:01:45 2014 +1000
2654
2655 Add the xorg keycode offset to the key events
2656
2657 Signed-off-by: Peter Hutterer <[email protected]>
2658
2659 commit 2b5723909a11f0063a185ec576a6da2b7f37daef
2660 Author: Peter Hutterer <[email protected]>
2661 Date: Fri Jan 31 13:46:19 2014 +1000
2662
2663 Update to latest API
2664
2665 Signed-off-by: Peter Hutterer <[email protected]>
2666
2667 commit f9154fe303fa4a173caec9250c35fef3f08dc14f
2668 Author: Peter Hutterer <[email protected]>
2669 Date: Fri Dec 20 12:55:23 2013 +1000
2670
2671 Silence some compiler warnings
2672
2673 Signed-off-by: Peter Hutterer <[email protected]>
2674
2675 commit 0478398202d2694aed2c070fcc8427a6dbb723e0
2676 Author: Peter Hutterer <[email protected]>
2677 Date: Fri Dec 20 11:45:06 2013 +1000
2678
2679 Hook up touch events
2680
2681 Signed-off-by: Peter Hutterer <[email protected]>
2682
2683 commit 8a50a17d02671049dcf23e4bca414328af034691
2684 Author: Peter Hutterer <[email protected]>
2685 Date: Fri Dec 20 10:53:51 2013 +1000
2686
2687 Hook up scroll events
2688
2689 Signed-off-by: Peter Hutterer <[email protected]>
2690
2691 commit ec5614d84abe37fff718aa51bba7cc5a6f3a5e7b
2692 Author: Peter Hutterer <[email protected]>
2693 Date: Thu Dec 12 15:24:08 2013 +1000
2694
2695 Baseline for a libinput-based driver
2696
2697 Doesn't do much yet, just the very basic hooks.
2698
2699 Signed-off-by: Peter Hutterer <[email protected]>