You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The game does not react to keyToggle(G, 'up'), only reacts to keyToggle(G, 'down')
Context
I've been using Robot.js on Windows to hold down a key to activate the microphone in a game (Dota2) that has a press-to-talk feature.
This game recently had an update, everything works as before, but the game stopped recognizing the key up. the game thinks I keep pressing the keyboard.
I have tested my program on pages like https://en.key-test.ru/ to see if the key up event really fired, and if it works.
I have tried holding down the key in the video game with AutoHotKey, and it works.
Could it be that the game needs to receive some extra data?
How are AutoHotKey and Robotjs different in this functionality?
Your Environment
RobotJS version: 0.6.0
Node.js version: 20.10.0
npm version: 10.2.3
Operating System: Windows 10
The text was updated successfully, but these errors were encountered:
Expected Behavior
The game should react to keyToggle(G, 'up')
Current Behavior
The game does not react to keyToggle(G, 'up'), only reacts to keyToggle(G, 'down')
Context
I've been using Robot.js on Windows to hold down a key to activate the microphone in a game (Dota2) that has a press-to-talk feature.
This game recently had an update, everything works as before, but the game stopped recognizing the key up. the game thinks I keep pressing the keyboard.
I have tested my program on pages like https://en.key-test.ru/ to see if the key up event really fired, and if it works.
I have tried holding down the key in the video game with AutoHotKey, and it works.
Could it be that the game needs to receive some extra data?
How are AutoHotKey and Robotjs different in this functionality?
Your Environment
The text was updated successfully, but these errors were encountered: