aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2021-12-03 00:11:19 +0200
committerKimplul <kimi.h.kuparinen@gmail.com>2021-12-03 00:11:19 +0200
commit695bb2443b8b698d74a8dfc3887911b08a7c5f2a (patch)
tree2e46ea5fc804c352f123c50c6b7cfaaee157774d
parenta491f6dc947f428f4f1977bd06d336492989feeb (diff)
downloadhid-tmff2-695bb2443b8b698d74a8dfc3887911b08a7c5f2a.tar.gz
hid-tmff2-695bb2443b8b698d74a8dfc3887911b08a7c5f2a.zip
Normal mode pedal default inputs fixed
+ Defaults modified in accordance to DiRT 4 T300RS defaults. Should work alright in other games as well.
-rw-r--r--hid-tmt300rs.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/hid-tmt300rs.h b/hid-tmt300rs.h
index f86770f..d5d6169 100644
--- a/hid-tmt300rs.h
+++ b/hid-tmt300rs.h
@@ -157,13 +157,13 @@ static u8 t300rs_rdesc_nrm_fixed[] = {
0x75, 0x10, /* Report size (16) */
0x95, 0x01, /* Report count (1) */
0x81, 0x02, /* Input (Variable, Absolute) */
- 0x09, 0x35, /* Usage (Rz) */
+ 0x09, 0x31, /* Usage (Y) (was Rz) (Brake) */
0x26, 0xff, 0x03, /* Logical maximum (1023) */
0x46, 0xff, 0x03, /* Physical maximum (1023) */
0x81, 0x02, /* Input (Variable, Absolute) */
- 0x09, 0x32, /* Usage (Z) */
+ 0x09, 0x35, /* Usage (Rz) (was Z) (Gas) */
0x81, 0x02, /* Input (Variable, Absolute) */
- 0x09, 0x31, /* Usage (Y) */
+ 0x09, 0x33, /* Usage (Rx) (was Y) (Clutch) */
0x81, 0x02, /* Input (Variable, Absolute) */
0x81, 0x03, /* Input (Variable, Absolute, Constant) */
0x05, 0x09, /* Usage page (Button) */