mirror of
https://github.com/Maschell/hid_to_vpad.git
synced 2024-11-27 16:54:14 +01: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();
|
||||
DEBUG_FUNCTION_LINE("Starting HID to VPAD network server\n");
|
||||
ControllerPatcher::startNetworkServer();
|
||||
ControllerPatcher::disableWiiUEnergySetting();
|
||||
}
|
||||
|
||||
ON_APP_STATUS_CHANGED(status){
|
||||
@ -44,6 +45,7 @@ ON_APP_STATUS_CHANGED(status){
|
||||
ControllerPatcher::stopNetworkServer();
|
||||
DEBUG_FUNCTION_LINE("Calling resetCallbackData\n");
|
||||
ControllerPatcher::resetCallbackData();
|
||||
ControllerPatcher::restoreWiiUEnergySetting();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user