twinaphex
a41b8bc199
Direct usage of epoll
2017-06-11 20:51:21 +02:00
twinaphex
060753258a
Combine input_driver.c and input_keyboard.c
2017-06-11 17:51:12 +02:00
twinaphex
612cb54cfe
Merge input_hid_driver
2017-06-11 08:56:36 +02:00
twinaphex
84f5fa1f26
(epoll_common.c) Cleanups; don't use verbosity logging inside
2017-06-10 12:07:01 +02:00
twinaphex
c70526b7af
Fix hotplug regressions with udev
2017-06-10 11:58:22 +02:00
twinaphex
8980f8c1ea
Get rid of useless wrapper function epoll_waiting
2017-06-08 21:52:50 +02:00
twinaphex
eb08a86647
Get rid of udev_common.c
2017-06-08 21:46:26 +02:00
twinaphex
ab087faa2a
Try to move access call to maybe prevent 'time of check time of use'
...
coverity error
2017-06-07 23:29:29 +02:00
twinaphex
5c84f9158e
Try to prevent out-of-bounds write
2017-06-07 23:03:08 +02:00
twinaphex
a371815efd
Try to null-terminate string
2017-06-07 22:47:07 +02:00
twinaphex
eb5bf9451d
(psp_joypad.c) Cleanups
2017-06-07 22:34:37 +02:00
twinaphex
4a5593255f
(android_joypad.c) Small cleanup
2017-06-07 21:10:06 +02:00
twinaphex
dfcbd77a6b
(ctr/wiiu) Minor stylistic nits
2017-06-07 21:04:13 +02:00
twinaphex
afa07219cd
(linuxraw_joypad.c) Cleanups
2017-06-07 20:58:46 +02:00
twinaphex
f9061ca931
Simplify udev_joypad_button
2017-06-07 20:48:33 +02:00
twinaphex
9a471d0ef4
Simplify udev_joypad.c
2017-06-07 20:44:14 +02:00
Ethan Lee
bf20021338
[SDL2] Fix joypad info for SDL_GameController devices
2017-06-06 16:16:44 -04:00
twinaphex
6b3dbff75f
Merge input_driver.c and input_joypad_driver.c
2017-06-06 05:56:02 +02:00
Maschell
7a2c09e9ce
[Wii U ] Proper order of the HID devices.
...
Added individual names for the HID devices.
2017-05-20 19:26:12 +02:00
Maschell
2ac91822c3
Merge remote-tracking branch 'refs/remotes/libretro/master' into wiiu_controller_patcher
2017-05-20 13:14:13 +02:00
twinaphex
126a5bf121
Use string_is_equal_fast/string_is_not_equal_fast
2017-05-16 04:00:37 +02:00
twinaphex
bf3188eac4
Combine runloop_ctl and rarch_ctl
2017-05-15 05:06:23 +02:00
Maschell
63bb97287f
[Wii U] Removed forcing Gamepad reading success
2017-05-08 21:49:24 +02:00
Maschell
4393e17ea7
[Wii U] Using the HID Controller as a own controller. Currently the stick only work when it's bind manually. Mapping from controller to retroarch input port may change when you attach a new device.
2017-05-08 21:46:34 +02:00
Maschell
e695d4e8ad
[WiiU] Initial controller patcher support (HID via USB and network)
...
- Reading config from sd cards currently broken
- Not implemeted as a driver, currently all devices will be mapped to the WiiU Gamepad driver
2017-05-08 12:24:06 +02:00
twinaphex
7a152700fa
Update
2017-04-28 14:31:23 +02:00
twinaphex
ed53be7c81
Move all bool settings
2017-04-28 14:11:34 +02:00
twinaphex
1bf7cbccbe
input_device_names no longer part of settings struct
2017-04-27 21:35:46 +02:00
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
twinaphex
793519eb61
(linuxraw_joypad.c) Cleanups
2016-12-01 16:44:47 +01:00
twinaphex
b63b675274
(linuxraw_joypad.c) Cleanups
2016-12-01 16:42:21 +01:00
twinaphex
d7f7d5f99a
Rewrite epoll_common
2016-12-01 16:40:04 +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
ce2fbbdbe2
(hid_joypad.c) Prevent null pointer dereferences
2016-11-30 05:12:28 +01:00
Twinaphex
7197be5a0d
(OSX) Prevent crash
2016-11-30 05:07:08 +01:00
aliaspider
e268630b84
(WiiU) skip bad vpad reads.
2016-11-10 13:03:40 +01:00
aliaspider
2abc9c7ef9
(WIIU) Home button can now trigger the main menu too.
2016-11-08 09:31:46 +01:00
FIX94
4a285fd4e1
(WiiU) fixed random pixels being displayed on game start/close and exit
...
(WiiU) fixed touchscreen sending invalid data which broke the menu toggle
2016-11-07 02:42:12 +01:00
Twinaphex
92a9f8aec7
Merge pull request #3887 from aliaspider/master
...
(WIIU) cleanup. adapt dynamic symbol loading to be able to use headers
2016-10-29 04:02:54 +02:00
aliaspider
e055b7cbc1
(WIIU) cleanup. adapt dynamic symbol loading to be able to use headers
...
from WUT.
2016-10-29 02:56:40 +01:00
Twinaphex
453155ade3
Merge pull request #3877 from aliaspider/master
...
(WIIU) update.
2016-10-28 01:53:43 +02:00
aliaspider
185849d5ff
(WIIU) add frontend driver, allocate mem2
2016-10-27 15:33:40 +01:00
twinaphex
6310f53587
Prevent some implicit memsets and reduce the size of some
...
char variables
2016-10-27 10:45:53 +02:00
twinaphex
b1b2579fde
Start reducing size of some char variables
2016-10-27 09:17:41 +02:00
aliaspider
a4d745a471
preliminary port to the wiiu platform
2016-10-27 01:34:10 +01: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
Romain Graillot
a64e497189
Renamed new settings to match change & cleaned code
2016-10-15 13:38:42 +02:00
Romain Graillot
ade4e7857b
Add possibility to switch touch surface on vita build
2016-10-15 13:28:35 +02:00
Francisco José García García
1ea5a80d02
(VITA) Add Backtouch enable option
2016-10-14 21:57:18 +02:00
Twinaphex
db8eb903aa
Merge pull request #3737 from frangarcj/master
...
(VITA) Disable Back Touch if in menu
2016-10-05 02:00:40 +02:00
Francisco José García García
d32bd63d3d
(VITA) Disable Back Touch if in menu
2016-10-05 01:34:26 +02:00
Sunguk Lee
8d09e0d421
(Vita) Improve vibration values
...
- Can vibrate both motors at same time
- DS3 & DS4 have difference motor speed range
- Clear vibration settings at disconnect controller
2016-10-03 18:03:20 +09:00
Francisco José García García
59d13c7131
(VITA) Fix actuator
2016-10-02 14:02:37 +02:00
Sunguk Lee
bd9db4ac55
(Vita) Back touch screen use L2/R2/L3/R3
2016-10-01 04:53:35 +09:00
Sunguk Lee
90678dd3de
(Vita) Autodetect connection of controllers on PSTV
2016-10-01 02:26:28 +09:00
Sunguk Lee
a2d9ca3e47
(Vita) Support L2/R2 on PSTV
2016-09-30 23:53:13 +09:00
twinaphex
d9d388a8fe
linuxraw_joypad.c - cleanup
2016-09-25 15:11:48 +02:00
twinaphex
3f35e10014
Solve some warnings pointed out by scan-build
2016-09-25 05:55:55 +02:00
twinaphex
f6a5e4d8eb
Remove unused variable
2016-09-22 21:52:17 +02:00
Francisco José García García
16257d58ef
Add up to 4 players
2016-09-17 14:22:45 +02:00
Francisco José García García
16de70a9d9
Update psp_joypad.c
2016-09-17 14:19:26 +02:00
twinaphex
7ddd03c558
Fix dinput/xinput
2016-09-11 15:08:07 +02:00
twinaphex
c97aa5e7ea
header include cleanups
2016-09-11 14:59:18 +02:00
twinaphex
075aea2289
Header include cleanups
2016-09-06 00:56:00 +02:00
twinaphex
acd4dd527b
Header include cleanups
2016-09-05 18:31:32 +02:00
twinaphex
1d06344567
(Vita) silence warning - RETRO_RUMBLE_DUMMY not handled in switch
2016-09-01 22:28:31 +02:00
twinaphex
6efdfdebd4
(PSP) Rumble code should be only for Vita build
2016-09-01 17:09:54 +02:00
twinaphex
9037473c7e
Header include cleanups
2016-09-01 05:51:08 +02:00
Francisco José García García
e3b5fdd815
(VITA) Add vibration for PSTV
2016-08-30 14:29:19 +02:00
twinaphex
b5a636f22b
(Vita) Prevent unused variable
2016-08-10 23:17:47 +02:00
twinaphex
30c847cc10
(PSP/Vita) Cleanup
2016-08-08 17:16:02 +02:00
Francisco José García García
d0f96ed535
(VITA) Small fix
2016-08-08 17:12:52 +02:00
Francisco José García García
8dde35f221
(VITA) Final Fix for controls
2016-08-08 17:10:52 +02:00
Francisco José García García
351b3fe3f6
(VITA) Workaround for PSVita Controls vs PSTV
2016-08-08 12:56:30 +02:00
twinaphex
ef6fb9b855
(Vita) Fix
2016-08-08 01:24:54 +02:00
twinaphex
8d47b30a67
Another cleanup
2016-08-08 01:23:48 +02:00
twinaphex
10e35d4d75
Small cleanup
2016-08-08 01:21:20 +02:00
twinaphex
ecc625dbf1
(Vita) Implement multiplayer hack
2016-08-08 01:19:16 +02:00
twinaphex
80b82606d4
This is the same now
2016-08-07 20:35:40 +02:00
Francisco José García García
ab9b2f5998
(VITA) Add PSTV two players mode
2016-08-07 20:15:43 +02:00
twinaphex
24817aeeac
(Vita) Autoconfigure gamepads
2016-08-07 17:22:34 +02:00
twinaphex
33a1a70aa8
(Vita) Try this
2016-08-07 17:18:55 +02:00
twinaphex
3964dfc2de
(PSP/Vita) Refactors
2016-08-07 14:55:47 +02:00
twinaphex
632cc0ef6c
(Vita) Start setting up Vita for multiplayer
2016-08-07 14:52:41 +02:00
twinaphex
9e2925ea23
Start dehardcoding PSP joypad for only one gamepad - multiple
...
gamepads could maybe be used on PS TV
2016-08-02 17:04:00 +02:00
twinaphex
64d6e0facf
(Vita) Implement proper gamepad menu toggle combo for Vita, and remove
...
old hack
2016-08-02 16:48:54 +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
974d3245d2
Fix logically dead code warnings
2016-05-23 22:04:00 +02:00
twinaphex
2691ab0c7d
Rename command_event enums
2016-05-09 20:51:53 +02:00
twinaphex
523ebed112
Combine command_event.c and command.c
2016-05-09 20:30:47 +02:00
twinaphex
a98ef36d36
Rename event_cmd_ctl to command_event
2016-05-09 20:20:50 +02:00
twinaphex
372d673a26
Rename event_command to event_cmd_ctl - add second parameter
2016-01-22 15:34:43 +01:00
twinaphex
fbd2e9aa84
Use string_is_equal more
2016-01-21 02:48:00 +01:00
twinaphex
8caee50fcd
(GX) Add way to handle power callback
2016-01-13 08:27:58 +01:00
twinaphex
347a18cb30
Update input headers
2016-01-10 04:33:01 +01:00
Ernesto Ramirez
e53840f6c1
(GX) Fix input issue causing controllers to do not work at all.
2016-01-02 18:37:15 -06:00
twinaphex
33028b7603
remove these files
2016-01-02 01:36:11 +01:00