Commit Graph

510 Commits

Author SHA1 Message Date
twinaphex
bbf3f17b85 (Android) Properly implement input free function 2014-05-29 23:57:58 +02:00
twinaphex
cf3c3efcb8 (Android) Set optimization level to -O2 2014-05-15 12:35:09 +02:00
twinaphex
cb53d65fc3 Compile with HAVE_BUILTIN_FILTERS for Android - and some C90 build
fixes for filters. Note/FIXME: We need to get rid of the complex.h
dependency in the equalizer plugin
2014-05-03 04:59:35 +02:00
twinaphex
4dcf25b9d7 (Android) Fix JNI build 2014-04-30 03:31:49 +02:00
twinaphex
4942306fff Add HAVE_CC_RESAMPLER to nearly all targets 2014-04-20 04:17:18 +02:00
twinaphex
569de131a0 Move device enums outside of driver.h - and create new callback
for 'getting' the number of 'devices' the input driver supports
2014-04-17 20:47:43 +02:00
Themaister
927ffa7ea3 Revert "(Android) Build fix"
This reverts commit f7c2332c0d.
2014-04-16 01:19:18 +02:00
twinaphex
f7c2332c0d (Android) Build fix 2014-04-15 23:28:20 +02:00
Themaister
f2c78c36e3 [Android] Add support for GLES3 HW render. 2014-04-14 13:17:05 +02:00
LLeny
b528e8df1c Android - Samsung Game Pad EI-GP20 2014-04-04 14:17:39 +02:00
twinaphex
edcd7118ad Take out unused -DHAVE_VID_CONTEXT 2014-02-13 08:54:14 +01:00
Themaister
1082e1d74f Rename RETRO_DEVICE_ID_SENSOR* stuff.
It's no longer polled from input_state, so avoid confusion.
2014-01-20 17:16:25 +01:00
Themaister
87818e0326 Remove some references to accelerometer stuff. 2014-01-20 17:09:31 +01:00
twinaphex
7c95be2d26 (Android) Rewrite sensor functions slightly 2014-01-20 16:28:02 +01:00
twinaphex
9e9a701be3 (Android) (Input) Get rid of unused variable warnings 2014-01-20 15:01:40 +01:00
twinaphex
f7915ab55e Change param for get_sensor_input 2014-01-20 14:59:06 +01:00
twinaphex
460670f074 Move sensor value reading to retro_sensor_interface 2014-01-20 14:52:53 +01:00
Bezier89
2aee848163 Couple more changes 2014-01-12 15:14:08 -08:00
Bezier89
2bb6c4ddac Update input_android.c 2014-01-12 14:47:57 -08:00
Bezier89
031d3f829b Update input_android.c 2014-01-12 12:16:20 -08:00
Bezier89
d07c3a6e59 Update input_android.c 2014-01-12 12:10:54 -08:00
twinaphex
5b2ee14d78 (Android) Build in -lz from now on 2014-01-10 20:40:15 +01:00
Toad King
25a7f0c3cb [Android] work around input bind modifications, fixes custom binds
This is really ugly and should be fixed
2014-01-08 18:02:14 -05:00
Daehan Kim
370efca314 Better MUCH iReadGo i5 key mappings. 2014-01-07 02:19:28 -08:00
twinaphex
b20b6525d3 (Android) PendingIntent code created bad dependencies on Java frontend and
made it impossible for external clients like Dinothawr to use RetroArch
as a library
2014-01-04 05:36:08 +01:00
twinaphex
0a15a17d44 Update years on all license headers 2014-01-01 01:50:59 +01:00
twinaphex
5c6c88d9d6 (Android) Make some tweaks to input drivers for conformity 2013-12-28 03:44:37 +01:00
twinaphex
d974216890 (Android) Add -DHAVE_LOCATION 2013-12-19 05:16:48 +01:00
twinaphex
9ed2c1b9b6 (Android location) Implement all JNI calls in stub location driver -
hopefully this will work straight away (fingers crossed)
2013-12-19 05:10:56 +01:00
twinaphex
ec5153ab57 (Android) Build fix 2013-12-17 20:56:31 +01:00
AridRayne
8c23b0bd96 Added to copyright headers. 2013-12-16 08:46:38 -08:00
AridRayne
721fbeda7e Added an iCade profile for the Moga Hero Power controller, it might work
with other Moga controllers that have a HID mode.
2013-12-16 08:41:41 -08:00
AridRayne
30379e4abb Check AXIS_BRAKE and AXIS_GAS if AXIS_LTRIGGER and AXIS_RTRIGGER return
0. The Moga Hero Power specifically uses AXIS_BRAKE and AXIS_GAS
instead.
2013-12-16 08:08:06 -08:00
twinaphex
bfbebaf041 (Android) Add JXD S5110B Skelrom to input autodetect 2013-12-16 10:52:50 +01:00
twinaphex
7cd8f6c188 (Android) Change case sensitivity for detecting JXD S7800b controls 2013-11-30 17:23:18 +01:00
twinaphex
2b01f0a33e (Android) Add JXD S7800B autodetected controls 2013-11-29 15:10:39 +01:00
twinaphex
60baa25233 (Android) Move around cpufeatures.c/.h to performance/ 2013-11-27 22:57:49 +01:00
twinaphex
a7b34ec794 (Android) Implement all back behaviors 2013-11-26 13:41:33 +01:00
twinaphex
6c638f91f4 (Android) Big changes -
- both MainMenuActivity and RetroActivity are single instances now
- AKEYCODE_BACK gets eaten and onBackPressed in Java is triggered
- onBackPressed right now calls an instance of MainMenuActivity
(reuses the existing activity on the stack)
- User can switch back and forth between RetroActivity and MainMenuActivity
with AKEYCODE_BACK / Back button
- When a subsequent intent is launched after RetroActivity has already been
started up once, the pending intent gets passed to the existing RetroActivity
throug onNewIntent - in C land it will look every frame if an intent is pending - if it is, it will look up certain variables through JNI to launch a new game - or whatever it is that the intent wants to do
- With this we can now switch seamlessly between Android UI and RetroArch
itself.
2013-11-24 22:02:57 +01:00
twinaphex
47c8c26511 (Android) Simplify intent grabbing with JNI 2013-11-24 16:43:57 +01:00
twinaphex
37fce3c56e (Android) Move engine_handle_cmd from input_android.c to platform_android.c 2013-11-22 21:12:13 +01:00
twinaphex
d66d4f7263 (Android) have engine_handle_cmd take as argument void* 2013-11-22 17:41:45 +01:00
twinaphex
fead1faee5 (Android) Fix warnings when changing #if 1 to #if 0 2013-11-20 19:18:24 +01:00
twinaphex
4a816ac177 (Android) Put in #if 1 - Lioncash can change this to #if 0
to test Java-side back key handling
2013-11-20 19:14:02 +01:00
twinaphex
8c5679072c (Android) Implement JNI onBackPressed call 2013-11-20 19:00:21 +01:00
twinaphex
868de7d4ef (Android) jni_params struct -remove class_obj 2013-11-20 18:09:50 +01:00
twinaphex
87421d477c Clean up JNI: (...)
* pthread_key_create is used to set a destructor for every thread
created through jni_thread_getenv
* To grab a JNIEnv pointer - go through jni_thread_getenv
* jni_thread_getenv sets pthread_setspecific for the JNIEnv pointer
to bind destructor
* Reuse activity->vm everywhere instead of creating local pointer
copies
* Don't use DetachCurrentThread outside of platform_android's (new)
jni_thread_destruct function - the destructor will do this for us
now
2013-11-20 17:33:19 +01:00
ToadKing
104dafe53f [Android] fill in camera stub functions - needs testing, probably doesn't work yet 2013-11-17 21:48:49 -05:00
twinaphex
56a2b03e21 (Android) Input - Don't call AInputQueue_hasEvents on first iteration - it can return 0 even if events are queued up - leading to congestion issues 2013-11-18 01:21:26 +01:00
twinaphex
0c54da42e3 (Android JNI) jni_params - now also takes a submethod_name/submethod_signature 2013-11-18 00:52:26 +01:00