mirror of
https://github.com/libretro/ppsspp.git
synced 2024-12-02 22:26:25 +00:00
Rename keyHeld to keyDown, too.
This commit is contained in:
parent
a5873ab7a4
commit
55d716fb19
@ -1560,9 +1560,9 @@ namespace MainWindow
|
||||
if (key.keyCode) {
|
||||
NativeKey(key);
|
||||
|
||||
auto keyHeld = std::find(keyboardKeysDown.begin(), keyboardKeysDown.end(), key.keyCode);
|
||||
if (keyHeld != keyboardKeysDown.end())
|
||||
keyboardKeysDown.erase(keyHeld);
|
||||
auto keyDown = std::find(keyboardKeysDown.begin(), keyboardKeysDown.end(), key.keyCode);
|
||||
if (keyDown != keyboardKeysDown.end())
|
||||
keyboardKeysDown.erase(keyDown);
|
||||
}
|
||||
}
|
||||
} else if (raw->header.dwType == RIM_TYPEMOUSE) {
|
||||
|
Loading…
Reference in New Issue
Block a user