mirror of
https://github.com/wiiu-env/WiiUPluginLoaderBackend.git
synced 2024-11-05 20:45:07 +01:00
ConfigMenu: ignore first input data
This commit is contained in:
parent
076b4b8058
commit
175a4fde53
@ -134,7 +134,8 @@ void ConfigUtils::displayMenu() {
|
|||||||
WPAD_CHAN_2,
|
WPAD_CHAN_2,
|
||||||
WPAD_CHAN_3};
|
WPAD_CHAN_3};
|
||||||
|
|
||||||
auto startTime = OSGetTime();
|
auto startTime = OSGetTime();
|
||||||
|
bool skipFirstInput = true;
|
||||||
while (true) {
|
while (true) {
|
||||||
baseInput.reset();
|
baseInput.reset();
|
||||||
if (vpadInput.update(1280, 720)) {
|
if (vpadInput.update(1280, 720)) {
|
||||||
@ -145,6 +146,12 @@ void ConfigUtils::displayMenu() {
|
|||||||
baseInput.combine(wpadInput);
|
baseInput.combine(wpadInput);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (skipFirstInput) {
|
||||||
|
skipFirstInput = false;
|
||||||
|
baseInput.lastData = baseInput.data;
|
||||||
|
}
|
||||||
|
|
||||||
baseInput.process();
|
baseInput.process();
|
||||||
|
|
||||||
WUPSConfigSimplePadData simpleData;
|
WUPSConfigSimplePadData simpleData;
|
||||||
|
Loading…
Reference in New Issue
Block a user