Skip to content
This repository was archived by the owner on Aug 15, 2023. It is now read-only.

Add support for key modifiers (toggles) #62

Open
elgopher opened this issue Jan 12, 2020 · 0 comments
Open

Add support for key modifiers (toggles) #62

elgopher opened this issue Jan 12, 2020 · 0 comments
Labels
help wanted Extra attention is needed thinking Thinking

Comments

@elgopher
Copy link
Owner

Some keys are like toggles - caps lock and num lk. In order the change the state of the modifier user has to press and release the button. Game might use this information somehow.

At the moment the keyboard package does not provide such information. Maybe we can add an API for checking the state of mentioned buttons. Something like:

keyboard.CapsLockOn()
keyboard.NumLockOn()
@elgopher elgopher added thinking Thinking help wanted Extra attention is needed labels Jan 12, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
help wanted Extra attention is needed thinking Thinking
Projects
None yet
Development

No branches or pull requests

1 participant