Commit Graph

1070 Commits

Author SHA1 Message Date
Themaister 53e766762e Use lower quality sinc on Android. 2013-02-08 14:31:07 +01:00
Themaister c5a96adae2 Fix warning in Java. 2013-02-08 14:28:26 +01:00
twinaphex 5b57e99b89 (Android) Build fix 2013-02-08 02:59:28 +01:00
twinaphex 4ed6248c89 (Android) Add to autodetection list - add Zeemote Steelseries, Add Saitek Rumblepad, add Super Smart Joy 2013-02-08 02:57:21 +01:00
twinaphex 51d2d3bba4 (Android) Help text - Some adjustments 2013-02-08 01:56:30 +01:00
twinaphex 5120a0d7d9 (Android) Add some more entries to Help 2013-02-08 01:51:02 +01:00
twinaphex b560e58fb0 (Android) Add help system in Java frontend 2013-02-08 01:15:34 +01:00
ToadKing 459f91f665 (Android) delete accidentally-added overlays/shaders 2013-02-05 23:13:08 -05:00
ToadKing 9807826e61 (GX) nit 2013-02-05 21:56:29 -05:00
Themaister bdd67f1a3f (Android) Fix build breakage. 2013-02-05 21:55:20 +01:00
twinaphex bdf74174f1 (Android) Quick fix for input - bump up version to r10 2013-02-05 18:00:16 +01:00
twinaphex d80e0df9e9 (Android) Should fix touchscreen controls no longer responding
after inserting a pad that changes dpad_emulation
2013-02-05 04:24:05 +01:00
twinaphex 924cfb2121 (Android) Move Madcatz autodetect logic 2013-02-05 03:50:54 +01:00
twinaphex 88f73344ee (Android) Bump up version to r9 - fix Toodles button layout 2013-02-04 03:50:29 +01:00
twinaphex ed9484db27 (Android) Add performance warning about overlays 2013-02-04 02:20:14 +01:00
twinaphex 58e1365a5c (Android) Remove shader pack link - obsolete now with shaders packaged in 2013-02-04 02:04:49 +01:00
twinaphex 22d897fe08 (Android) Inform users that they need a high-class GPU for shaders 2013-02-04 01:49:33 +01:00
twinaphex 52870d144e (Android) Less logger spam to do with assets extraction 2013-02-04 01:42:37 +01:00
twinaphex 3711d62809 (Android) Extract shader assets as well now 2013-02-04 01:34:49 +01:00
ToadKing 305d40de30 (Android) asset manager nits 2013-02-03 19:33:25 -05:00
ToadKing c8169aa816 Revert "(Android) use lastUpdateTime instead of versionCode for asset extraction"
This reverts commit bc28ccbaad.
2013-02-03 19:28:23 -05:00
twinaphex 32dca887d3 (Android) Add MOGA IME to autodetection list 2013-02-04 00:43:13 +01:00
twinaphex d39bf05c0b (Android / Java side) Remove some inconsequential logs 2013-02-04 00:22:36 +01:00
twinaphex 54bbeb0914 (Android) use getDisplayRefreshRate for reporting 2013-02-04 00:18:10 +01:00
twinaphex 00a8ceab7e (Android) Add Report Refresh Rate (Java) 2013-02-04 00:15:51 +01:00
ToadKing bc28ccbaad (Android) use lastUpdateTime instead of versionCode for asset extraction 2013-02-03 17:44:35 -05:00
ToadKing d13ab24756 (Android) don't extract assets again if you don't have to 2013-02-03 17:30:02 -05:00
ToadKing 8b652298cd (Android) Xperia O button fix 2013-02-03 17:04:09 -05:00
ToadKing 514bfdd07d (Android) Xperia back button fix 2013-02-03 16:48:52 -05:00
twinaphex 71473dad51 (Android) Xperia Play controls finally work 2013-02-03 22:43:18 +01:00
twinaphex 526d9af5c2 (Android) Add Madcatz USB Fighting stick to autodetection list 2013-02-03 22:22:50 +01:00
twinaphex dd7ae5c474 (Android) Add logs for Xperia debugging 2013-02-03 21:26:53 +01:00
twinaphex 63fb29996f (Android) Xperia Play - group autodetection input binds together
for both game-zeus and keypad-game-zeus
2013-02-03 20:44:05 +01:00
ToadKing ece4064e52 (Android) try to fix Xperia Start/Select 2013-02-03 14:22:32 -05:00
twinaphex ce023c5ab0 (Android) Try to 'foot-bind' separate Xperia devices again 2013-02-03 20:04:48 +01:00
twinaphex 9cfdd61103 (Android) Reimplement 'touchscreen is always player 1 and doesn't take
up a slot'
2013-02-03 19:42:55 +01:00
twinaphex 6638ee1257 Revert "(Android) touchpad is now always first controller"
This reverts commit 5bc5195bc4.

Conflicts:
	android/native/jni/input_android.c
2013-02-03 19:06:54 +01:00
twinaphex 15f79f78a1 Revert "(Android) Xperia Play (attempted) fixes"
This reverts commit 9d7e246ead.
2013-02-03 18:49:05 +01:00
ToadKing 7967086058 (Android) set opacity overlay 2013-02-01 20:29:42 -05:00
ToadKing 1064e56970 (Android) fix touch input for multi-touch 2013-02-01 18:47:11 -05:00
ToadKing 9d7e246ead (Android) Xperia Play (attempted) fixes 2013-02-01 14:24:12 -05:00
ToadKing c479cc9961 (Android) key bind preference changes 2013-01-31 20:41:57 -05:00
ToadKing 5bc5195bc4 (Android) touchpad is now always first controller
Xperia Play fixes
2013-01-31 20:40:47 -05:00
twinaphex 745659806b (Android) Bump up versions 2013-01-30 22:17:23 +01:00
ToadKing ab4cef4046 (Android) make Report IME a dialog box instead of a popup alert 2013-01-30 13:56:01 -05:00
ToadKing 9006a80675 (Android) add detect bind button, useful for touchless devices 2013-01-30 13:22:52 -05:00
ToadKing ee8683396f (Android) fix back button binds acting up 2013-01-30 12:35:21 -05:00
twinaphex 630608a7fc (Android) Control if back button exits on a per-controller basis 2013-01-30 18:07:39 +01:00
ToadKing 0fb902cc47 (Android) implement fast scroll in XML layout, not code 2013-01-30 11:58:32 -05:00
ToadKing 834b457294 (Android) enable fast scroll on ROM list 2013-01-30 11:52:17 -05:00
twinaphex 3dfbc8830e Bumped up version code + change to psx_quickmenu_small2 2013-01-30 07:52:01 +01:00
ToadKing f4f284665c Merge branch 'android-2.3'
Conflicts:
	android/phoenix/src/org/retroarch/browser/RetroArch.java
	android/phoenix/src/org/retroarch/browser/SettingsActivity.java
2013-01-30 01:31:18 -05:00
ToadKing b25e67c7c8 (Android) move @TargetApi to correct location 2013-01-29 23:24:23 -05:00
ToadKing 5265d7aca4 (Android) abstract PopupMenu to make Dalvik happy on 2.3 2013-01-29 23:21:52 -05:00
ToadKing 80ecc10055 Add PopupMenu replacement for 2.3 2013-01-29 21:47:14 -05:00
twinaphex f4c04b224d (Android) Add DragonRise USB pad to autodetection 2013-01-29 20:49:23 +01:00
twinaphex 0e9c040e88 (Android) Bump up version + small message tweak 2013-01-29 03:50:03 +01:00
ToadKing 30c7ce71a9 (Android) control media volume in menu 2013-01-28 20:37:13 -05:00
twinaphex 86190840b3 (Android) Use snes-landscape.cfg as default layout 2013-01-29 02:29:57 +01:00
ToadKing 9fb3b7bb57 (Android) add ability to report IME 2013-01-28 20:11:54 -05:00
ToadKing f65e64a638 (Android) custom input binding 2013-01-28 20:05:00 -05:00
twinaphex ce32089623 (Android) Input autodetection expanded - add Thrust Gamepad - fix
RetroPort NES - change around X/Y for Logitech F710
2013-01-29 01:03:03 +01:00
ToadKing cffc556fd0 (Android) work on IME key detection
works with wiimote IME, but not with standard keyboard IME. hopefully most gamepad IMEs work
2013-01-28 18:21:51 -05:00
twinaphex c4d1f110b1 (Android) Group Mayflash PS2 to USB converters + cleanups 2013-01-28 06:09:07 +01:00
ToadKing 2ac69233e5 (Android) improve key bind preference handler, allow manual selection for IMEs 2013-01-27 23:05:40 -05:00
twinaphex a5cdd29f4a (Android) Bump up version 2013-01-28 03:49:44 +01:00
twinaphex db1851d7c4 (Android) Add gamepads to autodetection - (Archos gamepad, Xperia Play,
Xbox 1 Titanium X-Joyconverter, Xbox 360 wired, Red Samurai BT, Mayflash
Wii Classic variant, RetroUSB NES, RetroUSB SNES, Buffalo SNES,
Logicool F710, Elecom PS1/PS2)
2013-01-28 02:00:50 +01:00
ToadKing b48cc4c107 (Android) comment out test key bind menu for now 2013-01-27 19:56:30 -05:00
ToadKing e517dd96da (Android) start of a custom key config panel 2013-01-27 16:54:50 -05:00
Themaister 0d014d7903 Use older PreferenceActivity.
Builds with SDK version 9 (2.3).
2013-01-27 11:52:45 +01:00
twinaphex d22cfc13c3 (Android) Bump up version number to r4 2013-01-27 06:57:00 +01:00
twinaphex 3e0575b320 (Android) Fixed bug where device name was not being shown long enough
- useful for debugging input
2013-01-27 06:51:44 +01:00
twinaphex e31db3bf20 (Android) Add Nyko Playpad Pro to autodetection 2013-01-27 04:59:11 +01:00
twinaphex ad43d44372 (Android) Changed names somewhat + bumped up version 2013-01-26 23:23:54 +01:00
twinaphex f9d0b66d49 (Android) Add Snakebyte idroid to input autodetect 2013-01-26 22:59:34 +01:00
twinaphex 47796ebc42 (Android) Add Logitech Dual Action to autodetect 2013-01-26 22:41:23 +01:00
twinaphex abf7ad4612 (Android) Add JXD S5110 input autodetect 2013-01-26 20:55:21 +01:00
twinaphex d797903f4c (Android) Mayflash PS2 USB converter works now 2013-01-26 19:42:36 +01:00
Themaister b7c410ba9c Rework name translation on Android.
Android doesn't support spaces (or anything) in the library names ...
2013-01-26 19:05:27 +01:00
Themaister 71f2ad6664 Revert name detection.
This reverts commit 544bb079d7.
This reverts commit fbeadae931.
This reverts commit 5de6e809bf.
2013-01-26 18:17:12 +01:00
twinaphex 45839ac82e (Android) Add Mayflash Super Joy Box 3 Pro to autodetect 2013-01-26 17:17:06 +01:00
Themaister 544bb079d7 Don't force '-' -> '_' in name stripping. 2013-01-26 11:25:56 +01:00
Themaister fbeadae931 Rely on stripping away prefix/suffix instead. 2013-01-26 11:18:15 +01:00
Themaister 5de6e809bf Use more descriptive names for cores. 2013-01-26 10:55:24 +01:00
ToadKing 05c6f79a6a (Android) use libretro.org for overlay manual, not github repo 2013-01-25 10:00:38 -05:00
twinaphex fc529d8655 (Android) Add Shader Pack zip link 2013-01-25 01:13:18 +01:00
twinaphex 4007f0e3b5 (Android) Add link to overlay manual 2013-01-25 00:55:24 +01:00
Themaister 13277f080b Don't display redundant info about NEON. 2013-01-25 00:11:34 +01:00
Themaister 80b5739f86 Don't display non-NEON version if NEON-version exists. 2013-01-24 23:55:28 +01:00
Themaister dbc9555274 Don't append libretro cores that cannot be used.
If "neon" appears in name, and NEON isn't supported,
that libretro core will not be used.
2013-01-24 23:42:12 +01:00
Themaister edbb3a7c65 Drop unnecessary import. 2013-01-24 23:32:44 +01:00
Themaister 784bafdb19 Check in Java if NEON is present. 2013-01-24 23:29:47 +01:00
twinaphex 87499a214e (Android) Add ReadCPU function on Java side 2013-01-24 20:53:50 +01:00
twinaphex ce79b33fee (Android) Add auto-load state option 2013-01-24 20:28:22 +01:00
ToadKing 34b86c2d14 (Android) add options to download manual/cores manual 2013-01-23 21:46:15 -05:00
Themaister bbaec34744 Update version numbers to 0.9.8. 2013-01-22 00:22:09 +01:00
Themaister 88a45c3c0f Add refresh rate code. 2013-01-13 11:21:54 +01:00
twinaphex 5563fb3ea6 (Android) Decrease state_device_ids by size 2013-01-13 02:44:13 +01:00
Themaister 58bdf43a5d Fix Android build. 2013-01-12 22:32:21 +01:00
Themaister 93c4682f99 Add RARCH_DEVICE_POINTER_SCREEN to Android. 2013-01-11 16:32:49 +01:00
twinaphex 6d755ae193 (Android) Rename android_glue.h into frontend_android.h and move it 2013-01-09 05:12:56 +01:00
Themaister 5832f849f0 Don't allow pressed fingers count to wrap around.
Play safe. Shouldn't happen, but you never know with Android.
2013-01-09 00:41:40 +01:00
Themaister c3ff164919 Increase MAX_TOUCH.
Ensure that we don't set data outside array.
Warn if this happens.
2013-01-09 00:40:38 +01:00
twinaphex 8c8c3cc10b (Android) Input tweaks/cleanups 2013-01-07 00:49:17 +01:00
twinaphex f8160fb2bd (Android) Cleanups 2013-01-06 06:10:24 +01:00
twinaphex 013fda1cb6 (Android) Move Android frontend file too 2013-01-06 05:28:42 +01:00
Themaister 9df3b56413 Refactor main_wrap out to core. 2013-01-06 03:06:47 +01:00
Themaister 5752608062 Declare in manifest that GLESv2 is used. 2013-01-06 00:46:28 +01:00
Themaister 284014a4cc Add font rendering enable/disable to Java. 2013-01-05 23:58:28 +01:00
Themaister 634132033b Add savefile/save state dir settings. 2013-01-05 23:39:44 +01:00
Themaister 5b58df5da0 Add ROM dir selection. 2013-01-05 23:21:32 +01:00
twinaphex dd74683f26 (Android) Take out earlier SixAxisIME code - we'll always use
gamepad emulation with this IME app now
2013-01-05 18:33:26 +01:00
twinaphex 25de472336 (Android) Put in keybinds for dancingpixelstudios PS3 IME app
gamepad emulation
2013-01-05 18:13:30 +01:00
twinaphex 4343d64b6f (Android) Disable debug input reporting by default 2013-01-05 17:55:04 +01:00
twinaphex aeebac522c (Android) Cleanups to the way messages are passed and pushed for
debug input key reporting
2013-01-05 17:35:50 +01:00
twinaphex 9a8e6a6432 (Android) Add debug input keycode reporting option 2013-01-05 17:09:13 +01:00
twinaphex 2aaf7e4b02 (Android) small cleanups 2013-01-05 07:50:17 +01:00
twinaphex cd46fc96a6 (Android) Refactor g_android 2013-01-05 07:38:59 +01:00
twinaphex fc55e48221 (Android) Cut down on g_android usage 2013-01-05 07:20:02 +01:00
twinaphex 413771f14f (Android) Change Log.e to Log.i for refresh rate notification 2013-01-05 06:25:28 +01:00
twinaphex 147cb8f0d1 (Android) get rid of window_ready member 2013-01-05 06:24:13 +01:00
twinaphex 1cae4de653 (Android) More elegant way of setting refresh rate 2013-01-05 06:02:02 +01:00
twinaphex 4617f02aaf (Android) Group touchscreen overlay settings with new input settings
screen
2013-01-05 05:05:40 +01:00
twinaphex 4eeac9a1d7 (Android) Add autodetect_enable entry to settings 2013-01-05 04:58:30 +01:00
twinaphex e76ce3d525 (Android) Should autodetect keyboards now and configure them 2013-01-05 04:07:44 +01:00
twinaphex c64af4d3d0 (Android) Should configure first four pads for Wiimote pads if
IME app is ccpcreations Wii IME
2013-01-05 00:58:06 +01:00
Themaister 870bf97e41 Fix second pass bug on Android. 2013-01-05 00:42:55 +01:00
Themaister f8b86b56dd Enable overlays by default. 2013-01-04 23:05:51 +01:00
Themaister 7c841c18b3 Only extract Overlays/.
Extracting lots of stuff
takes too much time.
2013-01-04 22:55:02 +01:00
Themaister 587c69aa46 Comment out asset extraction.
Slows down massively. Need to find a better solution.
2013-01-04 22:33:42 +01:00
Themaister 7bd1cf3da8 Only extract overlays and shaders from asset dir. 2013-01-04 22:20:21 +01:00
Themaister 3b7aa5c243 Add .dummy files to Overlays and Shaders. 2013-01-04 22:11:47 +01:00
Themaister f886b3bc95 Add more shader options. 2013-01-04 21:46:45 +01:00
twinaphex 085a90d018 Get rid of RARCH_GPU_PERFORMANCE_MODE 2013-01-04 21:32:22 +01:00
Themaister 3f8bfa1484 Enable FBO support for Android.
GLES2 supports FBOs natively.
2013-01-04 20:54:33 +01:00
Themaister ca8f29d58f Extract all assets/ into cache/. 2013-01-04 20:34:54 +01:00
Themaister 2267c4d65b Hook up XML shader and overlay prefs. 2013-01-04 16:46:22 +01:00
Themaister 100f5ac947 Start adding path settings. 2013-01-04 16:46:22 +01:00
twinaphex 6f0360e6c4 (Android) Fixes a whole lot of issues - should force AKEYCODE_BACK
on touchscreen to always exit RetroArch - etc.
2013-01-02 23:53:40 +01:00
twinaphex 72b7d885b6 Revert "Revert "Don't assume device IDs won't collide.""
This reverts commit 4e3ffc0d72.
2013-01-02 22:24:36 +01:00
twinaphex ab5c3501ea (Android) Get rid of #if 0 2013-01-02 22:24:18 +01:00
twinaphex afbf41f46e (Android) Can now combine IME app autodetection and USB pad
autodetection
2013-01-02 22:23:47 +01:00
Themaister 5a548ca447 More explicit error checking for JNI name lookup. 2013-01-02 21:54:35 +01:00
twinaphex 4e3ffc0d72 Revert "Don't assume device IDs won't collide."
This reverts commit ef5b656f23.
2013-01-02 21:21:06 +01:00
Themaister ef5b656f23 Don't assume device IDs won't collide. 2013-01-02 19:15:02 +01:00
twinaphex 4b18244c84 (Android) Turn off PERF_TEST 2013-01-02 19:09:58 +01:00
twinaphex 6a6155affe (Android) Drop preDispatchEvent again 2013-01-02 19:08:18 +01:00
twinaphex 3a69f1f151 (Android) Some more checks in input code 2013-01-02 18:46:51 +01:00
twinaphex 6bbcc1eeda Revert "Remove preDispatch call."
This reverts commit 8bf6e5b5ee.
2013-01-02 18:03:53 +01:00
twinaphex e296c4955f (Android) Makefile cleanup 2013-01-02 17:41:09 +01:00
Themaister 8bf6e5b5ee Remove preDispatch call.
Fix possible segfault for ID table lookup.
2013-01-02 16:51:09 +01:00
twinaphex 49709b90bf (Android) Add Vsync toggle in Settings 2013-01-02 06:43:31 +01:00
twinaphex 55376dc2b5 (Android) Add rewind and auto rotate options to settings 2013-01-02 04:54:08 +01:00
twinaphex ecd614c9ec (Android) Add Xperia Play binds (untested) 2013-01-01 23:19:43 +01:00
twinaphex a16800bc79 (Android) cut down on unneeded members in android_app struct 2013-01-01 04:11:44 +01:00
twinaphex 0755b6b579 (Android) Remove remnants of savedState glue code 2013-01-01 03:44:57 +01:00
Themaister 0b4cf2d053 Update license headers to 2013. 2013-01-01 01:41:15 +01:00
twinaphex f838901f74 (Android) Should fix L1 button on Sixaxis IME binds 2012-12-31 23:19:30 +01:00
twinaphex 8099d76943 (Android) Add dancingpixelstudios Sixaxis IME app binds 2012-12-31 22:26:44 +01:00
twinaphex c76ee4c6b4 (Android) Add more ccp IME app autodetection 2012-12-31 21:36:29 +01:00
Themaister 91d58deec0 Add option for Square pixels (1:1 PAR). 2012-12-31 21:33:15 +01:00
Themaister be602e417a More flexible aspect ratio options. 2012-12-31 21:24:59 +01:00
Themaister be5c271b0e Don't show save files in ROM browser. 2012-12-31 20:48:52 +01:00
Themaister ca2e6c3e24 Fix crash when device is rotate in settings. 2012-12-31 18:52:35 +01:00
Themaister fafe555a27 Remove debugging messages from Java config. 2012-12-31 18:28:46 +01:00
Themaister a00f2ae254 Merge branch 'master' of github.com:Themaister/RetroArch 2012-12-31 18:10:10 +01:00
Themaister fad341d7b0 Remove unused import. 2012-12-31 18:06:58 +01:00
Themaister a1d91845c5 Merge branch 'master' of github.com:Themaister/RetroArch
Conflicts:
	android/phoenix/src/org/retroarch/browser/ModuleActivity.java
