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
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 646ded9d1c96f02f1746e4e96572bb1aec60255d.
2015-11-16 03:48:51 +01:00
Twinaphex
f089fff42f
Revert "Fix warnings"
...
This reverts commit 8d67d5175e198bf8d1cc607ecbf2290fbab6a83b.
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