mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-13 06:20:26 +02:00
Remove some logic that did not do the right thing
This commit is contained in:
1 parent
c037f6731d
commit
b0d05a5a7c
1 file changed
+2
-6
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user