527 Commits

Author SHA1 Message Date
Toad King
2874c5ee6e emscripten: Fix GLSL not being built in
fix gamepad builds to work with newer emscripten
2019-08-06 20:51:18 -05:00
twinaphex
eb3753ee3c (XInput/DirectInput) Show device disconnect messages when unplugging a gamepad 2019-07-28 06:42:30 +02:00
twinaphex
91ef99f9b7 Restore this 2019-07-27 04:28:50 +02:00
twinaphex
d28cadef01 Cleanups; turn more functions into static functions 2019-07-27 04:13:33 +02:00
Yoshi Sugawara
102f27ee80 iOS/tvOS/macOS: Fix autodetect for mFi controllers: properly call autodetect add on the connect notification, and add call to disconnect on GameController disconnect notification. 2019-07-24 11:45:42 -10:00
twinaphex
2750997724 (dinput) POV defines need mmsystem.h header include 2019-07-23 19:40:22 +02:00
twinaphex
5d8d6e18b2 (Dinput joypad) Prevent input going haywire once pad is disconnected 2019-07-23 18:46:40 +02:00
twinaphex
f06607141d dinput_joypad_button - further cleanups 2019-07-23 18:37:28 +02:00
twinaphex
051fb92e83 (Dinput joypad) Cleanup magic numbers mess surrounding
hat code
2019-07-23 18:27:16 +02:00
twinaphex
783027ab96 (Dinput) Lots of pointless ARRAY_SIZE checks when the element size
never changes
2019-07-23 16:07:34 +02:00
twinaphex
642298c8b0 (ps4_joypad.c) C89_BUILD fixes 2019-07-23 15:47:13 +02:00
twinaphex
ea4f9b4899 dinput_joypad_button - cleanups 2019-07-23 15:34:24 +02:00
twinaphex
e0672e46a5 (Xinput) This variable doesn't need to be set at every button call 2019-07-23 14:32:46 +02:00
twinaphex
02876aecae Cleanups 2019-07-23 14:07:49 +02:00
twinaphex
d4255b0e55 Cleanups 2019-07-23 13:59:51 +02:00
rsn8887
c226f0a683 [SWITCH] Fix splitting and joining of joycon controllers
Before this fix, splitting and joining of joycons only ever worked
sporadically.
2019-07-22 23:30:34 -05:00
orbea
e13ec54dc6 Fix --disable-overlay. 2019-07-21 10:26:42 -07:00
twinaphex
7be9aef768 (PSP) Buildfix 2019-07-20 16:56:01 +02:00
twinaphex
5de9f85533 Cleanups 2019-07-19 13:01:45 +02:00
twinaphex
4c69dad0ce Define DEFAULT_MAX_PADS inside config.def.h - get rid of the messy
MAX_PADS macros everywhere
2019-07-19 12:55:38 +02:00
twinaphex
0257e01bee Refactor input_autoconfigure_connect - don't return
value - set input device name upon failure implicitly
2019-07-16 15:28:22 +02:00
twinaphex
67c70de8f3 (Drivers joypad) Cleanups 2019-07-16 14:41:09 +02:00
twinaphex
f1ea1f1845 (Drivers joypad) Cleanups 2019-07-16 14:39:31 +02:00
twinaphex
bf80376d27 Style nits 2019-07-16 14:34:37 +02:00
David Skywalker
89645ac296 fix wrong udev devices order, fixes #9071 2019-07-08 01:27:41 +02:00
twinaphex
cec67e412e Revert "(dinput/xinput) Simplifications"
This reverts commit 20e8dfcba5fc36befb129940d14a1d891b38f2e2.
2019-07-04 05:20:19 +02:00
twinaphex
c55aefef1e (dinput_joypad.c) Cleanups 2019-06-24 05:07:37 +02:00
twinaphex
eaf221125a (xinput_joypad.c) Small cleanups 2019-06-23 03:23:16 +02:00
twinaphex
20e8dfcba5 (dinput/xinput) Simplifications 2019-06-21 09:00:59 +02:00
twinaphex
ee3208ac39 Integrate video_driver.c into retroarch.c 2019-06-17 15:10:22 +02:00
Yoshi Sugawara
222d3297d2 use preprocessor macros to support compiling using Xcode 11/iOS 13 and older versions of Xcode 2019-06-05 06:50:02 -10:00
Yoshi Sugawara
9e1fcf4031 iOS: Support L3/R3 in iOS 12.1, Options buttons in mfi/PS4/XBox One controllers in iOS 13 2019-06-05 06:21:06 -10:00
Ash Logan
26d3c3634c wiiu/input: Uniquely name axis enum
Griffin!
2019-05-28 09:16:48 +10:00
Ash Logan
9a89aebe73 wiiu/input: Give static variables unique names
For griffin build, where static is meaningless
2019-05-28 09:06:31 +10:00
Exvat
e7bf2a345c Add rumble support for the switch 2019-03-11 19:33:02 -07:00
Francisco Javier Trujillo Mata
48d46dcc44 [PS2] Analog support improvement 2019-02-27 19:43:59 +01:00
Brad Parker
4f0d61a2ac update copyright 2019-02-22 19:13:36 -05:00
Francisco Javier Trujillo Mata
c147866562 Implemented analog support for ps2 controllers 2019-02-20 19:17:14 +01:00
twinaphex
1daaf7385c 9PS2) Silence some warnings 2019-02-14 07:20:44 +01:00
Yoshi Sugawara
b06d75ec99 iOS: check if mfi controller already added to the internal list when connecting 2019-02-05 06:43:14 -10:00
orbea
28ff4b391a Clean up white space. 2019-02-03 16:00:50 -08:00
Twinaphex
b321753944
Merge pull request #8144 from orbea/coreaudio
Fix warnings.
2019-02-01 19:13:49 +01:00
orbea
5d56080312 Use the posix poll.h instead of sys/poll.h. 2019-02-01 09:58:04 -08:00
orbea
5150d96074 Fix warnings. 2019-02-01 08:40:43 -08:00
Yoshi Sugawara
45185d6827 tvOS: remove the tvOS modules directory and use the iOS modules one since cores built using the iOS SDK work on tvOS
iOS: change default joypad driver to be mfi
iOS: move autodetect of mfi controller to mfi_joypad driver and set the default mapping for both iOS and tvOS
iOS: support unsupported buttons on mfi controller (select,L3,R3) by using hotkey combinations using the MENU button
tvos: use INPUT_TOGGLE_DOWN_Y_L_R as default for menu toggle gamepad combo
2019-02-01 05:33:29 -10:00
twinaphex
4b0b4e727b Cleanups 2019-01-31 15:24:21 +01:00
Yoshi Sugawara
a18512375b Support for tvOS
- add tvOS target
    - support code signing tvOS cores by adding an argument to the code signing cores script
    - use NSCachesDirectory for the documents directory
    - add some mfi controller handling logic to set non-game controllers to the last index to avoid interfering with operation
    - autodetect mfi controller for apple tv on startup - added autodetect to hid joypad
    - added a webserver to transfer files for tvOS
    - xcode: clean up project, remove unused folders
    - remove HAVE_MATERIALUI setting for tvos build, make it use XMB as default
    - added retroarch app icon courtesy of @MrJs
    - added auto-detect of mfi controller for apple tv
2019-01-29 10:13:46 -10:00
orbea
cb602c190d Some C89_BUILD fixes. 2019-01-20 14:03:42 -08:00
krzys-h
d98962189a Fix crash in xinput with verbose logging 2019-01-18 17:50:13 +01:00
orbea
ff2e3bbbce Fix CXX_BUILD errors. 2019-01-13 11:51:33 -08:00