Comments (1)
If they have the same UsagePage and Usage that's the expected behaviour, yes.
So if you register one keyboard you will get notifications from any keyboard.
However you should then be able to filter yourself per device using the Device property of the Event object.
That's just how the Windows API is working. You simply register for a UsagePage/Usage.
Arguably support for something like this could be implement in SharpLibHid. However I rather not as this is trivial to implement at the application level.
from sharplibhid.
Related Issues (20)
- Any chance for a more relaxed license? HOT 3
- Update NuGet to support NetStandard 2.0? HOT 2
- Are you interested in a refactored pull request? HOT 1
- Update NuGet references to use your latest SharpLibWin32 HOT 1
- Miss hid report when the application window is not focused HOT 1
- How to prevent inputing into textbox? HOT 3
- PS3 controller multiple axis with same usage reports wrong value HOT 19
- Sort out HID Demo release
- Use Microsoft.Windows.CsWin32 instead of SharpLibWin32
- Demo all devices tab
- Device hierarchy visualization
- Add support for children device property
- Add support for all device property type
- Reenable x86 build HOT 1
- Display device icons
- Optionally update device lists when device change is detected
- Xbox Controller max axis value shows -1
- Axis class
- Extract axis usage value as scaled and signed
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sharplibhid.