324 Commits

Author SHA1 Message Date
twinaphex
20ed6eb90a Start using input_config_get_device_name 2017-04-25 16:04:28 +02:00
twinaphex
f9bc2d3783 Use memcmp instead of string_is_equal where possible for
better performance
2017-04-21 22:47:15 +02:00
Twinaphex
b7b3b2cb5f Try to prevent truckload of warnings on iOS 2017-02-26 10:33:03 +01:00
David Erickson
da8662bb4a Detect non-standard joystick buttons
The Xbox One S controller when connected via Bluetooth
is exposing its select button with the Linux KEY_BACK
code, which is outside of the normal input code
scan range for joysticks.  This patch adds additional
scanning to pick up such extra buttons, and adds
them as buttons after the normal ranges to preserve
compatibility with existing key mappings.
2017-02-24 01:09:15 -08:00
Brad Parker
83619b25e6 DOS: add keyboard driver to support non-joypad keys 2017-02-05 13:55:21 -05:00
aliaspider
ffbd1e838a (3DS) build fix. 2017-01-31 03:27:26 +01:00
aliaspider
0ba9faa8bd (CTR) build fix. 2017-01-24 10:43:35 +01:00
Brad Parker
2c97e330de remove unused code 2017-01-24 01:04:00 -05:00
Brad Parker
57949227df DOS: initial input/joypad driver 2017-01-24 00:55:58 -05:00
aliaspider
021b510452 (WiiU) refactors/cleanups. 2017-01-23 16:14:05 +01:00
twinaphex
0d5b3b9273 Create menu_driver_is_alive 2017-01-23 00:37:52 +01:00
twinaphex
96c8ca5a09 Header update #1 2017-01-22 13:40:32 +01:00
twinaphex
0354ced675 Style nits 2017-01-17 19:02:49 +01:00
twinaphex
4743230b09 Some header includes shouldn't be system includes 2017-01-17 18:15:11 +01:00
twinaphex
7931436f5b Apply xerpi diff 2017-01-17 18:12:23 +01:00
aliaspider
14660a8c12 (WiiU) simplify input code, add button labels for autoconfigs. 2017-01-17 12:41:55 +01:00
aliaspider
8cb692622a (WiiU) add support for bluetooth controllers (Wiimote, nunchuk, classic
controller, wiiu pro controller).
2017-01-16 18:52:39 +01:00
twinaphex
b996df6447 Put back input flushing - fixes input entry 2017-01-13 15:11:00 +01:00
twinaphex
cab74cd4a2 Buildfix 2017-01-13 10:00:43 +01:00
twinaphex
ea3dd6a95b Set device name when autoconfig connect task fails for all
other input drivers too
2017-01-13 05:00:13 +01:00
twinaphex
455c3f35c9 Buildfix 2017-01-13 04:42:26 +01:00
twinaphex
add7d26c3d Set device name for xinput/dinput even when autoconfig is
disabled
2017-01-13 04:40:44 +01:00
twinaphex
1eb17b6315 Remove settings header includes 2017-01-10 20:03:55 +01:00
Josh Palmer
437734e407 Rewrite QNX input & joypad drivers for proper BB10.3.1 support 2017-01-09 20:26:09 +00:00
twinaphex
4e3c2b3e66 (PSP/Vita) Buildfix 2017-01-02 02:39:15 +01:00
twinaphex
103042de96 Rewrite task_autodetect.c 2016-12-31 07:43:34 +01:00
twinaphex
32e1f96fa1 (PS3) Fix gamepad 2016-12-21 22:27:37 +01:00
radius
ab56b5f33c differentiate xbox one controllers 2016-12-18 13:44:15 -05:00
twinaphex
aafae944cb Don't memset autoconfig_params_t 2016-12-17 14:26:13 +01:00
twinaphex
2153f3f011 Check if autodetect is enabled at beginning of connect task 2016-12-16 15:18:04 +01:00
twinaphex
209305f944 Connect task now sets PID/VID too 2016-12-16 14:02:11 +01:00
twinaphex
1b0389713d (GX) Buildfix 2016-12-16 13:42:41 +01:00
twinaphex
d9def056e7 The 'connect' task now sets the device name upon completion 2016-12-16 12:33:56 +01:00
twinaphex
d2bd6677bd (udev_joypad.c) Cleanup 2016-12-11 08:48:25 +01:00
twinaphex
e9f853ba93 Move (joykey == NO_BTN ) to input_joypad_driver 2016-12-11 08:44:55 +01:00
twinaphex
37559c6f5f Cleanups 2016-12-11 08:31:55 +01:00
twinaphex
423578d972 (Joypad drivers) Simplify hat code 2016-12-11 07:28:33 +01:00
twinaphex
7327e98c8a Add HAVE_XINPUT ifdef 2016-12-07 07:08:27 +01:00
Brad Parker
f725b48555 starting to revert unicode changes 2016-12-03 00:15:29 -05:00
Brad Parker
d20acaa63d more unicode fixes 2016-12-02 23:00:27 -05:00
Brad Parker
cc7bf6b4fa more unicode fixes 2016-12-02 21:11:55 -05:00
Brad Parker
3846ce1837 build fixes for MSVC, start moving back to TCHAR usage so we can switch unicode on and off 2016-12-02 12:54:39 -05:00
twinaphex
021559a877 Get rid of runloop.h dependencies inside input/ dir 2016-12-02 06:07:45 +01:00
twinaphex
5fdb5b4dcf Updates 2016-12-01 22:24:17 +01:00
twinaphex
d3c22cb0e4 Move input/input_autodetect.c to tasks/task_autodetect.c 2016-12-01 20:38:20 +01:00
twinaphex
76d0380e45 Rename input_autoconfigure_joypad to input_autoconfigure_connect 2016-12-01 18:57:44 +01:00
twinaphex
e689d55414 Rename autoconfig functions 2016-12-01 18:52:34 +01:00
twinaphex
debf5e0222 Rename g_udev and g_udev_mon 2016-12-01 17:39:36 +01:00
twinaphex
c1e343cec8 Cleanup hid_joypad_name 2016-12-01 17:37:27 +01:00
twinaphex
ebe1ac6967 (udev_joypad.c) Cleanups 2016-12-01 16:46:32 +01:00