Skip to content

Commit

Permalink
Added the missing gamepad button remapping
Browse files Browse the repository at this point in the history
  • Loading branch information
Maschell committed Aug 4, 2016
1 parent 39c1591 commit 69fa0c0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions meta/meta.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<app version="1">
<name>Loadiine GX2</name>
<coder>Dimok, Maschell, n1ghty, dibas</coder>
<version>0.3 0dffac5</version>
<release_date>20160803213839</release_date>
<version>0.3 r39c1591</version>
<release_date>20160804094703</release_date>
<short_description>WiiU game loader</short_description>
<long_description>Loads games from SD card.

Expand Down
6 changes: 5 additions & 1 deletion src/patcher/function_hooks.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1377,7 +1377,11 @@ DECL(int, VPADRead, int chan, VPADData *buffer, u32 buffer_size, s32 *error) {

if((gHIDPADEnabled == SETTING_ON) && gHIDAttached){
setControllerDataFromHID(buffer,HID_ALL_CONNECTED_DEVICES);
if(HID_DEBUG) printButtons(buffer);
}

if((gHIDPADEnabled == SETTING_ON) && (gButtonRemappingConfigDone && gConfig_done)){
buttonRemapping(buffer);
if (HID_DEBUG) printButtons(buffer);
}

if(gSettingPadconMode == SETTING_ON){
Expand Down

0 comments on commit 69fa0c0

Please sign in to comment.