Commit Graph

181 Commits

Author SHA1 Message Date
radius 17aa00db1a change variables 2015-12-06 23:20:47 -05:00
radius cbd8819fb3 new workaround for pads implemented as two independents hid devices 2015-12-06 22:58:54 -05:00
Higor Eurípedes b64ecfae92 (android_input) Fix negative port issue 2015-12-06 21:08:27 -03:00
Higor Eurípedes 1cd0a0ff0a (android_input.c) Fix usage of signed/unsigned
This caused a segmentation failure in android_keyboard_state_get()
2015-12-05 19:23:02 -03:00
twinaphex 3517fdc02a (Android) Buildfix 2015-12-05 21:18:06 +01:00
twinaphex c0a1a6a3fe Move system->shutdown to runloop_ctl, turn it into a local
static variable
2015-12-04 12:44:12 +01:00
twinaphex 071912871b (android_input.c) Attempt to only grab dlopen handle once 2015-12-03 21:19:16 +01:00
twinaphex 8ae39377e7 (Android) Cleanups 2015-12-03 01:59:43 +01:00
twinaphex 694e64831b Create thread duplicate variant of android_input_data_t variable 2015-12-02 23:23:21 +01:00
twinaphex 923433ead7 Move engine_handle_dpad code to android_input.c - copy
hat and analog state to intermediary on android_app during
poll time
2015-12-02 22:33:27 +01:00
twinaphex 69ee18cea6 Create android_input_data_t 2015-12-02 22:12:43 +01:00
twinaphex e859fae4ee (Android) Move sensorManager and sensorEventQueue to android_app 2015-12-02 21:38:21 +01:00
twinaphex b7d7dcef1c Expand android_app 2015-12-02 19:28:15 +01:00
twinaphex cfe5491b05 (Android) Reimplement how shutdown gets signalled 2015-12-02 17:55:31 +01:00
twinaphex d6b5dd6ac4 Flesh out android_native_app_glue.c implementation some more 2015-12-02 17:46:20 +01:00
twinaphex 986e4bf40d (Android) Native activity updates 2015-12-02 08:54:24 +01:00
twinaphex 0db7cda264 Start moving rewind code to rewind.c 2015-11-30 22:25:13 +01:00
twinaphex 9824eb7ea9 Rename rarch_main_ctl to runloop_ctl 2015-11-30 21:42:59 +01:00
twinaphex 4e333302ae Rename RARCH_MAIN_CTL* to RUNLOOP_CTL* 2015-11-30 21:35:50 +01:00
twinaphex 9a743ec357 Create input_driver_key_pressed 2015-11-29 16:45:38 +01:00
twinaphex 025d2c6328 (Android) Cleanups 2015-11-29 16:20:04 +01:00
twinaphex 2d455d78b3 Move inptu state to android_joypad.c 2015-11-29 16:18:29 +01:00
twinaphex 7856c4e940 (Android) Cleanups 2015-11-28 18:39:43 +01:00
twinaphex b06d08a32e Remove some references to driver->input_data 2015-11-28 18:33:59 +01:00
twinaphex c23846c5dc Merged input_joypad.c and input_joypad_driver.c 2015-11-28 16:22:49 +01:00
twinaphex a6ccc188a8 Rename input_common.c to input_config.c 2015-11-28 02:22:58 +01:00
twinaphex a8d868f187 (Android) Implement 'focused' callback for androidegl_ctx 2015-11-27 20:38:29 +01:00
twinaphex a1ecc5eee3 (Android) Some cleanups in engine_handle_cmd 2015-11-27 18:27:30 +01:00
twinaphex daeb8cacaf Set idle when APP_CMD_LOST_FOCUS 2015-11-27 00:23:47 +01:00
Twinaphex 57e8cfe1f9 Totally reimplemented MFi support 2015-11-16 02:39:38 +01:00
twinaphex 53c0e57d6d (Android) Buildfix 2015-11-07 21:13:11 +01:00
twinaphex 22f85b11df Don't need this anymore 2015-11-07 20:59:12 +01:00
twinaphex 6ac88eed54 Cleanups 2015-10-23 08:34:15 +02:00
twinaphex 1a20e19c51 We will now be able to know from which input device type the input
event comes from - i.e. keyboard or gamepad
2015-10-22 19:17:47 +02:00
twinaphex 4ca5d31f9b Some more static code analysis nits when ran with enable=all 2015-09-28 18:12:02 +02:00
twinaphex aed0cb8d21 Update rarch_main_set_pause references 2015-09-26 13:22:36 +02:00
twinaphex e3e1a5a35c Refactor away rarch_main_set_idle 2015-09-26 13:20:15 +02:00
twinaphex 0d18c61bc5 Add RARCH_MAIN_CTL_IS_PAUSED 2015-09-26 13:04:07 +02:00
twinaphex c11b08ed91 (Android) Buildfix 2015-09-16 05:46:03 +02:00
twinaphex 4d8b125c4f Cleanups 2015-09-05 20:40:11 +02:00
Radius 638db98e7d fix the back as menu toggle option, autoconf was returning false even when a controller was succesfully configured... 2015-08-13 03:14:53 +01:00
Radius cc3b1fd49f minor fixes to the workaround 2015-08-13 02:06:15 +01:00
Radius f6e25655c9 reimplement the shield controller workarounds 2015-08-13 01:13:24 +01:00
Radius 57419bea8c remove the generic I/O hack, it's not working reliably 2015-08-12 20:17:19 +01:00
radius 828734e007 don't try to autoconfigure GPIO devices 2015-08-11 17:13:25 -05:00
radius 1818633914 log vid/pid on android 2015-08-09 11:46:40 -05:00
radius d52ab85b60 remove comment 2015-08-07 13:52:05 -05:00
radius a5c70560a3 remove the shield portable hack, it's not needed anymore 2015-08-07 13:51:19 -05:00
radius c8671139e8 fix 2015-08-07 02:17:25 -05:00
radius bae6dd7c79 better all around hack for GPIO devices 2015-08-07 01:59:50 -05:00
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