-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HID USB with 16bit deltas #366
Comments
are you able to get any error message from host and/or check your descriptor with other hid parser tool ? |
the device does not show up on lsusb, i'm not sure how to debug usb devices, is there a log somewhere? I'm running linux (arch) btw. |
are there tools you recomend? |
failed to enumerate is probably other issue, are you running the stock hid example with only the hid descriptor as modification. For tool, you should buy an hardware usb analyzer, software analyzer is not trustworthy |
I was running the stock hid composite, it was working fine, those were the only modifications |
I just tried implementing this, and it seems to work for me. One note is that I had issues after making changes because the makefiles don't properly handle header file dependencies. I had to See my branch (which I'll probably delete once this issue is closed): https://github.com/pigrew/tinyusb/tree/16_bit_mouse_hid I'm using Windows 10. |
Got it working, the issue lied in that i included Thank you for the help. |
Question Description
I implemented a usb device that advertises as an hid mouse, it is working great, but i wanted to make a small change, i want to send X & Y delta values in int16 variables, i believe this is possible, but i couldn't get it to work.
am i correct to assume:
I can just make an alternate version of TUD_HID_REPORT_DESC_MOUSE with
and then a modified
hid_mouse_report_t
and
tud_hid_report(REPORT_ID_MOUSE, &report, sizeof(report));
what am i missing? i tried it but it stopped enumerating. i didn't want to keep messing around, i'm sure it's straight forward.
The text was updated successfully, but these errors were encountered: