Commit Graph

175 Commits

Author SHA1 Message Date
Aaron Culliney
f4fa5670b4 Add function-call time tracing for Linux/Android 2015-10-04 14:22:26 -07:00
Aaron Culliney
b3ad0ae4ac Seems more symmetric =P 2015-10-04 14:14:04 -07:00
Aaron Culliney
be797efce5 Remove some deadc0de
- No longer worrying about softkeyboard showing on mobile since we have a custom GL touch keyboard
    - Move some stuff that is desktop-only to that codepath
2015-09-30 21:58:33 -07:00
Aaron Culliney
f7acde244c Work around broken Adreno 200 GPU
- Rework checks to compare with POSIX Regexs ... which themselves appear broken with android-10 NDK ... sigh
2015-09-30 21:55:07 -07:00
Aaron Culliney
518738304f Defensive coding around glGetString() 2015-09-27 14:29:10 -07:00
Aaron Culliney
e51aaa1695 Work around broken Adreno 200 GPU 2015-09-27 11:51:40 -07:00
Aaron Culliney
f627ccef3f Fix n00b shader mistake (conditional code in shader) =D 2015-09-27 11:49:58 -07:00
Aaron Culliney
d25acb1da0 Silence logging in touch dispatch by default 2015-09-15 20:39:30 -07:00
Aaron Culliney
97f8ef1f45 Just assume is on button side if not on axis side 2015-09-13 14:12:16 -07:00
Aaron Culliney
c8d7f9cba3 Let chooser interface handle skipping rather than native 2015-09-13 11:23:59 -07:00
Aaron Culliney
0321c27de6 Improve video cleanup codepaths from what I can discern are the OpenGL best practices for memory management 2015-09-12 15:06:06 -07:00
Aaron Culliney
ed60b2ea73 Refactor VM initialization and shutdown 2015-09-11 23:03:17 -07:00
Aaron Culliney
2c97f7af19 Excise HEADLESS ... it was only being used by testcpu 2015-09-06 17:14:38 -07:00
Aaron Culliney
3ddfe2953e Less blatant RGBA_8888 favoritism 2015-09-05 11:38:35 -07:00
Aaron Culliney
f05d1d0311 UI/UX : clean up alert view borders 2015-09-05 11:34:03 -07:00
Aaron Culliney
4f19ad3735 Better contrast for messages 2015-09-05 00:15:24 -07:00
Aaron Culliney
4985d52169 nodes are doubly-linked list and correctly render from lowest to highest (opposite of touch dispatch) 2015-09-05 00:13:48 -07:00
Aaron Culliney
2b80c35d69 Bug fix : do not access lower stack memory from outside scope! 2015-09-04 23:35:15 -07:00
Aaron Culliney
4cad470a03 Allow small space to show in alternate/configurable keyboard 2015-09-04 23:12:41 -07:00
Aaron Culliney
be048746c5 Bug fix and optimize keyboard texture drawing
- preserve the semi-opaque halo
    - rerenders flip/flop red/green values in place
    - lower memory footprint
    - simplify codepaths
2015-09-04 22:27:57 -07:00
Aaron Culliney
75ecc47307 Bugfix : show correct current button character 2015-09-04 20:35:42 -07:00
Aaron Culliney
c09fc33e98 Simplify axis selection algorithm and add commentary 2015-09-03 22:24:27 -07:00
Aaron Culliney
8ffdb8461a Better comment for the current serious deficiency 2015-09-03 22:23:06 -07:00
Aaron Culliney
54587d166d Less choppy axis timing 2015-09-03 22:22:44 -07:00
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
977cd9282d Lifecycle bugfix : don't override custom alternate/arrow keyboard configurations 2015-08-29 09:43:47 -07:00
Aaron Culliney
4258da8cbd Parse JSON that specifies alternate keyboard settings 2015-08-28 22:12:53 -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
5df1e2400e Add ability to hide joystick controls overlay 2015-08-22 11:05:18 -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
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
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
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