Comments (6)
Actually it was totally my bad, I was misusing the library - instantiating it in the wrong place of execution :) Thank you for your help though!
from hotkey.
I think this is a known issue, see #11
from hotkey.
So this means that there is no solution currently? Sorry I am far from familiar with native terms, so hard to understand the conclusion from the linked issue
from hotkey.
The reason for having this error is that someone else had registered this hotkey combination already. To solve it, guarantee the key combination does not conflict with others.
I think @ventsislav-georgiev worked on potential solutions before, but we have not converged to a satisfactory solution yet.
from hotkey.
So this means that if some app, somewhere somehow assigned a key bind and this app is not even active anymore / not listening for key use, this lib won't be able to use this shortcut anyway? Because I am assigning completely "random" shortcut making sure it is not used (when I use it nothing happens), it still returns an error
from hotkey.
I think if you already grabbed the combination for your application successfully, future registration won't impact your registration anymore.
I don't entirely sure how you did random shortcuts, but I am pretty confident that some combination will work. Otherwise, it should be a system issue rather than the library itself.
from hotkey.
Related Issues (20)
- [Windows] Unregister requires hotkey press to complete HOT 3
- BadAccess (X_GrabKey) when registering combination is obtained by others HOT 11
- Space key? HOT 1
- Linux hotkey can not be canceled correctly HOT 2
- doc: document the correct usage of X11 hotkey registration HOT 6
- Feature Request: Translate String to HotKey HOT 2
- Question: Can other keys be used apart from the ones that hardcoded in library? HOT 6
- The official example on homepage doesn't work under M1 processor HOT 6
- Are there any ways to detect key holding press? HOT 5
- Command+Control combo on MacOS?
- Not working on Ubuntu 18? HOT 1
- Hotkey shortcut monitoring will hijack information
- Export Hotkeys
- Media Key support?
- Improve setup message
- Isolate OS runApp
- documentation HOT 5
- Allow unregister hotkeys HOT 6
- Allow listen on key up
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 hotkey.