mirror of
https://github.com/wiiu-env/WiiUPluginLoaderBackend.git
synced 2024-12-25 04:21:49 +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_3};
|
||||
|
||||
auto startTime = OSGetTime();
|
||||
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