Allow super twitchy touch joystick
This commit is contained in:
parent
c59b18d176
commit
f608de450e
|
@ -669,9 +669,6 @@ public class Apple2JoystickSettingsMenu extends Apple2AbstractMenu {
|
|||
return _sliderView(activity, this, JOYSTICK_BUTTON_THRESHOLD_NUM_CHOICES, new IPreferenceSlider() {
|
||||
@Override
|
||||
public void saveInt(int progress) {
|
||||
if (progress == 0) {
|
||||
progress = 1;
|
||||
}
|
||||
progress *= getJoystickButtonSwitchThresholdScale(activity);
|
||||
Apple2Preferences.setJSONPref(self, progress);
|
||||
}
|
||||
|
|
|
@ -275,6 +275,8 @@ static void _subvariant_touchMove(subvariant_s *subvariant, int dx, int dy, bool
|
|||
subvariant->scancodes[REPEAT_IDX_B] = -1;
|
||||
subvariant->isShifted[REPEAT_IDX_A] = subvariant->rosetteShift[ROSETTE_CENTER];
|
||||
subvariant->isShifted[REPEAT_IDX_B] = -1;
|
||||
} else {
|
||||
// ambiguous, possibly jitter, or user is beginning to swipe to octant ...
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue