twinaphex
1bf7cbccbe
input_device_names no longer part of settings struct
2017-04-27 21:35:46 +02:00
twinaphex
f9bc2d3783
Use memcmp instead of string_is_equal where possible for
...
better performance
2017-04-21 22:47:15 +02: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
twinaphex
96c8ca5a09
Header update #1
2017-01-22 13:40:32 +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
103042de96
Rewrite task_autodetect.c
2016-12-31 07:43:34 +01:00
twinaphex
aafae944cb
Don't memset autoconfig_params_t
2016-12-17 14:26:13 +01:00
twinaphex
209305f944
Connect task now sets PID/VID too
2016-12-16 14:02:11 +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
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
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
ebe1ac6967
(udev_joypad.c) Cleanups
2016-12-01 16:46:32 +01:00
twinaphex
63ae172a23
Add udev_common.c/.h
2016-12-01 15:02:42 +01:00
twinaphex
468644e213
Simplify udev_hotplug_available and prevent implicit memset
2016-12-01 03:59:02 +01:00
twinaphex
eee077fe31
(udev) Simplify udev_joypad_handle_hotplug
2016-12-01 03:50:35 +01:00
twinaphex
b1b2579fde
Start reducing size of some char variables
2016-10-27 09:17:41 +02:00
twinaphex
d6db2fe227
Change some strings
2016-10-22 04:52:46 +02:00
twinaphex
a4a1e96210
Prevent more implicit memsets
2016-10-16 01:40:29 +02:00
twinaphex
f6a5e4d8eb
Remove unused variable
2016-09-22 21:52:17 +02:00
twinaphex
075aea2289
Header include cleanups
2016-09-06 00:56:00 +02:00
twinaphex
9037473c7e
Header include cleanups
2016-09-01 05:51:08 +02:00
Alcaro
f5881c17ef
Use the same format as in the autoconfigs
2016-06-30 22:06:51 +02:00
twinaphex
bfa6f49ae6
Fix logically dead code warnings
2016-05-24 22:12:51 +02:00
twinaphex
fbd2e9aa84
Use string_is_equal more
2016-01-21 02:48:00 +01:00
twinaphex
347a18cb30
Update input headers
2016-01-10 04:33:01 +01:00
twinaphex
697351ee67
(input) Use string_is_empty
2015-12-26 07:54:17 +01:00
twinaphex
b8bbdc6f4c
Revert udev drivers
2015-12-17 03:02:48 +01:00
twinaphex
2d55dc3bda
Complete namespace changes
2015-12-07 15:32:14 +01:00
twinaphex
39e9d5c5ba
Start cutting down on the size of some char local variables - we
...
don't need PATH_MAX_LENGTH for everything
2015-12-06 13:28:20 +01:00
twinaphex
6d90c42bb5
We need to check for the instance where udev is only initialized
...
for the joypad part and not the general input driver
2015-11-30 16:56:32 +01:00
twinaphex
62260cf892
Turn g_udev static
2015-11-30 16:52:29 +01:00
twinaphex
28602d84af
Make g_udev_mon static
2015-11-30 16:47:43 +01:00
twinaphex
b76481b21e
Create udev_mon_hotplug_available
2015-11-30 16:42:52 +01:00
twinaphex
2db1197942
Expand udev_common.c
2015-11-30 16:39:22 +01:00
twinaphex
fd91cf130e
Create udev_common.c/udev_common.h
2015-11-30 16:31:05 +01:00
twinaphex
2d455d78b3
Move inptu state to android_joypad.c
2015-11-29 16:18:29 +01:00
twinaphex
074f14b132
Add verbosity.c/verbosity.h
2015-11-23 12:03:38 +01:00
twinaphex
38d099654e
Cleanups
2015-09-05 20:49:57 +02:00
Jean-André Santoni
c6481b1930
Fix autoconfig saving for udev
2015-07-30 00:25:09 +02:00
twinaphex
425948c706
(udev_joypad.c) Alcaro might have inadvertently broken compute_axis
...
here - see https://github.com/libretro/RetroArch/issues/1900
2015-07-09 07:59:16 +02:00
Alcaro
4ca6c2398c
More C89 cleanups, part 3
2015-06-26 18:35:52 +02:00
Alcaro
97f8188969
Clean up some C99 longlongs.
2015-06-26 16:21:50 +02:00
twinaphex
daf4f5719b
(Input) Cleanups
2015-06-13 00:02:28 +02:00