warmenhoven
c3526132ad
iOS9/iOS11 build fix: Link against CoreHaptics ( #14977 )
...
Also address a couple warnings
2023-02-14 05:35:38 +01:00
warmenhoven
5685b5a9a1
mFI on OSX ( #14975 )
...
This adds mFI as a controller driver for OSX, as well as adding rumble
support for mFI controllers. Also add support for the Home button.
Also fixed a couple warnings.
2023-02-13 21:49:35 +01:00
LibretroAdmin
ace21d28f7
Fix C++ comments
2022-10-01 17:56:16 +02:00
LibretroAdmin
da13fb0f48
Don't include errno.h in files that don't justify its use
2022-08-25 05:19:30 +02:00
Michael Burgardt
303d17e2e6
Rebase 'Add generic rumble gain to input settings' by davidgfnet
2021-09-08 19:52:32 +02:00
twinaphex
bb30dc3dee
After gblues' change, the rest of the button function callbacks
...
for the other joypad drivers still had int16_t as the return type
instead of int32_t - fix this
2021-08-08 21:48:19 +02:00
Todd Laney
be8dd0dba1
prevent crash on controller connect.
...
disable system button gestures on iOS 14.
remove deprecation warnings.
2021-04-03 09:28:49 -07:00
twinaphex
938c8f3abc
Fix some tvOS warnings
2021-03-15 01:52:18 +01:00
twinaphex
875cb06a93
(iOS) Fix signature on apple_gamecontroller_joypad_init
2021-01-16 20:05:53 +01:00
Yoshi Sugawara
f70aed431d
[iOS][tvOS] Fix declaration of input driver init method
2020-09-24 07:21:08 -10:00
twinaphex
236622ffa6
(Joypad driver) Init function - return void pointer
2020-09-22 02:30:47 +02:00
twinaphex
7c36e615c2
(MFI_joypad) Cleanups
2020-09-11 12:39:05 +02:00
twinaphex
4676e102d0
(input/drivers_joypad) Add TODO/FIXME notes
2020-08-03 17:31:22 +02:00
twinaphex
ed3ee2511f
Cleanups - add local variable
2020-07-29 05:31:23 +02:00
rsn8887
78c9dbbd20
Fix input port assignments
2020-07-28 16:35:16 -05:00
Autechre
6c7143d02d
Merge pull request #10981 from yoshisuga/yoshisuga/ios-metal
...
iOS/tvOS Metal Renderer
2020-07-21 20:41:07 +02:00
twinaphex
897a9de5be
(drivers_joypad) Cleanup axis functions
2020-07-19 18:51:05 +02:00
Yoshi Sugawara
fd9ac64d55
Merge branch 'master' into yoshisuga/ios-metal
2020-07-19 00:33:54 -10:00
twinaphex
d97e590aaf
Reimplement multi button state functions
2020-07-19 03:18:12 +02:00
twinaphex
cb5b22b6ac
(Android) Refactor axis functions
2020-07-18 22:38:23 +02:00
twinaphex
08ad00f5d3
Start preparing for being able to grab multiple buttons at the same time
2020-07-18 19:51:14 +02:00
twinaphex
8b078662cd
Change function signature of joypad driver's 'button'
2020-07-18 18:07:57 +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
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
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
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
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
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
twinaphex
a82bb0ec94
Create special type input_bits_t
2018-04-08 20:21:12 +02:00
twinaphex
6c09661a64
Move defines to retro_miscellaneous.h
2017-12-05 10:42:37 +01:00
David Walters
c5bdc02d6f
replace uint64_t with retro_bits_t* for pad buttons state
2017-11-28 10:04:34 +00:00
Glenn
ec806f65f9
fixed MFI controller being set to P2
2017-10-29 18:20:39 +11:00
Twinaphex
b7b3b2cb5f
Try to prevent truckload of warnings on iOS
2017-02-26 10:33:03 +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
e9f853ba93
Move (joykey == NO_BTN ) to input_joypad_driver
2016-12-11 08:44:55 +01:00
twinaphex
347a18cb30
Update input headers
2016-01-10 04:33:01 +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