mirror of
https://github.com/mauiaaron/apple2.git
synced 2025-08-10 19:25:13 +00:00
Allow super twitchy touch joystick
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user