Commit Graph

920 Commits

Author SHA1 Message Date
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
cb53153fa1 Update comment in load_overlay_image_done 2015-02-23 22:35:01 +01:00
twinaphex
ef91d9a528 Make function static 2015-02-23 22:11:18 +01:00
twinaphex
a41c159ece Load first active overlay immediately - much faster 2015-02-23 21:49:08 +01:00
twinaphex
00beda42f2 Add pos_increment to allow us to iterate through steps 2015-02-23 21:14:34 +01:00
twinaphex
89685c5709 Add OVERLAY_IMAGE_TRANSFER_DESC_ITERATE and OVERLAY_IMAGE_TRANSFER_DESC_DONE 2015-02-23 20:57:49 +01:00
twinaphex
d44ebefd49 Move more logic to load_overlays 2015-02-23 19:21:28 +01:00
twinaphex
3af7656d42 Move more to load_overlays 2015-02-23 19:18:51 +01:00
twinaphex
bdd5df32a8 Move more out of input_overlay_load_overlay 2015-02-23 19:06:22 +01:00
twinaphex
fafbadafba Start moving more logic from input_overlay_load_overlay to input_overlay_load_overlays 2015-02-23 18:53:13 +01:00
twinaphex
c67ab04e2b (Overlay) Cleanups 2015-02-23 09:28:15 +01:00
twinaphex
a5832f4fb1 (Overlay) Cleanup 2015-02-23 09:26:35 +01:00
twinaphex
a8ccb02b52 (overlays) If image could be found, set loading status to 'BUSY', otherwise,
set to 'DONE'
2015-02-23 09:25:05 +01:00
twinaphex
ea3d55582a Refactor OVERLAY_IMAGE_TRANSFER_NONE 2015-02-23 09:15:33 +01:00
twinaphex
50e731776b Call config_file_free() at end of input_overlay_load_overlay 2015-02-23 09:13:23 +01:00
twinaphex
d4abbd9c83 (Input overlay) Get rid of cached config file 2015-02-23 09:07:04 +01:00
twinaphex
29b250885c Refactor #2 2015-02-23 07:34:14 +01:00
twinaphex
784be49f2f (Overlay) Split up code some more 2015-02-23 07:30:57 +01:00
twinaphex
35bc3a2b3e Split up code in input_overlay_load_overlays_iterate 2015-02-23 07:26:34 +01:00
twinaphex
a4a451f8d7 Refactor input_overlay_load_overlays_iterate 2015-02-23 06:52:20 +01:00
twinaphex
4a7ce3e460 Simplify input_overlay.c 2015-02-23 06:37:27 +01:00
twinaphex
2390e17fc7 (Overlay) Add some logic 2015-02-23 06:03:53 +01:00
twinaphex
d09574bb1f Move files around 2015-02-22 04:56:18 +01:00
twinaphex
0595189fab Create OVERLAY_STATUS_DEFERRED_LOADING_IMAGE 2015-02-21 22:00:12 +01:00
twinaphex
d349b2a37a Split up input_overlay_load_overlay into two functions 2015-02-21 21:20:21 +01:00
Twinaphex
8bd698d132 (input_overlay.c) Remove unused variable 2015-02-21 10:02:49 +01:00
twinaphex
a36e2d2a30 Cut down on continuous opening/closing of config file - keep it
cached
2015-02-21 09:41:29 +01:00
twinaphex
7268eab3e8 Create two more iteration phases for overlays 2015-02-21 09:26:52 +01:00
twinaphex
50baeba22a Fix race condition issue in threaded video mode when OSK is
brought up/down
2015-02-21 08:42:19 +01:00
twinaphex
61bbb2a3fb Start making overlay loading 'deferred' 2015-02-21 07:29:13 +01:00
twinaphex
6b77b263f7 Split up input_overlay_new 2015-02-21 06:47:04 +01:00
Higor Eurípedes
f8e4fa25bb (griffin) Fix udev drivers build 2015-02-20 23:35:39 -03:00
twinaphex
87edea6bd9 (MSVC) Build fixes 2015-02-16 16:51:23 +01:00
twinaphex
04da700a91 (input_overlay.c) Cleanups 2015-02-15 07:01:32 +01:00
twinaphex
8ace562670 Prevent segfault in overlay function 2015-02-15 06:57:02 +01:00
Twinaphex
86236a9007 Refactor apple_joypad_hid.c somewhat 2015-02-15 04:07:22 +01:00
twinaphex
cf4b43f3fa (joypad_connection) Cleanups 2015-02-15 03:59:57 +01:00
twinaphex
65f6d2253d (joypad_connection.c ) change 'used' to 'connected' 2015-02-15 03:54:38 +01:00
twinaphex
738d70d2f8 Add get_buttons callback 2015-02-15 01:57:29 +01:00
twinaphex
207181135c Create input_driver_keys_pressed 2015-02-15 01:19:06 +01:00
twinaphex
31a54223e5 Get rid of useless wrapper function around button presses 2015-02-15 00:42:40 +01:00
twinaphex
64446ef497 Rename and move rarch_viewport 2015-02-14 05:52:05 +01:00
twinaphex
3b2e11c446 (udev_joypad.c) Cleanup 2015-02-11 06:44:16 +01:00
twinaphex
8fca12257a (Apple) Input cleanups 2015-02-11 02:16:33 +01:00
twinaphex
b7d845df77 input_joypad_pressed - cleanup 2015-02-10 18:26:56 +01:00
twinaphex
7dd338f19d Cleanups in input_joypad_driver.c 2015-01-30 07:57:15 +01:00
twinaphex
0cc50ed4ea (input_driver.c) Cleanups in config_get_input_driver_options 2015-01-30 07:45:14 +01:00
Twinaphex
fc21fdbca6 (Apple) Build fixes 2015-01-30 00:02:16 +01:00
twinaphex
0912f05d39 Fix bug 2015-01-29 23:59:46 +01:00
twinaphex
bae3650d44 input_keyboard_line_toggle_osk - early return if OSK is not
enabled
2015-01-29 23:35:06 +01:00