Finding an alternative to iohook
See original GitHub issueIs your feature request related to a problem? Please describe. Yes the problem is #1112 and i feel the only solution to fix this is by finding an alternative to iohook (global keyup/down event listener). I think this has to be done as it causes our electron wrapper to not be able to run on Linux systems! And keeping Linux aside for once, it looks like iohook isn’t being maintained anymore!
Describe the solution you’d like A nice alternative to iohook can be found or someone codes one themselves
Describe alternatives you’ve considered None found tbh…
Additional context Not any additional context ig but i was the one who used iohook in the first place (lol) Tho it was cuz i wasn’t able to find anything else…
EDIT:
Many people are flooding the comments with different libraries that either don’t work or are not viable. So below are a few things we are looking for in a ideal library:
- Needs to be a global key event listener (eg:
keyup
/keydown
events) - Needs to be C/C++ based. As those libraries wouldn’t require side loading other tools such as JVMs, Python, etc. (if you find/make any library based on something else but it won’t require side loading software it’s still viable)
- Needs to be a maintained library.
Please keep these points in mind before suggesting a library or making a pull request featuring one.
Here’s why i made this edit btw #1497
EDIT 2: This issue has been resolved all thanks to @StratusFearMe21 's library globkey being implemented in #1538 & #1536
Issue Analytics
- State:
- Created 3 years ago
- Comments:20 (18 by maintainers)
Yea ive looked into this before. It dosen’t support global events. We need global events
Issue has been resolved! See original comment for more info