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