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

Long press support (KeyboardListener) #15

Open
nullptrException100 opened this issue Mar 10, 2024 · 0 comments
Open

Long press support (KeyboardListener) #15

nullptrException100 opened this issue Mar 10, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@nullptrException100
Copy link
Contributor

My suggestion is to make it so that the user specifies the time needed to trigger an event when a certain key is held down. This could be very useful.

Example:

var keyboardListener = new KeyboardListener();

keyboardListener.SubscribePress(Key.A, key => {
// logic
}, TimeSpan.FromSeconds(2)); // time for trigger
@Empiree Empiree added the enhancement New feature or request label Mar 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants