Commit Graph

255 Commits

Author SHA1 Message Date
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
twinaphex d0bd978142 (Android) Add JC U912F gamepad to autodetection list 2013-06-28 14:05:58 +02:00
twinaphex a5e3cf381d (Android) Swap around Start/Select for new Moga Universal driver
update
2013-06-16 18:37:13 +02:00
twinaphex ffe6d0c2df (Android) Add Onlive Wireless Controller to input autodetection
list
2013-06-16 18:32:46 +02:00
twinaphex 65c52b2adb (Android) Add Logitech Precision Gamepad to input autodetection list 2013-06-16 18:25:17 +02:00
twinaphex ef2406e8f6 (Android) Another Xperia Play hack
(Context) Context file changes to do with FPS reporting
2013-06-16 18:18:47 +02:00
twinaphex c129f1e2ce (Android) Tomee NES USB autodetection - swap around buttons A and B 2013-06-07 15:43:24 +02:00
twinaphex 713b3fc64e (Android) Add Defender Game Racer Classic to autodetection list 2013-06-06 12:30:02 +02:00
twinaphex 2eac87630d (Android) Build fix
(Android) Add GameMID to autodetection list
2013-06-04 11:14:14 +02:00
twinaphex cb84451542 (Android) Add Gamestop Wireless, Tomee NES USB, and Thrustmaster T Mini
Wireless to autodetection list
2013-05-26 01:13:24 +02:00
twinaphex 1458678dbc (Android) Add preliminary Ouya controller support 2013-05-13 10:38:43 +02:00
twinaphex b73edeb2c3 (Android) Add Sega Virtua Stick to input autodetection list 2013-03-30 08:56:46 +01:00
twinaphex e1a3159efc (Android) Bind F1 on keyboards to RGUI menu toggle 2013-03-17 17:54:59 +01:00
twinaphex ad2cd4e492 Revert "Remove platform-specific MAX_PADS - use global define MAX_PLAYERS"
This reverts commit fb1355b975.
2013-03-16 17:51:45 +01:00
twinaphex fb1355b975 Remove platform-specific MAX_PADS - use global define MAX_PLAYERS
instead and customize it for certain ports
2013-03-16 17:13:28 +01:00
twinaphex 0166ce4585 (RGUI) RGUI input code now no longer GEKKO-specific 2013-03-15 01:22:52 +01:00
twinaphex ede829c354 Refactor set_default_keybinds callback into set_keybinds - remove
set_analog_dpad_mapping and have it go through set_keybinds - expand
functionality of set_keybinds
2013-03-14 02:24:57 +01:00
twinaphex 4fa8d0f3c6 (Android) Rewritten input_autodetect- now implements set_default_keybinds 2013-03-13 23:17:33 +01:00
twinaphex d7130d58f6 Move set_default_keybinds upstream (no longer ifdeffed RARCH_CONSOLE) 2013-03-13 16:33:39 +01:00
twinaphex d9c3a99d0b Update some credits 2013-03-11 07:13:11 +01:00
ToadKing 194a0bbe7d (Android) fix back button's menu behavior 2013-03-10 20:45:37 -04:00
twinaphex 0b6e5a6388 Rename RARCH_RMENU_TOGGLE to RARCH_MENU_TOGGLE 2013-03-09 16:14:26 +01:00
twinaphex 845e09b3cf (Android) Remove getAxis 2013-03-08 23:29:10 +01:00
ToadKing 18ec422901 fix back button not opening menu all the time 2013-03-08 15:32:27 -05:00
twinaphex a23bc3a13f Control flow change for RGUI/RMENU - no longer have to invoke RARCH_QUIT_KEY to toggle menu 2013-03-07 19:02:44 +01:00
twinaphex f921f628d9 (Android) Flush RARCH_RMENU_TOGGLE state for every input frame 2013-03-07 16:29:11 +01:00
twinaphex 6899434609 (Android) Add back button behavior option 2013-03-07 15:21:17 +01:00
twinaphex b0b52f1a3c (Android) Hook up PS Button to RGUI toggle 2013-03-05 18:02:06 +01:00
twinaphex 2c44563dba Brings up RMenu now for me 2013-03-04 17:26:34 +01:00
twinaphex 5c16cff2e7 Merge branch 'android-rgui' of https://github.com/Themaister/RetroArch into android-rgui
Conflicts:
	android/native/jni/input_android.c
2013-03-04 17:00:43 +01:00
twinaphex c2a78e86d1 (Android) Check explicitly for either LOOPER_ID_INPUT or LOOPER_ID_MAIN
in anroid_input_poll
2013-03-04 16:15:58 +01:00
twinaphex 2e68c61ea6 (Android) Make engine_handle_input a part of android_input_poll 2013-03-04 15:52:09 +01:00
twinaphex 1124ac8494 Make android_handle_events an implementation of input_poll function -
rely on HAVE_ASYNC_POLL whether or not input_async_poll_func or
input_poll_func is 'blanked out'
2013-03-04 14:12:04 +01:00
twinaphex e1d02ba837 (Android) Make function pointer engine_handle_dpad - use AMotionEven_getAxisValue
if we can use it (on Android 4.0 and up)
2013-03-04 11:18:22 +01:00
twinaphex 7fbe742d3d (Android) Dpad deadzones now configurable per pad 2013-03-04 02:19:11 +01:00
twinaphex b236fb47bf (Android) Better pad directional macros 2013-03-04 00:08:55 +01:00
twinaphex d79d15c79d (Android) Add AMotionEvent_getAxisValue dlsym hack - wll properly make
this suitable for Android 4.0 and up later
2013-03-03 23:17:16 +01:00
twinaphex 0f16bddb02 (Android) Try to do engine_handle_input more or less exactly like
this (xcept for 'predispatch events' which caused issues on Xperia
Play apparently) - http://ps3computing.blogspot.nl/2012/12/anr-application-not-responding.html
2013-03-03 20:57:14 +01:00
twinaphex afa04bd376 (Android) Make engine_handle_input inline 2013-03-03 20:45:13 +01:00
twinaphex ebd8b29399 (Android) Move android_handle_event to input_android.c 2013-03-03 20:17:00 +01:00
twinaphex 38ca77a8eb (Android) Nit 2013-03-03 13:27:26 +01:00
twinaphex 28c9f51913 (Android) Rewrite new input code some more 2013-03-03 11:22:59 +01:00
twinaphex ec114db356 (Android) Reimplemented input loop - better throughput/latency 2013-03-02 23:53:06 +01:00
twinaphex ff88dc759c (Android) Start moving most input code to input_android.c - split
up main input logic into engine_handle_input
2013-03-02 22:56:58 +01:00
twinaphex 857609b739 (Android) Solves ANR issues on Xperia Play after 30 secs 2013-03-02 22:11:09 +01:00
twinaphex 0c87437ea3 (Android) Fixes menu back button again on Xperia Play 2013-03-02 18:37:52 +01:00
twinaphex c65e85f3df (Android) Try to prevent race condition causing ANRs when two input devices
are being pressed at the same time - see http://ps3computing.blogspot.nl/2012/12/anr-application-not-responding.html
2013-03-02 16:47:13 +01:00
twinaphex 2d4d9d181e (Android) Add explicit runtime hack for Xperia Play so that
AKEYCODE_BACK behavior is not contingent on AKeyMeta (which
could produce problems on other pads). Hopefully should fix
some issues
2013-03-02 11:27:24 +01:00
ToadKing d28cb94717 start of RGUI port to Android
currently detects menu button to bring up RGUI, but GL does not draw it
yet and you cannot exit from the (invisible) RGUI menu yet
2013-02-27 20:20:29 -05:00
twinaphex 19fae3f52f (Android) Ability to use AKEYCODE_BACK for pads 2013-02-13 17:56:39 +01:00
ToadKing b03f1bc950 (Android) fix potential segfault 2013-02-10 18:59:24 -05:00
ToadKing 18d30fb441 (Android) fix up motion events incorrectly removing every active motion event 2013-02-10 18:52:46 -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
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
ToadKing ece4064e52 (Android) try to fix Xperia Start/Select 2013-02-03 14:22:32 -05: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
ToadKing 1064e56970 (Android) fix touch input for multi-touch 2013-02-01 18:47:11 -05:00
ToadKing 5bc5195bc4 (Android) touchpad is now always first controller
Xperia Play fixes
2013-01-31 20:40:47 -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 f65e64a638 (Android) custom input binding 2013-01-28 20:05:00 -05: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 5563fb3ea6 (Android) Decrease state_device_ids by size 2013-01-13 02:44:13 +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 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 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 4eeac9a1d7 (Android) Add autodetect_enable entry to settings 2013-01-05 04:58:30 +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