125 Commits

Author SHA1 Message Date
radius
55e5dc83dc print an OSD message when no profiles found 2015-08-09 11:47:42 -05:00
radius
1818633914 log vid/pid on android 2015-08-09 11:46:40 -05:00
twinaphex
30a39d6d88 Get rid of warnings 2015-08-03 20:17:03 +02:00
radius
916190e683 cleaner approach to reduce OSD spam 2015-08-01 00:07:28 -05:00
radius
801ad5c4ff reduce OSD spam 2015-07-31 23:49:38 -05:00
radius
6fbfc27a1f reduce OSD spam 2015-07-31 23:40:30 -05:00
radius
65081a0f9d reduce OSD spam 2015-07-31 23:09:25 -05:00
fr500
8e7cccb92d fix autoconfig, it was matching the last profile when no match was found 2015-07-23 00:38:31 -04:00
fr500
ca682d38eb better shield portable hack 2015-07-16 03:22:28 -04:00
twinaphex
5ac2ac62a3 Add dot to message end 2015-07-12 21:55:21 +02:00
radius
a480ad285b simplify the OSD message a bit more 2015-07-12 14:28:39 -05:00
Twinaphex
1ff9f89e7d Merge pull request #1952 from fr500/master
Proposals
2015-07-12 21:13:01 +02:00
radius
26b7ccead9 add a display_name field if available so the user can know which autoconf was used 2015-07-12 13:45:17 -05:00
twinaphex
bbc63f7e99 Fix CXX_BUILD 2015-07-12 08:08:27 +02:00
radius
88c4b2415d print osd messages on save 2015-07-10 23:13:37 -05:00
radius
da7a75f0fb cleanup some duplicate code and make it prefer the drivername subdir if it exists 2015-07-10 22:56:44 -05:00
radius
63ce5ee4c0 make the first match work too 2015-07-10 22:36:28 -05:00
twinaphex
b501e19dc4 input_autodetect.c - cleanup 2015-07-10 09:15:55 +02:00
twinaphex
5e634a48ce (input_autodetect.c) Some C89/C90 build fixes 2015-07-10 09:06:00 +02:00
twinaphex
a2c1a3e82b Buildfix 2015-07-10 07:16:21 +02:00
twinaphex
feb661754b Make it look at the joypad driver's name for subdirectory instead of
the input driver's name
2015-07-10 07:05:36 +02:00
twinaphex
84066d569c Put #if 0 around unused function 2015-07-10 06:59:14 +02:00
radius
7b45800ff9 make it look in the top level directory first, if no profiles look in the driver name subdir 2015-07-09 23:51:39 -05:00
radius
15a3aa134a make it look under autoconf\drivername 2015-07-09 23:12:35 -05:00
radius
2f26eac396 declare variables on top 2015-07-09 22:54:49 -05:00
radius
cec1f3408f declare variables on top 2015-07-09 22:52:52 -05:00
radius
9d268aba54 refactor input autoconfiguration to use a score system 2015-07-09 22:46:28 -05:00
Toad King
d0866995bd set back button to menu toggle if not set through autoconf 2015-07-02 21:48:06 -05:00
Alcaro
4ca6c2398c More C89 cleanups, part 3 2015-06-26 18:35:52 +02:00
twinaphex
f85965925c (Input) Cleanups 2015-06-12 23:52:52 +02:00
twinaphex
1a5e16ff99 Create input_config_autoconfigure_disconnect 2015-06-03 18:55:04 +02:00
Twinaphex
1529620c66 Revert "improve autodetection of input gamepads" 2015-05-08 17:25:55 +02:00
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
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
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
0057510caf (libusb) Add disconnect message, change "Joypad" terminology to
'Device'
2015-04-14 05:36:43 +02:00
twinaphex
7fc95a1726 (input_autodetect.c) Move enum to top 2015-04-03 01:22:55 +02:00
Twinaphex
34439fc432 (input_autodetect.c) Add AUTODETECT_MATCH_* rule 2015-04-01 02:55:30 +02:00
twinaphex
7ac7b15718 (input_autodetect.c) Some fixes 2015-03-28 22:20:05 +01:00
twinaphex
765e9c0361 Return an unsigned value that indicates which values were found 2015-03-27 18:50:40 +01:00
twinaphex
9923e6a021 (input_autodetect.c) Further cleanups 2015-03-27 18:05:43 +01:00
twinaphex
f88e62b3d2 Create input_autoconfigure_joypad_from_conf_internal 2015-03-27 18:02:21 +01:00
twinaphex
782f366131 Cleanup comments 2015-03-27 17:55:00 +01:00
twinaphex
54f2d61809 input_autodetect.c - don't need runloop.h header 2015-03-27 17:53:06 +01:00
twinaphex
3985497552 Small cleanup 2015-03-27 17:48:27 +01:00
twinaphex
948e9a1888 (input_autodetect) Cleanups pt. 5 2015-03-27 17:47:15 +01:00
twinaphex
6917982686 Cleanup input_try_autoconfig_joypad 2015-03-27 17:39:11 +01:00
twinaphex
bf0693fcb0 (input_autodetect.c ) Cleanups pt. 4 2015-03-27 17:34:09 +01:00
twinaphex
c5ece757d8 (input_autodetect.c) Cleanups pt. 3 2015-03-27 17:31:59 +01:00