Commit Graph

235 Commits

Author SHA1 Message Date
twinaphex
3273ccb5d6 (Android) Add preDispatchEvent 2012-12-19 00:55:39 +01:00
twinaphex
60dd07364e (Android) Fix build 2012-12-18 20:56:33 +01:00
twinaphex
1c0fc0e65e (Android) Pack the LUT entries so that we can store eight 8-bit
values in them - this will allow for custom LUTs per controller
2012-12-18 18:56:16 +01:00
twinaphex
1564d04a1e Get rid of doubly #ifdef in retroarch.c 2012-12-18 07:46:40 +01:00
twinaphex
2e5f21db60 (Android) Do window ready checking differently 2012-12-18 06:01:56 +01:00
twinaphex
3570ba80d2 (Android) Move Android-specific pause functionality outside of
rarch_main_iterate
2012-12-18 03:18:53 +01:00
twinaphex
0210f8f72f (Android) Last input tweak for today 2012-12-17 20:53:36 +01:00
twinaphex
918052f5ba (Android) Rewrite activity_paused logic 2012-12-17 20:07:08 +01:00
twinaphex
74ae6ecf57 (Android) Better deinit - will now deinit RetroArch and save game
RAM if you forcibly stop RetroArch
2012-12-17 18:45:26 +01:00
twinaphex
cd1ddbb9c7 (Android) Better restore state functionality 2012-12-17 17:58:08 +01:00
twinaphex
dca1175854 (Android) Add performance counters for input poll 2012-12-16 17:13:49 +01:00
twinaphex
22f5f67522 (Android) Use AMotionEvent_getPointerCount() > 0 2012-12-16 16:35:49 +01:00
twinaphex
3eabba50f9 (Android) Onscreen input debugging 2012-12-16 15:46:53 +01:00
twinaphex
5f46f80b20 Revert "(Android) Simplify default binds - reduce code"
This reverts commit 68ab7e0372.
2012-12-16 06:54:49 +01:00
twinaphex
68ab7e0372 (Android) Simplify default binds - reduce code 2012-12-16 06:26:12 +01:00
twinaphex
ae089a7b58 (Android) Make logging optional 2012-12-16 04:13:31 +01:00
twinaphex
c54d4a6955 (Android) Volume keys work again with new input code - most
bound keyboard shortcuts should work now
2012-12-16 03:03:44 +01:00
twinaphex
cf539edf91 (Android) android_input_poll now only reads and processes input
events - check_window polls for system messages once
2012-12-16 02:04:13 +01:00
twinaphex
7076685a1e (Android) First check if an event is in the event queue before
'getting' it
2012-12-16 00:08:30 +01:00
twinaphex
224eaab902 (Android) Input - only do motion event if type is of 'key down' 2012-12-15 23:05:21 +01:00
twinaphex
627fd567a9 (Android) Do Android pausing in a different way 2012-12-15 19:17:26 +01:00
twinaphex
7a67348b3c Change 1 << for bitmasks to 1ULL << 2012-12-15 18:00:30 +01:00
twinaphex
dbb962e946 Streamline frame_count usage
(Android/Griffin) Fix build
2012-12-14 20:33:36 +01:00
twinaphex
e1918b2ba6 (Android) Rename g_android.input_state to g_extern.lifecycle_state
- intend to use this for RMenu as well
2012-12-14 02:06:14 +01:00
twinaphex
66180308e4 (Android) Remove android_get_sdk_version and change RMenu
mountpoints
2012-12-14 01:44:59 +01:00
twinaphex
5421fb8269 (Android) PERF_TEST no longer default 2012-12-13 23:09:28 +01:00
twinaphex
986f886a35 (Android) Compiles in bitmap fonts 2012-12-13 22:49:17 +01:00
twinaphex
bb1e2a4677 (Android) Don't split up JNI functions into their own file -
assumed this is Android-specific for now
(Android) Some input improvements - don't call AKeyEvent_getKeyCode
unless type is of AINPUT_EVENT_TYPE_KEY
2012-12-13 17:05:07 +01:00
twinaphex
c5bda29ce3 (Android) Refactor JNI code 2012-12-13 15:32:35 +01:00
twinaphex
567f4ff471 (Android) Input optimization #2 2012-12-12 20:52:42 +01:00
twinaphex
dd3ac28927 (Android) Input optimizations 2012-12-12 03:53:25 +01:00
twinaphex
0ba45d457e (Android) Use pollAll instead of pollOnce - fixes input issues
to do with pushing multiple  buttons simultaneously
2012-12-11 17:45:49 +01:00
twinaphex
5320f9b2c1 (Android) Remove Phoenix-legacy - meancoot's Phoenix now default 2012-12-10 19:15:46 +01:00
twinaphex
10483e08e1 (Phoenix) Can now go back to 'Select libretro core' from 'select
ROM' menu by pressing Back button by returning RESULT_CANCELED
from DirectoryActivity
2012-12-10 19:13:39 +01:00
twinaphex
fdc65d7851 (Android) - New phoenix frontend - use startActivityForResult for filebrowsing
- Get rid of most PHOENIX_LEGACY ifdefs - code now works for both Phoenix and
Phoenix-legacy
- Refresh rate auto-configuration should work now on Phoenix
- Going to get rid of Phoenix-legacy soon altogether
2012-12-09 20:33:08 +01:00
twinaphex
2b34d21967 (Android) Add in code to set refresh rate to that of the device's
refresh rate in case display screen has a refresh rate lower than
60Hz - ie. 58.2Hz/59.0Hz - is ifdeffed specifically for PHOENIX_LEGACY
- new Phoenix frontend needs to do pass the refresh rate of the screen
determined in the Java frontend to the native activity - see phoenix-legacy
code
2012-12-09 17:39:24 +01:00
twinaphex
3a3953aef3 (Android) Add back PHOENIX_LEGACY hack because new Phoenix frontend
doesn't work yet for me
2012-12-08 12:58:16 +01:00
twinaphex
ecc2376e6f (Phoenix Legacy) Adding back phoenix legacy for now 2012-12-08 12:37:00 +01:00
Squarepusher
344640d96c Merge pull request #81 from meancoot/android-newui
(Android) Add new frontend for easier install and use.
2012-12-08 02:12:38 -08:00
meancoot
3ca708a9b8 (Android) Fix eclipse project. 2012-12-08 05:04:05 -05:00
meancoot
c57c9b79cf (Android) Delete unneeded android-support-v4.jar 2012-12-07 15:50:46 -05:00
meancoot
6eb1f60415 (Android) Add parent directory item to file lists. 2012-12-07 15:46:17 -05:00
twinaphex
3a85a68230 (Android) Fix erroneous bitmask unset 2012-12-06 10:16:31 +01:00
meancoot
fc1cf035d7 Delete original phoenix directory; Rename andretro directory to phoenix. 2012-12-06 01:47:52 -05:00
meancoot
a8f7c1d4b7 Start file browser from root directory.
Use file and folder icons generated by android-ui-utils, rather than gartoon.
Don't hardcode the retro core search path.
2012-12-06 01:45:14 -05:00
Themaister
36c595335b NEON optimized s16->float->s16. 2012-12-05 22:45:29 +01:00
meancoot
fca88c4bd0 (Android) Add new frontend for easier install and use. 2012-12-05 11:40:40 -05:00
twinaphex
fa2b716d5e (Android) Refactor RetroArch Android pause mode. 2012-12-05 07:12:20 +01:00
twinaphex
0dce6a6db6 (Android) Move video reinit code to EGL check_window function -
now properly resizes video after orientation change and restores
video context after minimizing and restoring
2012-12-05 06:17:45 +01:00
meancoot
95d43e5f60 (Android) Reduce CPU usage while paused. 2012-12-04 22:47:41 -05:00