Commit Graph

510 Commits

Author SHA1 Message Date
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 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 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 d8fe91867e (Android) Input autodetection - Gasia PS3 pad should correspond to PlayStation3 v2 controls 2013-06-03 16:25:04 +02:00
twinaphex 51187ebbc2 Bump version to 0.9.9 official 2013-05-27 01:28:32 +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 46f29b1178 New define RARCH_MOBILE 2013-05-22 16:02:21 +02:00
twinaphex 1458678dbc (Android) Add preliminary Ouya controller support 2013-05-13 10:38:43 +02:00
Themaister ad713d3bb1 Update to 0.9.9-wip3. 2013-05-08 01:13:29 +02:00
Themaister 12bb089f63 Update to 0.9.9-wip2. 2013-05-01 12:50:40 +02:00
Themaister 227363bfce Update to 0.9.9-wip1. 2013-04-21 18:56:17 +02:00
twinaphex 4102d1cfb8 Make sinc resampler the default and remove Hermite - audio
quality at high samplerates was too bad to be of any use
2013-04-07 03:41:06 +02:00
twinaphex b73edeb2c3 (Android) Add Sega Virtua Stick to input autodetection list 2013-03-30 08:56:46 +01:00
twinaphex 15215c47f1 (Grifin) Move griffin to root (to indicate it's no longer console-specific 2013-03-18 05:46:19 +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 dd36184baa (Android) Bump up RARCH_VERSION to 0.9.8.4 (was still set at 0.9.8.3) 2013-03-10 04:13:07 +01:00
twinaphex 66e7606b25 HAVE_RGUI and HAVE_RMENU are now mutually exclusive - no longer
have to be defined both for (say) the Android port
2013-03-09 17:42:19 +01:00
twinaphex 0b6e5a6388 Rename RARCH_RMENU_TOGGLE to RARCH_MENU_TOGGLE 2013-03-09 16:14:26 +01:00
twinaphex 1804217fd6 (Android) Cleanup cpufeatures.c 2013-03-08 23:56:12 +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 fe7eef6fa1 (Android) Hopefully fixes up TOMMO NeoGeo X arcade stick 2013-03-08 17:19:57 +01:00
twinaphex e46e352bed (Android) Fix build 2013-03-08 06:02:56 +01:00
twinaphex b7ffd0d77a (Android) Input autodetection - add JXD S7300B 2013-03-08 05:53:55 +01: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 371c8c4d09 (Android) Input autodetection - TTT - change button mapping 2013-03-06 20:53:44 +01:00
twinaphex 566a5ebb9c Move FBO enums to gl_common.h 2013-03-06 01:57:30 +01:00
twinaphex eb3975c81d (Android) Hook up AKEYCODE_MENU to RGUI toggle 2013-03-05 18:03:05 +01:00
twinaphex b0b52f1a3c (Android) Hook up PS Button to RGUI toggle 2013-03-05 18:02:06 +01:00
twinaphex 46db6818dd Merge branch 'master' of https://github.com/Themaister/RetroArch into android-rgui 2013-03-05 17:46:54 +01:00
twinaphex aa75847f98 (Android) PS3 - Add commented-out menu button 2013-03-05 17:46:13 +01:00
twinaphex 39e8909228 (Android) Input autodetection - add iDroid x360 2013-03-05 14:25:30 +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 6c0cc9da49 (Android) Input autodetection - corrected RetroPad R / RetroPad L2
for WiseGroup PS2 to USB
2013-03-04 16:42:26 +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 b4490ae496 (Android) Don't define HAVE_ASYNC_POLL for now 2013-03-04 14:21:37 +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 ab6135c9d5 (Android) Define HAVE_ASYNC_POLL for Android (will likely be used for other
mobile platforms as well)
2013-03-04 11:52:58 +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 8564ad5ac5 (Android) Add custom dzone_min/dzone_max for Buffalo SNES pad 2013-03-04 02:25:58 +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 69192932fc (Android) TTT THT pad - add pad controls for player 2 2013-03-03 17:15:42 +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 6778267016 change some logs around
detect menu key from any "controller"
2013-02-28 11:04:11 -05:00
ToadKing 83878b05e7 commit makefile changes 2013-02-28 10:20:29 -05: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 ceb27f14ed (Android) Input autodetection - add initial Tommo NeoGeoX arcade stick binds (WIP) 2013-02-26 15:50:06 +01:00
Squarepusher bd4d97337c Merge pull request #139 from Themaister/thread_video
Threaded video driver
2013-02-19 14:17:00 -08:00
twinaphex 455b7ea0c4 (Android) Restore PS3 controls 2013-02-17 23:18:03 +01:00
twinaphex 99a2a438cb (Android) Add iControlpad 2013-02-17 22:58:06 +01:00
Themaister 7f21a9b2d2 Merge branch 'master' of github.com:Themaister/RetroArch into thread_video
Conflicts:
	android/native/jni/Android.mk
	console/griffin/griffin.c
