Fire Tap event on touch release
This commit is contained in:
parent
eedb7d2076
commit
8f4217d2f5
2 changed files with 8 additions and 2 deletions
|
@ -32,4 +32,4 @@ Up: UP
|
|||
Down: DOWN
|
||||
Start: ENTER
|
||||
Select: BACKSPACE
|
||||
Tap: NONE
|
||||
Tap: SPACE
|
|
@ -116,7 +116,13 @@ int WINAPI WinMain(HINSTANCE hInst, HINSTANCE hPrevInst, LPSTR lpCmd, int nShow)
|
|||
handleKey(KEY_L, settings.L);
|
||||
handleKey(KEY_X, settings.X);
|
||||
handleKey(KEY_Y, settings.Y);
|
||||
handleKey(KEY_TOUCH, settings.Tap);
|
||||
|
||||
//handleKey(KEY_TOUCH, settings.Tap);
|
||||
if(release(KEY_TOUCH)) {
|
||||
simulateKeyNewpress(settings.Tap);
|
||||
simulateKeyRelease(settings.Tap);
|
||||
}
|
||||
|
||||
//handleKey(KEY_LID, 'I');
|
||||
|
||||
if(newpress(KEY_TOUCH)) {
|
||||
|
|
Loading…
Reference in a new issue