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 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838
|
commit f7850a40424f7ec0c32fb2b46d427b51b5410d99
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri Dec 11 13:42:33 2009 +1000
evdev 2.3.2
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit bd4102af6e168c1b9129301f88e9601f8f5e0848
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Dec 1 15:44:39 2009 +1000
Fix up BTN_TOUCH handling for non-button tablets.
BTN_TOOL_* is treated as tool, just like before. BTN_TOUCH on the other hand
may need to be treated as a button left press. This again requires a button
class.
Tested on an HP Touchsmart and a Wacom tablet.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit 1b0df04abe329433658c95debdafdf1714173814)
commit 22e816eb326a5495a5dc6e0a94394534d6645bae
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Dec 1 14:16:10 2009 +1000
Only init the calibration property for absolute devices.
Relative devices can't be calibrated anyway so why bother.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit 2ca24a16f08095f35d5610f16e202c525b3075e9)
commit b6b377fe9afa51ee8cbef8e9830537806e94a3ac
Author: David Woodhouse <dwmw2@infradead.org>
Date: Tue Dec 1 00:14:54 2009 +0000
Report initial calibration parameters.
Where an initial calibration is provided through the Calibration option
to the driver, it wasn't being exposed in the 'Evdev Axis Calibration'
property. Remedy that...
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Acked-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit 7b285a802b8ccddd1edcf40ab345c4a96bcdf43c)
commit 3772676fd65065b43a94234127537ab5030b09f8
Author: David Woodhouse <dwmw2@infradead.org>
Date: Tue Dec 1 00:12:36 2009 +0000
Swap axes before applying touch screen calibration.
When the SwapAxes option is set, the X and Y axes in calibration should
be labelled as the user perceives them -- not as the kernel sends them.
Currently, we apply the X-axis calibration to the X-axis of the input,
and then do the axis swapping so we've actually applied the X-axis
calibration to what the user sees as the Y-axis.
This patch changes the order of the operations, so that the axes are
swapped before the calibration is applied.
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Acked-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit f187badb71554a73bf9ca30ce75c9d166e688f03)
commit 4f05afd495214ad48ffab7bdb1cde69aacc5af8f
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri Nov 20 11:18:03 2009 +1000
evdev 2.3.1
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit c6964dd28a114e23de21f91c0323ae4f03fb0f16
Author: Bartosz Brachaczek <b.brachaczek@gmail.com>
Date: Fri Nov 13 00:18:00 2009 +1000
Set all valuators for relative motion events (#24737)
We should process all the deltas reported by a relative motion device,
otherwise some devices such as A4Tech X-750F or similar may trigger a
situation when the `v` array contains random values (it isn't
initialized anywhere) and later we process them and in effect the mouse
cursor "jumps" on the screen.
I'm not sure why, but we also must be sure that the `first` and `last`
variables reflect the axis map, otherwise the mouse cursor "jumps" on
the screen when clicking mouse buttons in some rare cases reported by
Bartek Iwaniec on Bugzilla. That's why a simple initialization of the
`v` array with zeros isn't sufficient.
X.Org Bug 24737 <http://bugs.freedesktop.org/show_bug.cgi?id=24737>
Signed-off-by: Bartosz Brachaczek <b.brachaczek@gmail.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit c1f16a4f59a584ab4546c2f16e20b06703042057)
commit 175af93bdb5928236e5c402a77d164313497d72a
Author: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date: Mon Nov 2 23:11:55 2009 -0800
Relax checks when reopening devices
When checking whether we are dealing with the same device as before
when we try to reopen it evdev should not require exact match of
entire keymap. Users should be allowed to adjust keymaps to better
match their hardware even after X starts. However we don't expect
changes in [BTN_MISC, KEY_OK) range since these codes are reserved for
mice, joysticks, tablets and so forth, so we will limit the check to
this range.
The same goes for absinfo - limits can change and it should not result
in device being disabled.
Also check the length of the data returned by ioctl and don't try to
compare more than we were given.
[peter: moved the key comparison below the led+abs comparison]
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit a0f7f34dc5effc5822c618bfbf3a0872669c30ad)
commit 7c3c7f83d02c611d9660a6f6ef4201b71017d42d
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon Nov 2 13:57:18 2009 +1000
Fix drag-lock property handler for multiple draglock buttons.
Parsing of the values was wrong. Given an input of 1 2 3 4, button 1 sets
the lock for button 2 and button 3 sets the lock for button 4.
This also means we need to return BadMatch if the property isn't a multiple
of 2.
Red Hat Bug 524428 <https://bugzilla.redhat.com/show_bug.cgi?id=524428>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit 11669d82790fd7c94c44c0d487d3fa5e203528e9)
commit aa6399fdb9ec970e205b1efb336338ac870d2bcf
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon Oct 19 11:40:24 2009 +1000
evdev 2.3.0
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 1d86f5dec16beaf9391f320d7702cc59e9486bf4
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Oct 15 11:13:47 2009 +1000
Convert IgnoreAbsolute/RelativeAxes options into trinary state.
The Xen Virtual Pointer device exports both absolute and relative axes from
the kernel device. Which coordinates are used is a run-time decision and
depends on the host-specific configuration.
0a3657d2ee62f4086e9687218cb33835ba61a0b3 broke these devices, and they are
now unusable out-of-the-box as there is no configuration to cover them.
This patch converts the IgnoreAbsoluteAxes and the IgnoreRelativeAxes
configuration options into a trinary state.
1. If unset, configure the device as normal by trying to guess the right
axis setup.
2. If set to true, ignore the specific axis type completely (except for
wheel events).
3. If set to false, explicitly 'unignore' the axis type, alwas configuring
it if it is present on the device. This setting introduces seemingly
buggy behaviour (see Bug 21832)
1. and 2. replicate the current driver behaviour.
The result of 3. is that is that if a device has absolute axes and the
options set to false, both axes will be initialized (absolute last to get
clipping right). This requires axis labelling priorty to switch from
relative first to absolute first.
Relative events are forwarded into the server through the absolute axes,
the server scales this into the device absolute range and everyone is happy.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit fbd86e2530f3f69f397d3bae9ad87cf8e2d14221
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Oct 15 10:52:27 2009 +1000
Fix copy/paste typo in comment.
commit 9ea1f9a6954c8dceee17076f10ff0f82f042de88
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Oct 13 10:49:46 2009 +1000
Fix typo, use uppercase like the other messages
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 57b54ee3995f2f678ef359e7663cad517a8b2433
Author: Oliver McFadden <oliver.mcfadden@nokia.com>
Date: Mon Oct 12 16:32:51 2009 +0300
evdev: Support the "Calibration" string option.
Originally based on a patch from Daniel Stone, this commit allows for
the calibration factors to be set either from Xorg.conf or via HAL.
Previously the only way was via the properties interface.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit f2dc0681febd297d95dae7c9e3ae19b771af8420
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Oct 6 19:09:33 2009 +1000
Finalize the middle button emulation when a read error occurs (#23048)
If a read error occurs, remove the block and wakeup handlers for middle
mouse button emulation. Otherwise, they'll still be around after the device
has been reopened and overwritten with the new ones created by EvdevOn. Once
this happened, future removal of the device can lead to a server crash.
X.Org Bug 23048 <http://bugs.freedesktop.org/show_bug.cgi?id=23048>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 3fa49dfcab9081787840ed6bb9451cb73f65e248
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Oct 8 14:26:41 2009 +1000
evdev 2.2.99.2
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 941391ca34a7537542f0bb894fc0f02e200165b4
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Sep 30 12:05:17 2009 +1000
Add explicit options to ignore relative or absolute axes.
The X server cannot deal with devices that have both relative and absolute
axes. Evdev tries to guess wich axes to ignore given the device type and
disables absolute axes for mice and relative axes for tablets, touchscreens
and touchpad. This guess is sometimes wrong and causes exitus felis
domesticae parvulae.
Two new configuration options are provided to explicitly allow ignoring an
axis. Mouse wheel axes are exempt and will work even if relative axes are
ignored. No property, this option must be set in the configuration.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Acked-by: Daniel Stone <daniel@fooishbar.org>
commit 2144f7d83426136cc1a9de2fafb302683645c6da
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Sep 30 11:49:21 2009 +1000
Remove unused has_xy.
has_xy is only ever set, but not used for anything else.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 61b4e88e01f32e976f85e7970a7f5b21fcd84f97
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon Sep 21 16:56:28 2009 +1000
emuWheel: fix signed/unsigned screwup
This patch fixes wheel emulation on buttons other than 0.
Reported-by: Andy Neitzke
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 9ee70943ec304b08b8e4651c512a8e65fa13cc9c
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri Sep 11 09:57:22 2009 +1000
Require xorg-macros 1.3 and XORG_DEFAULT_OPTIONS
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 415b6ffa958e3103eeb52af4ccd881497169eed4
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Aug 20 11:02:31 2009 +1000
Only take the driver-internal button mapping to count buttons (#23405)
Regression:
If a user has multiple buttons mapped to the same button number, the
number of buttons counted is set to a wrong value. e.g. a button
mapping of 1 1 1 for a mouse with three buttons would only initialize 1
button to the X server.
In the future, the user cannot change this button mapping as the server
only knows about one button.
The user-supplied button map (option ButtonMapping) shouldn't matter when
counting the buttons. Only the driver-internal mapping (BTN_0 -> button 1,
etc.) matters.
X.Org Bug 23405 <http://bugs.freedesktop.org/show_bug.cgi?id=23405>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit f4ba2bd785b25fd522967abd7775925d5fded70f
Author: Dima Kogan <dkogan@secretsauce.net>
Date: Sun Aug 16 23:11:50 2009 -0700
Allow 0 as wheel emulation button for unconditional scrolling (#20529)
If wheel emulation is on and the emulation button is 0, then any x/y motion
of the device is converted into wheel events. The devices becomes a
scrolling-only device.
Signed-off-by: Dima Kogan <dkogan@cds.caltech.edu>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 2e5f68754fd5bc4e6b7fa5b95bdd30e2bb4e57fb
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon Aug 17 09:41:11 2009 +1000
Restrict wheel emulation to a single axis at a time.
Wheel emulation works for both horizontal and vertical axes. Thus, if a
device doesn't move in perfect straight line, scroll events build up on the
respective other axis.
In some clients, scroll wheel events have specific meanings other than
scrolling (e.g. mplayer). In these clients, erroneous scrolling events come
at a high cost.
Thus, if a scroll wheel event is generated for one axis, reset the inertia
of the other axis to 0, avoiding the buildup of these erroneous scrolling
events.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 8fdb2abb6fe0426cbbfeead2c187092a56792557
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri Aug 14 12:59:27 2009 +1000
man: fix documentation for EVDEV_PROP_WHEEL_BUTTON
0 doesn't disable it, it's still treated like a button number. copy/paste
error.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit ca0fb396f1a4b87be9f8aa7ad066e0b469c9075d
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri Aug 14 11:00:12 2009 +1000
evdev 2.2.99.1
commit 7967677789e3ee24733b3514e1ae7a8e12bbc2b5
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri Aug 14 09:05:40 2009 +1000
Treat tablets (BTN_TOOL_PEN devices) differently from touchpads.
The previous checks for BTN_TOOL_FINGER and BTN_TOUCH reported false
positives for touchpads for most popular tablets.
As a result, their events were converted to relative events.
Add a new flag EVDEV_TABLET pending presence of BTN_TOOL_PEN and ignore the
touchpad special casing to report the events as-is.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 36064dca9097df896b4b1b49c9c68775f1728846
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Aug 13 10:27:16 2009 +1000
Add EvdevPostButtonEvent API to immediately post a button event (#23269)
The wheel emulation code needs this API. When the timer expires, the event
must be posted immediately, not enqueued onto the internal event queue.
Otherwise, the emulated middle button press is enqueued only and no event is
sent until the next physical event (and its EV_SYN) arrives.
Since the timer is triggered outside of the SIGIO and SIGIO is blocked
during this period anyway, we could also just enqueue the event and flush by
simulating an EV_SYN. It's easier this way though.
X.Org Bug 23269 <http://bugs.freedesktop.org/show_bug.cgi?id=23269>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Acked-by: Oliver McFadden <oliver.mcfadden@nokia.com>
commit 8bf93709cbcf9f041cd177e929ff46adce8a6b79
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Aug 13 10:16:18 2009 +1000
Rename parts of the Post API to a Queue API.
Button and key events aren't posted from EvdevPost*Event, they are simply
enqueued onto the evdev-internal event queue until the next EV_SYN arrives.
Rename those interfaces from EvdevPost* to EvdevQueue* and leave only those
that actually post to the server with a matching "*Post*" name.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Acked-by: Oliver McFadden <oliver.mcfadden@nokia.com>
commit 37373a223b2aeef7041c9c0bb99be613789a3125
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Aug 13 10:26:33 2009 +1000
comment typo fix
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit d764dded18c47cec009babc075f2324cba1781ce
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Aug 5 18:57:30 2009 +1000
Skip check for EVDEV_RELATIVE_EVENTS for wheel events.
This patch fixes a regression introduced with 1f641d75e.
Wheel axis events are posted as button clicks, a device may have no relative
axes but it does need to post these button clicks.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit f352598e45be86f9e24d9dba88c657f03f3b168e
Author: Michael Witten <mfwitten@gmail.com>
Date: Tue Aug 4 03:11:49 2009 -0500
evdev.c: Fix/improve discrimination of rel/abs axes
The relevant comment from evdev.c:
We don't allow relative and absolute axes on the same device. The
reason is that some devices (MS Optical Desktop 2000) register both
rel and abs axes for x/y.
The abs axes register min/max; this min/max then also applies to the
relative device (the mouse) and caps it at 0..255 for both axes.
So, unless you have a small screen, you won't be enjoying it much;
consequently, absolute axes are generally ignored.
However, currenly only a device with absolute axes can be registered
as a touch{pad,screen}. Thus, given such a device, absolute axes are
used and relative axes are ignored.
The code for initializing abs/rel axes has been abstracted out into
3 functions, so that initialization in EvdevInit(device) is as easy
as:
if (pEvdev->flags & (EVDEV_TOUCHPAD | EVDEV_TOUCHSCREEN))
EvdevInitTouchDevice(device, pEvdev);
else if (pEvdev->flags & EVDEV_RELATIVE_EVENTS)
EvdevInitRelClass(device, pEvdev);
else if (pEvdev->flags & EVDEV_ABSOLUTE_EVENTS)
EvdevInitAbsClass(device, pEvdev);
Signed-off-by: Michael Witten <mfwitten@gmail.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 69d6ff3e01263ce2d52ed18b08f054bf3fdb923c
Author: Oliver McFadden <oliver.mcfadden@nokia.com>
Date: Sun Aug 2 12:03:04 2009 +0300
evdev: Use the EvdevPost...Event() functions in the emulation code.
This is similar to commit 1f641d75edba7394201c1c53938215bae696791b.
It provides the same functionality of queuing the (in this case
emulated) events and waiting until an EV_SYN synchronization event is
received before posting them to the server.
This preserves the order of events (both real and emulated) and ensures
that MotionNotify events will always be posted first. It also unifies
the event posting into a few small functions which improves
maintainability.
From this point on, you should never use the xf86Post...Event()
functions in new code, but rather the EvdevPost...Event() versions.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 6f4634111a83808bc52e7e53733cf2d3bab0cccd
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Jul 30 09:27:27 2009 +1000
Evdev doesn't require inputproto.
None of the inputproto headers seem to be included anywhere.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 1f641d75edba7394201c1c53938215bae696791b
Author: Oliver McFadden <oliver.mcfadden@nokia.com>
Date: Thu Jul 23 13:19:49 2009 +0300
evdev: Only send the events at synchronization time.
Instead of just posting the button/key press/release events to the
server as soon as they arrive, add them to an internal queue and post
them once we receive an EV_SYN synchronization event.
The motion events are always sent first, followed by the queued events.
There will be one motion event and possibly many queued button/key
events posted every EV_SYN event.
Note that the size of the event queue (EVDEV_MAXQUEUE) is arbitrary and
you may change it. If we receive more events than the queue can handle,
those events are dropped and a warning message printed.
Tested on my Lenovo T400 using evdev for all input devices; keyboard,
touchpad, and trackpoint.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 2994825665790dc8e35b2944e0d411f3cc9f76fd
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon Jul 20 14:52:34 2009 +1000
Don't register middle mouse button emulation handlers for keyboards.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 9bfd9e8a3683f14860149ae9f842e88828cc0960
Author: Oliver McFadden <oliver.mcfadden@nokia.com>
Date: Thu Jul 16 18:25:37 2009 +0300
Coverity Prevent: NO_EFFECT in EvdevWheelEmuSetProperty:
Event unsigned_compare: Comparing unsigned less than zero is never true. "pEvdev->emulateWheel.timeout < 0UL"
342 if (pEvdev->emulateWheel.timeout < 0)
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit dcca28a59ce0a2f8a06c559eed493ca43afc20cb
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Apr 29 18:29:58 2009 +1000
Count REL_DIAL as a scrollwheel during EvdevProbe (#21457)
The Griffin Powermate only has a single axis (REL_DIAL). This axis is
posted as horizontal scroll wheel, so we need to ensure the scroll wheel
setup (including ensuring that enough buttons are available) is triggered
accordingly.
X.Org Bug 21457 <http://bugs.freedesktop.org/show_bug.cgi?id=21457>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit db8b1ca5cffbc48f7d9c5c166489c714ac92ea86
Author: Asbjrn Sannes <ace@sannes.org>
Date: Wed Jul 1 09:51:12 2009 +0200
evdev: Fix spelling of property in man page to match source code. #22571
Signed-off-by: Asbj�rn Sannes <ace@sannes.org>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 8cc0d0f285261b0f26d22b5b4eca9ccbd1beeb93
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri Jun 26 09:59:04 2009 +1000
Fix absolute axis labelling - mapping must be initialized before the labels.
88eedea281a710008a82f1e6af4bdffd19477f46 added axis labelling to the
valuator initialization. This requires the axis mapping to be established
before the absolute axis labels are initialized.
88eedea did this for relative axes, but missed out on the absolute ones. As
a result, all abs. labels were initialized to "None".
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit aa1609285dfa51570f74671a9f4240bccc1516c2
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri Jun 26 09:42:36 2009 +1000
Message "found absolute touchpad" also applies to tablets - fix.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit b07ab6ea97b779b26e7ae8326528c262cc9907a1
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri Jun 26 09:37:29 2009 +1000
If a device fails to initialize relative axes, init the abs. axes instead.
Some devices have relative axes that don't count (scroll wheels). In this
case, don't claim we've initialized relative axes, continue with the
absolute axes instead.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 7bc48c666d702e649dc529b5d928b6a8549514c3
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Jun 23 15:43:16 2009 +1000
Fix wrong axis label index causing OOB reads/writes.
The atoms array is filled with each axis atom in mapping order (i.e. after
the driver mapping has been applied). 'axis' OTOH is from 0 to ABS_MAX.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 880ad1e19afd83ac115948b67d4049e16cb12df0
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Jun 23 14:48:17 2009 +1000
Initialize the axis labels to 0, not "misc".
If we don't know what an axis label is, then don't initialize it. None is a
valid label.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 6ab23e4519ed4ce07b745c573ddf544a2a1ee1b2
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Jun 18 16:15:16 2009 +1000
Add missing checks for ABI_XINPUT_VERSION 7.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 88eedea281a710008a82f1e6af4bdffd19477f46
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Jun 18 15:33:33 2009 +1000
Cope with ABI_XINPUT_VERSION 7 - requires button + axes labels.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 9a5a4fed3acae87c89694a9ef8bf905ca0d6a6dd
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Jun 18 15:15:57 2009 +1000
Split axes and button labels into separate function.
We'll re-use this bit very soon.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 0a3657d2ee62f4086e9687218cb33835ba61a0b3
Author: Derek Upham <sand@blarg.net>
Date: Thu May 21 00:15:28 2009 -0700
evdev: Prevent driver from processing motion events that it has not configured. #21832
The current implementation initializes itself to support relative
motion events, or absolute motion events, or neither. But the
event-handling code attempts to process all events, no matter what the
initialization was. This patch reproduces the flag tests found during
init, to skip events that the driver doesn't support.
Signed-off-by: Derek Upham <sand@blarg.net>
Signed-off-by: Julien Cristau <jcristau@debian.org>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit dc2191285e799be891787e1f64d10c1cba271240
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu May 21 13:30:10 2009 +1000
Deal with BTN_3 to BTN_9 buttons.
These buttons were previously mapped to 0, i.e. inactive. This patch
slightly improves things in that the buttons are now mapped to 8+.
Devices that have both BTN_3 and BTN_SIDE (or a similar pair in that
sequence) have both mapped to the same button number though.
Devices that have BTN_LEFT, BTN_0, BTN_3 and BTN_SIDE have the last three
mapped to 8 (and their followers have double-mappings too). We'll fix that
once we actually see devices affected by this.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 255b9f6bbf374a315750019c6fadc5f82fb7d41d
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu May 21 10:23:37 2009 +1000
Only initialize the number of buttons we actually have.
This takes into account driver-configured button mappings, i.e. if device
with one button has this button mapped to 25 through the ButtonMapping
option, the X server will think the device has result 25 buttons.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit aa117d49a5139bcc453e6ab022b67347464a8acd
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu May 21 09:51:57 2009 +1000
Rename pEvdev->buttons to pEvdev->num_buttons for clarity.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit b358f1eb3a4ef8fdee099114d6c70d6ea06eba95
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed May 20 11:57:01 2009 +1000
Ensure enough buttons are advertised to pass the button mapping.
Some buttons are mapped to higher button numbers. For example, BTN_0 is
posted as button 8 if BTN_LEFT is present. On top of that, the
driver-specific button mapping may map the button to something else again.
We need to take these mappings into account when counting the number of
buttons on the device.
Example: A device with BTN_LEFT and BTN_0 and a mapping from 1 -> 7 and 8 ->
2.
BTN_LEFT is mapped to 1. 1 is mapped to 7. num_buttons is 7.
BTN_0 is mapped to 8. 8 is mapped to 2. num_buttons remains 7.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 33cc112ca1af377a85cfeb05dfb72f07d3850a95
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed May 20 11:47:37 2009 +1000
Up the number of button labels atoms to EVDEV_MAXBUTTONS.
Button labels would smash memory if the device had less than 4 buttons and
did not advertise a wheel event. In this case the hard-coded wheel button
labels would write past the atoms[] boundary.
Potential memory smash if a device had a BTN_LEFT and BTN_0, since the
latter would map to 8, regardless of the the number of actual buttons
(same with BTN_MIDDLE and BTN_1 or BTN_RIGHT and BTN_2).
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 3c43d880f13725a04fcd7c0c8d5978a36208e373
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed May 20 11:42:35 2009 +1000
Only label axes and buttons if the device has axes or buttons.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 54628989356793828fcbb5f62a091b962c7da4f9
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed May 13 12:51:52 2009 +1000
Use xf86DisableDevice instead of the DIX' DisableDevice.
DisableDevice has changed API in xi2, xf86DisableDevice hasn't. So let's use
this one so we can have one version for master and xi2.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 9243d338d1de7df8afb1e254590cd4bf84888c7e
Author: Dan Nicholson <dbn.lists@gmail.com>
Date: Sun May 10 08:29:21 2009 -0700
Fix copy-paste error when probing type name
A minor copy and paste error was introduced in 71e9a69e leaving an "if"
where an "else if" should be. Without this, any device configured as
XI_TOUCHPAD or XI_TABLET will end up having the type_name reset to
either XI_TOUCHSCREEN or XI_MOUSE.
Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 71e9a69ed68257e5ded26c062a9797de571bb880
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Apr 29 18:03:18 2009 +1000
Revamp the whole "has_axes" definition.
Since we can now deal with multiple axes, etc. we might as well print it
properly.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 220e2dfb8f6aa08bd5f59e81c6883c057b945721
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Apr 16 13:23:50 2009 +1000
Print read errors as X_NONE to avoid mallocs in the server.
Messages of type X_NONE are just passed down to the log files, everything else
gets the (EE) or (II) prefixed. Since this mallocs, we can't use it in the
signal handler.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit ddc126637404cb3d9356b7698779dcd8849f8718
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Apr 16 12:01:03 2009 +1000
Pre-allocate the reopen timer so we don't allocate during sigio handling.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 98ecb5233bb3b899bd696a90d2733c6a345676dd
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon Apr 6 10:22:25 2009 +1000
Trigger read error handling if len is <= 0.
Red Hat Bug 494245 <https://bugzilla.redhat.com/show_bug.cgi?id=494245>
Reported-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 92ca3dc2e759759545c0e0adea4277b3bddb05e5
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Mar 26 13:40:07 2009 +1000
Fix wrong reference to axis and button label atom list.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 3fa28c8acd3aad054f9c74e94c1411654d709dca
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Mar 26 10:11:26 2009 +1000
Remove test/ directory.
This shouldn't really be part of the driver source, it's better to just have
it as a separate repository. Code has moved to
git://people.freedesktop.org/~whot/testdevices.git
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit d9809d7edd2be714a15115b990286554e2979fb6
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Mar 17 14:08:29 2009 +1000
Fix jumpy touchpads by updating old_vals only when reported by the device.
Remember whether ABS_X or ABS_Y were reported before the SYN event and only
update the old_vals[0, 1] if we got data for them.
Touchpads that reported pressure data before x/y would otherwise update
old_x/y with bogus values, leading to jumps when the first x/y coordinates
were actually reported.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit b11439a1763b5f210460b492dd4f47e973f90a3a
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Mar 17 13:25:58 2009 +1000
If we have a touchpad, print so, don't claim we're configuring a tablet.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 740dc202f735106532dce581deabe2b95c52759f
Author: Jeremy Jay <dinkumator@gmail.com>
Date: Mon Mar 16 23:19:54 2009 -0400
make sure to clear all axis_map entries
don't use uninitialized axis_map entries, ie axis_map[ABS_PRESSURE]
Signed-off-by: Jeremy Jay <dinkumator@gmail.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 7ac0c4456dc0846f7e09f334a26f9536e20065df
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Mar 17 08:02:00 2009 +1000
Assume touchscreen/touchpad if we have _either_ ABS_PRESSURE or BTN_TOUCH
Touchpads have pressure or touch and also BTN_TOOL_FINGER.
Touchscreens have either pressure or touch, but no finger.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit b4f6ab126dfc897759559aae7ae32fbc0efe24d8
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri Mar 13 13:40:16 2009 +1000
Move keymap/modifier initialization behind the ABI < 5 ifdefs.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit a3ea979c2b70d166d62422b4ba450ce2910389c3
Author: Jeremy Jay <dinkumator@gmail.com>
Date: Mon Mar 16 08:36:53 2009 +1000
Set "rel" when converting absolute touchpad coordinates to relative (#20661)
We unset "abs" and convert to relative, but never set "rel" so the events
don't get posted. This bit got broken in 43dd2a959243877.
X.Org Bug 20661 <http://bugs.freedesktop.org/show_bug.cgi?id=20661>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit a7fb654a68a26ad5f019a902312c6b94dbe9c3ea
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Mar 10 15:17:53 2009 +1000
Restore repeat-filtering for server 1.5 and earlier.
Letting the server deal with key repeats is fine if we have server 1.6. For
earlier servers, we need to pass on the repeat events (except for modifier
keys).
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Tested-by: Marty Jack <martyj19@comcast.net>
commit 3f06825a446e317485c2e2d1880c1886684d8742
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon Mar 9 09:26:51 2009 +1000
Bump to 2.2.99.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 31853c39bfae7bb1035485407fd245cd11337d4f
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon Mar 9 09:29:48 2009 +1000
Define MAX_VALUATORS if it's missing to allow for builds against 1.5.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 2c49e21a815632fc1addd04dde96592237757a2e
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon Mar 9 09:05:10 2009 +1000
Check button label before fetching the Atom from the server. (#20524)
The server doesn't like NULL names, so don't call XIGetKnownProperty for
labels that don't exist.
X.Org Bug 20524 <http://bugs.freedesktop.org/show_bug.cgi?id=20524>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Tested-by: Peter Henriksson
commit 4361b3efa0da5e85da7f0506c81dba31e59dc897
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri Mar 6 08:13:36 2009 +1000
Fix duplicate wheel button up mapping.
Reported by Simon Thum.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Simon Thum <simon.thum@gmx.de>
commit 281a7b4b88015c768639b7ae960b62f3539f012b
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon Mar 2 16:27:47 2009 +1000
evdev 2.1.99.1
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 051cb8b528f6eddddccee44842bcb2152ed0e418
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Feb 26 12:14:20 2009 +1000
Add support for button labelling.
Buttons 4/5 and 6/7 are hardcoded for wheel buttons.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 1abcc881715327614e248e9047c5fbd29a945c03
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Feb 26 10:48:06 2009 +1000
Rename prop_label to prop_axis_label.
commit c89bbf80be65eb9d0d20871761d22c6d6d76708b
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Feb 26 12:14:03 2009 +1000
Don't double-assign the UKNOWN axis label.
All labels default to unknown anyway.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 178435832f5f6988e58fddc4ffe82ddc032d9dce
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Feb 26 12:09:33 2009 +1000
If scrollwheels are found, bump the button number by 4 (or up to 7).
Scrollwheel data is always posted as buttons, so we need to advertise at least
enough buttons to accommodate for 6/7 (horizontal wheel).
Note that this may mean that if you have a device that has scroll wheels and
axes, but no buttons, it may be interpreted as a mouse.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit c9cab83bac32275f6851d2616bb749b3b2621ed6
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Feb 24 11:32:40 2009 +1000
Ignore REL_WHEEL, REL_HWHEEL and REL_DIAL during axis initialisation.
We don't post the events for them anyway, so lets ignore them completely.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 43dd2a959243877c1628a08b4fc6c07c9ae6bac0
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Feb 24 10:36:41 2009 +1000
Pass on all relative events, not just x/y.
9620fe776 added generic axes support for relativ values, but values from such
axes didn't get passed on to the server. Fix this.
Note that wheel events are not posted as motion events.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 7977947e0df6ea6379dab76805b06be6bdd71947
Author: Adam Jackson <ajax@redhat.com>
Date: Tue Feb 24 10:08:22 2009 +1000
Reduce the number of read calls in ReadInput.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Adam Jackson <ajax@redhat.com>
commit 11a56d4a176a2c5b2f8794147d4bafd88477b80b
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Feb 24 09:39:01 2009 +1000
Split ReadInput into ReadInput and ProcessEvent.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 7b0f613c7f1462fc36f1e13968d96e8b8a559be6
Author: Adam Jackson <ajax@redhat.com>
Date: Tue Feb 24 09:34:26 2009 +1000
Move relative motion and other magic up to EV_SYN processing.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Adam Jackson <ajax@redhat.com>
commit 75af278861dcd96124544d3c2889028578708317
Author: Adam Jackson <ajax@redhat.com>
Date: Mon Feb 23 16:01:14 2009 -0500
Open with O_NONBLOCK, and simplify EvdevReadInput to match.
xf86WaitForInput() would call select() with zero timeout to discover if
more input was ready. But we know that's always true at least once,
since we're only ever called from the sigio handler (if silken is
active) or from the main loop (if it's not and we selected readable).
With nonblocking IO we can just spin around until we hit EAGAIN, which
gets us down to n+1 syscalls per event instead of 2n.
commit 4fd9cd2ea81607c17eb39baaad24f09dd55995f2
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Feb 19 10:02:49 2009 +1000
Revert "Remove useless include directive."
Necessary for builds against 1.6, but let's at least get rid of XKB defines.
This reverts commit aa5dfa1d6ae374479d39f1394b85660e6b6bb881.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 12c287df894c88a1b2badf105ef625c7c67f334d
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Feb 18 09:30:17 2009 +1000
Label axes conditional on actual support.
Server 1.6 has device properties, but not axis labels.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 9f1b9aa6eb81087b3df12184eafb104c0e745f41
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Feb 18 09:04:12 2009 +1000
Accommodate for holes in the ABS label defines.
abs_labels[] has to be aligned with the defines in linux/input.h, but the
latter does not have continuous range. Pad the holes with
AXIS_LABEL_PROP_ABS_MISC.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit acb1d557e216d7fa58ef8dbf3182e6604888ae2a
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Feb 17 15:08:03 2009 +1000
Add support for arbitrary relative axis labels.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 6a1f8f463d28c263a73b81b92d9d52a6cd3873cb
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Feb 17 14:54:49 2009 +1000
Remove superfluous (and duplicate) call to xf86MotionHistoryAllocate.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 9620fe7765b340213a552b5656d9d10bbbefd4cb
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Feb 17 14:53:51 2009 +1000
Add generic axis support for relative axes.
Just query the kernel what axes we actually have, rather than hard-coding x/y.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit a1714cac5242e5f8320ed7212efca481351355a2
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Feb 17 14:42:19 2009 +1000
Add dynamic axis labelling for absolute devices.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 5a99ef7ed21ff879b6c55027590733bc7a9c6742
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon Feb 16 15:11:20 2009 +1000
remove duplicate (code > 255) check.
commit 3b22e4703fa712ddb6d14d3a847ecfeac27520b4
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon Feb 16 14:48:04 2009 +1000
man: list the options and properties in alphabetical order.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 0de20a8f1b9f80b33081cea20444a05a745cb95e
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon Feb 16 14:40:45 2009 +1000
man: Fix two minor typos in man page.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 978384ede7b0832fef8a399efbc3050bb2f212f7
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon Feb 16 14:07:30 2009 +1000
Swap axes after scaling, not before.
If we swap before scaling, we scale with the wrong coordinate range.
Reported by Matt Helsley.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit df7ff12ed230009de895107c40de8f457879d66b
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon Feb 16 12:00:52 2009 +1000
CacheCompare before probing the device.
Saves a few duplicate ioctls.
Suggested by Matt Helsley.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit dd2c89ac93535b833ee79e459410f4679c060774
Author: Matt Helsley <matt.helsley@gmail.com>
Date: Mon Feb 16 11:18:50 2009 +1000
General axis valuator support.
Instead of x/y and pressure, support any absolute axis that is reported on the
device. Note that there are still locations that special-case X and Y.
Minor modifications by Peter Hutterer.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 4616c79f6cc6d81c1d9d27efa05ffaf51d521d2b
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon Feb 16 11:15:25 2009 +1000
Change cached bitmasks from long to unsigned long.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit a31170718d098fd7ce42cf4f6e457a713e39a0c1
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon Feb 16 10:48:58 2009 +1000
Remove unused 'screen' variable from the EvdevRec.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 95099cb0368d76ee139f1442253f26f68d493df9
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon Feb 16 10:43:36 2009 +1000
Log which EVIOCGABS ioctl failed.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit c58bae0b77b9e39ab341af994648ca22867271a2
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon Feb 16 12:05:45 2009 +1000
Remove superfluous motion history allocation.
The motion history buffer is allocated during InitValuatorClassDeviceStruct
anyway.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 32242871f7001e7e995d501a32f350120bad2fd6
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon Feb 16 08:51:22 2009 +1000
Remove duplicate MB emu finalization.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit aa5dfa1d6ae374479d39f1394b85660e6b6bb881
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri Feb 13 16:24:36 2009 +1000
Remove useless include directive.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 2a6c1d7a605e11189e4539db84b1c4da5707dbc6
Author: Bryce Harrington <bryce@bryceharrington.org>
Date: Thu Feb 12 17:52:43 2009 -0800
Add descriptive messages for device-has-changed errs
As can be seen in e.g. bugs 19819 & 20025, it can be unclear what
exactly caused a given "Device has changed - disabled" error. This
patch adds some more specific messages to give a better clue on what
exactly was seen to have changed.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 0f0743e3cfc2f7d288dfec3fba9bc093cbedf537
Author: Dan Nicholson <dbn.lists@gmail.com>
Date: Mon Feb 2 22:35:20 2009 -0800
Really fix distcheck
distcheck has an annoying feature where it checks that all files install
under $prefix. Unfortunately, this conflicts with the desire to install
headers to the SDK directory. Workaround by passing --with-sdkdir during
distcheck.
Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 095766ebb3afafc4906cb29e22d996dbcd773ad8
Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
Date: Mon Feb 2 19:47:50 2009 -0200
Janitor: make distcheck, .gitignore.
Remove non toplevel .gitignore and .cvsignore files.
The "make distcheck correction" for $(sdkdir) probably has a better
approach using a "*-hook:" target, or possibly making $sdkdir a
configure time option that could be set with DISTCHECK_CONFIGURE_FLAGS.
commit 0dbb88c52b057cfdff6116060060841e4fc4abb5
Author: Julien Plissonneau Duquene <julien.plissonneau.duquene@savoirfairelinux.com>
Date: Mon Feb 2 10:46:52 2009 -0500
EvdevCacheCompare: ignore changes in current device position
Input devices (especially touchscreens) were disabled when switching
virtual console back to X because EvdevCacheCompare() thought the device
was substituted by another while away from X. Actually only the current
position reported by the device changed from what was in the cache. Fixed
by ignoring the current position in the comparison.
Fixes bug #19819.
Signed-off-by: Julien Cristau <jcristau@debian.org>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit c9281567024ef1e94f2da42f0d701ed69728c355
Author: Peter Breitenlohner <peb@mppmu.mpg.de>
Date: Fri Nov 21 21:57:41 2008 +0100
fix manpage formatting
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 07f40a04df28e9ee6318411beb71eedc7cd6e288
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon Feb 2 11:00:30 2009 +1000
Protect against zero-sized property values. #19882
X.Org Bug 19882 <http://bugs.freedesktop.org/show_bug.cgi?id=19882>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit e260993b6af0c463bd593a3192d2ba4ee6912fc9
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date: Fri Jan 30 20:18:50 2009 -0800
Add README with pointers to mailing list, bugzilla & git repos
commit dc72e6d8aecbc60900bb3b72978d63495f3f6954
Author: Dan Nicholson <dbn.lists@gmail.com>
Date: Thu Jan 22 10:15:15 2009 -0800
Stop hammering XKB defaults
With the new InitKeyboardDeviceStruct, we can just pass the RMLVO we
want without setting the defaults first.
Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
commit 1906e4d5c112c25c9d7a736d4924d1005267aba7
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Jan 22 09:44:15 2009 +1100
Reshuffle property initialization.
We don't need axis calibration, etc. on keyboards, so let's do it
conditionally on actually having axes.
Reported by Simon Thum.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 3047c25db24becf475b45d13e03a8badd58dcde6
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Jan 22 09:19:16 2009 +1100
Deal with XINPUT ABI 5.
Some XKB stuff has been removed, so let's deal with it.
commit c158cf2b64034a49e1c95549603b684e21e7511a
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Wed Jan 21 16:32:27 2009 +1100
Require XKB.
Welcome to the future.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit dae1a78a521fa2e9fe7d058a66ae9ef7ea5d9471
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Jan 20 09:45:44 2009 +1100
Add automatic axis labeling.
Since we don't support anything but REL/ABS x/y and sometimes pressure this is
bordering on pointlessness, but once the year of the Linux desktop comes
around this will be really handy. Or so.
Also, we don't allow changing axis labels, but should eventually rearrange
them if swapaxis is on.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 263bf04a9d350dddd796f3a21c7b1749647be91c
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Jan 20 11:46:05 2009 +1100
Don't print xkb options twice to the log file.
xf86SetStrOption already prints with X_CONFIG anyway, no need to do it again.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit c035f3d0f58698d0f1dbeb1be7ad00f0787d3292
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Jan 20 09:44:49 2009 +1100
Register the property handler AFTER setting all the properties.
Otherwise, we add a new property based on a setting in pEvdev, which triggers
the update handler to change the setting in pEvdev based on the property.
Truly pointless.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit a7e8af65fca9c38a8c0c24ffc660c06c8d4a0b9b
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon Jan 19 21:23:34 2009 +1100
Test for pressure BEFORE using has_pressure.
commit 0592d97fbb5a1241ee79397ce9203346d050a9f9
Author: Michael Chapman <mike@very.puzzling.org>
Date: Fri Jan 9 19:07:10 2009 +1100
Disable middle mouse button emulation when a middle mouse button event is registered
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 4dfd86b2201b2b19761a1abb3c580cecf0060224
Author: Matt Helsley <matt.helsley@gmail.com>
Date: Sun Jan 11 18:36:59 2009 -0800
Fix FOO_MAX off-by-one
In linux/input.h each section's (e.g. ABS) FOO_MAX is the maximum FOO
value. Recent kernels define FOO_CNT as the maximum number of FOO there
will ever be. Hence using FOO_MAX to size the bit vectors representing
the capabilities of an evdev device is off by one.
Define FOO_CNT values for use with Linux kernels which lack them. Use
FOO_CNT whenever we need to know the number of bits needed -- usually to
calculate the number of longs needed.
When iterating over the values FOO_MAX still seems appropriate however
the loop test should include FOO_MAX rather than skip it.
Signed-off-by: Matt Helsley <matt.helsley@gmail.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit d3fd42d8644310abcae23bbf534f8c445296bcb7
Author: Matt Helsley <matt.helsley@gmail.com>
Date: Sun Jan 11 18:04:40 2009 -0800
rename NBITS to NLONGS to reflect its actual meaning
NBITS really convers the number of bits passed as its argument
into a number of longs. This is somewhat atypical of many
function-like-macro names. Rename it to NLONGS.
Signed-off-by: Matt Helsley <matt.helsley@gmail.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit dd1752ce3ffe9bdfa3e13dc075b7f22750e77fea
Author: Matt Helsley <matt.helsley@gmail.com>
Date: Sat Jan 10 23:51:22 2009 -0800
Add pressure valuator
If it's available report pressure as third valuator.
(Use xf86PostMotionEventP instead of the varargs wrapper.)
Signed-off-by: Matt Helsley <matt.helsley@gmail.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 0f0a149067abdd1ed89717de43febe89b2a3490b
Author: Alan Coopersmith <alan.coopersmith@sun.com>
Date: Fri Jan 9 16:13:09 2009 -0800
Remove xorgconfig & xorgcfg from See Also list in man page
commit d170cba0cdd8f7a2e500e094f5b21fc33aefb52a
Author: Yan Li <yan.i.li@intel.com>
Date: Mon Jan 5 16:35:09 2009 +0800
Fix XkbModel parsing error
Signed-off-by: Yan Li <yan.i.li@intel.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 268038270593aae45e2740ad2151243383743c1d
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri Dec 19 08:27:47 2008 +1000
Add dummy test device - simple device that doesn't move at all.
Good for filling up the device list without getting distracted by spurious
events all the time.
commit 0f36384d0636d6a8d3a8f182be69c72cccd1ff5c
Author: Sascha Hlusiak <saschahlusiak@arcor.de>
Date: Mon Dec 8 12:32:31 2008 +0100
Revert "Keyboard: Disable kernel autorepeat"
This reverts commit 6867652c2c8ad563d5655302d94134592b10265b.
Functionally replaced by commit ece72ce9e97adae23b1932dc1334f63669196d56
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
commit ece72ce9e97adae23b1932dc1334f63669196d56
Author: Sascha Hlusiak <saschahlusiak@arcor.de>
Date: Mon Dec 8 12:27:34 2008 +0100
Filter all repeated keys from kernel, because we do softrepeat in server
Discard all repeated events that come from the device. The server will handle
per-key autorepeat in software.
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
commit 2bf6e29b40f0da2bc417964fd2bd819306e5d3ed
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Wed Nov 26 15:01:57 2008 +1000
Finalize MB emu (and wakeup handlers) before closing the fd.
Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
commit 2bd24649ecbae08b7bd4dacd67d141ae665f8db7
Author: Tibi Nagy <nltibi@gmail.com>
Date: Mon Nov 24 22:28:44 2008 +0200
Support keyboards with scroll wheels.
For keyboards, scroll events are reported by the kernel as EV_REL class events
of REL_WHEEL type. If, during probing, the device is found to support wheel
events, make sure it is set up as a pointing device, even if it doesn't have
buttons or doesn't report motion along the X and Y axis so that the scroll
events can be mapped to mouse wheel buttons (usually buttons 4 and 5).
Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
commit 6867652c2c8ad563d5655302d94134592b10265b
Author: Daniel Stone <daniel@fooishbar.org>
Date: Thu Nov 27 13:24:08 2008 +1100
Keyboard: Disable kernel autorepeat
We handle autorepeat in software due to per-key repeat and whatnot, so
disable the kernel's, which just interferes with ours.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 63af314368cec47b6b8266db331f2c820e7a071f
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Mon Nov 17 10:03:11 2008 +1000
Store device file's minor/major to avoid duplicate devices.
Devices added that use the same min/maj as an already added device are ignored
by the driver. This way users can have an xorg.conf entry on
/dev/input/by-id/blahblah and not get the same device added by HAL.
Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
commit 4c5c9c111d406e5590429377262b86e91868ef76
Author: Fernando Carrijo <fcarrijo@yahoo.com.br>
Date: Thu Nov 6 13:20:16 2008 -0500
Fix error message
commit 4826969f23a0b298da2750c2e23a92b9d91819dd
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Mon Nov 3 13:25:06 2008 +1030
Add support for axes swapping.
New option: SwapAxes (boolean)
New property: EVDEV_PROP_SWAP_AXES.
Actual swapping code written by Donnie Berkholz.
Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
commit 33eb36f26663c09c873acede1b35e91ef4c64479
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Thu Oct 30 16:55:29 2008 +1030
Add support for run-time calibration.
Some devices require run-time axis calibration. We can't change the min/max
ranges once we've initialised the valuator structs though, so in-driver
run-time calibration is required.
If the property is set, the driver scales from the calibrated range to the
values reported to the X server (which then may scale to screen coordinates).
If the property is not set (i.e. zero items) no scaling is performed.
commit d5cf24d3f0075a467e026592bfbb76b207dea8eb
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Wed Oct 29 16:54:16 2008 +1030
Add test/ directory for uinput-based test devices.
Three test devices provided:
btn0 .... Provides BTN_0, BTN_1, BTN_2 instead of BTN_LEFT, BTN_MIDDLE,
BTN_RIGHT.
abs ..... Provdes x/y absolute axes, jumps between 100/100 and 120/120.
absrel .. Provides relative x/y axes and absolute x/y axes at the same time.
Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
commit 64554e4799a697d37dfd8be480f8eee636b9bea1
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Wed Oct 29 13:50:07 2008 +1030
Treat BTN_[0-2] as LMR buttons if necessary.
Treat BTN_[0-2] as LMR buttons on devices that do not advertise BTN_LEFT,
BTN_MIDDLE, BTN_RIGHT (e.g. 3Dconnexion SpaceNavigator).
Otherwise, treat BTN_[0+n] as button 5+n. Note: This causes duplicate
mappings for BTN_0 + n and BTN_SIDE + n.
This also fixes a bug where we could end up with negative button numbers after
trying to map BTN_0.
Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
commit b77f9398570fb8eae1fcf50bc3c10c9c390c6bac
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Wed Oct 29 13:28:19 2008 +1030
Remove obsolete FIXME
xkeyboard-config's maps are perfectly able to cope with evdev now.
Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
commit a43ab4999b9cad10f77aa6c703d3c61b754f1fd4
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Tue Oct 28 12:09:26 2008 +1030
Flush input after re-opening the fd.
Suggested by Julien Cristau.
Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
commit af096e8c5d8b425f725a37bf4a98e205e70716e9
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Mon Oct 27 15:54:49 2008 +1030
emuMB: add EvdevMBEmuOn and call from EvdevOn to register wakeup handlers.
This got broken in b0737bdbd1f6e601eb4984b6f4cb49279190984c, when the
EmuMBPreInit call was removed from EvdevOn. As a result, VT switching away and
back wouldn't restore the wakeup handlers and mouse button presses
disappeared.
commit 12498042fcc08e34aef0117ce84192f59542fd56
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Fri Oct 24 13:09:46 2008 +1030
Fix axis inversion for absolute coordinates.
If min_x/y was not equal to 0, the inverted calculated range was off and leads
to inaccessible or out-of-range areas.
commit 0f8fcfccb3251ee3df80d90ae5d7df638722d24e
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Fri Oct 24 09:21:36 2008 +1030
emulate MB: fix confusing log message.
If we're forcing MB emulation behaviour as per config, then at least state
whether we're forcing it off or on.
Found by Michel Dänzer.
commit 0ab4c09e504ba3822c5e030732b770140165e725
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Thu Oct 23 14:05:41 2008 +1030
Silence compiler warning by memsetting the struct properly.
commit d348eb8ce78640363c159e1a4fdbfa9b596fa5bb
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Thu Oct 23 13:22:17 2008 +1030
MB emulation timeout is stored as Time, make the property 32-bit too.
commit 2c1698fa615a083de7dd647622a302d5de77dc0c
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Wed Oct 22 18:01:58 2008 +1030
Init ioctl bitmasks to 0, shuts up valgrind too.
commit 8c39302594445ba774ea3fec66417492cc5643e0
Author: Søren Hauberg <hauberg@gmail.com>
Date: Wed Oct 1 11:06:31 2008 +0930
Add touchscreen support.
Touchscreens are devices that do not have buttons and only advertise
BTN_TOUCH. Add a new flag to note the device type.
If BTN_TOUCH is detected, change it to BTN_LEFT and process it normally.
commit f57e8face94c9e6986b35ca2ec231e284b9f58cf
Author: Julien Cristau <jcristau@debian.org>
Date: Tue Oct 21 19:21:21 2008 +0200
Fix TestBit() on 64bit
Reported by Albert Damen <albrt@gmx.net>
X.Org Bug#18150 <http://bugs.freedesktop.org/show_bug.cgi?id=18150>
commit 4912e2aa7f867a86d383010023b8426c881fb3b0
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Thu Oct 16 15:23:06 2008 +1030
Add option "GrabDevice", don't grab the device by default.
We now have the matching code in the server to set the console to RAW mode and
don't need to grab the devices anymore.
This is an updated version of e8534d47c8524ac081c2e3e6ebaabe4c6b274a18, which
was reverted in 6dc41991557fa55a9e2f5aaf0fe40c70a08d41fd.
commit 7243116f55609a2a5f73bb88cf6ad6386c9bbc0b
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Oct 16 22:35:42 2008 +1030
Don't post keycodes > 255.
If we only have keys > 255 we don't set up a key class rec, so don't post
them. It makes the server unhappy.
Signed-off-by: Julien Cristau <jcristau@debian.org>
commit 0089d931ac5fb290c82908da652b28c8b515d449
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Tue Oct 14 17:02:43 2008 +1030
Fix "Device reopened after N attempts" message.
commit 0f5a5ac09ebc89e984b72d395475bb9f412e240c
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Tue Oct 14 16:45:44 2008 +1030
Don't init draglock, etc. if we don't have the required capabilities.
commit 36d68b006d6bb3d41c93888acead73043ca304a1
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Tue Oct 14 16:41:54 2008 +1030
8-bit properties should use 8-bit storage types...
commit bb1f42168761b928478a9cb066457b525c41ddd9
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Tue Oct 14 16:25:27 2008 +1030
Don't include the client-side header anymore. xkbstr.h is server SDK.
commit 0405f7b17fb0ce5cadcc6c5aa6eeb61bdacdf9cd
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Tue Oct 14 16:21:00 2008 +1030
Tidy up evdev.h
This includes shuffling some functions around so we don't need the prototypes
in evdev.h.
commit 088e0a175a4913bf827c1f7e19de09fdf987d347
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Tue Oct 14 16:14:13 2008 +1030
Rename DragLockInit to DragLockPreInit, remove superfluous "return".
commit cefedeb205291001e7e47b7516de261dbccce059
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Tue Oct 14 16:12:13 2008 +1030
Register property handler from within the modules, not the main evdev file.
commit b0737bdbd1f6e601eb4984b6f4cb49279190984c
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Tue Oct 14 16:09:20 2008 +1030
Clean up program flow - don't call PreInit for "modules" on DEVICE_INIT.
Call the PreInit functions for MB Emulation, wheel emu, and draglock during
PreInit, not on DEVICE_INIT. This way, we only parse the options once and
don't overwrite with defaults when coming back from a VT switch.
commit 5f2c8a2dcdf98b39997ee5e7c9a9ace3b640bfa3
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Tue Oct 14 16:01:17 2008 +1030
Janitor: clean up xf86Msg use, might as well use X_CONFIG directly.
commit ff783fce65a63707555098759692b22147646263
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Tue Oct 14 15:30:20 2008 +1030
Add property support for ReopenAttempts option.
commit c638aa4a88116a1219cf4941aacd630e070db099
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Tue Oct 14 15:06:40 2008 +1030
Document properties in man page.
commit b46677e346c33379cac814895641349cbd3b37f2
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Tue Oct 14 15:06:17 2008 +1030
Document InvertX/Y options.
commit 680b41dc7681cd611ed385af8009489be6071a41
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Mon Oct 13 17:08:22 2008 +1030
Bump to 2.1.99.
commit 9065d0ccb26d013f26570d29c332bf1c93fabb2d
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Wed Oct 8 16:16:58 2008 +1030
Remove "Path" option.
Path was just an alias for Device anyway, so we might as well not parse it.
By now you should be using HAL anyway which fills in Device for you.
commit a9fcce1833f167ed8aa79d4dbfbbc3d6bca2e7fd
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Wed Oct 8 16:15:14 2008 +1030
Remove parsing of ScreenNumber option.
Was unused anyway, so we might as well not parse it.
commit ab934d840dac8df761691533985a9d998ec5e21e
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Wed Oct 8 16:14:51 2008 +1030
Janitor: purge unused headers, reshuffle for readability, fix whitespace errors.
commit 6f6ac982951165a6ac77b3e32750c47780ea4990
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Wed Oct 8 14:25:53 2008 +1030
Add checkonly handling to property handlers.
If checkonly is TRUE, we can only check if applying the value would succeed.
The value is actually applied if checkonly is FALSE.
commit a2633c807812e6e8ad9c82e2a5940dfbf370aff5
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Wed Oct 8 14:52:13 2008 +1030
Fix up bad return code in draglock property handler.
commit e6c699dedcd6f3b5db497fe2d226806ca4bbe683
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Wed Oct 8 14:35:12 2008 +1030
Stricter value checking for property changes.
commit 847eac826286e6202f42b9a2ccc160a232a710a3
Author: Julien Cristau <jcristau@debian.org>
Date: Sat Oct 11 02:10:48 2008 +0200
Set pInfo->fd to -1 on DEVICE_CLOSE
This allows the reopen logic to kick in later.
DEVICE_CLOSE gets called on regen, so without this we'd keep a stale
file descriptor in pInfo->fd in subsequent sessions.
Debian bug#496101 (http://bugs.debian.org/496101)
commit a196672a6bafd4e7d3a2cca991a2a3bf4bdcd952
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Wed Oct 1 13:58:24 2008 +0930
Add property support for axis inversion.
commit 3985d423204217a1f072fa6e0145cba547f79a97
Author: Søren Hauberg <hauberg@gmail.com>
Date: Wed Oct 1 11:07:57 2008 +0930
Add support for axis inversion.
commit e138e4b79a750e22712802b84bf36a70a929d12f
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Fri Sep 26 10:42:05 2008 +0930
Install xorg-evdev.pc for clients who need evdev-properties.h
commit 125e2b8ce23b8ceea250ae52ba69cd14af5592f9
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Thu Oct 2 10:56:04 2008 +0930
Close fd on DEVICE_OFF. (LP #276887)
Leaving the fd open means we still get keyboard events after VT switching
away. Coming back, some of these events are replayed on the application that
has the current focus.
Reproduceable:
1. open terminal, focus.
2. VT switch away
3. type something, preferably a password
4. VT switch back, trigger a mouse event
5. Observe the X server guessing your password.
Closing the fd on DEVICE_OFF fixes this. Reopen is handled by the reopen
code introduced with
commit 9930477cbeb4acfd070ae70894d13ffabfc347b8
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Tue Aug 26 14:33:40 2008 +0930
Attempt to re-open devices on read errors.
Launchpad Bug 276887
<https://bugs.edge.launchpad.net/ubuntu/+source/xorg-server/+bug/276887>
commit 91bc0a0ba3c4c941b2b7695b6d4f303fb7128fd9
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Wed Oct 1 13:36:09 2008 +0930
Remove useless initialization of rc.
commit 4c55186aedd9030ac46654cee18b09173db988e8
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Wed Oct 1 13:58:47 2008 +0930
Change DragLock atom name - prepend with Evdev.
commit 62069b97d216fb9b4e7db0c60f87ab006ad7011c
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Fri Sep 26 10:57:07 2008 +0930
Move misplaced #endif
commit 2718a5c56b9f34360738b6525c89ea0af4c368d1
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Fri Sep 26 10:46:47 2008 +0930
Register property handlers directly, instead of abstracting them.
This removes a left-over from the early device property code where we could
only have a single handler. Now it's easier to just register the handlers for
each subsystem (emulate wheel, draglock and MB emulation).
commit 90d1d494f82255b07d07800d8270ad754163b7ab
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Fri Sep 26 13:49:28 2008 +0930
Cleanup: "valid_vals" should be "vals" now.
commit a77c2622cc7979cea6c1549f1978fae575b76c6c
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Fri Sep 26 13:47:24 2008 +0930
Add evdev-properties.h file with #defines for all property names.
commit 84a0e39c0dd8bcc80d4f6912562260c1771f311f
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Thu Sep 18 16:44:27 2008 +0930
Use new property API (no ConfigureDP, less args to ChangeDP)
Return appropriate status codes from property handlers.
Make properties non-deletable.
commit 73869372212f7afc18e02184f347bcd94ce19d04
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Thu Sep 18 16:47:35 2008 +0930
draglock: Shut up compiler warning.
commit fcf8375f2b960993686bd08fd4d0e2d8623b4680
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Fri Sep 26 12:53:29 2008 +0930
Don't require randrproto.
commit 9930477cbeb4acfd070ae70894d13ffabfc347b8
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Tue Aug 26 14:33:40 2008 +0930
Attempt to re-open devices on read errors.
Coming back from resume may leave us with a file descriptor that can be opened
but fails on the first read (ENODEV).
In this case, try to open the device until it becomes available or until the
predefined count expires. To be safe, we cache the information from the device
and compare against it when we re-open. This way we ensure that if the
topology changes under us, we don't open a completely different device. If a
device has changed, we disable it.
Adds option "ReopenAttempts" <int>
commit 4509ec1daf8a03b261c1fa8aa48b5def3f336aed
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Thu Sep 4 18:22:56 2008 +0930
Use HAVE_PROPERTIES define instead of GET_ABI_MAJOR for property compilation.
commit a205dfc091e6d7c67e3fa1421fe8a43f5ed40b00
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Fri Aug 22 14:07:17 2008 +0930
Shut up "unused variable" compiler warnings.
Hide properties behind ifdefs, fake use of "val".
commit 184206e7174dc08239d6a78a1ca912176e3f6229
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Mon Aug 25 17:24:15 2008 +0930
Wheel emulation: initial values must be char.
parsing int* to char* in XIChangeDeviceProperty means we lose values.
commit 79ff677c52d38f67144f09bd534aaef862946a5e
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Fri Aug 22 09:00:13 2008 +0930
Init all emulateWheel values, even if EmulateWheel is disabled.
Even if we don't want EmulateWheel, we can at least init everything to usable
values. This way we only need to toggle "enabled", rather than initialising
the whole lot before usage.
commit 37e3addf89923bfc1e7ae23b678614f4ca926dcf
Author: Dan Nicholson <dbn.lists@gmail.com>
Date: Wed Aug 20 18:16:41 2008 -0700
Add wheel timeout property support
Copied from the wheel inertia property support.
Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
commit e237de0dea9fe24e1c4efc78523bfdd86ed73876
Author: Dan Nicholson <dbn.lists@gmail.com>
Date: Wed Aug 20 18:16:40 2008 -0700
Add timeout support for mouse wheel emulation
Support the EmulateWheelTimeout option as the mouse driver does.
Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
commit 92c6611b6f4495103fccea38dcafc6c6bf18049a
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Mon Aug 18 12:13:15 2008 +0930
Add property support for drag lock.
commit bd405ddc83b9ad1ceed47f572245fccae598e6bb
Author: Chris Salch <emeraldd.chris@gmail.com>
Date: Sun Aug 17 12:31:23 2008 -0500
Adding in DragLockButtons functionality.
Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
commit 36d702006d5aace50083ca52b7065d465b497077
Author: Daniel Stone <daniel@fooishbar.org>
Date: Sat Aug 16 15:33:23 2008 +0300
Force rules, not model, to be evdev
xkeyboard-config recently changed to a separate ruleset for the evdev
driver, so match that by only forcing the ruleset, not the model, to be
evdev.
commit 6dc41991557fa55a9e2f5aaf0fe40c70a08d41fd
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Fri Aug 15 09:23:02 2008 +0930
Revert "Don't grab devices unless specified through the config options."
Not such a good idea, CTRL+C terminates the server and other issues. Reverting
for now until a better solution is found, at least this way the driver is
usable.
See also: http://lists.freedesktop.org/archives/xorg/2008-August/038032.html
This reverts commit e8534d47c8524ac081c2e3e6ebaabe4c6b274a18.
commit e8534d47c8524ac081c2e3e6ebaabe4c6b274a18
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Thu Aug 14 13:38:50 2008 +0930
Don't grab devices unless specified through the config options.
Grabbing event devices stops in-kernel event forwarding, most notably rfkill
and the "Macintosh mouse button emulation" device. Let's not do that.
Option "GrabDevice" forces grabbing the device.
commit 555f5a7cbf3c980c436c205e9b23a78f3e19bdfe
Author: Chris Salch <chrissalch@letu.edu>
Date: Fri Aug 8 15:56:27 2008 +0930
Filter wheel events before middle mouse button emulation.
The Emulate3Button needs to be the last filter function, otherwise the timeout
code causes it to hijack button presses for the first 3 buttons.
Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
commit 134829d911c698704595014ba402516ae9a2f36c
Author: Peter Hutterer <peter.hutterer@redhat.com>
Date: Thu Aug 7 17:34:54 2008 +0930
Simplify the property handler registration.
Instead of having separate handlers for each property, just handle all of them
in one handler for emuMB, and one handler for emuWheel.
commit 4e121b297ee0a9b179f8188926564fb8b2c3f6c8
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Aug 7 16:57:06 2008 +0930
Add EVDEV_MAXBUTTONS instead of checking against 32.
Numbers are so lame, defines are all the rage now I've heard.
commit 9793de81373bb78b9ddbb2487e0af5d2ddd0b246
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Aug 7 16:53:51 2008 +0930
Expose wheel emulation through device properties.
Don't enable wheel emulation with 0 inertia - bad things happen.
commit a9d72b40fbe178fa4fbb9d0e7c02dc6c5250969a
Author: Chris Salch <emeraldd.chris@gmail.com>
Date: Wed Aug 6 22:08:13 2008 -0500
Adding mouse wheel emulation code.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit c1f7f8c3d22ecae7839f82ea8b584069f54f1f5e
Author: Adam Jackson <ajax@redhat.com>
Date: Thu Aug 7 09:21:26 2008 +0930
Print a warning if a keycode exceeds the range accepted by the server.
Keycodes over 255 are silently ignored in the server. The least we can do is
put a warning in the logs.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 40e1474d84c09d93197ac5db34a88e654386e68f
Author: Chris Salch <emeraldd.chris@gmail.com>
Date: Mon Aug 4 20:19:47 2008 -0500
Adding a function to map button events to button numbers.
Remove code duplication, let the mapping function hand us the actual button
event to be passed up to the server.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit d9097df01b01afaf946fa04fca8ae8ab7108ff21
Author: Julien Cristau <jcristau@debian.org>
Date: Mon Aug 4 09:16:53 2008 +0930
Actually close the fd on DEVICE_CLOSE (bug#16948)
Fixes file descriptor leak.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 5c074af5a9abba138023e3bc6954d1062f7c36dd
Author: Julien Cristau <jcristau@debian.org>
Date: Wed Jul 30 10:40:47 2008 +0200
Print the device name when we get a read error
commit 72551662a09eedf696508aaacf6aa02c0254e4de
Author: Michel Dänzer <michel@tungstengraphics.com>
Date: Tue Jul 29 10:06:07 2008 +0200
xf86-input-evdev: Fix EVIOCGBIT ioctl usage on big endian platforms.
With this fix, on my PowerBook HAL hotplugging correctly detects my USB mouse,
and no longer thinks keyboards have random numbers of mouse buttons. :)
The LONG_BITS and NBITS macro definitions are stolen from xf86-input-synaptics.
Signed-off-by: Michel Dänzer <michel@tungstengraphics.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
commit 53e7525744cd7c47707c7339f0b771f59f99b97c
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon Jul 21 18:15:35 2008 +0930
Add support for ButtonMapping option.
commit 5d13259a5ddab31dbb2158975c8ccbb1f3c99046
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon Jul 21 13:10:06 2008 +0930
Guard property changes against ABI_XINPUT < 3.
commit 2b7edaa4ab88e192d7285d39b4834d1e535b94d0
Author: Julien Cristau <jcristau@debian.org>
Date: Sun Jul 20 11:33:37 2008 +0200
Fill up the version info
Report correct versions instead of
"compiled for 0.0.0, module version = 1.0.0"
commit bf0d81011e19a8bb5bbd80c6b496c8ae257b4f2c
Author: Peter Hutterer <whot@possum.(none)>
Date: Mon Jul 14 13:06:32 2008 +0930
Don't enable the device if the grab failed with ENODEV.
After suspend/resume, sometimes the device doesn't come back up on the same
node. Since we do not call PreInit for the device (which would detect this
situation), we continue to try to read a nonexisting file, spamming the log
file with "Read Error".
commit ef4bb69c1a64e784fef1c758ee439372ba329b0a
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Jul 10 19:32:22 2008 +0930
Add .gitignore file.
commit d1818ef2066d7e526e0f64fffd41e06061ceb017
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue Jul 8 16:37:42 2008 +0930
Add support for device properties, currently MB emulation and timeout.
commit a9223edcd869288cf6e90f2214e607db510c7027
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Jul 10 16:55:21 2008 +0930
Clean out configure.ac
We're not building with or without XInput. Same with xkb.
commit ec23c6b2f550f2679226da907c1d022295d453f1
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Jul 3 15:01:32 2008 +0930
Remove static ChangeLog, autogenerate as part of make dist.
Hook taken from xserver's Makefile.am
commit 18d70d796fe68116907d86fc27ed77528a51ff1d
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Jul 3 14:50:45 2008 +0930
Update COPYING with the correct copyright info.
Fix up licence of emuMB.c, was using Red Hat instead of "The authors", but
this code wasn't contributed by RH anyway.
commit 37b854cb643fa9c5087eccdd1b6ba940d5413bf9
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Jul 3 14:45:41 2008 +0930
Remove stale comments.
Ctrl+Alt+Backspace works, I'm using it daily.
CapsLock doesn't repeat, otherwise we wouldn't have Bug 16318.
commit 8c06093191761f9bd2f3c5eb0b57d7b9feca70bc
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu Jul 3 14:44:52 2008 +0930
Remove EvdevConvert, nobody calls it now anyway.
Conversion is now done in the DIX.
commit 0830676a0ce3618eae9cf4c072998c16e164c687
Author: Ander Conselvan de Oliveira <ander@mandriva.com.br>
Date: Thu Jun 26 14:36:58 2008 -0300
Mice with a lot of buttons (e.g. Logitech MX1000) generate button events greater than BTN_TASK.
Signed-off-by: Peter Hutterer <peter@cs.unisa.edu.au>
commit 1cf7b8f7ee224d823d94ea65458f5269a1a77d2e
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Sat Jun 28 17:50:26 2008 +0930
Count buttons at probe and print to log.
We don't really do anything with the number other than print it since I'm sure
that half the mice don't report the correct number anyway (especially with the
wheel button mapping). But having a bit more debug info is good.
commit 826e6e7dd408659af9a1751ed16e437db8c8dc34
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Sun Jun 22 17:52:40 2008 +0930
Bump to 2.0.99.
commit 5a0ea39b79b27b7c3117661a21e7ab5eba3c9b24
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Sat Jun 21 16:42:12 2008 +0930
No need to finalize MB emulation after EvdevProbe anymore.
Follow-up to 76800bfa75807e49398380b902f6c0f547cd4c0e.
commit 373e13ae353d1e0022f8821adc528ebc5411d47d
Author: Simon Munton <simon@munton.demon.co.uk>
Date: Sat Jun 21 10:19:07 2008 +0930
Close file descriptor if EvdevProbe fails.
Signed-off-by: Peter Hutterer <peter@cs.unisa.edu.au>
commit 76800bfa75807e49398380b902f6c0f547cd4c0e
Author: Keith Packard <keithp@keithp.com>
Date: Fri Jun 20 18:20:55 2008 -0700
Enable middle button emulation at DEVICE_ON instead of DEVICE_INIT.
This ensures that the middle button emulation is re-enabled after VT switch,
otherwise the block handler that deals with the timeouts would not get
re-registered.
Signed-off-by: Keith Packard <keithp@keithp.com>
commit 04003a98a9ca1b4b0c32d319fab07ee7afc83c75
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Tue Jun 17 14:01:49 2008 +0930
evdev 2.0.0
commit 0443fb430f2481c1f0d0d83730a9145b5794f559
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Tue Jun 17 13:59:15 2008 +0930
Shut up compiler warning "implicit declaration of function 'xf86Msg'"
commit 998f52010f92dc79f2ace6048a2f3fd600a97582
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Thu Jun 12 11:23:10 2008 +0930
Finalize MB emulation if EvdevProbe fails.
This avoids segfaults when HAL is restarted behind our backs. Also, only init
MB emulation when the device actually has a button.
commit de07c04f5c2874b8e407913c3121e715e46653d2
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Wed Jun 11 11:24:07 2008 +0930
evdev 1.99.4
1.99.3 had a nasty bug, so here's a quick update.
commit 01355b9d4b3ed92da42f90fb69384eb22cdcb3d9
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Wed Jun 11 11:19:04 2008 +0930
If Emulate3Buttons is specified in the config, don't auto-deactivate it.
Default setting is still "on" until middle button is pressed. If the options
is however explicitly stated in the config file, it takes the value from the
config file, no matter if a middle button is present.
commit 9591dc1f6cc89208805b120eabd055e8dabd3e40
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Wed Jun 11 10:36:00 2008 +0930
Remove wakeup handlers when device is closed.
Less SIGABRTs are less exciting, but sometimes boredom is what we want.
commit 08ba40b2532bd61b60c9cf994b21300f596f7ebd
Author: Adam Jackson <ajax@redhat.com>
Date: Tue Jun 10 17:35:33 2008 -0400
evdev 1.99.3
commit 39dc453691804648f34dbd856bd7e66cfdc59d66
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Tue Jun 10 22:48:01 2008 +0930
Disable middle mouse button emulation when a real middle MB event is detected.
Devices may report middle mouse buttons even if they don't have one (PS/2
devices just don't know any better), so we can't be sure until we see the
event.
commit e8887435ac065ec3071b2d8bf0895e8cb196ec3d
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Tue Jun 10 15:55:40 2008 +0930
Enable middle-mouse button emulation.
Ported from xf86-input-mouse, with a few cleanups.
commit b0f6987ee6b133e28f3af18da62cfb5ca79fbe07
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Tue Jun 10 22:41:43 2008 +0930
Plug a memory leak, we allocated pEvdev twice, dropping the first memory area.
commit fec73e1418a4da1b64496faca27b06fef0aa5206
Author: Sven Wegener <swegener@gentoo.org>
Date: Sat Jun 7 13:01:22 2008 +0200
evdev: Port b4a5a204 "Fix pointer crossing screen bug." to current master branch
The commit b4a5a204 fixed an issue, where we can't move the pointer to
other screens and this happens in current master branch again. This commit
ports the old commit to the current master branch.
Signed-off-by: Sven Wegener <swegener@gentoo.org>
Signed-off-by: Peter Hutterer <peter@cs.unisa.edu.au>
commit da112737eb109dc263169e820b7ef903b7f8624f
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Sun Jun 8 00:12:03 2008 +0930
Check for XINPUT ABI < 3 (corrected version)
Thanks to Sven Wegener for pointing out the incorrect previous version.
commit d40125ea8c2ce6ec0f98bdc0655f79aa7274152e
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Sun Jun 8 00:09:40 2008 +0930
Revert "Check for XINPUT ABI, parameters of InitValuatorClassRec have changed."
GetMotionEvents() doesn't exist, led to compile errors with servers pre-MPX
merge. Thanks to Sven Wegener for pointing this out.
This reverts commit 42422d8f69e6806e1adfd93017cac064a75041c7.
commit 42422d8f69e6806e1adfd93017cac064a75041c7
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Mon May 26 19:17:19 2008 +0930
Check for XINPUT ABI, parameters of InitValuatorClassRec have changed.
commit 15e0091f0b4b0d7dff29da143d405255a1c3bc12
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Wed May 21 16:48:32 2008 +0930
Fail if the device cannot be grabbed during the probe.
If the grab fails, this is most likely a sign that the device has been grabbed
already (probably by a device specified in xorg.conf). So let's not add the
device to the server's input device list, since it won't generate events
anyway.
Exception: keyboards and kernel 2.4 are not affected.
commit d45f315845e19a720af25dc5f6c8a4c654c6e225
Author: Adam Jackson <ajax@redhat.com>
Date: Wed May 21 15:05:10 2008 -0400
evdev 1.99.2
commit a4a7003f7c82ddf05d3aa88fa40698058648dbf6
Author: Dan A. Dickey <dan.dickey@savvis.net>
Date: Tue May 20 10:57:06 2008 +0930
Fix a trivial bug in testing for absolute axes.
Signed-off-by: Peter Hutterer <peter@cs.unisa.edu.au>
commit 3e0dc9945d795cfd51ffe176100fa9416b6d3c4d
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Mon May 19 08:36:20 2008 +0930
Shut up two compiler warnings.
commit ff6251a2bd347eef7b3cd80825e84d983eeecfd3
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Mon May 19 08:24:55 2008 +0930
Remove unused EvdevOpts and EvdevOptions.
In the mouse driver, these options are only used if XFree86LOADER is
undefined. configure.ac in the xserver forces said define to 1 if we're
building the xfree86 DDX, so I don't see the point of having them around.
Especially since they weren't used in evdev anyway.
commit e9222a828582e560f9c3a29f0d3d9e1e46d973bd
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Sun May 18 11:04:43 2008 +0930
man: Option "Path" is supported in the code, add it to man page.
commit 8b7738457feef13e1fab88bb30c94093dd8bfcc5
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Wed Apr 30 18:10:08 2008 +0930
Don't allow relative and absolute axes on the same device.
This is a bit of a mess. The MS Optical Desktop 2000 registers both relative
and absolute axes on the same device (the mouse). The absolute axes have a
valid min/max range for x/y and thus overwrite the x/y relative axes in the
server (no, this is not a server bug). And I wouldn't be surprised if other
devices have similar issues.
Since the device only sends relative events after that, the mouse is
essentially restricted to the min..max range of 0..255. The server simply
doesn't do unrestricted relative axis and restricted absolute axis on the same
device (not for the same axis numbers anyway).
commit 1b9deb8e7e50a905f94a371ab0aa39e09a703052
Author: Sascha Hlusiak <saschahlusiak@arcor.de>
Date: Tue Apr 1 17:24:13 2008 +0200
Add XK_Meta_L and XK_Meta_R to list of modifiers
Stopps meta/super key from autorepeating
commit 0ec391f51cef4550daef041110ed93699089bea3
Author: Daniel Stone <daniel@fooishbar.org>
Date: Fri Mar 28 17:45:05 2008 +0200
Keyboard: Don't allow arbitrary keymap settings
Pretty much dead code anyway.
commit f77410e1f97d394e98c854fd174f712666b0544c
Author: Adam Jackson <ajax@redhat.com>
Date: Fri Mar 14 11:15:01 2008 -0400
Map REL_DIAL to REL_HWHEEL.
Some Microsoft mice have this wrong. And it seems like a sensible thing
to do anyway.
commit d28c2e1efba9fd3e79d9dfecf23cdbded30b93f5
Author: Adam Jackson <ajax@redhat.com>
Date: Wed Mar 12 13:54:10 2008 -0400
Filter out repeat events for mouse buttons.
Not many mice do this, but some do, Apple Mighty Mouse in particular, and
it makes click-and-drag pretty much impossible to use.
Arguably we should filter _all_ repeat events from the kernel and handle
synthesizing them in the server.
commit 697e850a6387cf1e0a0a35ca8c694804a6c2427f
Author: Adam Jackson <ajax@redhat.com>
Date: Tue Mar 11 19:07:58 2008 -0400
Fix middle/right button munging.
Don't do this in the button map. That's writeable by clients, which means
they have the chance to get it wrong. Just swap right and middle around
in event dispatch before you get to the user's map.
commit 87037b9953ebd47e9dbd99b3653050517aa490ff
Author: Adam Jackson <ajax@redhat.com>
Date: Mon Mar 10 17:16:38 2008 -0400
Force xkb_model to be "evdev".
Or at least, refuse to recognise the config option. It's nonsensical to
use a model of something other than evdev, and it'll just break if you try.
commit 71f4eaec7713643a7e2d07e27b9afeabd6f1ce02
Author: Dan Nicholson <dbn.lists@gmail.com>
Date: Sun Mar 9 14:46:56 2008 -0700
Fix cut-and-paste errors in xkb alternate spellings code
Fixes 2b334d6b69d7dde5d553c638e134ebdf974749f3.
commit 72083976127a1ff15f79b0316570a947e6dd2b42
Author: Adam Jackson <ajax@redhat.com>
Date: Sun Mar 9 16:15:14 2008 -0400
Fix cut-and-paste error in abs-to-rel translation.
commit c250f843833b1aac3732ca97af5b1c0076996598
Author: Adam Jackson <ajax@redhat.com>
Date: Sun Mar 9 15:54:27 2008 -0400
Fix the default XKB rules to be "base" instead of "xfree86".
commit 2b334d6b69d7dde5d553c638e134ebdf974749f3
Author: Adam Jackson <ajax@redhat.com>
Date: Sun Mar 9 15:53:40 2008 -0400
Handle the alternate spellings of the xkb options.
commit 9773dac6238b64cab1d42b2231097b23058c44ee
Merge: 11cf9c9 1a0bc8e
Author: Adam Jackson <ajax@redhat.com>
Date: Sat Mar 8 20:18:02 2008 -0500
Merge branch 'evdev-2.0-branch'
This resets to before the ad-hoc input hotplug state, ports that to
current server ABI, adds input hotplug integration, and re-adds support
for absolute coordinate events and XKB. Several other small fixes were
cherry-picked from the new 1.2 branch.
commit 1a0bc8e64a9ba6e8647b5908673b57710518f6c2
Author: Adam Jackson <ajax@redhat.com>
Date: Sat Mar 8 20:01:15 2008 -0500
Force maximum keycode to be 255
Even though we don't have keycodes for anything above 127, make sure our
map always covers up to 255. This ensures that the keycode range never
changes.
Spiritually cherry-picked from a9e87f29ccdadebb0742317bb57d66eaaca4b593
and 6db4a9fb84f828f745202c3fddc58d389fca220b.
commit 6271494faa4c45f4fa10509f72e0515f2cef36c6
Author: Adam Jackson <ajax@redhat.com>
Date: Sat Mar 8 19:54:44 2008 -0500
Add absolute coordinate event support.
There are two major classes here, touchscreens and touchpads. Touchpads
are logically more like relative devices, in that your initial touch
should not warp the cursor. So attempt to detect touchpads (via the
existence of BTN_TOUCH) and translate absolute events from those devices
to relative motion.
commit f5bfc7ec3c132276ab7152b283f75387ee656ec2
Author: Adam Jackson <ajax@redhat.com>
Date: Sat Mar 8 16:52:17 2008 -0500
Nuke the keyboard bell code.
It did nothing, and the core won't invoke it anymore anyway.
commit bf0848ec8e1ab45cb72fc8da0cc5dc47eefd0760
Author: Adam Jackson <ajax@redhat.com>
Date: Sat Mar 8 16:37:42 2008 -0500
Re-add XKB support.
Almost entirely taken from a patch I did ages ago in bug #3912, with
slight cleanups, and with the KcCGST options removed as per evdev 1.x.
commit f1445feac77af65098eef1c2d86ae067d81fc6cb
Author: Adam Jackson <ajax@redhat.com>
Date: Sat Mar 8 16:09:47 2008 -0500
Parse Option "Path" as well as Option "Device".
The hotplug core passes Path not Device. With this change, hotplugging
works.
commit ad5bdcb50f511b1cd3bd0118d2b1f4fe58c4ab72
Author: Adam Jackson <ajax@redhat.com>
Date: Fri Mar 7 20:29:58 2008 -0500
Ignore button events above BTN_TASK for now.
commit bb36ca65c64d1d863f8fa4e6f058a384fbc80eb0
Author: Adam Jackson <ajax@redhat.com>
Date: Fri Mar 7 19:43:07 2008 -0500
Support the new DIX motion history API
Spiritually cherry-picked from 036b457c1b3f7d2d174da890cb8598d907181f8e
commit 40a1e1439c120d791a2f106293f4a712c452fcc5
Author: Daniel Stone <daniel@fooishbar.org>
Date: Sun Jul 9 18:08:50 2006 +0100
remove XFree86LOADER usage
Build evdevModuleData, et al, unconditionally.
commit 946beb16f8002e8f52af082d424aac74e6fd34a9
Author: Adam Jackson <ajax@redhat.com>
Date: Fri Mar 7 19:09:35 2008 -0500
Unlibcwrap.
commit 305f90d37ad200063589c5ecf946474a09f0349b
Author: Adam Jackson <ajax@redhat.com>
Date: Fri Mar 7 19:06:14 2008 -0500
Branch for evdev 2.0
commit 11cf9c92c0d31d1058ec6c013b7126bd8909beba
Author: Sascha Hlusiak <saschahlusiak@arcor.de>
Date: Mon Mar 3 13:40:52 2008 +0200
Updated manpage to reflect current state
Large parts of the manpage were obsolete and confused users. Current state should reflect all available driver options. Some details are still missing.
commit 7f1e8146d4b13929a86a4b80f783a720c1b5573a
Author: Sascha Hlusiak <saschahlusiak@arcor.de>
Date: Wed Feb 20 20:41:08 2008 +0100
More accurate error messages on device open fail.
The message "cannot open input pEvdev" resulted in a lot of bug reports of confused users that did not
supply a device path. Now we tell them when it is missing or print out a reason when device open fails.
commit 8ae4d17ca3fb9ec06b16df5c737cd9021453a020
Author: Sascha Hlusiak <saschahlusiak@arcor.de>
Date: Tue Feb 19 22:49:51 2008 +0100
Let kernel autorepeat pass when set on default values
xorg-server won't generate soft autorepeat, when interval/delay are at default of 40/660 (see xkb/ddxCtrls.c:
XkbDDXUsesSoftRepeat). When we hit the defaults, we let the kernel autorepeat pass, if we differ, we swallow them all
and let the server figure out autorepeat in software.
commit 134ce2e493882ce411d17ea97ebb243a7d574144
Author: Sascha Hlusiak <saschahlusiak@arcor.de>
Date: Tue Feb 19 21:12:36 2008 +0100
Set repeat_delay and repeat_interval to default values
Set ctrls->repeat_delay and ctrls->repeat_interval so that keys will be automatically repeated in software.
commit 10e7c3fbdf4e94c212c0807844721064e7490729
Author: Sascha Hlusiak <saschahlusiak@arcor.de>
Date: Tue Feb 19 21:09:13 2008 +0100
Filter all incoming repeated key events
Not just filter modifiers but every repeated key, because the software implementation will take care of what key to
repeat and what not. Otherwise the kernel's autorepeated keys interfere with the software generated ones.
commit f766404fd94851ea8b3cedc5c7336a5524b7a7ae
Author: Sascha Hlusiak <saschahlusiak@arcor.de>
Date: Tue Feb 19 21:05:49 2008 +0100
Don't inform kernel evdev driver about autorepeat change
We do autorepeat in software now. Informing the kernel would change the autorepeat speed on virtual terminals, which is
probably not wanted so we leave the settings untouched.
commit d032d3c8b40e152cc0fd8409f910f23559873aaf
Author: Vinay Bondhugula <vinayb@vmware.com>
Date: Tue Jan 29 22:15:22 2008 -0800
Clear EV_ABS_V_USE_TOUCH for devices without a touch button
VMware's absolute pointing device does not have a pressure/touch button.
Although evdev correctly recognizes this, it sets "use_touch" for X and Y axes
regardless of the touch button. This patch clears the USE_TOUCH flag for the X
and Y axes if the device does not have a touch button.
commit 5adbc6b98ca1da9a426528ce0df64a992feff3bd
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Tue Jan 29 14:07:49 2008 +1030
Initialise b_map_data to correct size. Bug #13991
X.Org Bug 13991 <http://bugs.freedesktop.org/show_bug.cgi?id=13991>
commit eeb3727004327bc4d83192a7956c1835b3bd6161
Author: Julien Cristau <jcristau@debian.org>
Date: Fri Nov 9 00:38:54 2007 +0100
Don't flush buttons on init (bug#12630)
commit fa15e909933252d5cc0a2a272506effbcf21d6f9
Author: Peter Samuelson <peter@p12n.org>
Date: Thu Oct 11 07:27:30 2007 +0200
Fix one additional typo in evdev.man (axis named BRAKE, not BREAK).
commit 12a27693b9bb41b9222c5c2256815d225ee75929
Author: Peter Samuelson <peter@p12n.org>
Date: Thu Oct 11 00:09:40 2007 +0200
evdev.man minor fixes
* Use \- (ASCII dash) instead of - (hyphen), where appropriate
* Use a roff escape instead of a UTF-8 character.
* Consistent use of quote characters.
* Consistent use of typographic conventions:
italic "n" in place of "<N>" or "integer" or "number",
bold for option names, bit maps, etc.
Debian bug #446118
commit 1c40c7db188bc9030aaf256004b914815e821940
Author: James Cloos <cloos@jhcloos.com>
Date: Mon Sep 3 05:52:08 2007 -0400
Add *~ to .gitignore to skip patch/emacs droppings
commit e2be2ffa473583b98b93a319163bb54eb5d83ed6
Author: Daniel Stone <daniel@fooishbar.org>
Date: Wed Aug 1 00:02:33 2007 +0300
Options: Accept differently-named options
Take some differently-named options for device and the XKB options. These
should really be better-handled, but eh.
commit e86aab93c56ad72f3798169ea94dc6b91dab6ab6
Author: Brice Goglin <Brice.Goglin@ens-lyon.org>
Date: Thu Jul 26 18:31:58 2007 +0200
Multiple typos in evdev.man
Reported by "A. Costa" <agcosta@gis.net> in
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=432063
commit c69f4bd5707093a4f998c3fad508f466edbe8334
Author: Tiago Vignatti <vignatti@c3sl.ufpr.br>
Date: Fri Jun 15 01:35:29 2007 -0300
Clean up a little bit the code.
commit 64677ecc76d6eae530960b714712921e1bb9d4a7
Author: Tiago Vignatti <vignatti@c3sl.ufpr.br>
Date: Fri Jun 15 01:33:49 2007 -0300
Remove inotify things.
commit 08a09682f5b6d43181e98bc72782e2b2eec180e5
Author: Zephaniah E. Hull <warp@agamemnon.b5>
Date: Wed Jun 13 11:05:07 2007 -0400
Update version using PACKAGE_VERSION_*.
commit 9c9a47210a6c7146f29fd6d05b6f46955a3bee5a
Author: Zephaniah E. Hull <warp@agamemnon.b5>
Date: Tue Jun 12 11:59:16 2007 -0400
Move the mode option handling to the Init stage.
(Sorta ugly placement wise, but the other segfaults.)
commit 2d2c4804f925505e737c2c812687f47840218c93
Author: Zephaniah E. Hull <warp@agamemnon.b5>
Date: Mon Jun 11 09:08:24 2007 -0400
evdev.c:
Set and use the X mode control, letting XInput see it properly.
Kill some cruft.
evdev.h:
Set and use the X mode control, letting XInput see it properly.
evdev_axes.c:
Set and use the X mode control, letting XInput see it properly.
evdev_key.c:
Remove some cruft, the bell func can be NULL now, so do so.
Don't bother looking for keys above 0xF7 until we can actually do
something with them.
commit 6b97bf7a4eaa34ebde4ac7250f660da5bab8164d
Author: Zephaniah E. Hull <warp@agamemnon.b5>
Date: Wed Jun 6 05:00:29 2007 -0400
Handle default remapping around existing button targets better.
commit 5c6b3dd86feef58ccf43a710624404031df72f2c
Author: Zephaniah E. Hull <warp@agamemnon.b5>
Date: Wed Jun 6 04:42:51 2007 -0400
Move MapButtons_t closer to where it's used.
commit f15636ac529481a9d83e0250ff89690296f96a3d
Author: Zephaniah E. Hull <warp@agamemnon.b5>
Date: Wed Jun 6 04:41:54 2007 -0400
Wheel mice work again!
(Old configs don't.)
evdev.c:
Add EvdevParseMapToButton and EvdevParseMapToButtons to evdev_map_parsers.
Add EvdevParseMapOption to search through evdev_map_parsers.
Fix up EvdevTokenize to handle the evdev_option_token_t changes.
EvdevAxesNew0 after BtnNew0 instead of before now.
(This isn't the right fix.)
evdev.h:
EVDEV_MAXBUTTONS -> BTN_MAX.
Redid evdevBtnRec with the new mapping goodness.
Removed v_min and v_max from evdevAbsRec.
Reworked evdev_option_token_t, no union, no is_chain.
If it's a chain, it still has a string, but the chain pointer is set.
EvdevParseMapToButton, EvdevParseMapToButtons, and EvdevParseMapOption.
evdev_axes.c:
Kill off EvdevAxesMapButton, a variant lives in evdev_btn.c now.
Changes for the evdev_option_token_t changes.
Use EvdevParseMapOption instead of repeating the contents twice.
Disable EV_ABS_V_INVERT for the moment. (Better fix maybe needed.)
evdev_btn.c:
s/Ptr /Rec */g
EvdevMapButton and parser.
EvdevMapButtons and parser.
Nuke EvdevBtnCalcRemap as a whole.
Move everything but the alloc to New1 from New0.
New mapping code, same guts os the axes mapping code even.
commit 276685fa1dfc7c2d78178173545df3e28bc82544
Author: Zephaniah E. Hull <warp@agamemnon.b5>
Date: Tue Jun 5 23:55:50 2007 -0400
Fix REL mode.
Make buttons mostly work again. (Short term fix.)
NOTE: Wheel to button remapping is still missing!
commit 27a86f81683794c1f7cd3bc6d474898ff69a7b6e
Author: Zephaniah E. Hull <warp@agamemnon.b5>
Date: Tue Jun 5 23:19:59 2007 -0400
Update the copyright notices for me to include 2007.
Finish merging copyright notices. (evdev_key.c was missed.)
commit 26dbf38041ebe67e7ab399a6746684a404ea2121
Merge: 2943558 9eb546e
Author: Zephaniah E. Hull <warp@agamemnon.b5>
Date: Tue Jun 5 23:14:46 2007 -0400
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/driver/xf86-input-evdev
Conflicts:
src/evdev.h
commit 294355842ba9fb3cb3bbd7bfd60c9ca3ce704475
Author: Zephaniah E. Hull <warp@agamemnon.b5>
Date: Tue Jun 5 23:12:58 2007 -0400
Alright, this is a really big commit that breaks stuff.
evdev.h:
Switch to flags in the abs and rel structs.
Add the axes struct, and defines.
Rework the abs and rel structs, moving stuff to the axes struct and moving
everything to the new mapping handling.
Add the structs and function declarations for the new tokenization stuff,
parsing stuff, and mapping stuff.
evdev.c: Add EvdevTokenize, and the evdev_map_parsers list.
evdev_axes.c:
Basicly a full rewrite, big, messy.
We now use a completely different mapping setup for axes, and mapping to
buttons is currently missing.
However we now handle ABS_CALIB and ABS_AREA, including rotation in both
rel and abs modes.
evdev_btn.c:
Disable lots of code and break things horribly, we compile but we don't
work very well.
Fixing this is next on my todo list.
commit 9eb546e0e00be30ac6e767b196b17651df2e3d96
Author: Kristian Høgsberg <krh@redhat.com>
Date: Tue Jun 5 18:26:07 2007 -0400
Fix header file #ifdef guard.
commit daf926081d1524a8d4980578d5254c42c2791462
Author: Kristian Høgsberg <krh@redhat.com>
Date: Tue Jun 5 18:24:33 2007 -0400
Merge copyright notices.
commit c22c955c482df9a7645662023b6d1cf0f33aff15
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Tue Apr 24 23:20:43 2007 +0930
Disable and remove the device when a read error occurs.
commit f87c44b90cb48a846160b16ff910545f5a659d15
Author: Zephaniah E. Hull <warp@agamemnon.b5>
Date: Tue Apr 24 07:44:26 2007 -0400
Try harder to make unplugging work.
commit 23309b334c1fe892f7afa735d04569e210497dc3
Author: Zephaniah E. Hull <warp@agamemnon.b5>
Date: Tue Apr 24 07:34:53 2007 -0400
Kill some more unused bits.
commit 1716ec88bbc980507aa7afeb133b552f77a91a01
Author: Zephaniah E. Hull <warp@agamemnon.b5>
Date: Tue Apr 24 07:34:25 2007 -0400
Handle driver removal cleanly, we now xfree everything we Xcalloc.
NOTE: Someone needs to check for memory leaks, I'd be willing to bet
a fair bit that we've got tons in the mouse and xkb code, but.
commit 246812bfbcd856ac0dea237cdbe252706fe17688
Author: Zephaniah E. Hull <warp@agamemnon.b5>
Date: Tue Apr 24 07:01:54 2007 -0400
Remove the evil xf86ActivateDevice declaration, don't need it anymore.
Fix the crash on device unplug.
NOTE: We still don't properly get rid of ourselves.
commit a0ea7363f51ff6c2bb81006b7220b7daa9ee9221
Author: Zephaniah E. Hull <warp@agamemnon.b5>
Date: Tue Apr 24 06:49:11 2007 -0400
Remove all of evdev_brain.c and all callers.
Remove the non-functional 2.4 kernel compiling compatibility.
Remove the XInput 1.4+ SendCoreEvents/DontSendCoreEvents define replacements.
Remove evdevDriver, some stuff from evdevDevice, all users.
NOTE: This WILL BREAK all existing configurations.
NOTE: Device read failure segfaults, don't unplug stuff.
commit 3c4a96fbd851e46830fe82570d04e191bae5e8e3
Author: Zephaniah E. Hull <warp@agamemnon.b5>
Date: Tue Apr 24 06:12:14 2007 -0400
Updated configure to 1.2.0, no changes yet.
This branch is the great xserver input-hotplug rewrite, consider it unstable
but usable with the 'current' (as of this commit) git xserver.
(Once it's more done that is.)
NOTE: This branch will _not_ remain source or binary compatable with
pre-input-hotplug xservers, you have been warned.
commit ba65c34068a836ae393565a6a8260a4e96709816
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Mon Apr 23 10:08:48 2007 +0930
Remove driver from list if no device is associated any more.
This effectively stops the driver from hotplugging new devices. Devices have
to be added with the dbus hotplugging events.
commit 9644a4afbfd8ac4cb51facf0409f73f55743d8a3
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Thu Apr 19 15:40:25 2007 +0930
Remove direct call to DEVICE_INIT, ActivateDevice() takes care of that.
commit d37ba205bba0be782e3cd02ca7cedb98a304482d
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Thu Apr 19 15:38:26 2007 +0930
Add some documentation to evdev.c and evdev_brain.c.
commit 9875e2f7f96c6bfc4f01fffc7e1127724bbd0b7d
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Thu Apr 19 11:28:13 2007 +0930
ActivateDevice() before EnableDevice() in EvdevNew.
commit 6db4a9fb84f828f745202c3fddc58d389fca220b
Author: Peter Hutterer <peter@cs.unisa.edu.au>
Date: Sun Mar 25 15:40:26 2007 +0930
Key: Remove duplicate of keycode 0x6f, remove index 0xf8 to get a
maxKeyCode of 255. This way keycode range is in sync with core keyboard range.
commit a9e87f29ccdadebb0742317bb57d66eaaca4b593
Author: Daniel Stone <daniel@fooishbar.org>
Date: Wed Mar 21 12:19:48 2007 +0200
Key: Force maximum keycode to be 255
Even though we don't have keycodes for anything above 127, make sure our
map always covers up to 255. This ensures that the keycode range never
changes.
commit b4a5a20476f7bc77d54a860d7cdd81c223bdb81f
Author: Tiago Vignatti <vignatti@c3sl.ufpr.br>
Date: Wed Feb 14 19:23:21 2007 -0200
Fix pointer crossing screen bug. Possibly the others input drivers must update
this on the same manner.
commit 24f9e67a8f9729fa7cb10f0479a3be9c16c5d13a
Author: Philip Langdale <philipl@fido2.homeip.net>
Date: Sat Feb 10 22:17:01 2007 -0800
Stop caching the screen size for scaling.
Do be able to correctly scale absolute inputs, the actual
screen size must be used as this changes when the screen
resizes.
commit d8d8f114caece4c26c777ae6eee57e66b1f499e7
Author: root <root@agamemnon.b5>
Date: Wed Jan 17 19:27:40 2007 -0500
For reasons related to handling pathological remapping cases, and
differences between HID and X, pretend a middle button exists
whenever a right button exists.
commit ebb30a554fe084a50c7281defea80c38bc1b0ddd
Author: root <root@agamemnon.b5>
Date: Sat Jan 13 07:33:49 2007 -0500
Fix a bug where we potentially wrote garbage events when LEDs change.
Support setting keyboard repeat rate/period.
commit 3d8bb262e42b1c5442aebb4048c71b4dc8ce24a0
Author: root <root@agamemnon.b5>
Date: Thu Jan 11 22:42:19 2007 -0500
Handle swapping of right and middle buttons better in some odder cases.
commit 987c6b1597f184e035c3ecef15a776f7c64cd4fe
Author: root <root@agamemnon.b5>
Date: Thu Jan 11 22:41:23 2007 -0500
No more call to xf86OSRingBell in any cases,
maybe do some conditional stuff later.
commit 8155e49e76aa2d1d953fb71ead6a5c3110f3d80c
Author: root <root@agamemnon.b5>
Date: Mon Jan 8 08:59:44 2007 -0500
Pad out button_names so we can loop over things more sanely.
Support for ignoring the existance of buttons,
and for not telling X about them.
By default don't tell X about tools and touch as buttons.
TODO: Revisit this choice later.
commit e1fe72e7fe663a479a5be1b5e16ecbba52f511a8
Author: Daniel Stone <daniel@fooishbar.org>
Date: Sat Dec 16 01:42:18 2006 +0200
bump to 1.1.5
commit 9f3be57929048950ad0e03cfef44b5336c38aab3
Author: Daniel Stone <daniel@fooishbar.org>
Date: Wed Dec 6 18:50:15 2006 +0200
Makefile.am: make ChangeLog hook safer
Make ChangeLog hook as safe as possible.
commit 5a5457e69c719980334cb662e5abcb77cd09bc7a
Author: Daniel Stone <daniel@fooishbar.org>
Date: Thu Nov 2 03:42:57 2006 +0200
bump to 1.1.4
commit 3fc70342aaba5f95d01b6e51164ae207532fa8f4
Merge: 1a8cea3 ef01c2e
Author: Daniel Stone <daniel@fooishbar.org>
Date: Thu Nov 2 03:42:14 2006 +0200
Merge branch 'input-hotplug'
commit 1a8cea3dc4d8336b61a071a52479e71d7dd619d4
Merge: 51d21a3 4c72fb7
Author: Daniel Stone <daniel@fooishbar.org>
Date: Thu Nov 2 03:42:13 2006 +0200
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/driver/xf86-input-evdev
commit ef01c2ef65fa64cb213dc3adfa30c75635d1fe03
Author: Daniel Stone <daniel@fooishbar.org>
Date: Thu Nov 2 03:41:48 2006 +0200
key: use os bell-ringing function
Use the OS bell-ringing function to ding the bell.
commit 036b457c1b3f7d2d174da890cb8598d907181f8e
Author: Daniel Stone <daniel@fooishbar.org>
Date: Wed Oct 25 02:22:46 2006 +0300
support new DIX motion history API
Use the DIX motion history if we have ABI version 1 or higher.
commit 79eb7dcac8cdbecc07be08737388a8a6574e3d76
Merge: d7f686b 63f7edf
Author: Daniel Stone <daniel@fooishbar.org>
Date: Tue Oct 17 11:32:39 2006 +0300
Merge branch 'input-hotplug' of git+ssh://git.freedesktop.org/git/xorg/driver/xf86-input-evdev into input-hotplug
commit d7f686bfa3e773cfc7740c707da9fc64196e143c
Merge: ec09e0d 4c72fb7
Author: Daniel Stone <daniel@fooishbar.org>
Date: Tue Oct 17 11:31:58 2006 +0300
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/driver/xf86-input-evdev into input-hotplug
commit ec09e0d55dd14164cc46a68a71d439cc550df063
Author: Daniel Stone <daniel@fooishbar.org>
Date: Sun Oct 15 19:37:46 2006 +0300
brain: call xf86DeleteInput when removing device
Call xf86DeleteInput from evdevRemoveDevice, so it also gets removed from
xf86InputDevs in the DDX.
commit 4c72fb7b769b78cfa2b4cc39eb03fdacd2b5039c
Author: Adam Jackson <ajax@benzedrine.nwnk.net>
Date: Fri Oct 13 18:25:10 2006 -0400
Bump to 1.1.3
commit 77cbbc20b60fd564f8add39bfb840c85d5cad51d
Author: Daniel Stone <daniel@fooishbar.org>
Date: Sun Oct 8 16:14:12 2006 +0300
key: remove usage of OS keyboard layer for bell
Right now, bell is a no-op.
commit 5c5ef3fbd6eb0b668139df3ff5eda67766e86dcd
Author: Drew Parsons <dparsons@debian.org>
Date: Fri Oct 6 10:56:24 2006 +1000
m68k support (thanks Geert Uytterhoeven for the inotify codes).
commit a96b048e560782399a98c57cad255df778471ea1
Author: Zephaniah E. Hull <warp@agamemnon.b5>
Date: Mon Oct 2 17:50:55 2006 -0400
Make some debugging messages optional.
Correctly handle emulating relative mode from absolute data in the case where
we do not get X and Y data at the same time on touching.
commit d8ea40dc4a78a6197d474d806ac5367dae83655a
Author: Zephaniah E. Hull <warp@agamemnon.b5>
Date: Mon Oct 2 17:49:20 2006 -0400
Use XORG_VERSION_CURRENT in the module version struct.
commit ab65184d472614d2664e6cd7bca2d6dbc28fad07
Author: Zephaniah E. Hull <warp@agamemnon.b5>
Date: Sun Sep 10 06:47:15 2006 -0400
Fix compilation.
commit 63f7edf7862032221e25de3c59fee1158d616597
Merge: 7b91f92 771eee9
Author: Zephaniah E. Hull <warp@agamemnon.b5>
Date: Tue Jul 25 16:00:44 2006 -0400
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/driver/xf86-input-evdev into input-hotplug
commit 771eee968282e308d997adfa78bd39e7429d2c1c
Author: Zephaniah E. Hull <warp@agamemnon.b5>
Date: Sun Jul 23 22:40:51 2006 -0400
Replace the old two buffer approach to handling rel emulation of abs axes,
should help with some of the reported jitter problems.
commit e4681504487151553894ae0d513b9e833d2597d1
Author: Daniel Stone <daniel@fooishbar.org>
Date: Fri Jul 21 14:38:12 2006 -0400
fix InitValuatorClassDeviceStruct call
I don't know how the last parameter got there. Sorry.
commit fa03de438ea0ae0f07424235f4972e73ff88ef17
Author: Zephaniah E. Hull <warp@agamemnon.b5>
Date: Wed Jul 19 23:06:23 2006 -0400
Move the axis to button map code back into the rel code.
This might solve some problems, but should at least prevent some odd behavior.
commit 7b91f9277afb4bd9e557f9600bd92c68dd2435c9
Author: Daniel Stone <daniel@fooishbar.org>
Date: Wed Jul 19 19:45:27 2006 -0400
pass maxval correctly to xf86InitValuatorAxisDeviceStruct
Pass a maxval of -1 (i.e., fill this in appropriately), rather than 0 (0).
commit 7defeb0aefb216d203b495a53a6d1d505f7dece4
Author: Daniel Stone <daniel@fooishbar.org>
Date: Wed Jul 19 19:43:08 2006 -0400
pass number of axes to InitValuatorClassDeviceStruct
This is now required with the input-hotplug server.
commit 1cb568c0a6c18ec62ebb89ca21a22a77c78cad24
Author: Daniel Stone <daniel.stone@nokia.com>
Date: Wed Jul 19 19:41:54 2006 -0400
prune device list on DEVICE_CLOSE
Remove a device from the device list when we get DEVICE_CLOSE.
commit dc88668839f4613d60526aa78aed3e74eebe64ad
Author: Zephaniah E. Hull <warp@agamemnon.b5>
Date: Thu Jul 13 11:59:25 2006 -0400
Split the New functions so that structs can be allocated and buttons
detected, and then stuff that depends on _other_ areas.
(Specificly, axes and btn have a circular dependency on which one has to
run first, this solves that.)
Add button names, and a way to get a button number from a name.
Add a function for checking to see if a button exists, takes the number from the previous function.
Change the (unused) state array of pointers in the button struct to an array of pointers to functions for callback.
Implemented the 'touch' feature, on by default if BTN_DIGI_TOUCH exists,
won't, in rel mode, process x/y data unless it's down, and is used to
try and make 'pick up stencil, move to other side of digitizer, set back
down' not jump to the other side of the screen in rel mode.
(This doesn't work as well as it could, but I'm fairly sure that it's
due to the quality of the absolute input device I'm using, but feedback
would be really nice.)
FIXME: Update the manpage for this.
commit 090d43acf315283effe8a1c858cac8167ebe4d08
Author: Zephaniah E. Hull <warp@agamemnon.b5>
Date: Tue Jul 11 16:47:15 2006 -0400
Update the .gitignore files to remove some more noise.
commit 1b9a9599a4df85b0e925086d12bd48626b09bb45
Author: Zephaniah E. Hull <warp@agamemnon.b5>
Date: Tue Jul 11 16:44:43 2006 -0400
Rename .cvsignore to .gitignore.
commit f7a9c74fbccd79bf406b0afc41237303642b75c2
Author: Zephaniah E. Hull <warp@agamemnon.b5>
Date: Tue Jul 11 16:42:41 2006 -0400
Grab the ChangeLog generation rule from libX11.
commit 9cb7c3dbad1a4afdb84c338e83f597455022dcdc
Author: Zephaniah E. Hull <warp@agamemnon.b5>
Date: Tue Jul 11 12:48:10 2006 -0400
(Hope this works.)
Remove the ChangeLog file, as the entire contents can be gotten via 'git log'.
commit eba5ea8d5a19f2b1984cbf20c95d22e243f19567
Author: Zephaniah E. Hull <warp@agamemnon.b5>
Date: Tue Jul 11 03:08:30 2006 -0400
Set pInfo->fd to -1 when we close it in EvdevProc.
commit 51d21a369416bb0a45a2894e83a1cb092cc307d8
Author: Daniel Stone <daniel@fooishbar.org>
Date: Sun Jul 9 18:08:50 2006 +0100
remove XFree86LOADER usage
Build evdevModuleData, et al, unconditionally.
commit 4645247d45b1653c56d8c99d5685960159e464be
Author: Adam Jackson <ajax@nwnk.net>
Date: Thu Jun 22 21:16:44 2006 +0000
MIPS support. (Joshua Kinard)
commit 57a7f2844108072bf03c9f82baf92e3447d18fbe
Author: Adam Jackson <ajax@nwnk.net>
Date: Fri Jun 2 19:39:52 2006 +0000
Fix an obvious bogon to avoid crashing on absolute axis setup.
commit 1b03250797daa0ac98323a9f43e895dd0b5c7761
Author: Zephaniah E. Hull <warp@aehallh.com>
Date: Mon May 15 22:47:23 2006 +0000
Hopefully fix the bitops stuff to actually _work_.
commit e9c60da89a9c55b81b2dedcf6ee3d1aefb4ff591
Author: Zephaniah E. Hull <warp@aehallh.com>
Date: Sun May 14 11:55:50 2006 +0000
Tweak credits and references.
Change the longs to unsigned longs in the bitfields.
Cleanup our includes.
Stop pulling in asm/types.h and asm/bitops.h.
Conditionally define the stuff that used to come from the above, including
our own test_bit, set_bit and clear_bit.
Change the longs to unsigned longs in the bitfields.
Change the longs to unsigned longs in the bitfields.
Use the bitop defines in evdev.h properly.
Change the longs to unsigned longs in the bitfields.
Change the longs to unsigned longs in the bitfields.
Use the bitop defines in evdev.h properly.
Change the longs to unsigned longs in the bitfields.
Use the bitop defines in evdev.h properly.
Add HPPA/HPPA64 entries. (Thanks to Fabio M. Di Nitto
<fabbione@ubuntu.com>)
commit eca922bd95fbcf09dd0839e571dc30263c94172f
Author: Zephaniah E. Hull <warp@aehallh.com>
Date: Sun Apr 30 21:39:08 2006 +0000
xf86-input-evdev v1.1.2
Bugzilla #6734 <https://bugs.freedesktop.org/show_bug.cgi=6734> Apply patch
from Philip Langdale which causes us to make sure that O_NONBLOCK is
set on the inotify device.
commit f75aadfd628db727e6732c2f0df0c17e75bdeda6
Author: Zephaniah E. Hull <warp@aehallh.com>
Date: Sat Apr 15 13:01:36 2006 +0000
xf86-input-evdev v1.1.1
commit cffc51e04aba0090dfb663d2927117318b5ea00c
Author: Zephaniah E. Hull <warp@aehallh.com>
Date: Fri Apr 14 07:01:37 2006 +0000
evdevAbsRec: Remove the scale bool, rename scale_x and scale_y to scale[2].
evdevAxesRec: Make btnMap an int array instead of a Card8 array.
Make abs support and non-core stuff actually work.
Relative emulation for abs mode is still a bit broken, but that's far less
critical.
How many buttons we've registered is configuration information, not an
error message.
commit c968040cde4e1a7c73332701008f6abfb1fa3ab3
Author: Zephaniah E. Hull <warp@aehallh.com>
Date: Sun Apr 9 00:41:42 2006 +0000
Remove a debugging message.
Actually, well, _work_. Note, abs support still segfaults, I'll debug it
after I've slept. But I should get it tomorrow.
commit 880879015bf1eec49d374274d644ba015a6a4610
Author: Zephaniah E. Hull <warp@aehallh.com>
Date: Sat Apr 8 21:55:17 2006 +0000
Dropped the xorg-xserver 1.0.99.901 requirement. (Things were tweaked to
mostly work for older servers again.)
Close the device properly on read errer.
Minimal inotify support, not ideal yet, but...
Minimal inotify support, not ideal yet, but...
Minimal inotify support, not ideal yet, but...
commit c97fdb44493e55f3456222855293016a596ff56e
Author: Zephaniah E. Hull <warp@aehallh.com>
Date: Sat Apr 8 17:23:06 2006 +0000
Remove evdev_abs.c and evdev_rel.c. Added evdev_axes.c.
Change the calls to refer to EvdevAxes instead of Abs and Rel. Include
mipointer.h. (Fixes a compile error.) Remove an unused variable from
EvdevReadInput.
Removed evdev_abs.c and evdev_rel.c, added evdev_axes.c. Added count to rel
and abs. Moved btnMap from rel to the new axes. Shuffle some includes,
and include stdarg.h.
Removed.
New, a mix of rel and abs that should actually work in the rel case.
Rearrange include order. btnMap was moved from being part of rel to being
part of axes.
Removed.
Rearrange include order.
Rearrange include order.
NOTE: This commit has been compile tested, not run tested.
I have some other changes to make before I can do more heavy testing.
commit ad4d62e1d318c629f994883e3b9926627bec16f0
Author: Adam Jackson <ajax@nwnk.net>
Date: Fri Apr 7 17:30:27 2006 +0000
Unlibcwrap. Bump server version requirement. Bump to 1.1.0.
commit e9a6f6d1a0b5cf6f7dc4fb122f6d28cbf3929960
Author: Zephaniah E. Hull <warp@aehallh.com>
Date: Fri Mar 31 18:11:52 2006 +0000
Fix the fd pointer leak reported by primer. (Not the same patch.)
Disable the undocumented xkb guts options in the key driver. (Requested by
Daniel Stone.)
commit 05b56eeb5c74aebe81de7550c41546d7d6f3fb0c
Author: Zephaniah E. Hull <warp@aehallh.com>
Date: Thu Mar 16 13:09:19 2006 +0000
Switch from my own globbing function to fnmatch.
Detect keys numbered higher then buttons. Remove the (depreciated since
long before xkb support was added to evdev) XkbKeymap option.
commit a3149dc44a36a46cc117a2fde43ee348a2371304
Author: Zephaniah E. Hull <warp@aehallh.com>
Date: Thu Mar 16 13:05:04 2006 +0000
Update to include all the new device matching options.
commit 9972f2b1c77eefe5fb6a2ba7baacaf6b273228a8
Author: Zephaniah E. Hull <warp@aehallh.com>
Date: Mon Feb 27 13:22:35 2006 +0000
Don't leave keys in the down state when we get turned off. (VT switching,
getting unplugged, that sort of stuff.)
commit 94cb4aa1f8caf1ba141ab0839c9eb0b2b5357470
Author: Zephaniah E. Hull <warp@aehallh.com>
Date: Mon Feb 27 10:48:40 2006 +0000
Better error reporting if the read fails.
Work properly if we're defining entirely by capability maps.
commit 47482dad76ab74c0b5c9e8d455f04935651173ec
Author: Zephaniah E. Hull <warp@aehallh.com>
Date: Fri Feb 24 13:44:56 2006 +0000
Compile with -Wall now. Add evdev.h to the sources so that make distcheck
gets it.
Bugzilla #5943 <https://bugs.freedesktop.org/show_bug.cgi=5943> Make sure
we include errno.h.
Reduce EVDEV_MAXBUTTONS to 96.
Split up evdevStateRec into a struct with pointers to new structs for btn,
abs, rel, and key.
New structure type for handling the device capability bitmaps.
Add device bits and struct input_id to evdevDeviceRec.
Add matching device bits, struct input_id, and pass number to
evdevDriverRec.
Prototype for evdevGetBits from evdev_brain.c.
Conversion for the evdevStateRec split.
Remove the errno.h include, it's in evdev.h for now.
Move the bit getting from the drivers to here, into evdevDeviceRec.
Fix a rare case of fd leakage.
Add several new (and somewhat ugly) device matching options: <map>Bits:
Where map is one of ev, key, rel, abs, msc, led, snd, or ff. In the
format of '+0 +3 -1-2 ~5-10', requires bits 0 and 3 be set, bits 1 and
2 to not be set, and at least one bit in the range of 5 to
10 be set. bustype, vendor, product, and version: Simple integer options
for matching the struct device_id fields, must be 0 (the default) or
the exact value you wish to match against. pass: Bounded to 0-3,
devices are matched to the first matching entry found, order for
multiple matching entries in the same pass is undefined, but it starts
with pass 0 and goes to pass 3.
Adaptation for the evdevStateRec split and the change in capability bitmap
handling.
Add evdevGetBits to fill the new evdevBitsRec struct type.
Lots of somewhat ugly code for matching by capability bits.
Split out of evdevRescanDevices to smaller handling functions. The new
design should be better if I decide to handle arbitrary Device fields
again.
Adaptation for the evdevStateRec split and the change in capability bitmap
handling.
Handle all buttons, no button compression at this time, however we reorder
things so that BTN_MOUSE comes before BTN_MISC, somewhat evily.
Support for the new btn->state[] array of int pointers.
Adaptation for the evdevStateRec split and the change in capability bitmap
handling.
Adaptation for the evdevStateRec split and the change in capability bitmap
handling.
I really hope I didn't miss any changes.
commit 739a0f51b07bd3fdccc156358bf9fca302477042
Author: Lars Knoll <lars@trolltech.com>
Date: Fri Feb 24 12:14:32 2006 +0000
include errno.h to make it compile.
commit 763edd37305e789bcc31746e5ea41f4df9d0b2a4
Author: Zephaniah E. Hull <warp@aehallh.com>
Date: Mon Feb 20 09:18:56 2006 +0000
Bugzilla #5950 <https://bugs.freedesktop.org/show_bug.cgi=5950> Possible
(maybe) fix for bug #5950. Though, I'm not convinced and still don't
see how this bug could be happening, especially if this doesn't do it.
commit c6dbf89d9d40fcbce72493404ea02b7e7957513f
Author: Zephaniah E. Hull <warp@aehallh.com>
Date: Sun Feb 19 19:11:04 2006 +0000
Add bell support.
commit 28ee08ef0810ad48c612280838be3e952c41971d
Author: Zephaniah E. Hull <warp@aehallh.com>
Date: Fri Feb 17 01:17:41 2006 +0000
Bugzilla #5914 <https://bugs.freedesktop.org/show_bug.cgi?id=5914> Stupid
little bug, properly handle wheels on 3 button mice.
commit e7d4e6b11eb4cc026e91fd561fda24d9cf19adc4
Author: Zephaniah E. Hull <warp@aehallh.com>
Date: Tue Feb 14 14:57:37 2006 +0000
Bugzilla #5696 <https://bugs.freedesktop.org/show_bug.cgi?id=5696> Slightly
updated version of the patch listed. Basicly a rewrite of the driver,
with a few pieces of the old. XKB support, proper device matching,
basic absolute pointer support. Lots more, will require some user
config changes.
commit edbe44da9ae05469d28502af585cd2259d57d104
Author: gravity <gravity>
Date: Mon Jan 9 05:19:26 2006 +0000
Add evdev manpage
commit 6808674886a13c866bfeeb3ca5f3b8db72e3d5ca
Author: Kevin E Martin <kem@kem.org>
Date: Wed Dec 21 02:29:56 2005 +0000
Update package version for X11R7 release.
commit 5ae3abc1b3fda25d60a207c08b510c3a4f8c0148
Author: Adam Jackson <ajax@nwnk.net>
Date: Mon Dec 19 16:25:50 2005 +0000
Stub COPYING files
commit c58133445ee112901ea69023cac7afb3ca8d8064
Author: Kevin E Martin <kem@kem.org>
Date: Thu Dec 15 00:24:14 2005 +0000
Update package version number for final X11R7 release candidate.
commit b82e57a082662311cc47abbfc6a15b358be539d6
Author: Kevin E Martin <kem@kem.org>
Date: Tue Dec 6 22:48:29 2005 +0000
Change *man_SOURCES ==> *man_PRE to fix autotools warnings.
commit f56f4462f605348f90387308c028f622a5585231
Author: Kevin E Martin <kem@kem.org>
Date: Sat Dec 3 05:49:30 2005 +0000
Update package version number for X11R7 RC3 release.
commit 36fc29d0103707676b3d1ddfb3700457812779f8
Author: Kevin E Martin <kem@kem.org>
Date: Fri Dec 2 02:16:05 2005 +0000
Remove extraneous AC_MSG_RESULT.
commit 27690c112a2a890e7b556e51bbc5a42864671fc4
Author: Adam Jackson <ajax@nwnk.net>
Date: Tue Nov 29 23:29:55 2005 +0000
Only build dlloader modules by default.
commit a8ca6bc2d461288928f8ec907fb3dd40dc1642ca
Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
Date: Mon Nov 28 22:04:06 2005 +0000
Change *mandir targets to use new *_MAN_DIR variables set by xorg-macros.m4
update to fix bug #5167 (Linux prefers *.1x man pages in man1 subdir)
commit 753e3320afd033122c9186382866ad8334bc7b7f
Author: Eric Anholt <anholt@freebsd.org>
Date: Mon Nov 21 10:49:03 2005 +0000
Add .cvsignores for drivers.
commit abcef337586d3862323ea5f77803a369d28aa90b
Author: Kevin E Martin <kem@kem.org>
Date: Wed Nov 9 21:15:11 2005 +0000
Update package version number for X11R7 RC2 release.
commit e7fa7d71e5c341027b6bfe47d8c6356d6ed7e92e
Author: Kevin E Martin <kem@kem.org>
Date: Tue Nov 1 15:08:49 2005 +0000
Update pkgcheck depedencies to work with separate build roots.
commit f8c131fff1a2adcb772aa5808559e93df2d442c3
Author: Kevin E Martin <kem@kem.org>
Date: Wed Oct 19 02:48:00 2005 +0000
Update package version number for RC1 release.
commit b543623997a1a7eda5c681bd431778e0a8da1347
Author: Kevin E Martin <kem@kem.org>
Date: Tue Oct 18 15:46:36 2005 +0000
Do the following to make the drivers pass distcheck:
- Only define EXTRA_DIST when there are actually man pages to be processed
- Add missing man pages to keyboard and ati drivers EXTRA_DIST
commit efcacda000e3020cf1c5348aec8e19f68f268a4b
Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
Date: Tue Oct 18 00:01:51 2005 +0000
Use @DRIVER_MAN_SUFFIX@ instead of $(DRIVER_MAN_SUFFIX) in macro
substitutions to work better with BSD make
commit 1d4cfdd373207d685c89e240c611a0197bce18ec
Author: Adam Jackson <ajax@nwnk.net>
Date: Mon Oct 17 22:57:27 2005 +0000
More 1.7 braindamage: define EXTRA_DIST in terms of @DRIVER_NAME@ instead
of indirectly
commit ae0f10570960fc87c566d9084c7a3e78b05ce5ce
Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
Date: Mon Oct 17 00:08:55 2005 +0000
Use sed & cpp to substitute variables in driver man pages
commit ce0cafa1151841b46dedce616472cf5f38ffde83
Author: Adam Jackson <ajax@nwnk.net>
Date: Fri Sep 23 22:32:23 2005 +0000
Bug #3913: Suppress kernel-generated repeat events for chording keys.
commit 7d5839eb992e0a217b8368762cab80fa7a15faa2
Author: Daniel Stone <daniel@fooishbar.org>
Date: Thu Aug 18 09:03:38 2005 +0000
Update autogen.sh to one that does objdir != srcdir.
commit 88befc6f4b58a0353984a85a46c0107c8a3a4067
Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk>
Date: Wed Aug 10 14:07:22 2005 +0000
Don\'t lose existing CFLAGS in all the input drivers and some of the video
drivers
commit 8c4fcc1acdbd9e27e8e039c333f5abf77f81e6cf
Author: Kevin E Martin <kem@kem.org>
Date: Fri Jul 29 21:22:40 2005 +0000
Various changes preparing packages for RC0:
- Verify and update package version numbers as needed
- Implement versioning scheme
- Change bug address to point to bugzilla bug entry form
- Disable loadable i18n in libX11 by default (use --enable-loadable-i18n to
reenable it)
- Fix makedepend to use pkgconfig and pass distcheck
- Update build script to build macros first
- Update modular Xorg version
commit b446f59cc56494f1d3052c587ab9e3bfee89cd48
Author: Adam Jackson <ajax@nwnk.net>
Date: Thu Jul 28 01:48:14 2005 +0000
Yet more 2.4 build fixes, this time for BTN_TASK.
commit f745d59b6c03aec59b5f4c8d0f279296270f0b72
Author: Kristian Høgsberg <krh@redhat.com>
Date: Mon Jul 25 16:07:34 2005 +0000
Handle BTN_TASK too (#3859).
commit 0656b4a517b41c047830553d412bc2575f537d46
Author: Kevin E Martin <kem@kem.org>
Date: Wed Jul 13 20:03:21 2005 +0000
Make the module dir configurable
commit d1dd2dfe4d49cae4b813c83301b3bddadd704e85
Author: Kevin E Martin <kem@kem.org>
Date: Wed Jul 13 02:20:59 2005 +0000
Update all input drivers to pass distcheck
commit 29621860ab38f318d8b19551391ac7997b8af2de
Author: Adam Jackson <ajax@nwnk.net>
Date: Tue Jul 12 06:15:08 2005 +0000
Build skeletons for input drivers. Should basically work.
commit 74021126a6e5e9075025911cb9c0b5273f70fda2
Author: Adam Jackson <ajax@nwnk.net>
Date: Mon Jul 11 02:37:59 2005 +0000
Prep input drivers for modularizing by adding guarded #include "config.h"
commit 672f8cd6616cd8cf97e9d01b4c408d9c59f09a7f
Author: Adam Jackson <ajax@nwnk.net>
Date: Sun Jul 3 00:06:01 2005 +0000
Add some build compatibility for 2.6 linux systems with 2.4 kernel headers
installed. Allow the use of evdev for mice on 2.4 kernels.
commit 0145e216a7321011dc3bef7f9a0833ffbb61b953
Author: Adam Jackson <ajax@nwnk.net>
Date: Sat Jun 25 21:17:01 2005 +0000
Bug #3626: _X_EXPORT tags for video and input drivers.
commit df1b2f476dde1f6cbc13e9731d772a42baf97adb
Author: Adam Jackson <ajax@nwnk.net>
Date: Wed May 11 00:13:15 2005 +0000
Bug #968: Grab the event device used by the evdev driver to avoid weird
issues when input goes to multiple places. Restrict building the evdev
driver to 2.6 kernels since EVIOCGRAB didn't exist in 2.4.
commit 319e1b28a37c3b5511f0cf8ab627f9e4f0924634
Author: Kristian Høgsberg <krh@redhat.com>
Date: Tue Jan 18 20:18:09 2005 +0000
Handle horizontal wheel events and move mapping of extra buttons up so they
don't overlap the wheel buttons. Patch from Alan Swanson (#968).
commit 4ada85ef11c56d5d998a4187d5ed1c557b7098bd
Author: Adam Jackson <ajax@nwnk.net>
Date: Fri Jan 14 17:14:07 2005 +0000
Build fixes for static server.
commit bdd94f37b31f78ebd2b13e7d263e8ee0dbbb0fb3
Author: Kristian Høgsberg <krh@redhat.com>
Date: Wed Jan 12 20:15:52 2005 +0000
Add new evdev input driver. This driver uses the linux input layer directly
and can handle both mice and keyboards.
Convert this to UTF-8 again. The ChangeLog should be kept in UTF-8.
|