slion / sharplibhid Goto Github PK
View Code? Open in Web Editor NEWC# HID Library using Windows Raw Input.
Home Page: http://publish.slions.net/HidDemo/
C# HID Library using Windows Raw Input.
Home Page: http://publish.slions.net/HidDemo/
I have 2 barcode readers from different vendors. I create a handler with 1 device from vendor A. However if I scan with reader from vendor B the Handler does process the input. I would expect it to ignore this because I did not pass that device when creating the Handler.
Is this by design?
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 duplicate on the other. The second one don't generate any report.
The descriptor: (I added the "DataIndex" property on the list).
Here it's possible to see that the Sliders both are sharing the same values.
I try to debug but could not find the problem. Looks like it ignores the DataIndex if the axis is duplicate?
If you can at least point me in the right direction so I can try to fix.
Thanks.
I am about to heavily refactor the library. Is this something you are interested in me submitting as a pull request or would I be wasting my time?
Use WM_DEVICECHANGE to achieve that.
We could also animate changes somehow? Show new devices in green and removed devices in red.
Did you intent to specify GPLv3 or was it more of a auto generated thing? Would you consider an MIT license or BSD 3 license?
There are quite a few device property types that we don't yet support. That should be fixed.
#20 is part of that.
Would be nice to have an all devices tab in the demo showing every devices on the system and not just HID devices.
Check why Xbox Elite Controller max axis value displays -1.
It should likely be 65535 instead.
Looks like a typical sign cast issue.
I' m using this library to receive input message and handle it in background. But if the textbox got focused, the characters will still be typing there. How to prevent it?
We should be able to display device icons in our lists.
After switching to another applictaion, the hook method does not respose to the report due to the fact that the Handle in RAWINPUTDEVICE is a handle of current process.Is there any method to globally hook hid report?
Thanks.
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.
Would you consider adding support to the NuGet to add NetStandard 2.0 support?
HID Demo release Squirrel release has been broken since we migrated to SDK style projects.
See how our release script was called during project build before.
See if we can reenable x86 build and include it in our NuGet package.
CIC is x86 so that could be useful indeed.
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 range.
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 tab or add that feature to the existing devices tabs. Could be a checkbox option to toggle it.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.