SharpLibHid
SharpLibHid copied to clipboard
C# HID Library using Windows Raw Input.
Axis UsageValues extraction should use [HidP_GetScaledUsageValue] instead of [HidP_GetUsageValue]. Actually [HidP_GetUsageValue] should still be used as a fall back solution if [HidP_GetScaledUsageValue] fails with `HIDP_STATUS_BAD_LOG_PHY_VALUES`. See `GetUsageValues` implementation in code....
Consider having an Axis class to make it easier to work with axis by providing a bunch of easy to use methods to access axis id, name, value and value...
Check why Xbox Elite Controller max axis value displays -1. It should likely be 65535 instead. Looks like a typical sign cast issue.
Hi. I'm interfacing with a game controller and it have two "Slider" axis. The report is correct on windows (joy.cpl) In the HID Demo one of the sliders report is...
Use [WM_DEVICECHANGE](https://docs.microsoft.com/en-us/windows/win32/devio/wm-devicechange) to achieve that. We could also animate changes somehow? Show new devices in green and removed devices in red.
We should be able to display device icons in our lists.
There are quite a few device property types that we don't yet support. That should be fixed. #20 is part of that.
We will need to add support for string array/list properties. That will be needed to implement #19.
Would be nice to be able to visualise our devices hierarchy from the root parents down to their youngest children. We could either do that in a new demo device...
Would be nice to have an all devices tab in the demo showing every devices on the system and not just HID devices.