summaryrefslogtreecommitdiff
path: root/Xcode-iOS
AgeCommit message (Collapse)AuthorFilesLines
2019-04-23Created Xcode schemes for building on iOS and tvOSSam Lantinga9-0/+720
2019-03-19Fixed archiving the SDL dynamic library on iOS and tvOSSam Lantinga1-4/+0
2019-03-19Added support for building SDL as a dynamic library on tvOSSam Lantinga1-0/+668
2019-03-19Added support for building SDL as a dynamic library on iOSSam Lantinga1-0/+717
2019-03-16Fixed iOS buildSam Lantinga1-0/+6
2018-11-15fix permissionsOzkan Sezer3-0/+0
2018-11-14Fixed bug 3193 - Dualshock 3's motion sensors overwrite analog stickSam Lantinga3-0/+0
maxxus The Dualshock 3's motion sensors don't seem to be reported by the call to EVIOCGBIT but they still send EV_ABS events. Because they're not reported by EVIOCGBIT they're not assigned a proper axis ids and the default of 0 is used, which is the valid id for the left analog sticks left/right axis.
2018-10-26Don't build SDL_JOYSTICK_HIDAPI by default on iOSSam Lantinga2-74/+0
If you enable this, you'll need to link with CoreBluetooth.framework and add something like this to your Info.plist: <key>NSBluetoothPeripheralUsageDescription</key> <string>MyApp would like to remain connected to nearby bluetooth Game Controllers and Game Pads even when you're not using the app.</string>
2018-10-23fix permissionsOzkan Sezer3-0/+0
2018-10-22Add exception handling to Android hidapi.Sam Lantinga3-0/+0
2018-10-18Fixed bug 4324 - Xcode 10 - more cleanup for macOS and iOS projectsSam Lantinga3-0/+6
Dominik Reichardt Xcode warns about "Traditional headermap style is no longer supported; please migrate to using separate headermaps and set 'ALWAYS_SEARCH_USER_PATHS' to NO." Just doing the latter is enough to silence the warning without ill effects on compiling. This affects the macOS Xcode projects as well as the iOS projects. Definitely not a bug but an annoying warning that could go away.
2018-10-18Fixed bug 4324 - Xcode 10 - more cleanup for macOS and iOS projectsSam Lantinga1-0/+16
Dominik Reichardt Similar to bug/patch #4228, the iOS Demo Xcode project needs to add the CoreBluetooth framework.
2018-09-15fix permissionsOzkan Sezer1-0/+0
2018-09-14Use atomic reference counting for the HID device objectSam Lantinga1-0/+0
2018-09-10Fixed building on tvOS without any sensor supportSam Lantinga1-0/+18
2018-08-30fix permissionsOzkan Sezer2-0/+0
2018-08-22Added SDL_GetDisplayOrientation() to get the display orientation, and added ↵Sam Lantinga1-0/+10
a new event SDL_DISPLAYEVENT to notify the application when the orientation changes. Documented the values returned by the accelerometer and gyroscope sensors
2018-08-22Fixed crash trying to open HIDAPI controller as a haptics device on WindowsSam Lantinga1-0/+0
2018-08-21Removed dependency on C++ runtime on iOSSam Lantinga1-4/+6
2018-08-21Added the iOS sensor implementationSam Lantinga1-0/+44
2018-08-21Fixed bug 4228 - Clean-up Xcode projectsSam Lantinga3-121/+172
C.W. Betts This cleans up the Xcode project by setting the Xcode groups to the corresponding directories. This also removes the Resources folder in OS X's Products group and adds the CoreBluetooth framework to the iOS tests (this is needed due to the addition of hidapi.
2018-08-09Added HIDAPI joystick drivers for more consistent support for Xbox, PS4 and ↵Sam Lantinga1-19/+69
Nintendo Switch Pro controller support across platforms. Added SDL_GameControllerRumble() and SDL_JoystickRumble() for simple force feedback outside of the SDL haptics API
2018-06-12ran 'chmod -x' on many filesOzkan Sezer5-0/+0
2018-02-24Added missing file to tvOS buildSam Lantinga1-0/+2
2017-12-12Moved deployment target values to project settingsSam Lantinga1-4/+4
2017-12-12Parameterized the All (target platform) build target scripts so they can be ↵Sam Lantinga1-7/+7
used in other projects
2017-12-12Renamed Xcode build targets so it's easier to copy files out of build ↵Sam Lantinga1-24/+22
directories on the command line Also enabled bitcode, which is needed for App Store builds
2017-12-12Added SDL_uikitmetalview.m to the tvOS projectSam Lantinga1-0/+2
2017-12-10Added the Metal framework to several iOS testsSam Lantinga1-4/+8
2017-12-07Fixed building for simulators or older iOS SDKsSam Lantinga1-2/+2
2017-12-07Fixed compiling Metal renderer on iOSSam Lantinga1-0/+26
2017-11-12Updated SDL's YUV support, many thanks to Adrien DescampsSam Lantinga4-19/+174
New functions get and set the YUV colorspace conversion mode: SDL_SetYUVConversionMode() SDL_GetYUVConversionMode() SDL_GetYUVConversionModeForResolution() SDL_ConvertPixels() converts between all supported RGB and YUV formats, with SSE acceleration for converting from planar YUV formats (YV12, NV12, etc) to common RGB/RGBA formats. Added a new test program, testyuv, to verify correctness and speed of YUV conversion functionality.
2017-10-26Updated SDL iOS project for tvOSSam Lantinga1-10/+114
2017-10-12Added functions to query and set the SDL memory allocation functions:Sam Lantinga1-0/+8
SDL_GetMemoryFunctions() SDL_SetMemoryFunctions() SDL_GetNumAllocations()
2017-09-22Added stubs for simple Steam Controller supportSam Lantinga1-0/+16
2017-09-22Fixed bug 3837 - Change project settings for Xcode 9?Sam Lantinga1-3/+49
Mark Callow Xcode 9 emits a warning to validate project settings. The changes it proposes are 1. [iOS] Update the iOS deployment target to 8.0 since Xcode does not support anything older. 2. [macOS] Target 'Framework' - Automatically Select Archectures. 3. [iOS & macOS] Turns on a bunch more compile warnings, a *lot* more on iOS. 4. [iOS & macOS] Turn on "Missing Localizability". I want to confirm if it is ok to accept these changes and submit updated project files. Since Alex Szpakowski has just removed iOS 7 guard ifdef's, I'm guessing 1 isn't a problem. 2 is probably ok for anyone building themselves. I wonder if it may cause problems for building distribution binaries. 3 shouldn't be a problem either provided any newly emitted warnings are fixed. 4 I am unfamiliar with. The description says "This will turn on the static analyzer to check for "Missing Localizability", because this project is localized for multiple languages." I suppose this may cause new warnings.
2017-09-22The volume was too high, clamp to SDL_MIX_MAXVOLUMESam Lantinga1-1/+1
2017-09-14Updated iOS keyboard test to cover text input rect and orientation changesSam Lantinga1-1/+32
2017-08-27vulkan: Initial Vulkan support!Ryan C. Gordon1-0/+37
This work was done by Jacob Lifshay and Mark Callow; I'm just merging it into revision control.
2017-08-15More cleanup of the iOS keyboard demo.Alex Szpakowski1-7/+4
2017-08-15Improve iOS keyboard demo code a bit.Alex Szpakowski1-105/+61
2017-05-25ios: Fixed math include in demos.Philipp Wiesemann2-2/+2
2017-04-09ios: Fixed compiler warnings about unused variables in demo.Philipp Wiesemann1-3/+0
2017-03-19iOS: Fixed compiling template on C89 compilers.Philipp Wiesemann1-1/+3
2016-12-26Fixed bug 3517 - Compiler warnings with gcc -Wstrict-prototypesSam Lantinga2-2/+2
felix Compiling even a simple SDL2 'hello world' program with gcc -Wstrict-prototypes (GCC 6.2.1) results in warnings like: /usr/include/SDL2/SDL_gamecontroller.h:143:1: attention : function declaration isn't a prototype [-Wstrict-prototypes] extern DECLSPEC int SDLCALL SDL_GameControllerNumMappings(); ^~~~~~ It seems there is a missing 'void' between the parentheses.
2016-12-06xcode: Make sure SDL_dataqueue sources are included in all targets.Ryan C. Gordon1-0/+2
2016-12-06xcode: updated macOS and iOS project files with SDL_dataqueue sources.Ryan C. Gordon1-0/+8
2016-10-09iOS: Updated demo README.Philipp Wiesemann1-3/+3
2016-09-30iOS: Removed unused constant in demo.Philipp Wiesemann1-1/+0
2016-09-26iOS: Updated comment in demo.Philipp Wiesemann1-1/+1