Hi,
I have worked on various descriptors for mouse, keyboard, consumer controls, game pad,.. How do I write a descriptor for glove? (VR Controls Page -> Glove) Please help!!
Hi,
I have worked on various descriptors for mouse, keyboard, consumer controls, game pad,.. How do I write a descriptor for glove? (VR Controls Page -> Glove) Please help!!
But when I implemented gamepad descriptor, I disabled both boolean variables used for keyboard & mouse
& it worked perfectly fine. So I'm not getting your point exactly? Could you elaborate?
Hi Sonal, I am sorry, my understanding of this descriptor was not correct.
You need to define HID report map for Glove to describe the structure of HIDS report that you want to send and I thinks that's it from HIDS module usage perspective. However, I have no idea how to construct such a map (you need to look at HID descriptor in USB specification). Sorry for the confusion.
Hi Aryan,
Thankyou for your reply. Currently I'm able to send arbitrary information to the host using generic HID descriptor (uses vendor defined page). There is no driver issue. I'm also able to connect to the bluetooth of host. But I'm not able to receive data from host. How do I change on_hid_rep_char_write() in order to receive arbitrary data?
I am sorry Sonal, not my area of expertise but it very much looks like you need add your logic of handling data inside this block changing it from doing nothing to what you want to do with this data
else { // The report received is not supported by this application. Do nothing. }