mirror of
https://github.com/Maschell/hid_to_vpad.git
synced 2024-11-10 01:15:06 +01:00
Adopt changes of the config menu api.
This commit is contained in:
parent
0d38817857
commit
de97bae3ad
@ -20,12 +20,12 @@ WUPS_FS_ACCESS()
|
|||||||
#define WIIU_PATH "/wiiu"
|
#define WIIU_PATH "/wiiu"
|
||||||
#define DEFAULT_HID_TO_VPAD_PATH SD_PATH WIIU_PATH "/apps/hidtovpad"
|
#define DEFAULT_HID_TO_VPAD_PATH SD_PATH WIIU_PATH "/apps/hidtovpad"
|
||||||
|
|
||||||
void rumbleChanged(bool newValue) {
|
void rumbleChanged(WUPSConfigItemBoolean * item, bool newValue) {
|
||||||
DEBUG_FUNCTION_LINE("rumbleChanged %d \n",newValue);
|
DEBUG_FUNCTION_LINE("rumbleChanged %d \n",newValue);
|
||||||
ControllerPatcher::setRumbleActivated(newValue);
|
ControllerPatcher::setRumbleActivated(newValue);
|
||||||
}
|
}
|
||||||
|
|
||||||
void networkClient(bool newValue) {
|
void networkClient(WUPSConfigItemBoolean * item, bool newValue) {
|
||||||
DEBUG_FUNCTION_LINE("Trigger network %d\n",newValue);
|
DEBUG_FUNCTION_LINE("Trigger network %d\n",newValue);
|
||||||
ControllerPatcher::setNetworkControllerActivated(newValue);
|
ControllerPatcher::setNetworkControllerActivated(newValue);
|
||||||
if(newValue) {
|
if(newValue) {
|
||||||
|
Loading…
Reference in New Issue
Block a user