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
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
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
da8f8b6d63
Get rid of lifecycle_mode_state and use g_extern.lifecycle_state
...
instead
2013-11-07 21:44:44 +01:00
twinaphex
e3ebfbffa9
Rename frontend_android.h to platform_android.h
2013-11-03 17:02:40 +01:00
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
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
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
dd68d46b4c
(Android) Wrap pthread calls
2013-10-31 23:12:40 +01: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
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
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
twinaphex
7683efcec4
(Android) Set ANALOG_DPAD_NONE for Xperia Play
2013-09-14 14:55:09 +02:00
Cray Elliott
ba095dca79
Fix compilation error introduced by analog overlay changes
2013-09-06 01:43:55 -07: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
twinaphex
6018b4b9de
(Android) Set GameMID analog mode to 'Dual analog' at startup
2013-08-18 07:12:23 +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
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
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
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
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
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
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
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
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
2a1290e70f
(Android) r17 - 0.9.9.3 changelog
...
(Android) Change Ouya button binds
2013-06-28 21:46:07 +02:00