Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ Support for Keyboard.IsScrollLocked #51

Open
softwareantics opened this issue Nov 29, 2020 · 0 comments
Open

✨ Support for Keyboard.IsScrollLocked #51

softwareantics opened this issue Nov 29, 2020 · 0 comments
Assignees
Labels
area-input Input related tasks 🐛 Bug Something isn't working 🟢 Low Priority Low priority

Comments

@softwareantics
Copy link
Owner

Description

It would be really nice to have support for checking the lock state of the scroll lock key on a standard keyboard.

The Why

This feature is necessary because it is a lockable key, the end-user might want to check it's state before performing an action.

The How

This feature would be super easy to implement, if the OpenTK library supported it. All we'd need to do is change the KeyEventArgs class to include a property for ScrollLock and then add a property to the Keyboard class called IsScrollLocked. It's fairly straight forward.

Requirements

The developers of OpenTK will need to provide support for this on their end, an issue will be filed when we get around to implementing this feature.

@softwareantics softwareantics added this to the Final Engine (First Release) milestone Nov 29, 2020
@softwareantics softwareantics self-assigned this Nov 29, 2020
@softwareantics softwareantics removed this from the Final Engine (First Release) milestone Mar 23, 2023
@softwareantics softwareantics added 🐛 Bug Something isn't working 🟢 Low Priority Low priority area-input Input related tasks labels Aug 16, 2023
@softwareantics softwareantics moved this to Todo in Final Engine Aug 16, 2023
@softwareantics softwareantics changed the title [FEATURE REQUEST] Support for Keyboard.IsScrollLocked ✨ Support for Keyboard.IsScrollLocked Dec 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-input Input related tasks 🐛 Bug Something isn't working 🟢 Low Priority Low priority
Projects
Status: Todo
Development

No branches or pull requests

1 participant