Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 3436

General • TinyUSB HID host command to enable Intellimouse mode

$
0
0
On boot a mouse sends a three byte report which does not include the movement of the scroll wheel.
For a PS2 mouse I enable Intellimouse mode by sending the magic sequence f3 c8 f3 64 f3 50 and after that it sends 4-byte packets
Can anyone help me with the report I need to send over USB to do the same. The TinyUSB mouse example doesn't cater for this.

I've tried

Code:

char mode[]={0xf3, 0xc8, 0xf3, 0x64, 0xf3, 0x50};tuh_hid_set_report(Device_address, .Device_instance, 0, HID_REPORT_TYPE_OUTPUT, mode, sizeof(mode));


without success

Statistics: Posted by matherp — Fri Feb 02, 2024 9:42 am — Replies 1 — Views 51



Viewing all articles
Browse latest Browse all 3436

Trending Articles