Fire Tap event on touch release

This commit is contained in:
CTurt 2014-12-17 18:58:27 +00:00
parent eedb7d2076
commit 8f4217d2f5
2 changed files with 8 additions and 2 deletions

View file

@ -32,4 +32,4 @@ Up: UP
Down: DOWN
Start: ENTER
Select: BACKSPACE
Tap: NONE
Tap: SPACE

View file

@ -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)) {