pamapa
ff286a9579
make sure the best configuration file wins, if there is more than one,
...
because the name is not unique. We look as long as we have a perfect match,
if not the latest config file which matches the name will win
2015-05-08 17:01:07 +02:00
twinaphex
87d9834d06
Move dylib.c to libretro-common
2015-05-08 09:49:49 +02:00
twinaphex
f02ef849ae
(HID) Fixup
2015-05-06 04:10:49 +02:00
twinaphex
f57132ff6f
Protect against failed pad init
2015-05-06 04:03:00 +02:00
Twinaphex
7356e7f4e7
Merge pull request #1666 from fr500/master
...
make autoconfig keep searching for an exact match even if a partial matc...
2015-05-02 22:53:34 +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
radius
1b5f09a493
make autoconfig keep searching for an exact match even if a partial match has been found
2015-04-30 16:28:07 -05: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
Christopher J. Gilbert
cf2623a65a
Added check to make sure ident was not an empty string.
...
Added check to make sure ident was not an empty string.
This commit is to fix a bug related to having a autoconfig.cfg file without an ident.
Currently, there are none in the repository that fit this condition, which is why the bug was never triggered in testing.
This checks to make sure the ident loaded from the config file actually has a value associated with it.
Without this check, the if() statement will always return true, because an empty string is always within another string.
2015-04-21 23:06:21 -04:00
Christopher J. Gilbert
f1186ff01c
Autoconfigure - Change equals to starts with ident
...
This allows for Bluetooth PS3 controllers (and other bluetooth controllers) to be automatically detected.
In the input_try_autoconfigure_joypad_from_conf function, there is a string comparision between the input's name "params->name" and the configuration's name "ident". Specifically on Bluetooth controllers, the uuid is appended to the end of the name.
This enhancement will change the checking for name match from an equals comparision, to a startswith.
2015-04-21 03:24:19 -04: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
d2abe61e30
(joypad_connection.c) pad_connection_has_interface - pad >= 0 would
...
always be true
2015-04-20 12:12:32 +02:00
Twinaphex
1fb00bdac3
Add HAVE_IOHIDMANAGER to qb/config.libs.sh
2015-04-20 12:04:31 +02:00
Twinaphex
f506e722b1
(Apple) Rename apple_hid to iohidmanager_hid
2015-04-20 11:52:10 +02:00
twinaphex
59a87836c4
(Apple) Fix one warning
2015-04-20 00:49:00 +02:00
twinaphex
1477ce04b7
(Apple) Use HAVE_COCOA/HAVE_COCOATOUCH defines
2015-04-20 00:41:02 +02:00
twinaphex
6630884254
(Emscripten) Simplify input driver's init function
2015-04-19 22:03:51 +02:00
twinaphex
1f7482d833
(Emscripten) Integrate header files into actual drivers
2015-04-19 22:01:56 +02:00
twinaphex
c58355775c
Rename apple_input_keyboard_event to cocoa_input_keyboard_event
2015-04-19 20:02:19 +02:00
Twinaphex
134289c496
(Apple) Buildfixes
2015-04-19 17:59:45 +02:00
twinaphex
8702141d90
(Cocoa) Start renaming input_apple to input_cocoa
2015-04-19 17:58:15 +02:00
twinaphex
723b9ba716
Add HAVE_IOHIDMANAGER
2015-04-19 15:59:20 +02:00
Twinaphex
e9dd1603ab
Merge pull request #1629 from lioncash/leak
...
libusb_hid: Fix a potential memory leak
2015-04-15 09:26:51 +02:00
Lioncash
fff8ef3db7
libusb_hid: Fix a potential memory leak
2015-04-15 03:22:27 -04:00
Lioncash
da56cb3071
dinput: Return NULL instead of false for dinput_get_joypad_driver
2015-04-15 03:08:57 -04:00
twinaphex
335097f98f
(Emscripten) Buildfixes
2015-04-14 22:01:41 +02:00