mirror of
https://github.com/Maschell/hid_to_vpad.git
synced 2024-09-19 10:19:55 +02:00
Add disabling energy saving settings
This commit is contained in:
parent
f44da633bd
commit
7172450c5e
@ -33,6 +33,7 @@ ON_APPLICATION_START(args){
|
|||||||
ControllerPatcher::disableControllerMapping();
|
ControllerPatcher::disableControllerMapping();
|
||||||
DEBUG_FUNCTION_LINE("Starting HID to VPAD network server\n");
|
DEBUG_FUNCTION_LINE("Starting HID to VPAD network server\n");
|
||||||
ControllerPatcher::startNetworkServer();
|
ControllerPatcher::startNetworkServer();
|
||||||
|
ControllerPatcher::disableWiiUEnergySetting();
|
||||||
}
|
}
|
||||||
|
|
||||||
ON_APP_STATUS_CHANGED(status){
|
ON_APP_STATUS_CHANGED(status){
|
||||||
@ -44,6 +45,7 @@ ON_APP_STATUS_CHANGED(status){
|
|||||||
ControllerPatcher::stopNetworkServer();
|
ControllerPatcher::stopNetworkServer();
|
||||||
DEBUG_FUNCTION_LINE("Calling resetCallbackData\n");
|
DEBUG_FUNCTION_LINE("Calling resetCallbackData\n");
|
||||||
ControllerPatcher::resetCallbackData();
|
ControllerPatcher::resetCallbackData();
|
||||||
|
ControllerPatcher::restoreWiiUEnergySetting();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user