Commit 7525a0b
HID: wacom: Support touchrings with relative motion
If a touchring is configured to send relative events (e.g. +1 or -1 every
time some bit of rotational distance is covered), we should similarly
send relative events up to userspace. Previous non-HID tablets used
REL_WHEEL to send this kind of information, so we opt to use this same
axis since userspace (xf86-input-wacom and libinput) already expects
this kind of behavior from the Wacom kernel driver.
Signed-off-by: Jason Gerecke <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>1 parent 3152301 commit 7525a0b
1 file changed
+18
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1909 | 1909 | | |
1910 | 1910 | | |
1911 | 1911 | | |
| 1912 | + | |
1912 | 1913 | | |
1913 | 1914 | | |
1914 | 1915 | | |
| |||
2045 | 2046 | | |
2046 | 2047 | | |
2047 | 2048 | | |
2048 | | - | |
| 2049 | + | |
| 2050 | + | |
| 2051 | + | |
| 2052 | + | |
2049 | 2053 | | |
2050 | 2054 | | |
2051 | 2055 | | |
| |||
2110 | 2114 | | |
2111 | 2115 | | |
2112 | 2116 | | |
2113 | | - | |
| 2117 | + | |
| 2118 | + | |
| 2119 | + | |
| 2120 | + | |
2114 | 2121 | | |
2115 | 2122 | | |
2116 | 2123 | | |
| |||
2163 | 2170 | | |
2164 | 2171 | | |
2165 | 2172 | | |
| 2173 | + | |
| 2174 | + | |
| 2175 | + | |
| 2176 | + | |
| 2177 | + | |
| 2178 | + | |
| 2179 | + | |
| 2180 | + | |
| 2181 | + | |
2166 | 2182 | | |
2167 | 2183 | | |
2168 | 2184 | | |
| |||
0 commit comments