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!!
Not sure exactly what you are trying to do. The descriptor you want depends on what exactly your glove does. What are the features and how is this related to HID?
It is as mentioned in the USB HID usage table. I'm sending 10 angular values (degree of freedom). For now I just want to be able to read these values on the computer using some HID utility/API.
Hmm, looking at the spec, it does not look like our ble_hids module is designed to work with kind of data unfortunately.
Ohh why is that?
because the services are designed to handle only keyboard and mouse data for now. You can look into the ble_hids.h->ble_hids_init_t to see that there are only two bools is_kb or is_mouse to show that the rest of the structure is designed to handle only two of this models. If you want to handle more use cases from the HID class, then you need to expand this structure yourself and modify the library.