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
twinaphex
e67491d6a9
remove HAVE_LIBSICKSAXIS
2016-01-02 01:35:34 +01:00
twinaphex
697351ee67
(input) Use string_is_empty
2015-12-26 07:54:17 +01:00
aliaspider
40ac911a05
build fix.
2015-12-24 21:17:44 +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
736f343d9f
Create RARCH_MENU_CTL_IS_ALIVE
2015-12-05 13:49:34 +01:00
twinaphex
2f29d9f18c
Take out menu/menu_driver.h include from driver.h
2015-12-05 13:22:50 +01:00
twinaphex
35da6073df
(gx_joypad.c) Declare variables at top
2015-12-04 12:00:00 +01:00
twinaphex
0b9df5a069
(GX) Buildfix
2015-12-04 11:56:10 +01:00
twinaphex
50f3999e9b
Backport/rewrites wmarquesr pt. 8
2015-12-04 11:11:05 +01:00
twinaphex
923433ead7
Move engine_handle_dpad code to android_input.c - copy
...
hat and analog state to intermediary on android_app during
poll time
2015-12-02 22:33:27 +01:00
twinaphex
c3b2f84f39
Typo fix
2015-11-30 18:24:35 +01:00
twinaphex
c03e1547b1
(linuxraw_joypad) Cleanups
2015-11-30 18:20:50 +01:00
twinaphex
7cb78cca58
Make g_epoll static
2015-11-30 18:14:07 +01:00
twinaphex
54655c37cd
Create epoll_waiting
2015-11-30 18:08:00 +01:00
twinaphex
ecbfc72e9b
Create epoll_common
2015-11-30 18:05:10 +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
d15ad86705
Create hid_driver_get_data
2015-11-29 21:11:57 +01:00
twinaphex
5e1b2b3bfa
Move driver->input_data to input_driver.c
2015-11-29 18:18:25 +01:00
twinaphex
dc7e8bc52b
Cleanup android_joypad_query_pad
2015-11-29 16:35:51 +01:00
twinaphex
2d455d78b3
Move inptu state to android_joypad.c
2015-11-29 16:18:29 +01:00
twinaphex
127448f848
Use video_driver_window_get
2015-11-29 01:39:28 +01:00
Twinaphex
3001729545
Revert "Go through input_driver_get_data_ptr whenever we need input data"
...
This reverts commit 52c9a2ec43
.
2015-11-28 18:58:33 +01:00
twinaphex
52c9a2ec43
Go through input_driver_get_data_ptr whenever we need input data
...
state
2015-11-28 18:51:12 +01:00
twinaphex
c23846c5dc
Merged input_joypad.c and input_joypad_driver.c
2015-11-28 16:22:49 +01:00
twinaphex
a6ccc188a8
Rename input_common.c to input_config.c
2015-11-28 02:22:58 +01:00
twinaphex
b434689d39
(Win32) Buildfixes
2015-11-23 12:14:53 +01:00
twinaphex
074f14b132
Add verbosity.c/verbosity.h
2015-11-23 12:03:38 +01:00
Marco Bonardo
03f0c0339d
Poll sliders in joypad dinput driver
...
Poll sliders position as additional axes in the directinput joypad driver
2015-11-19 02:39:50 +01:00
Twinaphex
d399bc11e2
(MFi) Reimplement analog support
2015-11-18 04:54:08 +01:00
Twinaphex
a26482d302
(mfi_joypad.m) Use local headers
2015-11-17 08:29:21 +01:00
twinaphex
66ba102271
(MFi) Style nits
2015-11-16 11:14:36 +01:00
twinaphex
f967b07f19
(MFi) Buildfix
2015-11-16 11:12:00 +01:00
twinaphex
0e0db66f79
(mfi_joypad.m) should now work for regular mfi pads, courtesy of vinikun-mac
2015-11-16 10:34:02 +01:00
Twinaphex
c84b76c394
(MFi) No longer let MFi pad go through 'pad connection'
2015-11-16 08:45:51 +01:00
Twinaphex
1c304779a9
(mfi_joypad.m) Remove cocoa header
2015-11-16 06:13:28 +01:00
twinaphex
4d1d422541
(mfi_joypad.m) Remove dependency on CocoaTouch data
2015-11-16 06:07:24 +01:00
twinaphex
e882709e63
(mfi_joypad.m) Indenting nits
2015-11-16 05:10:20 +01:00
Twinaphex
ecdaa1885b
Nit
2015-11-16 04:41:19 +01:00
Twinaphex
730ae2c52d
(mfi_joypad.m) Cleanup
2015-11-16 04:38:44 +01:00
twinaphex
40b22b4d17
Move mfi_buttons state to drivers_joypad/mfi_joypad.m
2015-11-16 04:38:06 +01:00
twinaphex
f906814abe
mfi_buttons should be only used now from within input/drivers_joypad/mfi_joypad.m
2015-11-16 04:32:04 +01:00
twinaphex
8b56ee5624
(mfi_joypad.m) Style nits
2015-11-16 03:53:36 +01:00
Twinaphex
db35a28e50
Revert "Refactor slots to be a part of input_hid_driver.c now"
...
This reverts commit 646ded9d1c
.
2015-11-16 03:48:51 +01:00
Twinaphex
f089fff42f
Revert "Fix warnings"
...
This reverts commit 8d67d5175e
.
2015-11-16 03:48:44 +01:00
twinaphex
8d67d5175e
Fix warnings
2015-11-16 03:40:57 +01:00
twinaphex
646ded9d1c
Refactor slots to be a part of input_hid_driver.c now
2015-11-16 03:39:40 +01:00
Twinaphex
57e8cfe1f9
Totally reimplemented MFi support
2015-11-16 02:39:38 +01:00
twinaphex
9fbba11275
Add preliminary mfi_joypad.m
2015-11-16 01:29:51 +01:00
aliaspider
a55bbfc04a
(CTR/3DS) input: fix analog joypad polling.
2015-10-01 23:56:22 +01:00
twinaphex
e986b9e42a
Static code analysis cleanups
2015-09-29 17:35:28 +02:00
Twinaphex
1974a3051d
Merge pull request #2185 from aliaspider/master
...
(CTR/3DS) implement right stick analogue polling.
2015-09-29 02:38:14 +02:00
aliaspider
4a4dd8e625
(CTR/3DS) implement right stick analogue polling.
2015-09-28 23:57:05 +01:00
twinaphex
02a5d738fe
Static code analysis cleanups
2015-09-28 23:00:22 +02:00
Twinaphex
b1f6c88626
Merge pull request #2177 from aliaspider/master
...
(CTR/3DS) update
2015-09-28 16:21:57 +02:00
twinaphex
a79b571d7b
Static code analysis fixes
2015-09-28 16:20:26 +02:00
aliaspider
ca000f64db
(CTR/3DS) add support for new 3ds extra buttons/right stick, not tested.
...
no analogue support for the right stick.
2015-09-28 14:53:38 +01:00
twinaphex
e654c5cb65
Header cleanups
2015-09-05 20:53:56 +02:00
twinaphex
38d099654e
Cleanups
2015-09-05 20:49:57 +02:00
twinaphex
4d8b125c4f
Cleanups
2015-09-05 20:40:11 +02:00
twinaphex
3e977034a7
(Win32) More buildfixes
2015-09-05 14:10:16 +02:00
Sergi Granell
96146e5313
(Vita) Update vita2d driver
...
(Vita/PSP) Name some stuff to vita
2015-08-31 15:26:37 +02:00
Alcaro
ee2ad0c4bd
These aren't executable.
2015-08-12 01:31:03 +02:00
radius
828734e007
don't try to autoconfigure GPIO devices
2015-08-11 17:13:25 -05:00
twinaphex
ff3e791d72
(Vita) Compile in input and joypad drivers
2015-08-10 23:19:07 +02:00
Jean-André Santoni
c6481b1930
Fix autoconfig saving for udev
2015-07-30 00:25:09 +02:00
Toad King
45e9055a63
don't uninitialize usb during libsicksaxis shutdown, fixes USB devices crashing on load
2015-07-23 19:06:21 -05:00
twinaphex
a6bbc31f95
(GX) Header buildfix
2015-07-14 06:14:13 +02:00
Twinaphex
f2ee781e92
Merge pull request #1959 from netux79/master
...
Fixed nunchuk controller support, it was not correctly detected.
2015-07-14 06:03:34 +02:00
Jose Ernesto Ramirez Ramirez
09f3c3ca77
Fixed nunchuk controller support, it was not correctly detected.
...
Fixed classic controller's analogs, were not working at all.
Restored sixaxis controller support, now with completely rewroten library.
Changed detection order (GC, Sixaxis, Wiimote/Nunchuck/Classic, left wiimote at the end, otherwise we needed to disconnect it to be able to use GC controller or sixaxis controller.
2015-07-13 22:58:01 -05:00
radius
82feadd350
fix vid/pid saving for dinput, need to add it to other drivers
2015-07-12 15:29:49 -05:00
twinaphex
7fb1265227
(PSP/CTR) Should fix lifecycle state menu toggling
2015-07-12 10:46:20 +02:00
twinaphex
23348f41ac
(GX) Menu button toggle should work again
2015-07-12 10:41:49 +02:00
twinaphex
135ee2f503
Use UINT64_C(1) everywhere instead of 1ULL
2015-07-12 07:53:46 +02:00
twinaphex
0107be2485
(GX) Refactor controls
2015-07-12 01:58:43 +02:00
twinaphex
2bdce53651
(PSP) Refactor input code
2015-07-12 01:55:51 +02:00
twinaphex
69a406809e
(CTR) Refactor code
2015-07-12 01:53:32 +02:00
radius
0ea522585d
add a function to save controller profiles
2015-07-10 20:15:14 -05:00
twinaphex
2f9e8b44e3
(input) Get rid of remaining unused global pointers
2015-07-10 19:08:58 +02:00
twinaphex
2eab572773
(CTR) Don't depend on global state in input driver
2015-07-10 18:51:04 +02:00
twinaphex
2698d4622a
(PSP) Don't depend on global state in input driver
2015-07-10 18:47:56 +02:00
twinaphex
e2d510e4f6
(GX) No longer depend on global pointer in input driver
2015-07-10 18:44:11 +02:00
radius
9d268aba54
refactor input autoconfiguration to use a score system
2015-07-09 22:46:28 -05:00
radius
c604b44672
add vid/pid to dinput
2015-07-09 20:39:43 -05:00
twinaphex
34414b5919
Menu toggle should be properly saved now with custom bind - the
...
forced hack broke all sorts of behavior
2015-07-09 22:16:27 +02:00
Jools Wills
9fb753410e
cosmetic - fix incorrect tab indentation introduced by 141dbabe3d
2015-07-09 20:03:36 +01:00
twinaphex
7867c3ee74
(dinput_joypad.c) Cleanup
2015-07-09 18:45:48 +02:00
Twinaphex
b91f310b60
Merge pull request #1934 from fr500/master
...
Add VID/PID to the joypad struct
2015-07-09 18:44:46 +02:00
radius
af978297e2
fix nits
2015-07-09 11:31:05 -05:00
radius
141dbabe3d
add VID/PID to the dinput_joypad struct
2015-07-09 11:29:04 -05: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
twinaphex
954121b99c
Kill off some console-only hacks to do with lifecycle state
2015-07-09 06:35:18 +02:00
Toad King
55553623f9
[GX] minor fix on gamepad state
2015-07-04 15:37:29 -05:00
Toad King
26b4dc79d0
[Android] clear bindings on context reset, they end up getting rebound anyway
...
bump version
2015-07-02 23:06:53 -05:00