mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Remove some logic that did not do the right thing
This commit is contained in:
parent
c037f6731d
commit
b0d05a5a7c
1 changed files with 2 additions and 6 deletions
|
@ -158,12 +158,8 @@ void ControlMapper::ForceReleaseVKey(int vkey) {
|
|||
if (KeyMap::InputMappingsFromPspButton(vkey, &multiMappings, true)) {
|
||||
for (const auto &entry : multiMappings) {
|
||||
for (const auto &mapping : entry.mappings) {
|
||||
int direction = 0;
|
||||
if (mapping.IsAxis() && IsSignedAxis(mapping.Axis(&direction))) {
|
||||
curInput_[mapping] = direction == -1 ? -1 : 1;
|
||||
} else {
|
||||
curInput_[mapping] = 0.0f;
|
||||
}
|
||||
curInput_[mapping] = 0.0f;
|
||||
// Different logic for signed axes?
|
||||
UpdatePSPState(mapping);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue