Skip to content

Virus hit? #381

Answered by lacymorrow
Firebat-15 asked this question in Q&A
Discussion options

You must be logged in to vote

Electron (the framework I used to build CrossOver) doesn't allow the app to listen to key/mouse presses (especially single-key presses) when it isn't the active app. The method that I use to allow the app to respond to mouse key presses and keyboard combos gets flagged as a virus because of the native C library it uses, libiohook.

CrossOver uses a node wrapper wilix-team/iohook to handle input listeners, all of the code involved is located here in this file:
https://github.com/lacymorrow/crossover/blob/master/src/main/iohook.js

You may verify the code you run on your own PC by following the Development instructions in the README and building for windows with yarn build:windows:exe

Thank y…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Firebat-15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants