Commit Graph

1070 Commits

Author SHA1 Message Date
Themaister ae07e75e7c Hook up sensors API in libretro.
There are still many FIXMEs to be resolved before the interface
can lose its experimental status.
2013-11-03 12:06:14 +01:00
Squarepusher f666509e37 Merge pull request #371 from lioncash/master
[Android] Sort the cores in the CoreSelection activity alphabetically.
2013-11-02 20:17:24 -07:00
Lioncash 071b2c8e6a [Android] Document a large amount of the Android front-end classes (also some methods).
Also adjusted the tab indentation of the GPL waiver method, was one tab too far.
2013-11-02 23:15:56 -04:00
Lioncash d07d97e517 [Android] Sort the cores in the CoreSelection activity alphabetically. Also document the IconAdapter class, along with its IconAdapterItem interface. 2013-11-02 22:40:41 -04:00
Squarepusher c4268a1079 Merge pull request #370 from lioncash/master
[Android] Do checking for a valid core name in ModuleWrapper.
2013-11-02 19:17:55 -07:00
Lioncash dd8a57f26c [Android] Do checking for a valid core name in ModuleWrapper. Prevents a potential crash when random files are tossed in the cores folder. 2013-11-02 22:14:30 -04:00
twinaphex 5a466c064e (Android) Add FIXME to input_android.c 2013-11-03 01:34:01 +01:00
twinaphex c65670df31 (Android) Add parenheses around sensor mask conditionals 2013-11-03 00:31:24 +01:00
twinaphex c0e02d3957 (Android/General) Add preliminary sensor support to libretro API /
add accelerometer support to Android input driver
2013-11-03 00:27:58 +01:00
twinaphex 3e5489cc6e (Android) Build fix 2013-11-02 21:50:38 +01:00
twinaphex 3e8166bfa5 (Input) Add new function to input driver - get_capabilities 2013-11-02 21:16:57 +01:00
twinaphex 14ae3ca316 (Android) Don't do log spamming inside input event queue poll function 2013-11-02 18:59:17 +01:00
twinaphex 6b5b26614d (apk-extract Android) Don't verbosely log each file that is being
extracted
2013-11-02 18:47:04 +01:00
twinaphex 727dc76db8 (Console/Android) Init input driver from context driver/graphics
driver from now on - just like PC - input driver initing can be
hoisted out of global_drivers_init that way
2013-11-01 16:33:32 +01:00
twinaphex 297be8eb56 (Android andretro) get rid of andretro 2013-11-01 07:49:07 +01:00
twinaphex 334fe12d75 (Android Phoenix) Fix apostrophe - needs to be escaped 2013-11-01 03:17:48 +01:00
ToadKing 816f2f6d47 waiver text update 2013-10-31 21:06:37 -04:00
twinaphex 7021ada78f (Android) Add GPL license waiver dialog box - text will need further
refinement
2013-11-01 01:47:20 +01:00
twinaphex a8696e2506 (RSound) Bake in rsound for Android port - should also be possible
to bake it in by default for PC now - made librsound.c crossplatform
2013-11-01 00:07:52 +01:00
twinaphex dd68d46b4c (Android) Wrap pthread calls 2013-10-31 23:12:40 +01:00
twinaphex 8f3a404ff6 (Android Phoenix) RetroActivity - get rid of unused showToastAlert 2013-10-31 17:58:13 +01:00
twinaphex 8e33364cdc (Android Phoenix) Some cleanups in CoreSelection.java 2013-10-31 17:09:20 +01:00
twinaphex 0f67501354 (Android) Remove note about GPU requirements shaders 2013-10-31 17:04:49 +01:00
twinaphex ed72993745 (Android) Remove now obsolete libretro_cores.cfg 2013-10-31 17:00:42 +01:00
Lioncash 19b538a154 [Android | ModuleWrapper] Handle case where a core is added without an info file. 2013-10-31 11:51:23 -04:00
twinaphex 0e18087d2a (Android Phoenix) Fixed some issues with ModuleWrapper (Lioncash) 2013-10-31 15:59:12 +01:00
Squarepusher bf4a96d22f Merge pull request #363 from lioncash/core-manager
Core Manager + core info file support.
2013-10-31 07:18:31 -07:00
Lioncash a9cd6f8406 [Android] Fix accessibility scope of a field in KeyBindPreference.java. This doesn't need to be package-private, but private. It should not be able to be directly accessed. 2013-10-31 07:58:09 -04:00
Lioncash 0cd372c3c0 [Android] Validate constructor parameters in ConfigFile. 2013-10-31 07:50:05 -04:00
Lioncash 03260c3e6f [Android] Change ConfigFile's get[x] methods to throw IllegalArgumentExceptions instead on NumberFormatExceptions. It was incorrect to throw that exception, since it had nothing to do with how the number was formatted in the string.
If a number formatting problem occurred, [type object].parse[type]() methods would throw a NumberFormatException.

Also fixed a slight typo in CoreManagerActivity.
2013-10-31 07:45:09 -04:00
Lioncash e11b678ddd [Android] Readability cleanup in IconAdapter.java. 2013-10-31 05:06:31 -04:00
Lioncash 97c1745909 Revert "[Android] Move the main activity to use Fragments."
This is pretty pointless at the moment actually.

This reverts commit bfdc1e0e60.

- Keeps some modifications to the MainMenuActivity. Most notably the title string retains itself upon orientation changes.
- Also fix some bugs in the PreferenceListFragment. Most notably, the handler message not being removed.
2013-10-31 04:59:24 -04:00
Lioncash bfdc1e0e60 [Android] Move the main activity to use Fragments.
Cleaned up the main activity as well.
2013-10-31 04:00:33 -04:00
Lioncash 7c07e35f4a [Android] Implement info file support for Android. Also modified the core manager to adapt to this.
- Added JavaDoc to ModuleWrapper and ConfigFile as well.
- Did some tiny simplifications with ConfigFile.java
- Handle the IOExceptions with the parameterized constructor. The only reason this could fail is fail is if the InputStream suddenly closed for an arbitrary reason.
2013-10-31 01:54:42 -04:00
Lioncash 490f35a6c3 [Android] InstalledCoresFragment is now functional. Complete with alphabetic sorting and the ability to uninstall cores. 2013-10-30 18:20:50 -04:00
twinaphex 559a91ff1f (Android Phoenix) Clean up two warnings 2013-10-30 23:20:07 +01:00
Lioncash 8453002ee0 [Android] Initial skeleton for the core manager. Not functional yet. 2013-10-30 00:55:41 -04:00
twinaphex e51cecbff4 (create-ouya-project.sh) Script is useless now 2013-10-30 03:33:08 +01:00
twinaphex 967e1e2846 (Android) Change packagename from org.retroarch to com.retroarch 2013-10-30 03:06:54 +01:00
Squarepusher b558f258dc Update Building in Eclipse.md 2013-10-30 02:46:22 +01:00
twinaphex 0952c88ec2 (Android Java) update libretro_cores.cfg (note to Lioncash - we
should be getting rid of this file short-term and using the core
info files directly from the Java frontend instead)
2013-10-30 02:19:06 +01:00
twinaphex 6a449e898d (Android Java) Disregard 'libretro_' prefix - should just add all
cores it can find in assets/cores
2013-10-30 01:16:28 +01:00
twinaphex 9e4b672634 Move cores to an 'asset' folder - create a directory in phoenix/assets folder,
call it 'cores', move all the cores there. The APK extract and retroarch activity
libraries still need to remain in phoenix/libs. This will allow Lioncash to make
his core manager be able to uninstall cores etc.
2013-10-30 01:07:49 +01:00
Squarepusher 3bae1122de Update Building in Eclipse.md 2013-10-23 10:42:24 +02:00
Chris Merrett 3ec7065238 Added Android support for cheap G910 gamepad. 2013-10-22 22:31:48 +01:00
twinaphex d2c87e3039 Convert most C99-style for loop initial declarations to C89-compliant
ones
2013-10-22 15:08:17 +02:00
Lioncash 14992ea911 [Android] Update the documentation with better Eclipse instructions. 2013-10-21 22:27:19 -04:00
Lioncash eec6faf7a1 [Android] Update documentation to explain how to build the JNI portions of the Android front-end. 2013-10-21 22:02:33 -04:00
ToadKing 57677f8d2a [ANDROID] fix compile on windows
broken make in android toolkit can't have paths with colons in LOCAL_SRC_FILES, just assume we're getting called from the right directory
2013-10-21 21:38:54 -04:00
Lioncash 21f7b63417 [Android] Revise core location in Building in Eclipse.md 2013-10-21 21:05:36 -04:00
Lioncash e225bc087f [Android] Fix the markdown syntax for the numeric list in the build instructions. Also minor text change. 2013-10-19 23:10:41 -04:00
Lioncash 6273928755 [Android] Update the build instruction file for Android on where to place built cores. 2013-10-19 23:05:35 -04:00
Lioncash e6917787ee [Android] Place the ListPreference for aspect ratio at the top of its PreferenceCategory. Makes it look cleaner in terms of how the preferences are laid out. 2013-10-17 02:05:08 -04:00
Lioncash 7c0f177090 [Android] Edit a string so it fits the preferences better. 2013-10-17 01:51:17 -04:00
Lioncash c26a6f8015 [Android] Clarify the preference categories in the XML better. 2013-10-17 01:46:14 -04:00
Lioncash 783f493252 [Android] Remove a pointless throws for IOException in ModuleWrapper. There's no way an I/O exception can be thrown in this constructor. 2013-10-15 23:07:36 -04:00
Lioncash d3c96cfaed [Android] Remove R.java and BuildConfig.java from the appcompat lib. These are generated files, so there's no need to keep them in the repo. They will be regenerated upon builds. 2013-10-15 11:31:36 -04:00
Lioncash e622fc9f4d [Android] Remove the need for RefreshRateSetOS. This can be done with a preference listener within VideoPreferenceFragment. 2013-10-15 10:54:40 -04:00
Lioncash b1a48dea51 [Android] Remove the need for IMEActivity. We can also do this within InputPreferenceFragment. 2013-10-15 10:40:15 -04:00
Lioncash 9121aea91e [Android] Eliminate the need for the ReportIME activity. We can just add a listener for the preference within InputPreferenceFragment. 2013-10-15 10:28:02 -04:00
Lioncash 34e447cd4d [Android] No need to get the base context in ShaderActivity.java for getting application info. Since ShaderActivity.java is (obviously) an Activity. It can act as it's own Context. 2013-10-15 03:12:15 -04:00
Themaister 773295cb28 Move jni stuff to NativeInterface.
Makes it more generic and extensible for the future.
2013-10-14 23:27:18 +02:00
Themaister b5c733f692 Do config readback immediately after running.
Avoids potential issue where game is started right after exiting again.
2013-10-14 23:11:08 +02:00
Themaister 0d1c394325 Flush config to disk after device detection. 2013-10-14 22:45:06 +02:00
Squarepusher 9baba0fc8a Merge pull request #341 from libretro/apk-extract
Extract APK assets from native code
2013-10-14 12:21:44 -07:00
Themaister 960780277a Drop some now useless code. 2013-10-14 21:14:55 +02:00
Themaister 644d45106e Style nit. 2013-10-14 21:09:49 +02:00
Themaister 7df4500024 Use native side asset extraction. 2013-10-14 21:08:41 +02:00
Squarepusher 7df9f53d4f Merge pull request #340 from lioncash/master
[Android] Disable the preference "Automatically detect audio latency" if the Android device running RetroArch is less than Android 4.1.
2013-10-14 10:10:58 -07:00
Lioncash 1cb397dac7 [Android] Disable the preference "Automatically detect audio latency" if the Android device running RetroArch is less than Android 4.1. Auto detection won't work on those below it. 2013-10-14 11:57:53 -04:00
twinaphex 8b58c39cad (libretro_cores.cfg / Android) Change mupen64 name 2013-10-14 11:34:29 +02:00
twinaphex 2b7c2a7185 (Android Phoenix) Add mupen64 entry to libretro_cores.cfg 2013-10-14 11:22:20 +02:00
Squarepusher c0d4f3275d Merge pull request #338 from lioncash/master
Move the settings menu over to one menu, while also being Fragment based.
2013-10-13 20:06:52 -07:00
Lioncash fba46e5e2f [Android] Re-organize config loading so it's neater. 2013-10-13 22:52:14 -04:00
Lioncash 39280b5535 [Android] Remove implementation of OnPreferenceAttachedListener from PreferenceActivity. Not necessary. 2013-10-13 22:48:31 -04:00
Lioncash aa36ba9fad [Android] Update the config file whenever a preference within SharedPreferences has been changed. 2013-10-13 22:06:54 -04:00
ToadKing 73bb9d23e0 add intent and icon for Ouya 2013-10-13 20:48:17 -04:00
ToadKing ca2e2f239a add tool for making Ouya version (needs different package name) 2013-10-12 21:05:08 -04:00
Lioncash 8efd5e47c6 [Android] Add a basic Readme.md to the Android front-end project. 2013-10-11 19:28:35 -04:00
Lioncash 2f74173154 [Android] Add a doc on how to import the project into Eclipse. 2013-10-11 19:19:28 -04:00
Lioncash 6787c3b674 [Android] Remove an unused import. 2013-10-11 18:55:30 -04:00
Lioncash 2770b23e9f [Android] Add a handler for the global config CheckBoxPreference. 2013-10-11 18:48:12 -04:00
Lioncash 1105304df5 [Android] Also update the config if the settings activity gets paused. 2013-10-11 18:22:33 -04:00
Lioncash 8c7437f74f [Android] Save to the config file upon leaving the settings activity. 2013-10-11 18:18:59 -04:00
Lioncash ce42fccdc7 [Android] Very large reworking of the preferences. It uses fragments to handle preferences, not to mention the entirety of the preferences has been moved into a viewpager/tab-nav combo.
This commit breaks per-core configs. Will be fixed very soon.
2013-10-11 17:41:22 -04:00
Lioncash 0977f6dc9f [Android] Fix variable accessibility within BackStackItem. These aren't used outside of the class, so they should be made private. 2013-10-11 12:04:34 -04:00
Lioncash b69059629b [Android] Use accessors with FileWrapper.java. Maintains encapsulation. Also make FileWrapper.java implement Comparable, since it already implements compareTo. 2013-10-11 11:58:19 -04:00
Lioncash 4b3f15c904 [Android] Simplify how ListActivities set their adapters. Since they are ListActivities, there is an underlying method for setting the adapters (setListAdapter()), so now we can remove calls that get the ListView object, since we don't need to directly access them now. 2013-10-11 10:42:11 -04:00
Squarepusher c23fc0546c Merge pull request #331 from lioncash/master
[Android] Minor changes
2013-10-10 08:25:55 -07:00
twinaphex 33de14a6ca Revert "(Android) Some preliminary changes for new libretro core naming convention - still not"
This reverts commit 1bcf1afc9e.

Conflicts:
	android/phoenix/src/org/retroarch/browser/CoreSelection.java
2013-10-10 16:49:27 +02:00
twinaphex 6f0018b16e Revert "(Android) Some preliminary changes for new libretro core naming convention - still not"
This reverts commit 1bcf1afc9e.

Conflicts:
	android/phoenix/src/org/retroarch/browser/CoreSelection.java
2013-10-10 16:47:44 +02:00
twinaphex f35fc9e1f7 Revert "(Android) Changes for filename naming convention changes"
This reverts commit d9b909aadb.
2013-10-10 16:47:19 +02:00
Lioncash e177f6f35a [Android] Add comments to prefs.xml to clarify which section starts where within the XML. 2013-10-10 10:31:03 -04:00
Lioncash 6b5f21479e [Android] No need to call flush() before closing a stream. close() calls the flush method before actually closing the stream. 2013-10-10 10:12:09 -04:00
Lioncash 05f6226544 [Android] Made it unnecessary for HistorySelection.java, CoreSelection.java, and DirectoryActivity.java to implement an AdapterView. Since these now extend ListActivity, they can just override the method onListItemClick(). 2013-10-10 02:39:01 -04:00
Lioncash 5df0f7e2d1 [Android] Made DirectoryActivity extend a ListActivity, since that's basically what its purpose is - to act as a list view. 2013-10-10 02:27:58 -04:00
twinaphex d9b909aadb (Android) Changes for filename naming convention changes 2013-10-10 04:25:32 +02:00
twinaphex 1bcf1afc9e (Android) Some preliminary changes for new libretro core naming convention - still not
working here
2013-10-10 03:41:53 +02:00
Lioncash 99de59d71e [Android] Missed a string key within updateConfigFile in UserPreferences.java. Fixed that. 2013-10-09 00:48:55 -04:00
Lioncash e71bce0cbd [Android] Simplify LayoutInflater retrieval for KeyBindPreference.java and SeekbarPreference.java.
Simplify application info retrieval in OverlayActivity.java.
2013-10-09 00:26:07 -04:00
Lioncash 16127e046c [Android] Join declaration and assignment of a ConfigFile object in CoreSelection.java. Also made two variables final. 2013-10-08 23:54:52 -04:00
Lioncash a16be6af65 [Android] Remove a redundant context variable in ReportIME.java. 2013-10-08 23:52:10 -04:00
Lioncash 2464e30ca5 [Android] Bump the application manifest targetSDKVersion tag from 17 to 18, since 4.3 is the latest API level. 2013-10-08 23:45:11 -04:00
Lioncash 84ee7658c2 [Android] Simplify another conversion of a double to a String within DisplayRefreshRateTest.java. Removed an unused import from RefreshRateSetOS.java. 2013-10-08 23:39:10 -04:00
Lioncash 73f97281fe [Android] Simplify WindowManager retrieval within RefreshRateSetOS.java. Also simplified the conversion of a double to a String.
No need to first turn the double into the object Double. Double has a toString() method for this.
2013-10-08 23:33:00 -04:00
Lioncash ac2c9840ff [Android] Simplify LayoutInflater retrieval within IconAdapter.java. Also removed abstract from the methods within the interface IconAdapterItem. Methods within an interface are implicitly abstract.
Joined the declaration and assignment of an Intent within HistorySelection.java.
2013-10-08 23:30:15 -04:00
Lioncash 8fb23d0fcc [Android] Very minor clean-up in MainMenuActivity.java and CoreSelection.java. 2013-10-08 23:11:46 -04:00
Lioncash c7ff040bf3 [Android] Get rid of getPreferences from MainMenuActivity.java. No longer needed. Now located within UserPreferences.java. 2013-10-08 23:05:54 -04:00
Lioncash 8112c1e36f [Android] Move readCPUInfo into UserPreferences.java. Also, a little bit of documentation in UserPreferences.java. 2013-10-08 22:55:07 -04:00
Lioncash da6b6f4f50 [Android] Remove some functions I missed when cleaning up MainMenuActivity.java. These are moved into UserPreferences. They aren't needed in here any more. 2013-10-08 22:22:40 -04:00
Lioncash ed649b44ab [Android] Initial implementation of new UserPreferences. Unifies preference loading and saving into one central class and moves it out of the MainMenuActivity.java. 2013-10-08 22:11:29 -04:00
Lioncash 010e691993 [Android most of new UserPreferences class finish. Not implemented however. 2013-10-08 20:52:44 -04:00
Lioncash 348cdb32b6 Fix a typo in the class name checking in function startActivity in MainMenuActivity.java. 2013-10-08 19:53:26 -04:00
Lioncash 1cc576b20f [Android] Clean up the manifest a little. 2013-10-08 19:51:37 -04:00
Lioncash 547219c244 [Android] Put the directory activities into a separate package to keep them separate from the rest of the files. Do the same for preference classes as well. 2013-10-08 19:50:23 -04:00
Lioncash f1b6f95c40 [Android] Get rid of a typecast om ConfigFile.java. 2013-10-08 19:25:40 -04:00
twinaphex abb829283b Take out messy Dpad emulation code - this will require an entire
rewrite where we come up with a solution that works the same across
console/PC/mobile
2013-10-05 20:55:37 +00:00
twinaphex f44d6f3526 Add more info files 2013-10-05 03:55:22 +00:00
Lioncash 0d869aa768 [Android] Simplify conditional statement within DirectoryActivity.java. This is already checked through the allowFile variable. So if that is true, then it's sensible to assume this is true as well. 2013-09-27 09:38:19 -04:00
Lioncash 4718bc63af Catch a more specific exception in HistoryWrapper.java. The only possible exception that can be thrown here is IndexOutOfBoundsException. 2013-09-27 09:02:22 -04:00
Lioncash 1f6161b45e Missed one string in DisplayRefreshRateTest.java. Now everything that matters should be within strings.xml now. 2013-09-27 02:30:38 -04:00
Lioncash 9310e1face RetroArch now fully capable of multi-language support. 2013-09-27 02:24:46 -04:00
Lioncash a33863f0f2 Initial basic multi-language support. 2013-09-27 00:58:05 -04:00
Lioncash a04e2ff11a Use a precomposed ellipsis for the asset extraction string in strings.xml 2013-09-27 00:24:53 -04:00
Lioncash 68b252da75 Remove non-existant activities from the manifest. 2013-09-27 00:16:16 -04:00
Lioncash be32d28dcd Generic cleanup and simplifications.
Just some really generic things that simplify existing code among other things.
2013-09-27 00:13:37 -04:00
Lioncash 14c3892208 Make classes which are not extended final. This gives a clear indication of such. 2013-09-27 00:00:51 -04:00
twinaphex 387701b55e (Android) Bump up version code - add more descriptions for cores 2013-09-23 03:54:28 +02:00
twinaphex 737520143f (Android) Add FC30 Gamepad to autodetection list (untested) 2013-09-19 02:13:34 +02:00
twinaphex a36f7a6b9a (Anroid) Add Wikipad (untested/preliminary) to autodetection list 2013-09-19 02:07:49 +02:00
twinaphex 650c6f4885 (Android) Add Much iReadGo i5 to autodetection list 2013-09-19 01:35:59 +02:00
Themaister 8489440d7e Use Integer.parseInt. 2013-09-14 15:46:19 +02:00
twinaphex ac9e0025e2 (Android Phoenix) Add 96ms audio latency option as well 2013-09-14 15:03:20 +02:00
twinaphex 7683efcec4 (Android) Set ANALOG_DPAD_NONE for Xperia Play 2013-09-14 14:55:09 +02:00
twinaphex 0245f926d1 (Android Phoenix) Set configurable audio latency 2013-09-13 15:57:13 +02:00
twinaphex e6f527e992 (Android Phoenix) Add ability to set automatic audio latency option on/off 2013-09-13 15:17:57 +02:00
twinaphex 847f7f8d05 (Android Phoenix) Set video_threaded to false and set refresh rate of 59.19Hz for Xperia
Play
2013-09-12 20:02:36 +02:00
twinaphex 0d873654cc (Android Phoenix) Add Xperia Play detection based on MODEL string 2013-09-11 14:07:54 +02:00
twinaphex 0b45fb1483 (Android Phoenix) Set default values for ListPreferences 2013-09-11 11:00:43 +02:00
ToadKing ad7c442e8c [Android] bump version number 2013-09-09 19:28:50 -04:00
Cray Elliott ba095dca79 Fix compilation error introduced by analog overlay changes 2013-09-06 01:43:55 -07:00
twinaphex ead5a3b3ac (Android) comment readBackInt for input_back_behavior - this crashes hard for now 2013-08-28 02:12:40 +02:00
twinaphex 72057ab9be (Android Phoenix) Add readBackInt - now saves input_back_behavior for per-core
config as well
2013-08-26 00:21:09 +02:00
twinaphex da8b19c25c (Android Phoenix) Add some TODO notes to settings saving and add
an entry to per-core config state
2013-08-26 00:11:34 +02:00
twinaphex 7ad663c5f2 Get rid of RARCH_PERFORMANCE_MODE everywhere 2013-08-25 22:21:23 +02:00
twinaphex 8f72a8aa46 (Android Java) Apply setCoreTitle even when per-core configs is not enabled 2013-08-24 20:24:40 +02:00
twinaphex fa32fca53d (Android Java) Add some more settings to per-core config 2013-08-24 17:30:09 +02:00
twinaphex a1abd8aaa7 (Android Java) Add readBackFloat 2013-08-24 16:39:23 +02:00
twinaphex 23faaba1f1 (Android) Add getFloat/setFloat to ConfigFile.java 2013-08-24 16:37:04 +02:00
Themaister b6539dc879 Initial start for per-core configs.
Dirty, but only real way to do this on Android it seems.
2013-08-24 16:26:19 +02:00
Themaister fbc0b8f0eb Minor code cleanups. 2013-08-24 15:13:44 +02:00
Themaister ae5221947a IME config fixups. 2013-08-24 12:52:47 +02:00
Themaister 73cb566620 "Revert" audio buffer behavior on Android.
Add audio_block_frames setting (only used by OpenSL atm).
2013-08-24 12:04:47 +02:00
twinaphex 692f8892aa (Android) Add fallback for API level 17 audio buffer size path if
high audio latency is enabled
2013-08-24 05:22:25 +02:00
twinaphex d13542f12b (Android) Detects buffer size properly now on Android 4.2 and up -
bases requested latency on this. Old fallback applies for non-4.2
2013-08-24 05:10:14 +02:00
ToadKing 0cdd3de835 [Android] make Ouya controller reports itself as dual analog 2013-08-22 20:24:47 -04:00
ToadKing 0fea1c9473 [Android] handle certain "special" buttons on some controllers better, fixes menu button on Ouya controller 2013-08-22 18:14:10 -04:00
Themaister 6ab81b648e Style nits. 2013-08-21 18:57:27 +02:00
zevektor 8b0124ba2a Load roms from external app - #3 2013-08-21 14:08:06 +02:00
zevektor 6deb38c07d Checks on load rom from external app changed. 2013-08-21 14:04:43 +02:00
zevektor f854f47855 Fixed bug when back button is pressed. 2013-08-21 12:57:40 +02:00
zevektor fe84dbb121 Fixes 2013-08-21 12:46:57 +02:00
zevektor 56674fb7f0 Allow to load roms from external apps. 2013-08-19 23:23:39 +02:00
twinaphex 02600424eb (Android) Set RetroActivity to android:exported="true" 2013-08-19 15:55:53 +02:00
twinaphex 220411be67 (Android Phoenix) Preliminary per-core config settings - maister:
things like ROM path don't currently work correctly per core when
configured individually - please look at it
2013-08-19 01:14:01 +02:00
twinaphex 05ae971aae (Android) We now select a core first with 'Load Core', then select a game.
Opens the door for per-core config files - also remembers the core from the
last previous session
2013-08-18 21:02:41 +02:00
twinaphex 8b8e33ed92 (Android) Take out context menu in CoreSelection - also reduces code bloat
- IME selector should go in Input Settings menu
2013-08-18 18:20:50 +02:00
twinaphex 6018b4b9de (Android) Set GameMID analog mode to 'Dual analog' at startup 2013-08-18 07:12:23 +02:00
twinaphex 744d2d169e (Android Phoenix) Take out 'welcome to Android' popup 2013-08-18 03:04:03 +02:00
twinaphex 7f480342a4 (Android Phoenix) Add GameMID BT autodetection 2013-08-17 23:36:04 +02:00
twinaphex 849c14d8a2 (Android) Bumped up to r22 2013-08-16 17:07:09 +02:00
Themaister c539b82a70 Display dialog title. 2013-08-16 15:46:37 +02:00
Themaister dd2d8009ca Add ProgressBar for asset extraction. 2013-08-16 14:46:36 +02:00
Themaister 2dcc133cab Wait for asset thread when selecting overlay and/or shader. 2013-08-16 12:25:34 +02:00
Themaister 758dc7e196 Add Load Game (History) to Android frontend.
Also cleanup core selection list a bit to be more readable.
2013-08-16 12:16:19 +02:00
twinaphex 963f206456 Bump to version 0.9.9.6 2013-08-16 03:57:29 +02:00
twinaphex fc564c2bd6 Add 0.9.9.5 changelog 2013-08-15 00:57:13 +02:00
twinaphex 6de6a793ab (Android Phoenix) Include popup about asset extraction
Bump up to version 0.9.9.5
2013-08-15 00:13:08 +02:00
twinaphex b0799be6ba (Android Phoenix) Set default libretro path (for TV Mode) 2013-08-14 22:18:23 +02:00
twinaphex 39edc5379b (Android Phoenix) Cleanups - reuse instance from MainMenuActivity to get application
info stuff
(Android Phoenix) TV Mode now creates a default config file if one wasn't there
already - makes it work from startup
2013-08-14 14:54:02 +02:00
twinaphex 0bbd9699b4 (Android Phoenix) TV Mode now loads the config file 2013-08-14 04:27:44 +02:00
twinaphex 6fd04e1e0e (Android Phoenix) Add TV mode - boot straight into RGUI 2013-08-14 04:17:30 +02:00
twinaphex 0dde2ce7c4 Add bsnes performance module info files 2013-08-14 03:59:11 +02:00
twinaphex b0644e2f71 (Android Phoenix) Close CoreSelection activity after having launched a game 2013-08-13 20:26:21 +02:00
twinaphex 8286e30b6b (Android Phoenix) Some cleanups to CoreSelection.java 2013-08-13 19:27:13 +02:00
twinaphex 255f21fb88 (Android) Autodetection - Fixes face buttons on PS3 pad 2013-08-13 00:00:00 +02:00
twinaphex 5a2a89a8db (Android Phoenix) Separate java classfile for FileWrapper
(Android) Bind menu button to RGUI for 360 pad
2013-08-12 23:32:02 +02:00
Themaister cd1681b1fb Clean up dpad emulation.
Avoid crufty and broken dpad_state. Use g_settings.input.axis_threshold
option.
2013-08-12 22:24:26 +02:00
Themaister 16ca310f93 Add high latency audio support for Android.
Should fix ghetto hardware again.
2013-08-12 20:13:06 +02:00
twinaphex 3122dbf4e6 (Android Phoenix) Update string somewhat to reflect that Ouya
doesn't have Google Play installed
2013-08-12 18:54:27 +02:00
twinaphex a7b8bfc020 (Android Phoenix) Add Ouya autodetection rules - should disable
input overlay at startup and setup input_autodetect to true
2013-08-12 18:53:17 +02:00
twinaphex fc4a6b6250 (Android Phoenix) Rename RetroArch.java to CoreSelection.java 2013-08-12 18:48:07 +02:00
twinaphex 647a423aa4 (Android Phoenix) Split up menu classes into separate .java files 2013-08-12 17:43:27 +02:00
twinaphex 7abe27de81 (Android Java) Create separate class for ReportIME 2013-08-12 05:51:33 +02:00
twinaphex b142cae10a (Android Java) Split ModuleWrapper class off into separate .java file 2013-08-12 05:19:39 +02:00
twinaphex f17fd23ad0 (Android Java) Remove Report Refreshrate 2013-08-12 02:08:54 +02:00
twinaphex b6370d2441 (Android Java) Set threaded video to default - Shield/Nexus 7 2013 now simply an
'OK' messagebox
2013-08-12 01:51:49 +02:00
twinaphex 996c7e4def (Android Phoenix) Simplify detection messages 2013-08-11 06:13:20 +02:00
twinaphex 15a38dfb27 (Android) Make beginning popup a 'welcome message' and no longer ask about
choosing between threaded video and static sync - just mention static sync
but that's it - enable threaded video by default.
2013-08-11 05:38:59 +02:00
twinaphex f62d15a3b3 (Android Java) Move functionality over to main menu 2013-08-10 23:53:37 +02:00
twinaphex b8ca1323a9 (Phoenix Android) Clean up UI 2013-08-10 22:58:04 +02:00
twinaphex b33d4d29d2 (Android) Standardize overlays and shaders directories for Android - now uses
the same named directories as iOS/Blackberry ports - lower-case folders (overlays and shaders_glsl)
2013-08-10 18:45:19 +02:00
twinaphex 314947844d (Android) Last v0.9.9.4 push 2013-08-08 00:33:07 +02:00
twinaphex 16d618a4d6 (Android Phoenix) Change name 'Two modes of play - pick one' 2013-08-07 06:36:47 +02:00
twinaphex 44e5accc9b (Android) Threaded video now default option, static syncing secondary 2013-08-07 06:35:22 +02:00
twinaphex 56975f8ee0 Add showToastAlert from Tegra Subactivity 2013-08-07 03:33:58 +02:00
twinaphex 0c6c7bf743 (Android) Bump up version 2013-08-07 03:32:54 +02:00
twinaphex 528b499817 (Android) Add "ideal" refresh rate autoconfigure for Nexus 7 2013 2013-08-07 01:21:00 +02:00
twinaphex 95cf04f1e1 (Android) Add iPega PG9017 Mode 2 autodetection 2013-08-07 01:12:46 +02:00
twinaphex a12558d554 (Android) Add DUALANALOG for WiseGroup PS2 pads 2013-08-07 00:19:55 +02:00
twinaphex 646c387d39 (Android) Logitech Rumblepad 2 - Have analogs work 2013-08-06 23:57:50 +02:00
twinaphex 2c2b8b3a3e (Android) 360 pad should now have working true analog support -
also fixed back button from not invoking AKEYCODE_BACK
2013-08-06 23:14:24 +02:00
twinaphex f72488754f (PS3 Ver. 2) Swap X/Y buttons 2013-08-06 18:38:09 +02:00
twinaphex 9a2ca1eb9e (Shield) Autoconfigures 60Hz refreshrate, input ovelay disable
and input autodetect enable correctly now
2013-08-05 23:56:59 +02:00
twinaphex c84a61d83f (Android Java) Add more core descriptions
(Android Java) Take out non-working Shield autoconfiguration stuff for now
2013-08-05 23:00:01 +02:00
twinaphex 8dc60fc3d5 (Android/Shield) Improve device detection/autoconfiguration - refresh rate still not
set correctly I think
2013-08-02 15:17:41 +02:00
twinaphex 66b4510237 (Android/Shield) Add optimal settings option 2013-08-02 14:58:51 +02:00
twinaphex 5699a63091 (Shield) Bind Start button to RGUI toggle 2013-08-02 11:01:37 +02:00
twinaphex 3202057c3f (Shield) Bind R3 button 2013-08-02 01:34:31 +02:00
Themaister 4443201dc9 Use data dir and not cache dir.
Cache dir is volatile and can be cleaned out by OS at any minute.
2013-08-02 01:20:53 +02:00
twinaphex 0c491e41e3 (Shield) Bind proper Start button 2013-08-02 01:20:04 +02:00
Themaister bcd3848b1f Fix Shield analogs. 2013-08-01 20:05:26 +02:00
Themaister 681d24ee3a Reword XML shaders to GLSL shaders. 2013-08-01 20:05:15 +02:00
Themaister b51fca8411 Fix X/Y on Shield. 2013-08-01 20:04:36 +02:00
Themaister 222fa8317a Initial support for nVidia Shield. 2013-08-01 20:04:18 +02:00
Themaister fa5e58ffb8 Fixup manifest.
Crashed with full org.retroarch. path.
2013-08-01 20:04:07 +02:00
twinaphex 32ca64e3a3 Attempt to solve Android ANR issues - found this -
https://developer.nvidia.com/content/nativeactivity-input-crashes-and-anrs-simple-fix-dangerous-bug
2013-07-29 15:13:02 +02:00
twinaphex 9fbece1f1c (Android) Change some autodetection logic 2013-07-28 17:59:35 +02:00
twinaphex a4850c1b57 (Android) Don't use JELLY_BEAN_MR1 constant as it wasn't available on
prior Android versions - use int keycode instead - also implemented
stub onTrimMemory/onLowMemory inside NativeActivity wrapper class
2013-07-18 13:27:30 +02:00
Squarepusher 81125baca4 Merge pull request #260 from Themaister/opensl-upstream
Fixes and tweaks for OpenSL
2013-07-17 15:10:31 -07:00
twinaphex 2f3254a23b (Android) Use NativeActivity wrapper 2013-07-18 00:09:22 +02:00
Themaister d8ee306b61 Check for hardware sampling rate automatically. 2013-07-17 22:48:18 +02:00
Themaister 88e59454a5 Use 44.1kHz audio on Android.
Should be toggleable (or use autodetect if present on Android 4.2+).
Fixes audio on Nexus 10 in my test case.
2013-07-17 22:48:03 +02:00
twinaphex d929ef9d11 (frontend.c) Fixes for RARCH_CONSOLE 2013-07-15 20:49:36 +02:00
twinaphex 34a8d0a44f (Andretro) Some changes 2013-07-14 22:03:04 +02:00
twinaphex 514cec5c08 (andretro) Remove redundant copy of libretro.h 2013-07-14 21:09:32 +02:00
twinaphex ac8448c844 (Android)Add meancoot's andretro frontend - will need some
heavy maintenance to make up-to-date again
2013-07-14 21:06:41 +02:00
dwihn0r 91af9c5f4f Added auto detection for the iControlPad when using the HID joystick profile and adjusted the iControlPad Bluez IME detection to look for the IME. 2013-07-14 10:06:10 +02:00
Squarepusher 37642ef46f Merge pull request #255 from Skylark13/master
Fixed iPega dpad issues
2013-07-12 03:00:52 -07:00
Jean-Sébastien Guay 630054d965 Clarified text for iPega in supported gamepads faq.
(nit) also closed a parenthesis in the Red Samurai text :-)
2013-07-11 22:21:09 -04:00
Jean-Sébastien Guay fd346bf1f4 - Fixed problem with iPega PG-9017 dpad. It sends AXIS_HAT_X / AXIS_HAT_Y motion events so we need to handle those if their returned axis values are nonzero. 2013-07-11 22:11:08 -04:00
robin007bond 41839c345a Update prefs.xml
Changed 'phone' to 'device', because RetroArch runs on tablets too.
2013-07-08 18:40:38 +02:00
twinaphex cf24c442df Update maintenance - define/update PACKAGE_VERSION only once
in general.h
2013-07-07 19:43:22 +02:00
Jean-Sébastien Guay 65cb65671f android/native/jni/input_android.c:
- Fixed off-by-one when using g_settings.input.icade_count to index in array of icade profiles. It has just been incremented...
- Added setting actual device names instead of generic "Broadcom Bluetooth HID" so the libretro menu shows it. Also added a bit of logging when detecting generic devices and selecting an icade profile.
- Fixed some wrong button assignments for iPega controller.
- Added a note about the dpad buttons not working, it's the next thing I want to fix.

android/phoenix/res/xml/prefs.xml:

- Fixed key names for icade profiles, input_autodetect_icade_profile_pad0 does not exist in the config as given in the root settings.c file, they start at 1.
2013-07-03 21:41:19 -04:00
twinaphex a1ecd68cdb (Android) Add Picodrive entry to libretro_cores.cfg 2013-06-30 05:14:21 +02:00
twinaphex 2a1290e70f (Android) r17 - 0.9.9.3 changelog
(Android) Change Ouya button binds
2013-06-28 21:46:07 +02:00
twinaphex 93b98a2e08 Bump up PACKAGE_VERSION to 0.9.9.3 2013-06-28 14:11:10 +02:00
twinaphex d0bd978142 (Android) Add JC U912F gamepad to autodetection list 2013-06-28 14:05:58 +02:00
littleguy77 4215200b1a (Android) Fix regression in Xperia Play controls
Regression introduced in commit
4fa8d0f3c6

Confirmed working on Xperia Play R800x (US Verizon model), stock
firmware, Gingerbread 2.3.3, no OTA updates, not rooted.
2013-06-25 18:14:36 -04:00
twinaphex c9928a0b8a Update readmes/etc for 0.9.9.2 2013-06-17 01:30:37 +02:00