1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
|
commit 2865729adc2f004b61ba853d98a4c2758fd0b601
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Oct 20 07:35:40 2015 +1000
xinput 1.6.2
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit bc9026e00037845d58bc25c70dda46f192907dd4
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Aug 18 17:15:18 2015 +1000
Print touch event flags in test-xi2
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 90463ec26d4c89bdf63aab4ddac9f8295b6589cc
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Apr 30 07:47:28 2015 +1000
property: return EXIT_FAILURE if at least one device fails (#90226)
list-props allows for multiple devices to be queried simultaneously, so we
don't break out of the loop but rather change the exit code if at least one of
the devices doesn't exist.
X.Org Bug 90226 <http://bugs.freedesktop.org/show_bug.cgi?id=90226>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 4ed64e29a0c4c728f3eff64725c0ed386d172ae4
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Nov 6 11:44:55 2014 +1000
Fix valuator printf output in test-xi2
Avoid mixing event flags into the valuator output
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 904a32d908219d6fea833576f7c31727bd3aea2f
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon Nov 25 14:51:50 2013 +1000
Fix crash for enable/disable without a device argument
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
commit 68e488725a95508378d8a24a9da609a7e80e2ef7
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Fri Oct 25 21:51:37 2013 -0400
config: replace deprecated use of AC_OUTPUT with AC_CONFIG_FILES
Fix Automake warning: AC_OUTPUT should be used without arguments.
www.gnu.org/software/autoconf/manual/autoconf.html#Configuration-Files
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
commit 1f812f44a3a22e27de00a447c34657e590231a76
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon Sep 16 09:08:29 2013 +1000
Drop AM_MAINTAINER_MODE
See http://blogs.gnome.org/desrt/2011/09/08/am_maintainer_mode-is-not-cool/
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 82f1902fef60569680f3a27bf6d0c8da5bafc8a6
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon Sep 16 09:02:05 2013 +1000
xinput 1.6.1
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 157d147fe10dd31d7c6a286c046348b8699ba9ea
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Aug 8 09:55:18 2013 +1000
Fix version selection condition
If XI22 is true, XI21 is set too so we'd never actually register for XI 2.2
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 39ac9d85f464ca3195e8b3b2d3f6c3188f83e25e
Merge: a10f48d 852ed7c
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon Jul 15 15:02:55 2013 +1000
Merge branch 'test-root-flag'
commit 852ed7c7064be60acb25a574563e95b4c5800205
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Sun Mar 10 15:22:25 2013 +1000
test-xi2: add support for test-xi2 --root
Select on the root window instead of a newly created one
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit d08c42788cc711a7abfc51279d450847684cad7c
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Sun Mar 10 15:07:17 2013 +1000
test-xi2: group event selection down
No real functional changes, just group the two selection requests together.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit cac73b0cddc5a3d9a97e1698a5498c26fd1b5e0f
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Sun Mar 10 15:02:18 2013 +1000
test-xi2: allocate both masks at the same time
no functional changes for now, prep work for the --root flag
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 11e355174ee28892ec028559ee85d327ef3a2325
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Sun Mar 10 15:03:35 2013 +1000
test-xi2: drop unused grab code
Not sure why this code is still here
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit a10f48d2dcd24fc4211d69b388f499398891c577
Author: Jon TURNEY <jon.turney@dronecode.org.uk>
Date: Mon Jul 1 18:36:28 2013 +0100
Use setvbuf() instead of setlinebuf()
setlinebuf() added in commit bcfa9123b41da8048450ed27aaeffff17b8eee99 is not in
SuS v3, use the exactly equivalent C89 setvbuf() invocation for portability
Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 5dce5636d23f366d72f88c341ca1ff9da4427f66
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Sun Mar 10 15:25:38 2013 +1000
Add support for XINPUT_XI2_VERSION environment variable to override version
By default, xinput announces whatever version it was built against. For
debugging it can be useful to set this version on-the-fly.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit bcfa9123b41da8048450ed27aaeffff17b8eee99
Author: Nikolai Kondrashov <spbnick@gmail.com>
Date: Fri Aug 17 13:29:10 2012 +0300
Increase interactiveness of test* output
Force line buffering for test and test_xi2 to increase interactiveness and
avoid losing data with non-terminal stdout. This fixes capturing xinput
test* output into a file.
Signed-off-by: Nikolai Kondrashov <spbnick@gmail.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 9071787a1d22b256c5871897f9421ba6ea2f4f76
Author: Alon Levy <alevy@redhat.com>
Date: Sat Jun 9 17:23:37 2012 +0300
map-to-output: implement reflections and rotations
Uses the rotation & translation currently set according to RandR.
Signed-off-by: Alon Levy <alevy@redhat.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 15f5811753c0be8d7e38c44dc1798740071ba5c1
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date: Thu May 31 22:35:35 2012 -0700
Free strings allocated by GetAtomName instead of letting them leak
Fixes errors reported by Parfait 0.5.0.1 bug checking tool:
Error: Memory leak (CWE 401)
Memory leak of pointer '<unknown>' allocated with XGetAtomName(dpy, info->type)
at line 122 of src/list.c in function 'print_info'.
pointer allocated at line 84 with XGetAtomName(dpy, info->type).
<unknown> leaks when i >= info->num_classes at line 88.
Error: Memory leak (CWE 401)
Memory leak of pointer '<unknown>' allocated with XGetAtomName(dpy, a)
at line 160 of src/property.c in function 'print_property'.
pointer allocated at line 131 with XGetAtomName(dpy, a).
Memory leak of pointer '<unknown>' allocated with XGetAtomName(dpy, act_type)
at line 160 of src/property.c in function 'print_property'.
pointer allocated at line 143 with XGetAtomName(dpy, act_type).
Memory leak of pointer 'name' allocated with XGetAtomName(dpy, property)
at line 160 of src/property.c in function 'print_property'.
'name' allocated at line 61 with XGetAtomName(dpy, property).
Error: Memory leak (CWE 401)
Memory leak of pointer '<unknown>' allocated with XGetAtomName(dpy, a)
at line 521 of src/property.c in function 'print_property_xi2'.
pointer allocated at line 491 with XGetAtomName(dpy, a).
Memory leak of pointer '<unknown>' allocated with XGetAtomName(dpy, act_type)
at line 521 of src/property.c in function 'print_property_xi2'.
pointer allocated at line 504 with XGetAtomName(dpy, act_type).
Memory leak of pointer 'name' allocated with XGetAtomName(dpy, property)
at line 521 of src/property.c in function 'print_property_xi2'.
'name' allocated at line 428 with XGetAtomName(dpy, property).
Confirmed with Solaris Studio runtime checker that "list-props" now has
fewer leaks than before and "watch-props" no longer leaks a string every
time a property changes.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 60fe84e83b14576fb70d79c5d39755a281906607
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue May 15 15:47:45 2012 +1000
xinput 1.6.0
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 2c52e836b8e5a98a1faa5243cb4deb149091c52c
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon May 14 17:27:55 2012 +1000
Add --enable/--disable support
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
commit bfac9503e99a266e19bc21805cb4fc38efd16612
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon Apr 16 12:39:58 2012 +1000
xinput 1.5.99.901
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 286edaa10022fad59acd6d1eabb3a74769c99892
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Apr 10 09:28:36 2012 +1000
Print the sourceid for raw events
Due to http://bugs.freedesktop.org/show_bug.cgi?id=34240 this will display 0
for XI < 2.2 and libXi < 1.6.1.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
commit 8caaf2f872be80e6aa222505d96d6025cf4f8d80
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Feb 21 11:57:19 2012 +1000
Handle XA_CARDINAL as property type
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
commit b181658db7c72b664d40f2736fe425819421ce52
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri Feb 17 14:34:23 2012 +1000
Replace NVIDIA-specific output checking
If the binary driver drives at least one screen, the old method did
not allow for randr-style screen binding (on the other screen).
Change the logic to:
- check if the output an randr output
- if not, check if the "default" randr output is present and the output name
was "HEAD-n"
- if so, use Xinerama-style mapping
This keeps the current behaviour of not allowing Xinerama-style mapping if
all outputs are RandR capable.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Aaron Plattner <aplattner@nvidia.com>
Tested-by: Aaron Plattner <aplattner@nvidia.com>
commit eb40d9cc5d59321263fd8fa3f76ddd912d1fb804
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri Feb 17 14:33:56 2012 +1000
Add find_output_xrandr to check for output presence
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 5d32964533e4ebe3c69f1dfa34c709a1f447ad86
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri Feb 17 13:23:08 2012 +1000
Don't leak output_info
This inverts the logic to have a more obvious flow for freeing the
output_info.
==26716== 1,161 bytes in 8 blocks are definitely lost in loss record 5 of 7
==26716== at 0x4A074CD: malloc (vg_replace_malloc.c:236)
==26716== by 0x395D804ABA: XRRGetOutputInfo (in /usr/lib64/libXrandr.so.2.2.0)
==26716== by 0x40932B: map_output_xrandr (transform.c:150)
==26716== by 0x40982F: map_to_output (transform.c:263)
==26716== by 0x4070A4: main (xinput.c:386)
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit e1686fdbb8729f9f639ecab6860690103bb25db1
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri Feb 17 13:19:42 2012 +1000
Always call XCloseDisplay()
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
commit f427c74b6cd7089690c000c257468629a762b1eb
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri Feb 17 10:33:06 2012 +1000
Enclose property and device names in quotes
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
commit c591231a666d8dfdac4d301c0de49f34ac3e4aac
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Feb 8 20:46:29 2012 +1000
Fix XRRCrtcInfo memory leaks
crtc_info isn't used until later, move down to the block it is used to avoid
leaking.
Reported-by: Aaron Plattner <aplattner@nvidia.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Aaron Plattner <aplattner@nvidia.com>
commit a0e4d4e1067de2a25e05272238a8503691c5b01a
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Feb 7 18:20:37 2012 +1000
Rename map-to-crtc to map-to-output
xrandr uses "output", let's be consistent there.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Aaron Plattner <aplattner@nvidia.com>
commit 30f9ee3f859eb8413099be9eb8dfceaa195a5aa9
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Jan 12 16:08:35 2012 +1000
xinput 1.5.99.1
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit fb6f41ced063c558f7bf8f10898f027612e2ad34
Merge: c690fad 7f2f41d
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Jan 12 16:01:28 2012 +1000
Merge branch 'multitouch'
commit c690fad9aa0dbc9d574d25e014d1dc15281b0870
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date: Wed Dec 21 21:31:51 2011 -0800
print_version expects no arguments, so give it none
Fixes Solaris Studio compiler warning:
"xinput.c", line 357: warning: argument mismatch: 1 arg passed, 0 expected
gcc ignored it because the function declaration didn't specify arguments.
Once you specify (void) for the arguments, gcc then throws up:
xinput.c: In function ‘main’:
xinput.c:357:9: error: too many arguments to function ‘print_version’
xinput.c:147:1: note: declared here
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit ab352ec2789130cfcb7b61ae5bf36d6af4daa4a3
Author: Jeremy Huddleston <jeremyhu@apple.com>
Date: Tue Nov 29 23:52:53 2011 -0800
Print usage when run with --help
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
Reviewed-by: Bryce Harrington <bryce@canonical.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit b8f54d5c5874827fa24970029a23be06fe02bca1
Author: Bryce Harrington <bryce@canonical.com>
Date: Tue Nov 29 17:33:23 2011 -0800
xinput: Assume 'list' by default if no args given.
xrandr lists all outputs by default when run with no args. So, make
xinput list all inputs by default when run the same way, so the tools
are consistent.
Signed-off-by: Bryce Harrington <bryce@canonical.com>
Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 7f2f41d2c8fa7dad9596c34160a85fea026afccb
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Nov 2 12:13:57 2011 +1000
add support for touch raw events
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 609039e67ef62f3e4efd0e04572bdcd86ea45d34
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Oct 26 14:42:36 2011 +1000
test-xi2: check return value of list, exit on failure
If list() fails, the server doesn't support XI2 or the device is invalid. In
either case, exit.
Fixes crashes when a nonexisting device is given.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 9c3baacbd819eae122a4c0b679efc3c36895cff9
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Oct 25 13:48:57 2011 +1000
test-xi2: add basic touch support
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 9aea497432322054ff61711abe1d5028a108bcaf
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Oct 25 13:45:34 2011 +1000
test-xi2: Use the longest mask we can get
Avoids ifdefs for touch events lateron
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 01ea71c11d1eae6787ae16ef4044c7d2b34e1800
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Oct 26 08:03:20 2011 +1000
We support XI 2.1 now
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Julien Cristau <jcristau@debian.org>
commit c95ba34858f3fd7db284a11a2f00cf77990e4f9e
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Oct 27 09:46:27 2011 +1000
list: drop XIQueryVersion call
main() calls it for us before we get here, no need to have it twice.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Julien Cristau <jcristau@debian.org>
commit 960ed57f624e200467d5b7801da0d11337d8eba4
Merge: fa9fc75 7bbf462
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri Sep 23 08:36:47 2011 +1000
Merge branch 'smooth-scrolling'
Conflicts:
src/test_xi2.c
commit 7bbf4624b8be1bcac7a782057b9c2db5e8bbcc75
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri Aug 19 13:07:57 2011 +1000
Support the new Scroll class
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
Reviewed-by: Daniel Stone <daniel@fooishbar.org>
commit fa9fc75016e3587389040d6b91f03a3b80323a52
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Aug 24 07:50:00 2011 +1000
Only try to print XIPointerEmulated flag if it is defined.
This flag is part of the future (currently unreleased) XI 2.1 protocol.
Introduced in 2c5187d0099e6c7588828ba9931d27f5c64bbaec
Reported-by: Chris Ball <cjb@laptop.org>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
commit 4d082915a7f178c4d656fc1f56033b758adef97f
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri Aug 19 15:24:30 2011 +1000
Enclose button labels with quotes to improve readability
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Julien Cristau <jcristau@debian.org>
commit 32992f829262322a63e29b3118943e07481abb50
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri Aug 19 13:16:17 2011 +1000
test-xi2: support a device option
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Julien Cristau <jcristau@debian.org>
commit dcfa38899b2eae1beec9486063281ef0fb0bda76
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri Aug 19 13:11:04 2011 +1000
Print the class type when listing devices.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Julien Cristau <jcristau@debian.org>
commit 2c5187d0099e6c7588828ba9931d27f5c64bbaec
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Aug 16 11:39:02 2011 +1000
test-xi2: print the correct flags, depending on the event type
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Julien Cristau <jcristau@debian.org>
commit 4be60c90008ac48e72e819e078ce957fd003a509
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri Aug 12 14:20:21 2011 +1000
list: don't use defines for checking server version.
Otherwise we run into the old problem again: recompiling xinput against
newer inputproto headers will appear to change the version support,
potentially causing errors or other misbehaviours.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
commit 8563e64fa4eeaf7b56374fd6695f026d98f1696d
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Jun 2 10:20:42 2011 +1000
Add support for device-to-screen mapping
xinput map-to-crtc "device name" "VGA0" will map to the CRTC "VGA0" by
manipulating the transformation matrix accordingly. And because the NVIDIA
binary driver still exists, Xinerama is supported to. Maybe in another 5
years, they'll catch up.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Simon Thum <simon.thum@gmx.de>
commit 9877e11586b1f6a99e9ce5bb9b008efa4351a9ed
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Jul 6 08:38:50 2011 +1000
man: Move my name to the top of the authors list
It's reasonably likely that someone looking at the list of authors will
email the first one on the list. Let that be the current maintainer, it's
more likely that there will be the desired response.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Cyril Brulebois <kibi@debian.org>
commit fb0eef1a8f1aa3cb4f67fbb5360635ee4bdb4284
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Jul 6 08:38:08 2011 +1000
man: update missing copyrights
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Cyril Brulebois <kibi@debian.org>
commit e2abaa21a751bd4330f78e4b28920c600067835e
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Mon Jun 20 16:09:32 2011 -0400
Update Copyright notices.
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 3198664a8a54c1b53a29b71507ea5603d9ee7224
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Mon Jun 20 16:09:31 2011 -0400
Apply standard configuration init, layout and comments
http://www.x.org/wiki/NewModuleGuidelines#Configurationfilescontentguidelines
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit a426665bb3cb777a9107bfe6b84ea7d78bcf74aa
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Sat Jun 18 14:41:34 2011 -0400
Remove redundant definition of the VERSION Automake variable
This variable is defined by Automake:
In config.status:
S["VERSION"]="1.5.3"
In config.h:
Reverts commit \58c513b0b9f6
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 43b22327c6de3f3410ea77988b23332db86d8d41
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Sat Jun 18 14:41:35 2011 -0400
Man pages Makefile: fix whitespace
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit afad669f560387105570bc5de7466898ecf57f08
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Sat Jun 18 14:41:31 2011 -0400
Use the value of MAN_SUBSTS from util-macros for man pages
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit a3bb5a5d495ee8fa390b72bfcd76061f1ca241c7
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Jun 2 11:43:13 2011 +1000
Remove superfluous comment.
We can't remove this part if we want to keep working against 1.7 and 1.8.1.
No big deal, if this operation in xinput is the performance-critical path of
a system, things have gone bad a long time ago.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Acked-by: Julien Cristau <jcristau@debian.org>
commit c51bb9182d1225def39b49ab57612a070e3a192e
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Jun 2 09:14:40 2011 +1000
Announce support for XI 2.0 to the server.
Technically, we're required to announce support for XI 2.0 through
XIQueryVersion. The behaviour of XI2 for clients that have not done so is
undefined, it just happens to work.
With XI 2.1 on the horizon, this may change so make sure we're clamining our
version correctly
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Julien Cristau <jcristau@debian.org>
commit bdcb5b2a1b547059cf75b8337f854dbb136705f6
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue May 3 17:05:45 2011 +1000
Initialize a few more values to defaults.
If we ever print <undefined> for those, we have a buggy X server that's
breaking the protocol. Until that happens this is just to shut up clang.
All three are assigned constant strings only, no free() needed.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
commit ea0db37521c0fce8599c1838e9a919bb3292d413
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue May 3 17:02:48 2011 +1000
Silence compiler warning
Static analysis claims that ptr += size may assign garbage. But since the
protocol requires format to be 8, 16 or 32, size should always have a valid
value. Initialize to 0 to shut up clang.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
commit ca5d977e5c5f8a951321edeed7e69f8ed1ec53d3
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Fri Mar 4 20:37:44 2011 -0500
man: replace hard coded section number with __appmansuffix__
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
commit 9e8d95799a31f297065f1b3ce346a2567b7cc07a
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Jan 18 13:20:58 2011 +1000
Fix broken "xinput list <devicename>".
Default behaviour for --list is to list --short if no device is given and
--long if a device is given. Restore this behaviour.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Dirk Wallenstein <halsmit@t-online.de>
Tested-by: Dirk Wallenstein <halsmit@t-online.de>
commit 976c989af7978277061d0166d8e2a82cb8b1e795
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Jan 18 13:02:20 2011 +1000
Add --id-only flag for 'xinput list'.
The default output of xinput list is hard to parse by scripts. Provide a
--id-only option to print the device ID only, without any other
information.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Dirk Wallenstein <halsmit@t-online.de>
Tested-by: Dirk Wallenstein <halsmit@t-online.de>
commit ab90151162d39607e264e715a582e783e0da3c3a
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Jan 18 12:55:46 2011 +1000
Add --name-only flag for 'xinput list'.
The default output of xinput list is hard to parse by scripts. Provide a
--name-only option to print the device name only, without any other
information.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Dirk Wallenstein <halsmit@t-online.de>
Tested-by: Dirk Wallenstein <halsmit@t-online.de>
commit ff1ff82438d35e6d68d1bf3b16bfc3520120247c
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Jan 18 12:47:33 2011 +1000
Switch list to use an enum of printing formats.
Currently long and short, same as before. No functional changes, preparation
for further formats.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Dirk Wallenstein <halsmit@t-online.de>
Tested-by: Dirk Wallenstein <halsmit@t-online.de>
commit 8acb2a91d9595b5138bd30ddf55eb3f7e6ce111b
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Wed Jan 12 16:28:02 2011 -0500
config: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERS
This silences an Autoconf warning
commit 437aedaa8775ff43a144b5ab80abf153b230cbde
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Wed Jan 12 15:12:08 2011 -0500
config: remove unrequired AC_SUBST([*_LIBS])
This macro is called by PKG_CHECK_MODULES
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
commit 362189fef8bcb907e9cd756ac3bfa0a3801413a7
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Wed Jan 12 13:33:48 2011 -0500
config: remove unrequired AC_SUBST([*_CFLAGS])
This macro is called by PKG_CHECK_MODULES
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
commit 3697929d913904343868e459621ad07ea147b150
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Wed Jan 12 13:10:21 2011 -0500
config: remove AC_PROG_CC as it overrides AC_PROG_C_C99
XORG_STRICT_OPTION from XORG_DEFAULT_OPTIONS calls
AC_PROG_C_C99. This sets gcc with -std=gnu99.
If AC_PROG_CC macro is called afterwards, it resets CC to gcc.
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
commit c68d1a0c3f113cd429c8792537d40784bbd6e11d
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Wed Jan 12 11:54:40 2011 -0500
config: use AC_PROG_INSTALL now supplied by XORG_DEFAULT_OPTIONS
It depends on util-macros 1.8 or later
The existing statement can now be removed from the configuration file.
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
commit bd4f7ad11fd37a3f3814dd12b0b542449b3e83a6
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Wed Jan 12 11:46:04 2011 -0500
config: use AC_PROG_SED now supplied by XORG_DEFAULT_OPTIONS
It depends on util-macros 1.8 or later
The existing statement can now be removed from the configuration file.
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
commit cd159b6f9ee998fbbf7616c1a5dd8a7d682bd6f2
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Wed Jan 12 11:23:52 2011 -0500
config: upgrade to util-macros 1.8 for additional man page support
Use MAN_SUBST now supplied in XORG_MANPAGE_SECTIONS
The value of MAN_SUBST is the same for all X.Org packages.
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
commit 6055d90840b47be4ad5ce4eed496130a6c7e6053
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Wed Jan 12 10:21:24 2011 -0500
config: update AC_PREREQ statement to 2.60
Unrelated to the previous patches, the new value simply reflects
the reality that the minimum level for autoconf to configure
all x.org modules in one pass is 2.60 dated June 2006.
A version later than 2.60 can be used, but no new features from such
a later version can be used in configure.ac.
Although the code in this module can be configured with a version earlier
than 2.60, most of code is now contained in macros from util-macros
which use features of version 2.60, at the present or in the future.
ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.60.tar.gz
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
commit f01d266c9fa6665b9c0a7c32fcf413c04c36008e
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Dec 22 12:57:00 2010 +1000
Remove unneeded include.
This include was added during the MPX/XI2 development cycle, likely when the
headers weren't in an acceptable state and clients needed stuff defined in
the proto headers. Normal clients shouldn't need the proto headers though
and xinput builds fine without it.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Daniel Stone <daniel@fooishbar.org>
commit cd17b196a833c87cf72505c4fafa74f68bb1d1f9
Author: David Fries <david@fries.net>
Date: Wed Dec 1 08:39:12 2010 -0800
Fix typo in man page for the --test-xi2 option.
Signed-off-by: David Fries <david@fries.net>
Signed-off-by: Philip Langdale <philipl@overt.org>
commit 72c6ec92dcb647dbd7930f4fc3e60b1868f1a225
Author: Chase Douglas <chase.douglas@canonical.com>
Date: Wed Nov 17 10:42:38 2010 -0500
Zero out entire mask when selecting for different events
Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 746d437b60662b6da62af8dbd38f594a896b1db5
Author: Chase Douglas <chase.douglas@ubuntu.com>
Date: Fri Nov 12 17:35:15 2010 -0500
Print XI2 device event child window in hex too
This fixes an obvious error in the current print formatting.
Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 13d9a0906acca18a268b8898addc1a192c5a2b12
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Nov 11 13:56:22 2010 +1000
xinput 1.5.3
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 84798d18421535f47a00f4bc43787432f6725032
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon Oct 11 13:46:54 2010 +1000
Print an error if mode is neither ABSOLUTE nor RELATIVE.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Julien Cristau <jcristau@debian.org>
commit 6a794ab3ceb6d3527c0a87f610bc1d6cf26971ba
Author: Chase Douglas <chase.douglas@canonical.com>
Date: Thu Jul 1 18:36:42 2010 -0400
xinput: Split XI2 valuators and print index of events
XI2 events support bitmask selected valuators. When printing masked
events, we need to also print the index of the valuator value. This
change prints each valuator on its own line, prefixed by its index
Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit a5c9b0ffb969f71ec73a6c65f5135f5aa7805a38
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Jun 9 15:52:31 2010 +1000
list: only check the last bit in the device mode.
This works around a bug in X servers 1.7.x, 1.8.0 and 1.8.1 where the device
mode could sometimes be binary OR'd with the OutOfProximity flag. The result
was a value of 0b10 for relative and 0b11 for Absolute, both of which were
interpreted as relative by this code.
Affected is only the XIQueryDevice call, not the XListInputDevices call.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 3778f707cca0b9f023a8a5fc86e26776ef6e1b6c
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri Jun 4 11:11:03 2010 +1000
xinput 1.5.2
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 87ec8d42c7f8e4e0613bcbe59fb2db991e1e4acb
Author: Kees Cook <kees.cook@canonical.com>
Date: Wed Apr 14 21:19:48 2010 -0700
Atoms from XIGetProperty are 32bits (#27657)
A 32bit value must be dereferenced to correctly zero-extend an Atom
from XIGetProperty. On 64bit systems, Atom is 64bits, so the final
Atom in a list will read garbage in the upper half of the Atom.
X.Org Bug 27657 <http://bugs.freedesktop.org/show_bug.cgi?id=27657>
Signed-off-by: Kees Cook <kees.cook@canonical.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 79eada1b0a221c10a3300fa0c988879fd9062d99
Author: Will Thompson <will.thompson@collabora.co.uk>
Date: Tue Apr 6 11:26:39 2010 +0100
Support pointer: and keyboard: prefices for XI2 device names
I have a keyboard which is also a mouse, and shows up as two devices
with the same name. This patch allows me to reliably refer to the
pointer device.
Signed-off-by: Will Thompson <will.thompson@collabora.co.uk>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 26c8ad96bed67087f89439ec595e928e7f5c8a9c
Author: Will Thompson <will.thompson@collabora.co.uk>
Date: Thu Apr 1 15:35:34 2010 +0100
Warn and fail if a device name is ambiguous.
The XI1 path bails out if the user specifies a device by name and there
is more than one device, but the XI2 path previously just silently chose
the first one. This patch makes it fail outright.
Signed-off-by: Will Thompson <will.thompson@collabora.co.uk>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 19751d021524ee7237704b6158947c26aad4e8c5
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Apr 29 16:03:28 2010 +1000
test-xi2: Print out the sourceid for enter/leave events.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit de293d5bb46de46aaa6799940824c31de95f905b
Author: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
Date: Fri Apr 2 00:30:49 2010 -0500
man: use automake silent rules
Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
Reviewed-by: Rémi Cardona <remi@gentoo.org>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit e980a1fa1237089c0d28210fc32210d63113793f
Author: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
Date: Fri Apr 2 00:30:48 2010 -0500
man: Use AC_PROG_SED to find sed
Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
Acked-by: Gaetan Nadon <memsize@videotron.ca>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit f1577913026eead06795c629798a41e9e7d939c1
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon Mar 15 11:34:55 2010 +1000
xinput 1.5.1
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 88282e21598b25fca7868bf7d5fbaa76cc603bb4
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Mar 2 14:07:40 2010 +1000
test-xi2: print event type name as well.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Fernando Carrijo <fcarrijo@yahoo.com.br>
commit 4966627f5fc74b30a5cc9ca9292a0314aabf1734
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Feb 4 15:05:36 2010 +1000
man: document XI2 options
Document the options to modifiy the device hierarchy and change the
ClientPointer.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 8cd99782831c6d6e8407c7e99471780d118d2648
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon Jan 11 09:23:32 2010 +1000
man: remove reference to XListInputDevices
xinput --list uses XListInputDevices on XI1 servers and XIQueryDevice on XI2
servers. Also, who cares about that when reading the man page anyway...
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Acked-by: Julien Cristau <jcristau@debian.org>
commit 45aa64622fd2aea01de15bf192e39e1cbade9918
Author: Simon Thum <simon.thum@gmx.de>
Date: Sun Oct 18 15:10:56 2009 +0200
Clarify role of set-ptr-feedback
Signed-off-by: Simon Thum <simon.thum@gmx.de>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit a80014b71a878c5377c3b853f242ead4a6f8a270
Author: Julien Cristau <jcristau@debian.org>
Date: Sun Nov 29 11:04:57 2009 +0100
Add Peter and Red Hat's copyright notices and licenses to COPYING
commit 4ebc9712dec4de0a466292fb4e2fa5167004a802
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Thu Nov 26 09:19:54 2009 -0500
Makefile.am: add ChangeLog and INSTALL on MAINTAINERCLEANFILES
Now that the INSTALL file is generated.
Allows running make maintainer-clean.
commit f6c61dfdf92cc783867f2b1dd27dc400a0625f16
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Wed Oct 28 14:09:08 2009 -0400
INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206
Add missing INSTALL file. Use standard GNU file on building tarball
README may have been updated
Remove AUTHORS file as it is empty and no content available yet.
Remove NEWS file as it is empty and no content available yet.
commit 1a0f0a03655769afc337a715fcc81fe8ad3c2693
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Tue Oct 27 15:07:25 2009 -0400
Deploy the new XORG_DEFAULT_OPTIONS #24242
This macro aggregate a number of existing macros that sets commmon
X.Org components configuration options. It shields the configuration file from
future changes.
commit 76c7ff22a8180f7c9cac08ccbf76b9d3d55d5f0f
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Mon Oct 26 22:08:39 2009 -0400
Makefile.am: ChangeLog not required: EXTRA_DIST or *CLEANFILES #24432
ChangeLog filename is known to Automake and requires no further
coding in the makefile.
commit 3cc49225212abd82f7795c641baba3fa242fa9e8
Author: Gaetan Nadon <memsize@videotron.ca>
Date: Thu Oct 22 12:34:15 2009 -0400
.gitignore: use common defaults with custom section # 24239
Using common defaults will reduce errors and maintenance.
Only the very small or inexistent custom section need periodic maintenance
when the structure of the component changes. Do not edit defaults.
commit a813e9afba400280e5aea73f5b4a633a2a867df6
Author: Jeremy Huddleston <jeremyhu@freedesktop.org>
Date: Wed Oct 21 12:47:20 2009 -0700
This is not a GNU project, so declare it foreign.
On Wed, 2009-10-21 at 13:36 +1000, Peter Hutterer wrote:
> On Tue, Oct 20, 2009 at 08:23:55PM -0700, Jeremy Huddleston wrote:
> > I noticed an INSTALL file in xlsclients and libXvMC today, and it
> > was quite annoying to work around since 'autoreconf -fvi' replaces
> > it and git wants to commit it. Should these files even be in git?
> > Can I nuke them for the betterment of humanity and since they get
> > created by autoreconf anyways?
>
> See https://bugs.freedesktop.org/show_bug.cgi?id=24206
As an interim measure, replace AM_INIT_AUTOMAKE([dist-bzip2]) with
AM_INIT_AUTOMAKE([foreign dist-bzip2]). This will prevent the generation
of the INSTALL file. It is also part of the 24206 solution.
Signed-off-by: Jeremy Huddleston <jeremyhu@freedesktop.org>
commit 09b075863708e43b9c1202dd052f36d5f865f571
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Oct 13 15:25:19 2009 +1000
xinput 1.5.0
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 5f49354072a3d331fe359eac0ebff09506668952
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri Oct 9 15:28:34 2009 +1000
Clean up --version, don't require a DISPLAY and display the server version too.
version.c was removed, seemed a bit excessive for the 20 lines of code.
--version is integrated separate from the other commands now, checked before
opening the display. xinput now prints its own version in all cases, even if
the display is unavailable. If the display is available, it prints the
server version too. Example output:
$> xinput --version
xinput version 1.4.99.3
XI version on server: 2.0
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 7ecd7d55d7a7ab9f5cea5f34f28c7c221171c2bf
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri Oct 9 15:07:30 2009 +1000
man: clean up the man page.
Several changes to the man page to tidy it up a bit:
- RCS tag removed
- synopsis shortened, OPTIONS section added instead
- "xinput" dropped before the option descriptions, options in manpage
prefixed with '--'.
- device_name replaced with just device, since it may be a deviceid.
- Removed references to XI man page calls that some options use, it really
doesn't matter to users what the underlying Xlib call is.
- mark set-int-prop and set-float-prop as deprecated in the man page.
- add --test_xi2 flag
- Added a few more authors.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Alan Coopersmith <alan.coopersmith@sun.com>
commit 7010a6c924ce6937c8e040c837a118663d6dfdb3
Author: Thomas Jaeger <ThJaeger@gmail.com>
Date: Wed Oct 7 13:05:15 2009 -0400
Rework 'xinput list' code
* Drop the questionable --loop option
* Add a --long option (opposite of --short)
* Make --short the default if no device argument is given
* XI2: Make it possible to query a single device
Signed-off-by: Thomas Jaeger <ThJaeger@gmail.com>
squashed in a man page update for --short and --long.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 7d930a42e6c294ecaaf42585e37b8dc24be8a805
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Sep 24 10:45:54 2009 +1000
Bump to 1.4.99.3
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit a2392f62a93fd288abb8000556d1b34eadaf697f
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date: Mon Sep 21 17:30:55 2009 -0700
Use __xorgversion__ instead of RCS $Date in man page header/footer
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
commit 2ba793d412608dcad61dbca1c8c76740d4982e2b
Author: Julien Cristau <jcristau@debian.org>
Date: Tue Sep 15 17:37:34 2009 +0200
Use do_set_prop for set_{atom,float,int}_prop
Signed-off-by: Julien Cristau <jcristau@debian.org>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 79800e1e0fa3b45b6ed37453851df24c98da4435
Author: Julien Cristau <jcristau@debian.org>
Date: Tue Sep 15 17:55:35 2009 +0200
set-prop: add --type={atom,float,int} and --format={8,16,32} options
Allows creating new properties or modifying the type and format of
existing ones.
Signed-off-by: Julien Cristau <jcristau@debian.org>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 1665fa4e24930f7e3f1cfbc8bf50119ab7d6ca04
Author: Julien Cristau <jcristau@debian.org>
Date: Tue Sep 15 17:33:54 2009 +0200
Add a format and type argument to the set_prop functions
This will allow the addition of command-line options to set format and
type, and the reuse of this code for the set-{atom,float,int}-prop
paths.
Signed-off-by: Julien Cristau <jcristau@debian.org>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 650c52db8b30cebca3386ac350154a6b3a0abbe1
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Sep 16 12:29:26 2009 +1000
Require xorg-macros 1.3 for XORG_DEFAULT_OPTIONS.
commit 22fdd63f4521c89ae43bbfc6741e872b4a74d18f
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri Aug 21 15:56:19 2009 +1000
test_xi2: Print the key repeat flag if it is set.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 6c362c67ec7fb62d2d7bab5ab4e779147f941a33
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon Aug 3 15:59:16 2009 +1000
Bump to 1.4.99.2
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 10a5596e9cd6dbca0826929e03e9495703279822
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Jul 21 16:20:03 2009 +1000
test-xi2: Update to keycode grabs instead of keysym grabs.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 6aa2dbd555ca4d659acbebffabe28bf648eed32d
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Jul 16 16:14:01 2009 +1000
Print XINotifyPassiveGrab detail in enter events too.
commit b6949c809c69d824fa5fdb2825f045ed716237d8
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Jul 14 16:27:36 2009 +1000
test_xi: Print deviceid for enter events too
commit 59fc7423bf0e8d29747074449e7a3484cafb2f42
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Jul 14 16:13:48 2009 +1000
Use XI2 defines for enter/leave modes and detail.
Doesn't matter much since they are the same as the core ones anyway, but
nicer for consistency.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 9a20ce005c12cea9cf215125c96a00c7cbe988c7
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon Jul 13 16:05:25 2009 +1000
Adjust to new, split-up raw event types.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 7baaba9fbef48b1f45a51c1654e605df074800b8
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon Jul 13 09:18:35 2009 +1000
test_xi2: Plug memory leak with XGetAtomName.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit cb93b032989907e5274d9a5d95ae01535001ec19
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon Jul 13 09:15:49 2009 +1000
test_xi2: Update to use cookie events - require libXi 1.2.99.2
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit d7f6f7eda435b550d782b545cd7828b21c19b7b4
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Jun 30 16:18:20 2009 +1000
Plug memory leak from XGetAtomName.
commit 248faefc957a9b0877384842540b2d935e1b5c07
Author: Benjamin Close <Benjamin.Close@clearchain.com>
Date: Wed Jun 24 11:55:00 2009 +0930
Obtain the XInput opcode and check that GenericEvents are actually XI events
Signed-off-by: Benjamin Close <Benjamin.Close@clearchain.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 1c28ba44958389892470688ce394c034dc8efa21
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Jun 24 10:30:45 2009 +1000
test_xi2: don't map the window before selecting for events.
Mapping the window before selecting for XI2 events leaves some events out
(e.g. enter events if the pointer is already in the area where the window is
being mapped).
Reported-by: Thomas Jaeger
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit f00f6b1c58b3ded52d8cb0002e0bacd558bc874c
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Jun 24 10:29:12 2009 +1000
test_xi2: use %#x alternative printf format.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 97fbbe671827194fa175d6bd15f6189e921393c5
Author: Thomas Jaeger <ThJaeger@gmail.com>
Date: Tue Jun 23 12:49:56 2009 -0400
remove-master: document possible return modes in --help
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit f1e11109acae93f2d9cbee2333dcf7b65cf6151b
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Jun 23 13:26:56 2009 +1000
Fix --help output for create-master and remove-master.
Missing <> added. All parameters in the --help output have surrounding <> if
the parameter is something the user has to substitute.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 863423141a3347a013004c809e9d8ce29e11d377
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Sat Jun 20 17:59:59 2009 +1000
Bump to 1.4.99.1
We've had a 1.4 branch for a while now, this bump is way overdue.
commit e8ca8fa459eb2eb4d9e9faf294d7172fb4fdb17b
Author: Thomas Jaeger <ThJaeger@gmail.com>
Date: Sun Jun 14 13:58:39 2009 -0400
reattach: Default to return to VCP/VCK when returnMode is AttachToMaster
Signed-off-by: Thomas Jaeger <ThJaeger@gmail.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit f8b3dc4e1c43140514d20fbc9fddd0f352cbe40b
Author: Thomas Jaeger <ThJaeger@gmail.com>
Date: Mon Jun 15 21:45:32 2009 -0400
test-xi2: Report correct event coordinates
Signed-off-by: Thomas Jaeger <ThJaeger@gmail.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit cddc199d10952ec2a851e4b120061701e664be1b
Author: Thomas Jaeger <ThJaeger@gmail.com>
Date: Mon Jun 15 21:37:56 2009 -0400
test-xi2: Use standard macros instead of BitIsOn/SetBit
Signed-off-by: Thomas Jaeger <ThJaeger@gmail.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 82d338548e22ae271f50592e759794dd7536a207
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Jun 17 21:23:17 2009 +1000
Require inputproto 1.9.99.12
commit efab9cff2a3605c803786ff9a69ff1aeb155479d
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Jun 17 21:23:06 2009 +1000
Print the valuator value for absolute axes.
commit a4efa37a0646497ed46f4462d8c745ab17339f62
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Jun 17 21:22:23 2009 +1000
Print button and valuator labels when listing a device.
commit 632ef53adf1e18509dfa2a1ae820910aa0a88545
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon Jun 15 14:10:30 2009 +1000
Print button state when listing XI2 devices.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit e119d872c74f0190d40d5c4cd742c196aab6bf48
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri Jun 12 16:31:02 2009 +1000
Print the sourceid when listing device classes.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit a97520d6e5245ad15d7b7edbf355a343db53e144
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri Jun 12 16:29:37 2009 +1000
Use the XI2 class defines for listing device classes in XI2 mode.
Purely cosmetic change, the values are the same anyway.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 47983fbd12366ee8ce89b293955b43f7e49b1785
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri Jun 12 15:47:02 2009 +1000
Fix build errors introduced by inputproto 1.9.99.11.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 8659d4f88c805e764d671ae50dc110f742727dd7
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Jun 3 12:57:10 2009 +1000
xi2 test: add two missing breaks.
Printing a hierarchy event would always print only "master keyboard" or
"slave keyboard", never pointers.
commit 8917716f37e4acbd848ea0c6abd1c943bde2f24d
Author: Thomas Jaeger <ThJaeger@gmail.com>
Date: Fri May 29 19:23:04 2009 -0400
test-xi2: fix modifiers for XIGrabButton call
Signed-off-by: Thomas Jaeger <ThJaeger@gmail.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 6c701334d13aabc832b41a3a060dedb8978943d3
Author: Benjamin Close <Benjamin.Close@clearchain.com>
Date: Thu May 28 18:44:47 2009 +1000
Remove superfluous dev assignment.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 969aad3967e58acfcb3da3583858cae09694652a
Merge: 9aa8f48 5ad5edc
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed May 27 07:34:32 2009 +1000
Merge branch 'master' into xi2
commit 5ad5edc65e55fe4be63ba31acec4bc1fca96e81b
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed May 27 07:33:31 2009 +1000
Print empty properties as <no items>.
commit 9aa8f4826ed7120ae0ff759c6df40a0d3f37c720
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed May 27 07:33:52 2009 +1000
Print empty XI2 properties as <no items>
commit 13e9758b2ebd5d545c08903aab0eccd423851a30
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed May 27 07:33:31 2009 +1000
Print empty properties as <no items>.
commit 5fcd16638abf156a47d4d1c2e3caf0206b97b953
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed May 20 12:11:07 2009 +1000
Print None properties in XI2 mode too.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 7458e7dde70f5d9ff281848fb1a56e9a5f1dd783
Merge: 14f47c2 aae3bfe
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed May 20 12:10:44 2009 +1000
Merge branch 'master' into xi2
commit aae3bfee098567a80444b970aea4c737c736254c
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed May 20 12:02:31 2009 +1000
Deal with None atoms.
An atom may in some cases be 0 (None). Deal with this instead of failing with
BadAtom values.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 14f47c23f56c06058673748755b3e31a6d18edf1
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue May 19 15:28:16 2009 +1000
Print floating slaves in XI2 list mode.
Floating slaves are always printed last.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 1c72fd55d61371de81f44be5d92982a3012ad24b
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed May 13 14:20:58 2009 +1000
Update to new inputproto and libXi naming conventions.
Require inputproto 1.9.99.9.
commit 9c6a51e8aaba50b8f3a0f3ad767c34a80aee55a1
Merge: 239cd6a 4832dc1
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri May 8 15:15:45 2009 +1000
Merge branch 'master' into xi2
Conflicts:
src/xinput.h
commit 239cd6a673be2821915301c1b3c3bae063e9dd94
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri May 8 14:21:17 2009 +1000
Update to new inputproto defines.
commit 5d973706f4f706b7576bb6feac4beb7273438b78
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Apr 30 16:53:05 2009 +1000
update test_xi2 with a few more tests.
commit 4832dc1f3ee8d11eadc99b5cd4e8158773d11f9b
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu May 7 14:00:46 2009 +1000
XCloseDisplay when we're done.
This isn't really necessary, but we might as well be correct.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit d15a6c0c4cbf2b7d3feec0c829145e3036d84e4d
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu May 7 12:56:58 2009 +1000
Clean up xinput.h a bit
Remove the unnecessary NeedFunctionPrototypes ifdef.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 125074488dc27f484a30a8d076133c73f4d9ef48
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu May 7 14:37:58 2009 +1000
Add support for XI2 property requests.
If XI2 is available, we use XI2 for list-props, delete-prop and set-prop.
commit ff1b12265de1010aa22011c5db829274a8a3dab1
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu May 7 14:13:45 2009 +1000
Get the XIDeviceInfo instead of just the id.
This way we leak the XIDeviceInfo array, but then again it doesn't matter
since we exit after the command anyway.
And with the XIDeviceInfo around, we can actually print the name and
whatnot.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit ba2396b40a427c30c58f8c17b64f4cf7bfaa2909
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu May 7 14:00:46 2009 +1000
XCloseDisplay when we're done.
This isn't really necessary, but we might as well be correct.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit ea87f587e4090d2881ce8957476411b6de1c260b
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu May 7 13:59:12 2009 +1000
Remove one more unnecessary ifdef.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit a783c19f94e6fed28aeaf0550558cd0b63402b9c
Merge: 65e3e12 4e6e0dd
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu May 7 13:06:05 2009 +1000
Merge branch 'master' into xi2
Conflicts:
src/property.c
src/xinput.c
src/xinput.h
commit 4e6e0dd562e8e844bede349bd11c339644447d78
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu May 7 12:56:58 2009 +1000
Clean up xinput.h a bit
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 4b4b2e3f31cf08073887d8583997eb3340a6c2e1
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri May 1 11:22:53 2009 +1000
Create the float property if it doesn't exist.
If we don't have the float property we won't be able to use float properties
for device configuration since the drivers may not understand it.
We might still want to apply properties for client settings though.
Reported-by: Simon Thum <simon.thum@gmx.de>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 42dca922d287ffddcf2185ca96738f1505a04c27
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Apr 30 14:50:08 2009 +1000
If there's multiple null-terminated strings in the property, print all.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Simon Thum <simon.thum@gmx.de>
commit e9af7c5f602b5580df36c77ee1c2ed22ccf72134
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri May 1 09:14:46 2009 +1000
The float_atom should actually be an Atom
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 65e3e12fa6fc2043fbb0122c72a4f7df09b1c659
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Apr 30 14:50:08 2009 +1000
If there's multiple null-terminated strings in the property, print all.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit e7cd0436689b54d14e05a601e426cd600994db89
Author: Julien Cristau <jcristau@debian.org>
Date: Mon Apr 20 13:58:03 2009 +0200
xinput: add set-prop command
There's no reason to require the user to know the difference between
set-int-prop, set-float-prop and set-atom-prop, and to know the required
format for each integer property, since we can just ask
XGetDeviceProperty.
Signed-off-by: Julien Cristau <jcristau@debian.org>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 167034ba2798fbe34abf4748068ae480e45bfe13
Author: Julien Cristau <jcristau@debian.org>
Date: Thu Apr 16 18:55:46 2009 +0200
Factorize atom parsing in its own function
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 2722d1a177c9482989e314e0177c782563a0b54e
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon Apr 20 08:28:53 2009 +1000
XSync the display before jumping in the grab code.
The grab code only handles button presses, so we need to remove all events
before (exposures, enter/leave, etc.).
commit 0df21cff5cdf2cf4af0af353f0dbfc7c33388b32
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Sun Apr 19 21:28:25 2009 +1000
Add a hunk to test XI2 sync'd grabs.
commit dd27752cbff03ea79ac76801d3748edc348570dc
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Sun Apr 19 21:27:40 2009 +1000
Register for exposure events and block until we're mapped.
commit a7de225eea0c7561e73d44c63844a8e98dea9676
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Sun Apr 19 21:09:49 2009 +1000
Print event/root x/y on device events.
commit 795799eff591be1fa8ce5199aa89a86dcb4b04e8
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Sun Apr 19 20:33:40 2009 +1000
Actually print event_y when trying to print event_y in Enter/Leave events.
commit 57d367b74d1068d38ce313a06a36654fd82ad460
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Sat Apr 18 08:43:43 2009 +1000
replace BYTE with an unsigned char.
commit a577bada8dddf3241a59cab812f5128131c46b29
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Thu Apr 16 09:20:16 2009 -0400
Fix set-float-prop on 64-bit architectures.
Since 32-byte data on 64-bit machines must be passed in as 64-bit longs, let's
typecast around a bit.
Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
commit de6326a75de810752a5b4e4c2f5fe98a2f7241a9
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Apr 14 09:13:15 2009 -0400
fix 64 bit issues with set-int-prop and list-props.
libX11 uses longs for 32 bit values, increasing hilarity on 64 bit machines.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 1e3da5be51efebdd75df540a1c94baa6505cfc9a
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Apr 14 13:54:40 2009 +1000
Fix 64 bit issues with set-int-prop.
libX11 expects longs for 32 bit numbers.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 2f8f2193fdfe783c0854772cc46f1b2e0b2e3ec4
Author: Simon Thum <simon.thum@gmx.de>
Date: Thu Mar 26 13:52:15 2009 +0100
xinput: include device type in device list
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 17d537fd65ba9b1c99a0dde7833eb4069cc624a8
Author: Simon Thum <simon.thum@gmx.de>
Date: Thu Mar 26 15:19:47 2009 +0100
xinput: mention set-float-prop in manpage
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 286724a1417ffda447be918e8bcf46cc37ed715b
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon Apr 6 09:54:07 2009 +1000
xinput 1.4.1
commit 4134bd0f23acf3ff30311007ceba9ecbe568a70a
Author: Benjamin Close <Benjamin.Close@clearchain.com>
Date: Thu Feb 19 14:39:29 2009 +1030
Error out when selecting a device by name but more than one instance of the name exists
Previously the check was in place for the duplicate name, however the first
device with the requested name was still selected regardless.
Correct this by exiting out forcing the user to select by id instead
Signed-off-by: Benjamin Close <Benjamin.Close@clearchain.com>
commit b04e8b472022c185123638a3d4639fbbcf0f144f
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Mar 11 09:52:08 2009 +1000
Print enter/leave and focus events.
commit 70aac046bb4fb0028fcf018ae72bf29acfe6abac
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Mar 10 15:41:15 2009 +1000
Register for raw events
commit 54136f2c2a37e92a5b5e49035d27ce6728e12e3a
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Mar 10 13:23:53 2009 +1000
Change event registration a bit, using SetBit instead.
commit 959faacf2e125312b3ff0cc71f4e0b4ee059757f
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Sun Mar 8 17:41:23 2009 +1000
Print out hierarchy events
commit ab0632284539460dd66c76e023894540fe77fcd2
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Sun Mar 8 12:25:15 2009 +1000
Print DeviceChanged events.
commit 57940c7995a3779792213468cafe7d982d009035
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Mar 3 15:44:45 2009 +1000
Add test_xi2 for xi2 testing.
commit 3cad22debfaceca754fc166ca766d92b7a8faf70
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Mar 4 21:57:54 2009 +1000
If XI2 is available, list devices through XIQueryDevice.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 5aa923fc560718b9a093ad18966f4530eef0efd7
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Feb 26 16:14:21 2009 +1000
Update to new XI2 requests and sanitize the check for XI2 in configure.
Check for the actual library version, not for some random function inside the
library.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit a12acdea9e289c9495bc14dd886e9a68cf9a533f
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Mar 4 21:25:50 2009 +1000
Change is_xinput_present() to xinput_version().
Returns major version of XI.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit a197551573663cab9e79e07e2de9d423c7a7a572
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri Mar 6 22:13:17 2009 +1000
add xi2_find_device_id
commit 4ad33929e0f640dbc91004857ed2168006d21a71
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Feb 26 16:09:17 2009 +1000
Rip HAVE_XI2 conditional functionality out.
XI2 needs to be harder separated now.
commit 10f5f9da1d4d7f6eb75d10316f318a7c9d7dc28b
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Feb 26 15:53:24 2009 +1000
Clean up xinput.h a bit.
All functions have to look the same anyway, so might as well use a one-line
macro to declare them.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 199c323332dac782b45dcb092da0322149843d5a
Author: Benjamin Close <Benjamin.Close@clearchain.com>
Date: Thu Mar 12 21:17:53 2009 +1000
Error out when more than one instance of a name exists
Previously the check was in place for the duplicate name, however the first
device with the requested name was still selected regardless.
Correct this by exiting out forcing the user to select by id instead.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 49ef8a40f96c0383a8a42a78fda3a990ac934e59
Author: Simon Thum <simon.thum@gmx.de>
Date: Wed Jan 21 14:09:29 2009 +0100
small fixes to the propery output
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit d923fd3366de8e26a328f3aa89bd531dd4a6304d
Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
Date: Wed Jan 21 19:35:52 2009 -0200
Correct make distcheck and sparse warnings.
commit 6f444b5d063452e7a8705c756269960e509241d8
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri Jan 16 12:48:05 2009 +1000
xinput 1.4.0
commit aabe69b44c14c443df1dfb25d23e1c180a6a029d
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri Jan 16 09:53:01 2009 +1000
Add set-atom-prop to set properties containing other properties.
commit 9870cb4120961f15d3e372a1ba49b5d32013e819
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri Jan 16 09:51:57 2009 +1000
Don't linebreak after listing a string or atom property.
commit 4f474d5e78789cb0248e69852ab9abc992acad23
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri Jan 16 09:50:05 2009 +1000
Fix wrong type conversion in listing Atom properties.
commit 1b6fbf9ead978322beccc1970b925dce0cd43815
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri Jan 16 09:06:54 2009 +1000
Require libXi 1.2 and inputproto 1.5.
Device properties are available in a released libXi version now, so there's no
need to keep them conditional, make 1.5 mandatory.
We also have the explicit check for XI2 functions in libXi, so there's no need
to have requirements for inputproto 1.9.99.5.
commit 99c932c1a0db7821df3ef78efcfe4824697c4815
Author: Simon Thum <simon.thum@gmx.de>
Date: Mon Jan 12 14:24:26 2009 +1000
Add set-float-prop option to set properties using floating point numbers.
Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
commit ffff875c2c587e3ad64d57afc1c432de77497c10
Author: Sascha Hlusiak <saschahlusiak@arcor.de>
Date: Tue Sep 30 17:54:08 2008 +0200
Call XSync instead XFlush to be able to handle errors
When setting properties, the program terminated successfully before any BadMatch or
BadValue could be processed. Calling XSync informs the user about errors.
commit 50e5235ecd7142892567c7d3ea6460907538b421
Author: Sascha Hlusiak <saschahlusiak@arcor.de>
Date: Tue Sep 30 15:27:56 2008 +0200
Add --get-button-map option.
commit 7f046c957d4529249bcb69b35f6513411f6efcf5
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Fri Sep 26 13:57:41 2008 +0930
Require inputproto 1.9.99.5
commit ccef360e5ee6598a0ab722389bdf8d391ff7efee
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Fri Sep 26 13:55:33 2008 +0930
Add --delete-prop option.
commit db4b03629f690d69320f401b9568d5a861b19f9c
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Fri Sep 26 13:51:36 2008 +0930
Use updated property events.
No more QueryDeviceProperty request.
commit 6b85506eaf5bef0a7d823450d34e08e51a8010bb
Author: Bryce Harrington <bryce@canonical.com>
Date: Sat Aug 30 15:01:59 2008 +0930
Add --list-props, --watch-props and --set-int-prop options to man page.
Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
commit 1c7b473b7e64f8b616aba70926f93d37d5269c28
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Fri Aug 15 15:38:13 2008 +0930
Require inputproto 1.9.99.4
commit ca0b0fa7f84642cf2b1ba7d5d88487afbc8a6d29
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Fri Aug 15 15:28:55 2008 +0930
Use XI 1.5 property events.
commit 316cc15f4217db0e4e47846e200d274dd5893b3a
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Thu Aug 7 17:52:08 2008 +0930
Don't require extension devices for button mapping.
VCK and VCP can be opened too now.
commit b0c15823f1faadb24d5b7457f5b5fd1c9f248a1f
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Thu Aug 7 17:51:34 2008 +0930
Print property values in addition to their names.
commit 5d833a190319b64d81293514027cebaaa3f74ffd
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Thu Aug 7 17:49:48 2008 +0930
Property code: If the Atom specified was an Atom, actually use it too.
Don't ignore an atom if it has been specified with it's number instead of the
name.
commit 6ebdca422d12e3326f9ab59767e05eefd24ff85f
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Jul 8 18:00:21 2008 +0930
Add list-props, set-int-prop and watch-props parameters.
These parameters allow modification and display of input device properties.
commit 98b79fc5b050eea6141ad78cff4e0577f8e75c77
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Jul 8 18:01:48 2008 +0930
Remove ChangeLog, is autogenerated now anyway.
commit 86cab0389d9a02901c82e2072e4043a404fb2ebc
Author: Benjamin Close <Benjamin.Close@clearchain.com>
Date: Wed Jun 25 15:13:54 2008 +0930
Clean up the detection of XI2
Signed-off-by: Peter Hutterer <peter@cs.unisa.edu.au>
commit 6482e8ef8039eba98de03f0bb708d1151bc1577e
Author: Benjamin Close <Benjamin.Close@clearchain.com>
Date: Thu Jun 5 14:30:09 2008 +0930
Correct the check for XI2, not every shell supports ==, but they do =
Signed-off-by: Peter Hutterer <peter@cs.unisa.edu.au>
commit 8578813fda6787866b6a23b265696a673b213724
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Tue May 27 11:33:36 2008 +0930
Test for XI2 functions in libXi, add #ifdefs to build in non-XI2 setups.
commit 380b9665e86f403b56f9b96c2773b91d69588fb1
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Tue May 27 10:16:08 2008 +0930
Use find_device_info instead of requireing device ids on the cmdline.
commit 6ecbe3059cbc3561657841b9ee9b61e03c583eb8
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Tue Apr 29 11:20:03 2008 +0930
Use new XQueryInputVersion() request to tell the server we can do XI 2.
commit e3b705dc15d07bbb478ced6b54a5e0553d978113
Merge: ac3498c 834422a
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Mon Apr 7 17:24:16 2008 +0930
Merge branch 'master' into mpx
Conflicts:
src/xinput.c
(just a whitespace conflict)
commit 834422a9c68ecf84f5b8477567a785bc8e26217a
Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
Date: Sun Mar 16 19:37:17 2008 -0300
Compile warning fix.
Ansify a function without arguments.
Signed-off-by: Peter Hutterer <peter@cs.unisa.edu.au>
commit 8c7460ee11d9fbdcbdf13f2fa7fb62f26bac92dc
Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
Date: Sun Mar 16 19:36:17 2008 -0300
Mandriva patches to xinput.
Change to src/list.c fixes a typo/oversight.
Change to configure.ac required to avoid possible error in configure step
due to "unquoted" version test.
Signed-off-by: Peter Hutterer <peter@cs.unisa.edu.au>
commit ac3498c9b8a54143a9d023fe530c62e24c4651e0
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Mon Feb 18 17:17:39 2008 +1030
Modify to work with the changes in the XChangeDeviceHierarchy API.
commit 6729d777c48f38290c8f0e8d0e5f17182faa5120
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Wed Feb 13 16:35:18 2008 +1030
Update XiSelectEvent API usage, has device argument now.
commit 865c7bd8013f9882163234cce6cdd4168525815c
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Tue Jan 15 20:32:47 2008 +1030
Remove deprecated imakefile.
commit a01e5475d17c584bfa3b2d67570d675aebf4e6fd
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Tue Jan 15 20:32:28 2008 +1030
Replace Fred's name in the main license text with a general "The authors".
Makes it less messy to add authors.
Frederic Lepied's permission obtained via email.
commit b06af76677cd70912c9c4f381b0baed28b4f89a4
Author: Julien Cristau <jcristau@debian.org>
Date: Thu Jan 10 20:19:55 2008 +0100
Change xinput_CFLAGS to AM_CFLAGS to clear automake-1.10 warning
src/Makefile.am:27: compiling `buttonmap.c' with per-target flags requires `AM_PROG_CC_C_O' in `configure.ac'
Also remove -lm from xinput_LDADD, as it isn't needed.
commit 456a1eab4b0b2f4a9bdc8ca02657869595c4bc60
Author: Philip Langdale <philipl@fido2.homeip.net>
Date: Wed Jan 9 18:25:27 2008 -0800
Add ChangeLog rule.
commit caee9103c1569b7eba189e7a7c977971efec4458
Author: Philip Langdale <philipl@fido2.homeip.net>
Date: Wed Jan 9 18:24:28 2008 -0800
Update .gitignore
commit 49d37729f1d7212aad8afbd91b49a37c4e93a796
Author: Philip Langdale <philipl@fido2.homeip.net>
Date: Wed Jan 9 18:22:27 2008 -0800
Update news for 1.3.0 release.
commit ff7a63770ab9ce7336c7a9a70b0ae86de4b35bf3
Author: Philip Langdale <philipl@fido2.homeip.net>
Date: Wed Jan 9 18:17:43 2008 -0800
Add a warning when the user specifies an ambiguous device name
suggesting that they use the device id instead.
commit 06447732750a022a44476f8929568f0b11bfc6e9
Author: Philip Langdale <philipl@fido2.homeip.net>
Date: Wed Jan 9 18:16:54 2008 -0800
Update man page.
commit fcace3ec3be0276e163651c30681edec6ffdea17
Author: Philip Langdale <philipl@fido2.homeip.net>
Date: Wed Jan 9 18:14:12 2008 -0800
Update documentation
commit 115cbd4025a9eb9531633c3e8481cb1923789f57
Author: Philip Langdale <philipl@fido2.homeip.net>
Date: Wed Jan 9 18:08:37 2008 -0800
Make dependency on inputproto >= 1.4 explicit.
commit 2497824aa16683eaeaab4bf374ddc9e04688320a
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Mon Jan 7 18:56:54 2008 +1030
Don't overwrite daemon with argc.
This must be a leftover from my excessive out-of-order cherry-picking. Turns
out when --short was supplied we'd set daemon to argc, causing a loop waiting
for an event that'd never come. A bit like Godot actually.
commit a6feac1e18cdeffc42bc992faa8c95eaec420378
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Thu Dec 20 12:29:27 2007 +1030
Add support to set the client pointer.
Couple of whitespace changes too.
commit d02601e5c88d1d40e12cd71c2c10c7822919f7b8
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Thu Dec 20 12:27:32 2007 +1030
Register for DeviceClassesChangedEvents, reprint the list when we get one.
Only in list --loop mode though.
commit 60dafc9de224e2f1e53826858e5335916dc6d8c8
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Thu Dec 20 12:21:34 2007 +1030
Add --loop to "xinput list". Re-prints devices when hierarchy changes.
commit d1428764180c927cfa45298f5b7d0bf14eacc2da
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Thu Nov 8 14:53:18 2007 +1030
Add support for device hierarchy changes.
commit 1b4b4191e09ad01bd818d4307836b37ffd8fa5bd
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Sun Nov 18 12:36:32 2007 +1030
Print out attachment of slave devices.
commit 82dfa529165657edc4e66e072d1515638e1edc66
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Thu Dec 20 12:06:33 2007 +1030
Remove leftover trailing whitespaces.
commit 9b24e279439a800e72819ca63441a083a89643b6
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Thu Dec 20 11:52:41 2007 +1030
Add --short argument to list. Only prints name and ID.
commit 2a67ff9098efa0e1d53388816a0344067a3c21be
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Thu Dec 20 11:45:11 2007 +1030
Support GNU style options the dodgy way.
Simply removing all preceding "-" from the function name before running the
usual comparison.
commit 6a8c883794a3fc66d95e94c5a1e2902a46f9ede8
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Tue Nov 27 09:41:56 2007 +1030
Remove a few trailing whitespaces.
commit 14f32f4cb911a0086ccec94a64eb61533dc332bf
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Mon Dec 3 12:40:03 2007 +1030
Remove trailing whitespaces (buttonmap.c)
commit 58c513b0b9f610db2df8b26c483db6eb1b04dfdf
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Thu Nov 15 16:21:32 2007 +1030
Let autoconf substitute the VERSION.
commit c0178d2afef586f58f42508a9b8bd78e4e6e0cb8
Author: Philip Langdale <plangdale@vmware.com>
Date: Thu Nov 8 14:55:41 2007 +1030
Expand check to support XExtensionKeyboard/Pointer.
Search for PtrFeedbackClass instead of assuming it's the first class in the
list.
commit 451740ba094c37ac9e06c7ba7f466b5ab1beea08
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Thu Nov 8 14:23:40 2007 +1030
Death to RCS tags, remove compiler warning, get version from config.h.
commit 8806f3db5417f1c5946b6589cf2f043e9e7c68d3
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Thu Nov 8 14:16:34 2007 +1030
Autotool the lot.
commit 1e0b1816a95910631a6b1c8572b9689c32aeb3a0
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Thu Nov 8 10:21:21 2007 +1030
xinput as straight from the tarball.
|