From 7cb3d902319fab615278e4a1a988516b88212689 Mon Sep 17 00:00:00 2001 From: Maschell Date: Thu, 5 May 2016 02:10:00 +0200 Subject: [PATCH] Using newest controller_patcher: Tweaked GC-Pad deadzones. Added mapping of ZL (Z+A)/ZR (Z+B) to GC pad. Probably improved the success rate of switching between apps. Fixed random inputs when no GC-Pad in the adapter --- src/controller_patcher | 2 +- src/patcher/function_hooks.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/controller_patcher b/src/controller_patcher index a97e14a..35d6036 160000 --- a/src/controller_patcher +++ b/src/controller_patcher @@ -1 +1 @@ -Subproject commit a97e14ae5e1944635110294028ebc5ff55387967 +Subproject commit 35d6036f3eff5797e79cd13b483cfccab36cea39 diff --git a/src/patcher/function_hooks.c b/src/patcher/function_hooks.c index a3ec0a9..66547f4 100644 --- a/src/patcher/function_hooks.c +++ b/src/patcher/function_hooks.c @@ -56,6 +56,7 @@ DECL(int, VPADRead, int chan, VPADData *buffer, u32 buffer_size, s32 *error) { if(gHIDAttached){ setControllerDataFromHID(buffer,gHIDCurrentDevice); } + //log_printf("%08X %08X %08X\n",buffer->btns_h,buffer->btns_r,buffer->btns_d); return result; }