Commit Graph

181 Commits

Author SHA1 Message Date
radius 1edd7af424 better all around hack for GPIO devices 2015-08-07 01:53:35 -05:00
radius 786424b064 Shield Console hack 2015-08-07 01:50:02 -05:00
twinaphex b4c5f98245 Cleanups 2015-08-05 12:59:33 +02:00
twinaphex ccac72f1e7 Refactor is_paused 2015-08-05 12:58:25 +02:00
twinaphex 74ee9b05f3 Create rarch_main_set_idle - make 'idle' variable self-contained 2015-08-05 12:40:47 +02:00
twinaphex 3d36cb02ac No more separate runloop_t 2015-08-03 20:15:46 +02:00
radius 65081a0f9d reduce OSD spam 2015-07-31 23:09:25 -05:00
radius 4097f97131 add hack for remote type devices 2015-07-31 22:37:22 -05:00
fr500 1af5943ca2 fix double inputs with akeycode_back when gamepads are mapped and pointer is enabled 2015-07-25 02:39:17 -04:00
fr500 6dc06885fb no need to name the device like the Shield controller, this will reduce OSD spam when hitting back 2015-07-25 02:04:00 -04:00
fr500 61c1a164fa Revert "improve the shield hack and add a generic function to check if a gamepad name is present, implement archos gamepad hack"
This reverts commit 1dc285a0d6.
2015-07-25 01:27:56 -04:00
fr500 1dc285a0d6 improve the shield hack and add a generic function to check if a gamepad name is present, implement archos gamepad hack 2015-07-23 00:38:59 -04:00
radius 766b6b811e [android] expose vid/pid to the frontend so the value can be saved to autoconf files 2015-07-22 00:22:57 -05:00
twinaphex 450c665619 Create meta_key_pressed 2015-07-17 03:31:51 +02:00
twinaphex a2af5252c1 Get rid of input_driver_key_pressed 2015-07-17 03:09:12 +02:00
twinaphex f5566cbe3b Cleanup warnings 2015-07-16 10:11:28 +02:00
fr500 ca682d38eb better shield portable hack 2015-07-16 03:22:28 -04:00
twinaphex 56f273b0b5 Put in the Nvidia Shield hack back in for Shield Portable
explicitly
2015-07-15 06:26:32 +02:00
Twinaphex 1ff9f89e7d Merge pull request #1952 from fr500/master
Proposals
2015-07-12 21:13:01 +02:00
radius 6f9467817e Shield Fix 2015-07-12 13:56:34 -05:00
twinaphex c2c9ace028 Input driver's 'input_key_pressed' implementation does not
have to query for overlay state - this is done in an upper-level
function already
2015-07-12 08:39:34 +02:00
twinaphex 135ee2f503 Use UINT64_C(1) everywhere instead of 1ULL 2015-07-12 07:53:46 +02:00
twinaphex c9814c9b12 (Overlay) Don't expose input overlay handle to outside 2015-07-12 07:22:52 +02:00
twinaphex 6f99b4d381 (Android) Implement 'Back As Menu Toggle Enable' setting 2015-07-11 03:13:38 +02:00
twinaphex e99a23a5e2 (Android) More cleanups 2015-07-10 00:36:46 +02:00
twinaphex dc96b4820f (Android) Cleanup android_input.c 2015-07-10 00:27:05 +02:00
twinaphex ab604524dc (Android) Get rid of some more hardcoded stuff 2015-07-09 21:39:47 +02:00
twinaphex 8c1a918899 (Android) Cleanup 2015-07-09 18:11:53 +02:00
twinaphex 63c7104ab1 (Android) android_input.c - cleanups 2015-07-09 18:09:45 +02:00
twinaphex d104a878f1 (Android) Code cleanups 2015-07-09 17:55:52 +02:00
twinaphex abf7a80f27 (Android) Buildfixes and remove unused variable warnings 2015-07-09 07:48:56 +02:00
twinaphex 954121b99c Kill off some console-only hacks to do with lifecycle state 2015-07-09 06:35:18 +02:00
Toad King 26b4dc79d0 [Android] clear bindings on context reset, they end up getting rebound anyway
bump version
2015-07-02 23:06:53 -05:00
Toad King d0866995bd set back button to menu toggle if not set through autoconf 2015-07-02 21:48:06 -05:00
David Shah c2d26cfb23 Fix input on KitKat for S7800B and other devices with a VID or PID of 0 2015-07-02 14:28:38 +01:00
twinaphex 6ee5029bb0 (android_input.c) Use rarch_system_info_get_ptr 2015-06-25 13:20:53 +02:00
twinaphex 0e046c2fbb Create input_driver_keyboard_mapping_is_blocked/input_driver_keyboard_mapping_set_block 2015-06-19 03:45:23 +02:00
twinaphex ad5954862b Cleanup some strcmps 2015-06-14 19:42:25 +02:00
twinaphex daf4f5719b (Input) Cleanups 2015-06-13 00:02:28 +02:00
twinaphex 660641f328 Pass handle to input driver to joypad driver's init function 2015-06-03 18:22:54 +02:00
twinaphex 3a7263020a Add grab_stdin function pointer to input driver - avoids threading
segfault at exit with linuxraw input driver to do with driver->stdin_claimed
2015-05-19 19:33:58 +02:00
twinaphex 7242693e69 (Android) Go back to old input code 2015-05-09 09:38:45 +02:00
twinaphex 4a7fbf728a (Android) Put AInputQueue_hasEvents while loop back 2015-05-02 07:59:06 +02:00
twinaphex ff6babc22a (Android) Start using android_main_poll 2015-05-02 07:06:57 +02:00
twinaphex 5b733c019a (Android) Only copy over state when needed 2015-05-02 04:41:18 +02:00
twinaphex 9a1c90a554 (Android) android_run_events - change signature 2015-05-02 03:52:28 +02:00
twinaphex ec319a2c76 (Android) Start preparing engine_handle_input and engine_handle_cmd for
input sources
2015-05-02 02:13:16 +02:00
twinaphex 78fcd0312f (Android) Change signature of android_main_poll 2015-05-02 01:05:21 +02:00
twinaphex 2f08c143ec (Android) Cleanups 2015-05-02 00:43:24 +02:00
twinaphex fe5d4e34ab (Android) Native app glue - use pthread again 2015-05-02 00:13:28 +02:00
twinaphex 5a2c6aa5d6 (Android) Create android_app_read_cmd 2015-05-01 23:59:23 +02:00
twinaphex 2cc348a75b (Android) Create android_app_userdata 2015-05-01 20:21:52 +02:00
twinaphex 00bf83e575 (Android) Minor cleanups 2015-05-01 18:24:06 +02:00
twinaphex 349a5890e4 (Android) Set lookup name function pointer at the beginning of the app's
start
2015-05-01 18:20:52 +02:00
twinaphex 8ec5db66cf (Android) Move state around 2015-05-01 18:11:34 +02:00
twinaphex 5e5453488f (Android) Move thread state to android_app 2015-05-01 17:25:26 +02:00
Twinaphex 561ae13146 (Android) Cleanups to handle_hotplug 2015-04-29 07:58:19 +02:00
twinaphex 63cc866425 (Android) Don't use AInputQueue_hasEvents - seems to make it more reliable
and less susceptible to ANRs
2015-04-29 06:21:18 +02:00
twinaphex 4b289e361d Revert "(Android) Put input event queue on separate thread"
This reverts commit 828421b46b.
2015-04-29 05:59:40 +02:00
twinaphex 828421b46b (Android) Put input event queue on separate thread 2015-04-29 05:43:05 +02:00
twinaphex 5c5e517b68 (Android) Start copying state copy at poll function call 2015-04-29 04:57:24 +02:00
twinaphex cf1d56dbda (Android) Put input state code on android_input_state_t 2015-04-29 04:48:34 +02:00
twinaphex c3bfa72e6f (Android) Start putting input state on separate struct 2015-04-29 04:17:31 +02:00
twinaphex 1a591baaf3 (Android) Cleanups 2015-04-29 03:08:44 +02:00
twinaphex 5df896dfd1 (Android) Rename "android_input" ident to "android" 2015-04-29 02:49:23 +02:00
twinaphex 4cf9227640 (Android) Move all input to android_input.c 2015-04-29 02:48:17 +02:00
twinaphex 71f43f8bf0 (Android) Cleanups 2015-04-29 01:50:58 +02:00
twinaphex 4b63cb54c9 (Android) Input - cleanups 2015-04-21 02:58:12 +02:00
twinaphex f3b76f6748 (Android) Style nit 2015-04-21 02:46:50 +02:00
twinaphex 8c6cce3945 Rename rarch_joypad_driver_t to input_device_driver_t 2015-04-14 16:37:59 +02:00
aliaspider 560c98f3cb (menu) add pointer support (active only for rgui for now) 2015-03-28 22:35:18 +01:00
twinaphex 226c6ff41a Simplify input_autodetect 2015-03-27 16:57:58 +01:00
twinaphex cda414b27d (Android) Go through input_driver_key_pressed 2015-03-24 08:53:49 +01:00
twinaphex 30a0e99972 (Input) Implement function pointers 'set_rumble' and 'grab_mouse'
always to prevent conditional checks
2015-03-24 07:51:50 +01:00
twinaphex 5a443d229a global_get_ptr update pt. 2 2015-03-21 05:42:49 +01:00
twinaphex 5ad9f131ce Updates pt. 5 2015-03-20 22:32:09 +01:00
twinaphex 1e9725a302 (Android) Buildfix 2015-03-18 20:26:55 +01:00
twinaphex 84e9f2fa7d Use retro_inline throughout 2015-03-15 04:52:46 +01:00
Googer 03b4ace443 (Android) Fix pad input detection for pre-KitKat.
Also update getting system properties to use getprop command instead of
__system_property_get.  Use sdk level to determine which gamepad
detection method to use (only use vendorId and productId if at least
KitKat - i.e., SDK version 19+).
2015-02-24 12:20:21 -05:00
twinaphex ca67f9c317 Rename frontend/platform/ to frontend/drivers/ 2015-01-12 21:47:01 +01:00
twinaphex 76ad6cc344 Move input drivers to input/drivers 2015-01-12 06:16:52 +01:00