Skip to content
This repository has been archived by the owner on Oct 13, 2019. It is now read-only.

Commit

Permalink
Fire Tap event on touch release
Browse files Browse the repository at this point in the history
  • Loading branch information
CTurt committed Dec 17, 2014
1 parent e1b50c3 commit 989f391
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion PC/3DSController.ini
Expand Up @@ -32,4 +32,4 @@ Up: UP
Down: DOWN
Start: ENTER
Select: BACKSPACE
Tap: NONE
Tap: SPACE
8 changes: 7 additions & 1 deletion PC/source/main.c
Expand Up @@ -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)) {
Expand Down

0 comments on commit 989f391

Please sign in to comment.