Closed NZSmartie closed 8 years ago
I've created Device
class that will hopefully end up being used by applications.
The class supports iterating and accessing it's members via Usage
s
The Device
class provides access to reports (inputs, outputs and features) through instance named after their collection usages, i.e. Generic Desktop -> Mouse -> Pointer
becomes device.mouse.pointer
A
Descriptor
(class name may change) ideally will be returned when a application requests a parsed HID descriptor. With that object, the application could, for example, read out mouse x,y values without manually decoding the bytes from their offsetsalternatively, using the
DescriptorBuilder
an application may create aDescriptor
object or generate byte array to configure hardware with