2012-12-31 18:03:46 +01:00
twinaphex 0de110a274 (Android) Create separate input_autodetect.c input file 2012-12-31 18:02:20 +01:00
twinaphex e2163317d7 (Android/RARCH_CONSOLE) Move DPAD_EMULATION enums to general.h -
makes it easier from maintenance perspective
2012-12-31 17:50:47 +01:00
Themaister cb9bb8455f Make basic settings work. 2012-12-31 17:46:15 +01:00
twinaphex 9f361de651 (Android) Autoconfigures IME app ccpcreations Wiimote pad 1 now 2012-12-31 17:39:04 +01:00
twinaphex 7855a25502 (Android) Can now grab current IME string from Java and pass it to
native
2012-12-31 16:36:28 +01:00
twinaphex ef42f6b58c (Android) Don't push message to queue if message is empty 2012-12-31 16:07:11 +01:00
twinaphex 33241abad2 (Android) Pass source to setup_keycode_lut too 2012-12-31 16:05:07 +01:00
Themaister 0270c106c5 Start adding setting dialogs. 2012-12-31 16:04:37 +01:00
Themaister 925a55c9e1 Start reworking settings menus into Java Phoenix.
Fix style according to Eclipse Ctrl+F.
Let frontend find default config.
Start adding popup menu for different settings.
Do not autodetect config on Android in native code.
2012-12-31 15:00:12 +01:00
Themaister cce0d9379a Fix warning in manifest. 2012-12-31 12:21:33 +01:00
Themaister bb95313175 Add boolean support to Java config file. 2012-12-31 12:18:47 +01:00
twinaphex 71fe22f8ba (Android) Add some more alternative name detection rules for
PS3 pad
2012-12-31 04:19:45 +01:00
twinaphex f375f550af (Android) Add Saturn USB pad / Toodles Champ / Mayflash Wii Classic
USB pad binds
2012-12-31 04:06:43 +01:00
Themaister 69491ea284 Add Java config file code. 2012-12-31 02:43:13 +01:00
twinaphex 6240fb0076 (Android) Add PS Move Navi binds 2012-12-31 01:06:33 +01:00
twinaphex 1bc1b61938 (Android) Autoconfigures MOGA pad now 2012-12-30 23:37:49 +01:00
twinaphex 30bb3a150a (Android) Add 'unbound' message for pads which are not autoconfigured 2012-12-30 22:06:52 +01:00
twinaphex 74f8845ac3 (Android) onSaveInstanceState callback- don't point to anything 2012-12-30 21:56:57 +01:00
twinaphex acefa9bfc4 (Android) Maps PS3 pad correctly now 2012-12-30 21:43:58 +01:00
Themaister 8a58858d84 Refactor out save stating and reentrancy.
It's not really needed.
2012-12-30 18:25:49 +01:00
twinaphex 45fa3d7ba7 (Android) PS3 pad detection - still need to sort out D-pad 2012-12-30 17:03:10 +01:00
Themaister 35e17e5017 Fix CPU hogging issue on Android when paused. 2012-12-30 16:54:16 +01:00
twinaphex 813a659f8a (Android) Detects Dual Strike now 2012-12-30 16:53:24 +01:00
twinaphex b264700eaf (Android) First stab at autodetection code 2012-12-30 16:33:13 +01:00
Themaister c91e0e23f4 Add JNI device name query. 2012-12-30 15:04:02 +01:00
Themaister 9fbd888566 Handle orientation without explict calls.
Appears to fix some kind of "race condition" in EGL.
2012-12-28 00:12:18 +01:00
Themaister 4651dd935a Improve multitouch. 2012-12-27 23:03:35 +01:00
twinaphex 9f80f36c16 (Android) Small refinement to input 2012-12-27 21:10:18 +01:00
twinaphex 16ab406a1a (Android) First stab at multitouch - far from satisfactory 2012-12-27 17:08:46 +01:00
twinaphex ad7a8cd468 (Android) Include native/jni/Android.mk file in phoenix/jni/Android.mk
file
2012-12-27 14:55:40 +01:00
Themaister 7458f7888f Set up multitouch querying. 2012-12-27 12:26:13 +01:00
notaz b1e8c84f55 (Android) Enable and fix warnings. 2012-12-26 03:11:33 +02:00
notaz 729bf464c5 (Android) Enable logger and overlay for phoenix.
Doesn't build otherwise for me.
2012-12-26 03:11:08 +02:00
Themaister e3378c219c Use crude ref-counting for driver handles. 2012-12-25 23:18:19 +01:00
Themaister 82f2bba8f2 Accept CONFIGFILE argument over JNI. 2012-12-25 15:21:01 +01:00
Themaister 4d802ccfbc Set custom refresh rate before starting main loop. 2012-12-25 14:00:24 +01:00
Themaister e4e0d9c72d Reset driver.* handles on driver reinit. 2012-12-25 00:01:06 +01:00
twinaphex f00c0311d3 (Android) Add more JNI macros 2012-12-24 22:15:01 +01:00
twinaphex 2ee5efc4a1 (Android) Orientation change now done in a stable way without freeing/
reiniting the video driver again
2012-12-24 20:17:16 +01:00
twinaphex e8a57f21cd (Android) Fix - restore state functionality broke again due to
'refactor' in driver.c - this does not work for re-entrancy - please
consult with me
2012-12-24 18:06:51 +01:00
twinaphex 70b5007a1e (Android) Wrapping all JNI usage seems impractical - settle for
a JNI helper header file instead
2012-12-24 17:22:57 +01:00
twinaphex bacad2f05a (Android) Some more JNI refactors - more coming up 2012-12-24 16:14:38 +01:00
twinaphex 480e36000e (Android/Phoenix) remove remnants 2012-12-24 15:23:06 +01:00
twinaphex e5e58912c1 (Android) Input - small nit changes 2012-12-24 15:05:59 +01:00
twinaphex 8f86172e3f (Android) Smaller 'overlay next' button for basic overlay
(Android) Mouse can be used to control overlay now too - is crash-prone
though after too many mouse clicks - reason unknown right now
2012-12-24 14:08:50 +01:00
twinaphex eb6937a7bd (Android) JNI wrapper - check some more for exceptions 2012-12-24 12:53:50 +01:00
twinaphex b03f5d8c4b (Android) Motion events now use correct pointer for event instead
of always pointer 0
2012-12-24 12:30:05 +01:00
twinaphex 8f6b5ab793 (Android) JNI - add safety checks 2012-12-24 11:26:38 +01:00
Themaister 35bf5c82c1 Make OVERLAY optional. 2012-12-23 18:39:01 +01:00
twinaphex 7116118051 Remove remnants of HAVE_CONFIGFILE 2012-12-23 18:16:33 +01:00
twinaphex ad8d09f754 (Android) Add a lot of actions to quick menu overlay 2012-12-23 17:51:32 +01:00
twinaphex 97ab249625 (Android) Overlay next button should work now along with other
overlay state inputs
2012-12-23 15:29:54 +01:00
twinaphex 269698661a (Console/Android) Simplify input_key_pressed implementation 2012-12-23 14:44:46 +01:00
twinaphex e58ca0b95b (Android) Refactor JNI code
(Android) Change overlay PNGs to TGAs - add 256x256 quickmenu
texture - change basic_overlay.cfg coords
2012-12-23 14:25:28 +01:00
twinaphex 04cabb0996 (Android) refactor JNI code - still can't load ClassLoader 2012-12-23 13:16:58 +01:00
twinaphex 5065e12ae7 (Android) ModuleActivity - comment out Toast hack 2012-12-23 07:32:04 +01:00
twinaphex 18bf8e2a16 (Android) Refactor JNI code 2012-12-23 07:30:15 +01:00
twinaphex 26c59ef649 (Android) Added autoconfiguration of Wiimote/Nunchuk/Wiimote - for
use with free Wii IME app from C.C.P. Cre@ions
2012-12-22 09:44:56 +01:00
twinaphex 7431bd5d22 (Android) Add more control schemes for USB gamepads 2012-12-22 07:13:32 +01:00
Toad King ff3ec9f8a5 (Android) minor cleanup 2012-12-21 19:00:18 -05:00
Toad King 462adce111 (Android) touch input fixes 2012-12-21 18:32:53 -05:00
twinaphex 75b36e6ba0 (Android) Tried with condition flag - still doesn't work 2012-12-21 08:08:50 +01:00
twinaphex 0df2eff66b (Android) Some input refactors 2012-12-21 04:14:47 +01:00
twinaphex 29ef7dc4ed (Android) Initial implementation of input overlay key input code -
not working yet due to need to determine whether or not touchscreen
is pressed in input_state_pressed
2012-12-21 01:31:01 +01:00
twinaphex 456593ddb1 (Android) Add way to tell where the event is coming from 2012-12-20 23:57:46 +01:00
twinaphex 909c392094 (Android) Build fix for building with input debug 2012-12-20 23:01:48 +01:00
twinaphex 92e5036eb6 Disable onLowMemory callback - after this has executed, it would
call Dalvik's garbage collector - definitely want to avoid that
2012-12-20 13:25:09 +01:00
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
meancoot b2fc9cae3a (Android) Allow graphics to reinitialize if activity is lost.
(Android) Stop emulation when the activity receive a pause event.
2012-12-04 22:31:31 -05:00
Toad King 1e03bb3d50 [ANDROID] "handle" all config changes while executing the emulator
re-init video code on orientation change
2012-12-04 17:36:02 -05:00
twinaphex 2c2328d8a0 (NEON) Change WANT_NEON define back to HAVE_NEON 2012-12-04 07:57:31 +01:00
twinaphex ddc9c94884 (Android) Refactor Android.mk - better defines 2012-12-03 04:58:44 +01:00
twinaphex 5eaaaacaf6 (Android) Make Neon compilation optional with a switch 2012-12-03 01:29:04 +01:00
twinaphex 7403faa608 HAVE_NEON define seems to give problems - WANT_NEON seems to work
- so quick-fix hack for now
2012-12-03 00:20:21 +01:00
twinaphex 1c9dec56a8 (NEON/Android) Some fixes 2012-12-02 23:50:32 +01:00
Toad King ba0a09eb91 [ANDROID] use WRITE_EXTERNAL_STORAGE permission 2012-12-02 14:35:13 -05:00
twinaphex 623822126a (Android) Set buffer count to 4 instead of 8 for Jelly Bean and
higher - test experimental lower latency for fast OpenSL mixer
2012-12-02 07:32:28 +01:00
twinaphex b072eba321 (Android) undefine HAVE_XML and WANT_LIBXML2 - performance
difference too big to justify including it
2012-12-02 01:37:40 +01:00
Toad King d1b9015aef [ANDROID] pass phone version to activity 2012-11-30 20:54:29 -05:00
Toad King 61b42c82e2 [ANDROID] don't dim screen or show status bar when emulator is playing 2012-11-30 13:13:40 -05:00
twinaphex 966cc93b5e Refactor of driver function hooks 2012-11-27 00:50:56 +01:00
Themaister 02f84fe323 Updates to 0.9.8-beta3 2012-11-25 12:56:25 +01:00
twinaphex f1709aefec (Android) remove force_16bit from duplicate config file (TODO - try
to see if we can remove this altogether)
2012-11-20 23:56:11 +01:00
twinaphex 05d04e443d (Android) Define WANT_LIBXML2 - Griffin compiles in libxml2 2012-11-20 04:15:12 +01:00
twinaphex 01a7fb0f3b (Griffin) Compile in RZlib into Grifin with WANT_RZLIB 2012-11-19 05:43:57 +01:00
twinaphex d79ba6a9da (libxml2) Cleanups 2012-11-18 01:28:10 +01:00
twinaphex 6abb9348ff (libxml) Cleanups of DEBUG ifdefs 2012-11-18 00:41:50 +01:00
twinaphex 01369d69d1 (libxml2) some ifdefs removed 2012-11-18 00:23:59 +01:00
twinaphex f338529585 (libxml2) LIBXML_VALID_ENABLED removed 2012-11-18 00:20:27 +01:00
twinaphex 3a230c0aab (libxml2) LIBXML_REGEXP_ENABLED removed 2012-11-18 00:15:12 +01:00
twinaphex 99e08b76fa (libxml2) LIBXML_UNICODE_ENABLED removed 2012-11-18 00:08:59 +01:00
twinaphex 2aeaf25e1f (libxml2) LIBXML_AUTOMATA_ENABLED removed 2012-11-17 23:56:00 +01:00
twinaphex d73602e687 (libxml2) LIBXML_MODULES_ENABLED removed 2012-11-17 23:47:45 +01:00
twinaphex 73162c7794 (libxml) LIBXML_C14N_ENABLED removed 2012-11-17 23:43:39 +01:00
twinaphex 08d34130ef (libxml2) Remove LIBXML_OUTPUT_ENABLED 2012-11-17 23:40:15 +01:00
twinaphex 9871a42a3d (libxml) LIBXML_ICU_ENABLED removed 2012-11-17 23:22:49 +01:00
twinaphex 7a0e128a97 (libxml) LIBXML_THREADS_ENABLED removed 2012-11-17 23:20:47 +01:00
twinaphex a70a5b541c (libxml) LIBXML_WRITER_ENABLED removed 2012-11-17 23:09:25 +01:00
twinaphex c0ae8bc079 (libxml2) Remove LIBXML_LEGACY_ENABLED + SAX v1 2012-11-17 22:57:01 +01:00
twinaphex aeceadc3e3 (libxml2) Remove LIBXML_SCHEMAS_ENABLED 2012-11-17 22:43:50 +01:00
twinaphex 818a204fbc (libxml2) Remove XInclude 2012-11-17 22:32:32 +01:00
twinaphex 9f123a54d9 (libxml2) Remove XPath/ Xpointer 2012-11-17 22:25:27 +01:00
twinaphex f459819813 (libxml) Remove schematron 2012-11-17 22:12:50 +01:00
twinaphex 1379d895ed (libxml) remove XML_PATTERN 2012-11-17 22:09:00 +01:00
twinaphex 14cd3c1184 (libxml2) Remove docbook parser 2012-11-17 22:02:08 +01:00
twinaphex 089a1da8b2 (libxml2) Remove XML_CATALOG 2012-11-17 21:55:00 +01:00
twinaphex da3ec111e8 (Android) Get rid of unnecessary input_android.h header 2012-11-17 21:36:22 +01:00
twinaphex bd39d4c5fa (libxml2) Take out STANDALONE ifdefs 2012-11-17 18:04:36 +01:00
twinaphex af19546d8d (libxml) take out LIBXML_DEBUG_ENABLED 2012-11-17 17:34:26 +01:00
twinaphex 4285d9d128 (Android) Add libxml2 - will be heavily cut down/slimmed down
- already took out HTML parser and nanohttp/nanoftp webserver
2012-11-17 17:16:11 +01:00
Themaister 64d9a6fbda 0.9.8-beta2 2012-11-13 00:52:23 +01:00
Themaister d7c7ad279e Update version strings to 0.9.8-beta1. 2012-11-07 23:33:22 +01:00
twinaphex 55562a96af (Android) Clean up native glue code + inline some stuff 2012-11-03 22:52:41 +01:00
twinaphex f4d6fedd44 (Android) Add commented-out NEON CFLAG for now 2012-11-03 22:26:15 +01:00
twinaphex 6932f866ca (Android) Try to reduce call stack by pointing everything in thread entry function 2012-11-03 21:03:14 +01:00
twinaphex 46a4efd885 (Android) Better lifecycle management - getting close to restoring state 2012-11-03 19:06:55 +01:00
twinaphex 2e58e25dbe (Android) Can now cleanly exit with back button - lifecycle event
improvements
2012-11-03 17:42:09 +01:00
twinaphex e0e5e8cb1b (Android GLSL) MAX_PROGRAMS 8 instead of 16, MAX_TEXTURES 4 instead
of 8, PREV_TEXTURES 3 instead of 7
2012-11-03 09:35:18 +01:00
twinaphex 9da9c8042b (Android) Use Griffin - faster 2012-11-03 08:42:33 +01:00
twinaphex 724206c348 (Android) reinsert native glue code 2012-11-03 07:17:55 +01:00
twinaphex faba5f4c13 (Android) Fixup input logs 2012-11-03 04:36:32 +01:00
twinaphex 1d31f7efa0 (Android) All keyboard hotkeys work now 2012-11-03 00:57:47 +01:00
twinaphex 0dbcdb087d (Android) Rewrite of input code 2012-11-03 00:31:05 +01:00
twinaphex 02f81a38c2 (Android) Create input_state for Android app - can now signal that a window
was created, or that we want to shutdown
2012-11-02 22:27:22 +01:00
twinaphex 312a81a663 (Android) Set -fno-stack-protector 2012-11-02 18:11:34 +01:00
twinaphex 66c830a9a1 (Android) Rename sse3 to ssse3 2012-11-02 05:32:52 +01:00
twinaphex 18aa791296 (Android) Now detects if CPU has NEON or SSE3 2012-11-02 05:27:58 +01:00
twinaphex 7ac8d02a05 (Android) Performance changes - build fix 2012-11-02 04:13:35 +01:00
twinaphex b0e4ca599c (PC/Linux) performance_android.c works for PC Linux too - refactor as
performance_linux and compile it in for Linux build (but don't yet use it)
2012-11-01 07:41:36 +01:00
twinaphex 85f6ddc4ae (Android) We'll be able to tell now at runtime whether or not
a CPU has specific features (such as NEON, hard float, SSE, etc.).
Will refactor this later and add getters/setters
2012-11-01 07:15:01 +01:00
twinaphex b240cfbc7e (RARCH_PERF) Rename benchmark.c to perforance.c
(MSVC2010) Rename incorrectly named MSVC2012 solution which was
really an MSVC 2010 solution
2012-11-01 06:21:18 +01:00
twinaphex 3837a503b7 (Android) Reimplement native glue code 2012-11-01 05:48:46 +01:00
twinaphex a4d1305838 (Android) Some native glue code optimizations 2012-10-31 22:22:29 +01:00
twinaphex a2ea556be5 (Android) Call process_cmd and process_input directly - try to get
rid of all these poll callbacks
2012-10-31 19:22:34 +01:00
twinaphex 5240f2d9f1 (Android) native glue code - fix indenting and remove savestate
leftovers
2012-10-31 18:52:43 +01:00
twinaphex 4d99d93df0 (Android) remove Android save state for now - unused and will
probably reimplement it later
2012-10-31 18:10:38 +01:00
twinaphex c0b8f28484 (Android) Also remove this - accelerometer-related 2012-10-31 17:33:58 +01:00
twinaphex cd92520983 (Android) Don't poll accelerometer - no use yet and in case we
want to support something like GBA WarioWare Twisted stuff, we
will have to add motion support to libretro anyway - so can be
shelved for now
2012-10-31 17:33:08 +01:00
twinaphex cbcffbb5cf (Android) Get rid of unused width/height/animated in g_android struct 2012-10-31 17:12:45 +01:00
twinaphex 0fe3ab8f2d (Android) Input - get rid of android_input_state_t struct - only
use a single uint64 array now for state
2012-10-31 16:18:58 +01:00
twinaphex ff599ac392 (Android) Change input process conditional to 'event' -also disable
PERF_TEST for regular usage
2012-10-31 16:04:40 +01:00
twinaphex 035713f124 (Android) performance counter for engine_handle_input 2012-10-31 15:18:47 +01:00
twinaphex 12f5434f3e (Android) use ALooper_pollOnce instead of ALooper_pollAll 2012-10-31 15:16:16 +01:00
twinaphex 94ccdd627b (Android) Input - now handles volume up/down and back buttons 2012-10-31 06:56:14 +01:00
twinaphex 0aa08c3b46 (Android) Input optimizations - this function has heavy overhead
depending on how many times you press buttons / input event activity
2012-10-31 04:01:17 +01:00
twinaphex 49cff6a46a (Android) Input - another cleanup 2012-10-31 01:59:15 +01:00
twinaphex 666e2910b3 (Android) Input - Small cleanups 2012-10-31 01:38:34 +01:00
twinaphex e426087ebc (Android) Input rewrite - should now be faster and support more
keycodes - keyboard keys are hooked up too for control with keyboard
2012-10-31 01:25:24 +01:00
twinaphex 1902763f67 Performance counters for audio 2012-10-30 23:46:01 +01:00
twinaphex 50bc08aa7b (Android) Improved performance - avoid logging like the plague
apparently
2012-10-30 17:16:57 +01:00
twinaphex b204b55386 (Android) Remove unnecessary animating conditional block in gfx_ctx_check_window 2012-10-30 06:36:38 +01:00
twinaphex 1ff6175bd2 (Android) Move polling for events into Android input driver instead
of EGL context check_window function
2012-10-30 06:20:49 +01:00
twinaphex c2f49f1c53 (Android) Input control improvements 2012-10-30 05:57:12 +01:00
twinaphex fb25f31598 (Android/OpenSL) Bigger audio buffers - bigger latency/longer
delay in audio, but no audio breakup - also applied -O3 and -funroll-loops
for Android Makefile - seems to help
2012-10-30 05:25:14 +01:00
twinaphex 8123cb1013 (Android) Add alternate control layouts - will need to switch
between these with a button combo
2012-10-29 22:06:56 +01:00
twinaphex 6424513df8 (Android) Input - use custom binds 2012-10-29 14:45:25 +01:00
twinaphex 45142ed3d2 (Android) Get rid of do_pollblock - unnecessary now 2012-10-29 13:34:03 +01:00
twinaphex c2557e0d4f (Android) Input experiment 2012-10-29 05:09:10 +01:00
twinaphex db15975315 (Android) Small changes 2012-10-29 04:58:15 +01:00
twinaphex 2da102a13f (Android) Add native activity glue code 2012-10-29 02:34:27 +01:00
twinaphex 50875ce46c (Android) Working (but hoky) controls 2012-10-29 01:28:15 +01:00
twinaphex 1ce5869096 (Android) Add input_android.h 2012-10-28 22:22:04 +01:00
twinaphex 915f26cbd0 (Android) Initial work on input 2012-10-28 22:20:56 +01:00
twinaphex aefb3ee3af (GL) Fix build for HAVE_OPENGLES target
(Android) Input - add device ID per joypad
2012-10-28 03:14:50 +01:00
twinaphex 43602b97c9 (Android) Flesh out Android input 2012-10-28 02:21:09 +01:00
twinaphex 9cd7181813 (Android) AMotionEvent_getAxisValue function pointer - even USB
joystick support in NDK code requires hacks even in ICS 4.0 and
up - Google worst faildevs of the century
2012-10-27 20:22:53 +02:00
twinaphex cfdfcd4b8e (Android) Speed optimization 2012-10-25 20:58:05 +02:00
twinaphex 8161aec704 (Android Phoenix) Some build fixes 2012-10-22 20:11:00 +02:00
twinaphex 3342bd4ec6 (Android) Teardown more or less works correctly now - have to do
exit() at the end because of the way dynamic libraries stay in
memory and can't be purged - so static variables retain their
state (ie. previous values from the previous session) - see

https://groups.google.com/forum/?fromgroups=#!topic/android-ndk/XDO-Rar3ptY
http://comments.gmane.org/gmane.comp.handhelds.android.ndk/11500
2012-10-21 19:56:36 +02:00
twinaphex 9b6425c1da (Android) Use DetachCurrentThread - first stab at setting up clean
deiniting
2012-10-21 17:30:02 +02:00
twinaphex 6d44198f8a (Android) Slight nit 2012-10-21 16:52:54 +02:00
twinaphex 3ec51cbd23 (Android) Comment out accelerometer code also in event callback 2012-10-21 16:51:04 +02:00
twinaphex f6e46ce8a4 (Android) Now builds RetroArch libraries for all Android ABIs -
ARM, ARMv7a, MIPS, x86
2012-10-21 16:38:56 +02:00
twinaphex 647fd0abf0 (Android) Not sure if we have to do this 'event loop' in gfx_ctx_check_window
- make it sample one frame of events and that is it - also comment out
accelerometer stuff for now
2012-10-21 16:37:15 +02:00
twinaphex 161afd98dc (OpenSL ES) OpenSL init seems to work now despite OutputMix interface
apparently being unsupported on Android. Included note for workaround.
2012-10-18 07:28:56 +02:00
twinaphex 6bf7c3cb06 Update credits for collaborated files 2012-10-18 06:06:55 +02:00
twinaphex 63238d3b67 (OpenSL) Add preliminary driver - OpenSL ES implementation in NDK
is a half-baked, half-implemented hackfest, so will have to go over
Android-specific examples to get this to work
2012-10-18 05:46:09 +02:00
twinaphex 828762f6fd (Android) Take out excessive logging 2012-10-16 23:55:39 +02:00
twinaphex bed99bb0da (Android) Compile with DPERF_TEST enabled - replace CLOCK_MONOTONIC_RAW
with CLOCK_MONOTONIC
2012-10-16 23:29:03 +02:00
twinaphex 4212458625 (Android) Log touchscreen events for now 2012-10-16 20:03:45 +02:00
twinaphex a675c4348f (Android) Split off input code into its own driver 2012-10-16 19:46:59 +02:00
twinaphex 97ef554e31 (Android) Use g_android.app state instead of local variable 2012-10-16 18:38:41 +02:00
twinaphex 977155425a (Android) No longer have to click on the screen to get RetroArch
to start
2012-10-16 18:07:22 +02:00
twinaphex be1abb6f38 (Android) Runs now - note - we might want to refactor HAVE_XML ifdefs
to HAVE_GLSL since I currently don't have HAVE_XML defined for
Android NDK
2012-10-16 15:38:25 +02:00
twinaphex 3cf0e3c984 (Android) Cleanups in context file - do away with everything related
to RARCH_CONSOLE
2012-10-16 14:43:34 +02:00
twinaphex 2f26f8e76f (Android) Try to deinit RetroArch when closing - currently fails due to
not being able to dequeue native window buffer
2012-10-16 13:48:08 +02:00
twinaphex 5e85906f94 (Android) Comment out accelerometer logging for now - so that we
don't spam the logger
2012-10-16 13:27:49 +02:00
twinaphex d4dee21589 (Android) Runs now - brings window up - inits GLES through EGL -
but fails at shader init - 'called unimplemnted OpenGL ES API'
2012-10-16 13:08:36 +02:00
twinaphex 402f3ec364 (Android) Hack - loading libretro.so from /data/data/com.retroarch/lib/libretro.so for now - problem #2 - crashesat [ANDROID/EGL]: EGL version: 1.4 log - reason being
that window is not yet inited
2012-10-16 12:59:43 +02:00
twinaphex ff914dd862 (Android) Set up RetroArch for real (Android is retarded in that it
only allows us to use dlopen on shared libs that are in the app's
'lib' folder - 'security' concerns and all
2012-10-16 12:49:56 +02:00
twinaphex 46fd925d01 (Android) Can now select libretro core from Phoenix too, argument
gets passed to native activity
2012-10-16 11:59:08 +02:00
twinaphex 99bb0734c8 (Android) Remove unnecessary icons for native activity 2012-10-16 02:20:53 +02:00
twinaphex 7a3e29539a (Android) Picks up ROM filename argument now in android_main -
passed from Java phoenix to native activity
2012-10-16 02:06:20 +02:00
twinaphex bbbdb1ccc0 (Android) Cut down on engine_draw_frame usage 2012-10-15 21:49:17 +02:00
twinaphex 8ac8b16d34 (Android) Use EGL context file 2012-10-15 19:33:57 +02:00
twinaphex 82d2ee63dc (Android) Move g_android outside of general.h 2012-10-15 19:09:59 +02:00
twinaphex 5ffab01827 (Android) Add g_android global struct - EGLDisplay, EGLContext
and EGLSurface in this struct are temporarily and all code
will be moved to EGL context file
2012-10-15 08:57:23 +02:00
twinaphex 4f8a040411 (Android) Now starts up the native activity correctly when a ROM has been
selected - arguments still need to be passed and right now it's just doing
some glClears - however - POC more or less works - now to make it run Rarch
2012-10-14 07:21:12 +02:00
twinaphex b89e0e90c9 (Android) Phoenix works again 2012-10-14 05:24:34 +02:00
twinaphex 6e730dab47 (Android) Split up project into native / phoenix - phoenix now doesn't
show main screen/rom browser (sigh)
2012-10-14 05:18:53 +02:00
twinaphex 96f5c78304 (Android) removed bifrost.c - made libretroarch.so now a native
activity
2012-10-14 03:37:08 +02:00
twinaphex 1195e92850 (Android) Remove more unnecessary files / simplify fileio/Option.java 2012-10-14 02:44:36 +02:00
twinaphex 87cec1a077 (Android) Do removal of Android classes sanely - without local working
copy
2012-10-14 01:54:02 +02:00
twinaphex 73194640a0 Revert "(Android) Renamed GUI to RetroArch Android - Phoenix will be Java-only,"
This reverts commit ad27bedcb4.
2012-10-14 01:49:15 +02:00
twinaphex 158f4676a4 (Android Phoenix) Will no longer require GLES 2.0 2012-10-14 01:00:41 +02:00
twinaphex ad27bedcb4 (Android) Renamed GUI to RetroArch Android - Phoenix will be Java-only,
and the RetroArch program itself will be a native activity
2012-10-14 00:56:50 +02:00
twinaphex 7a761393dd (Griffin) refactor hook.h from Griffin 2012-10-08 23:42:08 +02:00
twinaphex 254239849a Revert "(Android) Cleanup - remove android java audio driver / remove android java video"
This reverts commit ba99f83aa5.
2012-10-08 22:55:31 +02:00
twinaphex ba99f83aa5 (Android) Cleanup - remove android java audio driver / remove android java video
driver - do as much stuff natively
2012-10-07 18:20:11 +02:00
twinaphex 350b15b0f2 (Android) Add some initial funtions for setting native window 2012-10-06 06:51:42 +02:00
twinaphex 2c1980b7b0 (Android) Seems to run frames now - now to get video/sound 2012-10-05 19:02:32 +02:00
twinaphex 936daba8de (Android) Implement onActivityResult callback system 2012-10-05 18:49:13 +02:00
twinaphex 770aa757dd (Android) Loads ROM now - now need to define audio driver/input
driver
2012-10-05 01:28:15 +02:00
twinaphex de72779577 (Android) Add preliminary EGL context driver 2012-10-05 01:19:39 +02:00
twinaphex 94ac629d6a (Android) fails at video_gl.start right now 2012-10-04 20:13:02 +02:00
twinaphex c6cf258b42 Simplify rarch_config_load 2012-10-04 20:09:23 +02:00
twinaphex cd76a2c3b3 (Android) Added stub file so that gen is always a pregenerated directory 2012-10-04 19:39:28 +02:00
twinaphex f6e91732a1 (Android) Loads libretro library now but still SEGV at unspecified
location
2012-10-04 19:39:28 +02:00
twinaphex 2dcb61cb53 (Android) Some more work - fails right now at dylib_load 2012-10-03 19:45:20 +02:00
twinaphex 0d0fd03e09 (Android) use RARCH_LOG in bifrost.c 2012-10-03 16:23:50 +02:00
twinaphex c49aa886a1 (Android) Need to add JNI_OnLoad and JNI_OnUnLoad in Bifrost 2012-10-03 06:11:33 +02:00
twinaphex ad7bc1bbe2 (Android) Add missing (and required by Eclipse) 'gen' directory 2012-10-03 06:02:03 +02:00
twinaphex 4cfafc65b7 (Android / JNI) Compiles RetroArch in ARM mode now instead of THUMB -
can now use mrc instruction
2012-10-03 00:02:46 +02:00
twinaphex 0a20857a44 (ARM) Add mrc ARM define for benchmark.c
- Some Android build fixes
- Removed doubly defined static inline function
2012-10-02 23:59:19 +02:00
Twinaphex 8ad585ad34 (Android) Compile with HAVE_DYLIB 2012-09-17 05:31:29 +02:00
Twinaphex 7bec5ddb55 (Android) Add Android Makefile + commit auo-generated com_retroarch_rruntime.h
header
2012-09-17 02:40:34 +02:00
Twinaphex 511e94dbd7 (Android) Add rruntime.java 2012-09-17 02:16:23 +02:00
Twinaphex 6c05196e4f (Android) More exposed functions in Bifrost 2012-09-16 22:11:15 +02:00
Twinaphex e84db7ba1f (Android) Begin RetroArch bridge code - JNI - call it 'Bifrost' 2012-09-16 21:00:34 +02:00
Twinaphex 50d8520085 (Android) Use GLES v2 - codepath for GLES v1 is broken if
GL_CLAMP_TO_BORDER is not available
2012-09-12 15:21:25 +02:00
Twinaphex 3d93b6a052 Add additional note 2012-09-11 10:21:22 +02:00
Twinaphex 005d25f709 (Android) Loads libretroarch library now 2012-09-10 04:51:22 +02:00
Twinaphex e6303c9615 Add null_ctx.c and use this for Android for now 2012-09-10 02:00:06 +02:00
Twinaphex 8fcb79e86c (Android) Add logging 2012-09-10 01:11:49 +02:00
Twinaphex 61b0811501 (Android/GLES) Add HAVE_OPENGLES defines to gl.c - remaining stuff todo -
GL_QUADS not supported on GLES - GL_UNPACK_ROW_LENGTH/GL_PACK_ROW_LENGTH
not supported on GLES without extensions - all client state array
stuff unsupported -
- Query extensions and see if GL_UNPACK_ROW_LENGTH and GL_PACK_ROW_LENGTH
are available (on Tegra SOCs they should)
2012-09-10 00:39:26 +02:00
Themaister fa5164fb8d Update some more files. 2012-08-22 20:01:19 +02:00
Themaister c9a22392c8 Update to 0.9.7-rc1. 2012-08-11 09:18:39 +02:00
Twinaphex 0c7af232cc (Android) Have Android port use null video/input/audio drivers
for now - also changed some things in Griffin so things work again
after null drivers commit
2012-06-20 06:39:52 +02:00
Twinaphex 50a538b120 (Android) JNI Makefile for retroarch - don't define HAVE_OPENGL*
right now
2012-06-19 23:38:51 +02:00
Twinaphex 4dbfbbfe7f (Android) Preliminary NDK Makefile for compiling retroarch as a
shared library - we will need a separate gles driver
2012-06-19 23:34:19 +02:00
Twinaphex 0aa3ad0ce2 (Android) Small tweaks 2012-06-19 09:55:02 +02:00
Twinaphex 9697937130 (Android) We shouldn't be including a bin directory 2012-06-19 09:10:49 +02:00
Twinaphex 080a7ea96f (Android) Add resource XML files for filebrowser 2012-06-19 09:09:30 +02:00
Twinaphex bc36993f8b (Android) Rudimentary filebrowser code - copy/paste of a copy/paste
from a tutorial for now - we'll slim it down and extend it later
2012-06-19 09:08:07 +02:00
Twinaphex b07f73d302 (Android) Add missing rombrowser.java 2012-06-19 07:50:04 +02:00
Twinaphex 9404548080 Some menu navigation now possible - can go from main screen to
'open' (rom browser screen - stub for now) and back
2012-06-19 07:48:13 +02:00
Twinaphex 999ece77af (Android) Most Action Bar actions now part of popup menu 2012-06-17 05:53:59 +02:00
Twinaphex 93d2e69773 (Android) Upload drawable-xhdpi 2012-06-17 04:41:00 +02:00
Twinaphex d843dacfd4 (Android) Added placeholder ActionBar 2012-06-17 03:36:59 +02:00
Twinaphex 13839bc511 (Android) Add initial audio driver 2012-06-17 00:48:07 +02:00
Twinaphex 3ad9c7ba84 (Android) OpenGL ES 2.0 skeleton driver - shows a triangle right now 2012-06-16 22:47:16 +02:00
Twinaphex f432463aed (Android) Replace icons 2012-06-16 22:07:29 +02:00
Twinaphex b3e74aa189 (Android) Start skeleton app dir 2012-06-16 22:03:08 +02:00