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

why keyboard can't hold long press #8

Open
Dirtfuyan opened this issue Mar 17, 2021 · 1 comment
Open

why keyboard can't hold long press #8

Dirtfuyan opened this issue Mar 17, 2021 · 1 comment

Comments

@Dirtfuyan
Copy link

i'm prepare DIY machine.
The touch area needs to be mapped.
Found that the keyboard cannot be pressed long.
I'm a rookie in C language.
How to modify it?

@Dirtfuyan Dirtfuyan changed the title why keyboard don't hold long press why keyboard can't hold long press Mar 17, 2021
@SirusDoma
Copy link
Owner

You probably need to learn basic things about Windows API before you dive in and you may want to check controller callback which defined in here:
https://github.com/SirusDoma/MaiSense/blob/master/src/dllmain.cpp#L55

Additionally, check KeyboardController.cpp, it might not interpret windows message correctly for hold input.
Note that I'm no longer actively maintain this, but I'll happy to merge your PR if you decide to make a fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants