rasteri / HIDman

Adapting USB devices to work on old computers
283 stars 21 forks source link

Add support for HIDman-micro #7

Closed serisman closed 1 year ago

serisman commented 1 year ago

This adds support for the HIDman-micro PCB that uses the smaller CH559T and therefore has a slightly different pinout.

I did not end up doing runtime detection since the current code chooses the PS/2 pins at compile time and changing that would be a pretty big refactor and might impact performance/timing too much.

I also fixed a few compiler warnings surrounding the GetPort and OutPort methods and optimized them slightly.