aboutsummaryrefslogtreecommitdiff
path: root/hid-tmt300rs.c
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2020-11-03 22:41:11 +0200
committerKimplul <kimi.h.kuparinen@gmail.com>2020-11-03 22:41:11 +0200
commit85715cec22276cf794e38a10dd6f38f373e2f35a (patch)
tree0fcd75bf1c25f7b015b4279a77fb69b562a5fc9b /hid-tmt300rs.c
parenta70f3c3bf2f9016e8bb7349cbd7399b3333d8ac7 (diff)
downloadhid-tmff2-85715cec22276cf794e38a10dd6f38f373e2f35a.tar.gz
hid-tmff2-85715cec22276cf794e38a10dd6f38f373e2f35a.zip
One more attempt to imitate the Windows driver
Sending out some more weird interrupts when opening device, doubt they're actually useful for anything.
Diffstat (limited to 'hid-tmt300rs.c')
-rw-r--r--hid-tmt300rs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hid-tmt300rs.c b/hid-tmt300rs.c
index 6c44d61..0938499 100644
--- a/hid-tmt300rs.c
+++ b/hid-tmt300rs.c
@@ -1226,7 +1226,7 @@ static int t300rs_open(struct input_dev *dev){
send_buffer[0] = 0x60;
send_buffer[1] = 0x01;
- send_buffer[2] = 0x05;
+ send_buffer[2] = 0x04;
ret = t300rs_send_int(dev, send_buffer, &trans);
if(ret){
@@ -1253,7 +1253,7 @@ static int t300rs_open(struct input_dev *dev){
}
memset(send_buffer, 0, T300RS_BUFFER_LENGTH);
- //t300rs_open_interrupts(t300rs);
+ t300rs_open_interrupts(t300rs);
send_buffer[0] = 0x60;
send_buffer[1] = 0x01;