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
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
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
2b01f0a33e
(Android) Add JXD S7800B autodetected controls
2013-11-29 15:10:39 +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
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