Skip to content

Add supportive (strong) types for HID reports #72

Closed
@nefarius

Description

@nefarius

The amount of "byte-juggling" that has evolved in the driver is getting a bit out of hand, consider defining some structs for input (and output) reports instead of passing around PVOID or PUCHAR everywhere and having the need to sprinkle around comments on which byte and bit offset identifies which button, axis etc.

This will also make it easier to write new translation functions if more modes get added.

Using structures instead of byte-counted/void pointers will also fix some Code Analysis Warnings that are false-positives.

Move those to a "public" header file to be consumed by #66 and similar solutions.

Metadata

Metadata

Assignees

Labels

CoreCore/Common Driver TopicenhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions