Commit a8ad12c
committed
feat(Legion Go S): Add IMU support
- Adds reading IMU data from MCU interface 5. This device polls at 1000Hz and provides all 3 axis for each interial measurement in a single report.
- While at it, performs cleanup of unused event types and remanes many others to be simpler. The more complex names aren't needed for Go S as it doesn't have as many interfaces as the Go.
- Adds basic support for the touchpad. X/Y events are disabled until a firmware update can enable ABS values instead of REL values.1 parent ae1908b commit a8ad12c
File tree
5 files changed
+435
-423
lines changed- src
- drivers/legos
- input/source/hidraw
5 files changed
+435
-423
lines changedLines changed: 5 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
67 | 55 | | |
68 | 56 | | |
69 | 57 | | |
| |||
0 commit comments