Meulengracht/MollenOS

[vali] usb hid driver rewrite

Opened this issue · 1 comments

Is your feature request related to a problem? Please describe.
We need to rewrite the usb HID driver in order to re-enable support for usb mouse and keyboard.

Describe the solution you'd like
Reuse existing implementation and rewrite it so it fits our current coding standard, and bring the code quality up to date.

Additional context
To support this we have to also redo the last remaining bits of usb interrupt code, to reenable the data events.

This is mostly done. The rewrite is complete and interrupts are received. However we need to test this with real mouse/keyboard to actually see if the data generated makes sense and that we correctly proxy it to vioarr. We also need to implement state tracking for keys in the driver.