2013-02-17 00:47:36 +01:00
twinaphex e5c6cd6fdb (Android) Define HAVE_THREADS 2013-02-17 00:40:49 +01:00
twinaphex 54ecb3cc7a Change -HAVE_THREAD to -HAVE_THREADS - don't define it for PS3/Wii/NGC 2013-02-17 00:38:30 +01:00
Themaister 76bf41188a Add video_threaded option to Android. 2013-02-17 00:26:17 +01:00
twinaphex 9a88ebb1e6 Change WANT_RZLIB to WANT_MINIZ 2013-02-16 21:43:29 +01:00
twinaphex 960b091e59 (Android) Fixes Madcatz fighting stick - now autodetected -
R1/R2 button properly configured for SF-style games
2013-02-13 22:52:27 +01:00
twinaphex 19fae3f52f (Android) Ability to use AKEYCODE_BACK for pads 2013-02-13 17:56:39 +01:00
twinaphex 252a917b7e (Android) Logitech Dual Action - AKEYCODE_BACK does Select 2013-02-12 21:23:11 +01:00
twinaphex 04003780ac (Android) Added PC2JAMMA-USB to autodetection - pad 2 still
unfinished though
2013-02-11 02:12:21 +01:00
twinaphex 8936f058c4 (Android) Add iCade profile iPega 2013-02-11 01:39:06 +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
twinaphex 77f8b9a0c9 Bump up versions to 0.9.8.3 2013-02-09 19:06:03 +01:00
twinaphex f75eeffc08 (Android) Add Genius MaxFire G-08XU to autodetection list 2013-02-09 15:03:43 +01:00
twinaphex fa582bf15e (Android) Add ICade profile option 2013-02-09 11:44:50 +01:00
Themaister 53e766762e Use lower quality sinc on Android. 2013-02-08 14:31:07 +01:00
twinaphex 5b57e99b89 (Android) Build fix 2013-02-08 02:59:28 +01:00
twinaphex 4ed6248c89 (Android) Add to autodetection list - add Zeemote Steelseries, Add Saitek Rumblepad, add Super Smart Joy 2013-02-08 02:57:21 +01: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
twinaphex 924cfb2121 (Android) Move Madcatz autodetect logic 2013-02-05 03:50:54 +01:00
twinaphex 88f73344ee (Android) Bump up version to r9 - fix Toodles button layout 2013-02-04 03:50:29 +01:00
twinaphex 32dca887d3 (Android) Add MOGA IME to autodetection list 2013-02-04 00:43:13 +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
twinaphex 71473dad51 (Android) Xperia Play controls finally work 2013-02-03 22:43:18 +01:00
twinaphex 526d9af5c2 (Android) Add Madcatz USB Fighting stick to autodetection list 2013-02-03 22:22:50 +01:00
twinaphex dd7ae5c474 (Android) Add logs for Xperia debugging 2013-02-03 21:26:53 +01:00
twinaphex 63fb29996f (Android) Xperia Play - group autodetection input binds together
for both game-zeus and keypad-game-zeus
2013-02-03 20:44:05 +01:00
ToadKing ece4064e52 (Android) try to fix Xperia Start/Select 2013-02-03 14:22:32 -05:00
twinaphex ce023c5ab0 (Android) Try to 'foot-bind' separate Xperia devices again 2013-02-03 20:04:48 +01: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
twinaphex 15f79f78a1 Revert "(Android) Xperia Play (attempted) fixes"
This reverts commit 9d7e246ead.
2013-02-03 18:49:05 +01:00
ToadKing 1064e56970 (Android) fix touch input for multi-touch 2013-02-01 18:47:11 -05:00
ToadKing 9d7e246ead (Android) Xperia Play (attempted) fixes 2013-02-01 14:24:12 -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
twinaphex f4c04b224d (Android) Add DragonRise USB pad to autodetection 2013-01-29 20:49:23 +01:00
twinaphex 0e9c040e88 (Android) Bump up version + small message tweak 2013-01-29 03:50:03 +01:00
ToadKing f65e64a638 (Android) custom input binding 2013-01-28 20:05:00 -05:00
twinaphex ce32089623 (Android) Input autodetection expanded - add Thrust Gamepad - fix
RetroPort NES - change around X/Y for Logitech F710
2013-01-29 01:03:03 +01:00
twinaphex c4d1f110b1 (Android) Group Mayflash PS2 to USB converters + cleanups 2013-01-28 06:09:07 +01:00
twinaphex db1851d7c4 (Android) Add gamepads to autodetection - (Archos gamepad, Xperia Play,
Xbox 1 Titanium X-Joyconverter, Xbox 360 wired, Red Samurai BT, Mayflash
Wii Classic variant, RetroUSB NES, RetroUSB SNES, Buffalo SNES,
Logicool F710, Elecom PS1/PS2)
2013-01-28 02:00:50 +01: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 e31db3bf20 (Android) Add Nyko Playpad Pro to autodetection 2013-01-27 04:59:11 +01:00
twinaphex f9d0b66d49 (Android) Add Snakebyte idroid to input autodetect 2013-01-26 22:59:34 +01:00
twinaphex 47796ebc42 (Android) Add Logitech Dual Action to autodetect 2013-01-26 22:41:23 +01:00
twinaphex abf7ad4612 (Android) Add JXD S5110 input autodetect 2013-01-26 20:55:21 +01:00
twinaphex d797903f4c (Android) Mayflash PS2 USB converter works now 2013-01-26 19:42:36 +01:00
twinaphex 45839ac82e (Android) Add Mayflash Super Joy Box 3 Pro to autodetect 2013-01-26 17:17:06 +01:00
Themaister bbaec34744 Update version numbers to 0.9.8. 2013-01-22 00:22:09 +01:00
twinaphex 5563fb3ea6 (Android) Decrease state_device_ids by size 2013-01-13 02:44:13 +01:00
Themaister 58bdf43a5d Fix Android build. 2013-01-12 22:32:21 +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 013fda1cb6 (Android) Move Android frontend file too 2013-01-06 05:28:42 +01:00
Themaister 9df3b56413 Refactor main_wrap out to core. 2013-01-06 03:06:47 +01:00
twinaphex dd74683f26 (Android) Take out earlier SixAxisIME code - we'll always use
gamepad emulation with this IME app now
2013-01-05 18:33:26 +01:00
twinaphex 25de472336 (Android) Put in keybinds for dancingpixelstudios PS3 IME app
gamepad emulation
2013-01-05 18:13:30 +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