mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Remove some unnecessary state clearing
This commit is contained in:
parent
7594ae8785
commit
4bb7c05132
1 changed files with 0 additions and 5 deletions
|
@ -426,11 +426,6 @@ bool ControlMapper::Key(const KeyInput &key, bool *pauseTrigger) {
|
|||
void ControlMapper::ToggleSwapAxes() {
|
||||
swapAxes_ = !swapAxes_;
|
||||
|
||||
// To avoid stuck keys, just reset it all.
|
||||
for (auto &mapping : curInput_) {
|
||||
mapping.second = 0.0f;
|
||||
}
|
||||
|
||||
updatePSPButtons_(0, CTRL_LEFT | CTRL_RIGHT | CTRL_UP | CTRL_DOWN);
|
||||
|
||||
for (uint32_t vkey = VIRTKEY_FIRST; vkey < VIRTKEY_LAST; vkey++) {
|
||||
|
|
Loading…
Add table
Reference in a new issue