Commit Graph

855 Commits

Author SHA1 Message Date
Aaron Culliney
287df44133 Move tap delay to joystick variant
- Keypad variant already has a key repeat threshold
    - Improved variant touch lifecycle naming
2015-09-02 22:47:48 -07:00
Aaron Culliney
f046af0bef Improve state machine for keypad joystick; expire touch sources that have gone up 2015-09-02 22:45:00 -07:00
Aaron Culliney
fd2e65dd42 Bugfix : do not turn off caps_lock unless ownsScreen is also true 2015-09-02 22:33:56 -07:00
Aaron Culliney
2ae673e221 Balance touch indices decrement with increment 2015-09-02 22:33:13 -07:00
Aaron Culliney
5eb51419b0 Ignore multi-touch within a particular screen division (only one touch per Axis/Button side) 2015-08-30 17:04:28 -07:00
Aaron Culliney
27723be6cb Improved touch keypad joystick key repeat codepaths 2015-08-30 16:54:39 -07:00
Aaron Culliney
37e540180e Better handling of ctrl-key state and avoid conflict with keypad touch joystick 2015-08-29 12:12:29 -07:00
Aaron Culliney
8b02cb5f17 Cleaner logic for switching between soft keyboards 2015-08-29 12:07:56 -07:00
Aaron Culliney
158449e7fb Force CapsLock for Joystick Keypad for now 2015-08-29 12:05:09 -07:00
Aaron Culliney
2cd60c3c88 Expose all three touch interfaces in the sprouting menu for easier switching 2015-08-29 10:42:24 -07:00
Aaron Culliney
2cd1be791a FTUE: add a button to load disk image on splash screen 2015-08-29 10:10:31 -07:00
Aaron Culliney
0743608a0b UI/UX: default disable lowercase 2015-08-29 09:45:06 -07:00
Aaron Culliney
977cd9282d Lifecycle bugfix : don't override custom alternate/arrow keyboard configurations 2015-08-29 09:43:47 -07:00
Aaron Culliney
e4a849e6ae Allow choosing alternate keyboard.kbd.json file from /sdcard (or internal dataDir) 2015-08-28 22:23:43 -07:00
Aaron Culliney
4258da8cbd Parse JSON that specifies alternate keyboard settings 2015-08-28 22:12:53 -07:00
Aaron Culliney
0bd9591348 Include jsmn JSON parsing code; add our own wrapper for processing JSON daata from files 2015-08-28 22:09:35 -07:00
Aaron Culliney
730a09880e Changes insisted upon by AndroidStudio after upgrade 2015-08-27 21:41:04 -07:00
Aaron Culliney
49c99d5ab7 Beginnings of customized alt touch keyboard layout 2015-08-23 15:03:30 -07:00
Aaron Culliney
59cb3e49f9 Enable various GL Touch Keyboard settings 2015-08-23 11:42:45 -07:00
Aaron Culliney
ebe7f82f22 Persist settings for currently inserted disks, and provide a way to eject disks 2015-08-22 14:44:31 -07:00
Aaron Culliney
e39f61d44c Bugfix : case-insensitive disk suffix checks 2015-08-22 13:17:44 -07:00
Aaron Culliney
e4435a1e18 Bugfix disk path persistence : defer applying path to avoid re-entrancy into Apple2DisksMenu constructor 2015-08-22 12:10:52 -07:00
Aaron Culliney
36cb44e1e8 Clean up first-time initialization and insure touch keypad has reasonable defaults 2015-08-22 11:36:12 -07:00
Aaron Culliney
5df1e2400e Add ability to hide joystick controls overlay 2015-08-22 11:05:18 -07:00
Aaron Culliney
704c381ea8 Logging should automatically print function 2015-08-21 23:43:19 -07:00
Aaron Culliney
23bfd24054 Fix synchronization for showing splash screen 2015-08-21 23:35:30 -07:00
Aaron Culliney
3f934ecd3f Fix cycling between different touch devices in the GL touch menu 2015-08-21 23:33:08 -07:00
Aaron Culliney
52ef663a2c toggle sprouting menu 2015-08-21 21:01:51 -07:00
Aaron Culliney
ec402cd765 Changes from Android Studio 2015-08-21 20:34:59 -07:00
Aaron Culliney
30d761521a Improve splash screen visuals 2015-08-21 20:34:34 -07:00
Aaron Culliney
d2b526783a Improve joystick calibration modes and keypad menus 2015-08-21 20:34:19 -07:00
Aaron Culliney
a031a23999 Add a video_clear() routine 2015-08-20 22:12:54 -07:00
Aaron Culliney
85407cfabb Refactor GL Touch Joystick (PART II Java-is-not-native changes)
- Adds general key-tap-calibration callback to menus
    - Adds Touch Joystick Keypad settings menu including chooser and calibration
2015-08-18 22:17:12 -07:00
Aaron Culliney
5c3791f5dc Refactor GL Touch Joystick (PART I Native changes)
- Move touch-handling code for "regular" touch joystick into separate file
    - Add new touch-handling code for "keypad" touch joystick.  This is a somewhat complex state-machine to determine
      which key to press depending on a full keypad rosette.
    - Adds a callback to vm.c to hook into keyboard read callback.  Allows us to immediately queue the next key if the
      keypad touch joystick is long-pressed for either axis or button keys.
2015-08-18 21:59:41 -07:00
Aaron Culliney
77e96ba1ec Misc touch keyboard tweaks
- Enable tab key
    - Allow nonactionable keys to be tapped when in configuration mode
    - Add font mini visual for spacebar
2015-08-12 22:38:21 -07:00
Aaron Culliney
03d27dd2b2 touch keyboard now returns key and scancode in flags 2015-08-09 14:21:09 -07:00
Aaron Culliney
01bbf5308a Shuffle a bunch of settings around 2015-08-08 11:03:12 -07:00
Aaron Culliney
2673777be7 Various improvements to disk management
- Moves disk management form Apple2Activity to Apple2DisksMenu
    - Handle reading/writing disk images in /sdcard/...
    - Manage hirerarchical navigation
2015-08-08 10:59:14 -07:00
Aaron Culliney
2008c341d5 Move menu management into Apple2Activity 2015-08-05 22:36:07 -07:00
Aaron Culliney
d6f769bcef Allow read/write to /sdcard/... 2015-08-05 22:28:28 -07:00
Aaron Culliney
f1fc3cd4ff Misc stuff for Android build 2015-08-03 21:27:04 -07:00
Aaron Culliney
7344cadfbd More joystick settings including calibration mode 2015-08-02 14:29:34 -07:00
Aaron Culliney
af04ba94d1 Migrate file globals into file static struct 2015-08-02 12:44:44 -07:00
Aaron Culliney
324d900c35 First cut at Android touch joystick configuration 2015-08-01 17:33:29 -07:00
Aaron Culliney
53f0999f5a Bugfix : use int64_t for onTouchEvent flags 2015-08-01 16:41:49 -07:00
Aaron Culliney
37bb0cc6d8 Refactor slider views and misc 2015-08-01 16:38:15 -07:00
Aaron Culliney
acfb60634e Refactor common menu GUI code into abstract base class 2015-08-01 00:39:34 -07:00
Aaron Culliney
f2ac41e011 Tweak splash screen visuals and add a preferences button 2015-07-31 21:28:42 -07:00
Aaron Culliney
92f4f698db Actually change the cpu timing 2015-07-31 20:30:30 -07:00
Aaron Culliney
0d658932b6 Expose particular settings back to Android so we can persist the values 2015-07-30 23:12:00 -07:00