Comments (6)
With current implementation this is little impossible to do, especially if you use HidManager. We would probably need additional method, which could pass this scan interval to HidServices instance. Or perhaps scan interval could be static variable (which we could set before calling HidManager).
from hid4java.
I made few changes to code, which could help with this problem. @gary-rowe could you look at pull request and merge it?
from hid4java.
Thanks @andyrozman . This will make it a little nicer to access the singleton to avoid the issue.
But, any idea why the scanning is interfering with key presses? It would be nice to be able to have scanning on Windows.
from hid4java.
Thanks @andyrozman for the PR. I'll be able to dedicate time to this early next week.
from hid4java.
Has there been any progress on this issue?
from hid4java.
Apologies for the slow response. There has been a lot of work in the scanning code so I think this has been resolved. If you'd like to try again, please use latest develop-SNAPSHOT version.
from hid4java.
Related Issues (20)
- Option to open device in non-exclusive mode HOT 1
- When will 0.8.0 be released as example code doesn't compile when tried with latest published jar? HOT 7
- Support for Raspberry pi 4 HOT 4
- MacOS ARM incompatible HOT 3
- Unable to open connection to multiple identical devices HOT 1
- HidApi.read returning -2(DEVICE_ERROR) and "Device not initialised" seen when trying to fetch SN, PID HOT 4
- Specify minimum JNA version required HOT 1
- hid4java always uses the libusb variant of libhidapi on linux-x86-64 HOT 1
- support hidapi 0.14.0 HOT 2
- Branch cleanup HOT 1
- Update MVN repository content
- USB HID Set Report and Get Report HOT 10
- How can i read the scanner data. HOT 3
- Pre-release checklist for 0.8.0
- Regression in `hidApiLibrary.hid_open_path(path)` v 0.8 HOT 6
- On Ubuntu 22.04 64bit `WideStringBuffer` is not applicable for `hid_error`
- Support RPi OS "bullseye" aarch64; support old glibc versions HOT 5
- Android support HOT 1
- macOS API calls must be thread safe
- WriteFile: (0x00000005) Access is denied HOT 7
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 hid4java.