summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Added support for the Razer Panthera FightstickSam Lantinga2018-09-052-8/+29
| | | | Fixed bindings for the Mad Catz FightStick TE S+
* CMakeLists.txt: fix typo SDL_SENSORS_DISABLED -> SDL_SENSOR_DISABLEDOzkan Sezer2018-09-021-1/+1
|
* test: Makefile should copy .dat files for testoverlay2.Ryan C. Gordon2018-09-021-1/+7
|
* metal: SDL_UpdateYUVTexture shouldn't swap planes based on format.Ryan C. Gordon2018-09-011-2/+2
|
* Better fix to make sure we're only returning controllers from the HIDAPI ↵Sam Lantinga2018-08-317-16/+19
| | | | joystick API
* Removed VID/PID 0x1532/0x0037, which was listed in the Linux kernel as a ↵Sam Lantinga2018-08-311-1/+1
| | | | Razer Sabertooth, because at least one variant of the Razer DeathAdder mouse shows up with this VID/PID.
* fix permissionsOzkan Sezer2018-08-307-0/+0
|
* Don't show the Razer Raiju sound interface as a game controllerSam Lantinga2018-08-291-2/+4
|
* Fixed compiler warning and use higher precision in angle calculationSam Lantinga2018-08-291-3/+1
|
* Don't rumble Bluetooth PS4 controllers by default, as that switches the ↵Sam Lantinga2018-08-292-1/+27
| | | | controller into extended input report mode, which breaks games that use DirectInput.
* Fixed whitespaceSam Lantinga2018-08-293-15/+15
|
* Fixed Xbox One S Bluetooth support on Mac OS XSam Lantinga2018-08-292-1/+118
|
* SDL_evdev.c: undefine _THIS before redefining it.Ozkan Sezer2018-08-291-0/+1
| | | | | | | src/core/linux/SDL_evdev.c:104:1: warning: "_THIS" redefined In file included from src/core/linux/../../events/SDL_events_c.h:26, from src/core/linux/SDL_evdev.c:45: src/core/linux/../../events/../video/SDL_sysvideo.h:146:1: warning: this is the location of the previous definition
* Fixed Windows buildSam Lantinga2018-08-281-2/+2
|
* Fixed bug 4229 - Add support for ABGR format in DirectFB rendererSam Lantinga2018-08-281-1/+1
| | | | | | | | Alexandre DirectFB supports 32-bit ABGR pixel format via DSPF_ABGR, but SDL doesn't map SDL_PIXELFORMAT_ABGR8888 to DSPF_ABGR. A patch is attached and should add support for ABGR pixel format devices.
* GLES2: Get sin/cos out of vertex shaderAndreas Müller2018-08-282-10/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | The only place angle is activated and causes effect is RenderCopyEx. All other methods which use vertex shader, leave angle disabled and cause useless sin/cos calculation in shader. To get around shader's interface is changed to a vector that contains results of sin and cos. To behave properly when disabled, cos value is set with offset -1.0 making 0.0 default when deactivated. As nice side effect it simplifies GLES2_UpdateVertexBuffer: All attributes are vectors now. Additional background: * On RaspberryPi it gives a performace win for operations. Tested with [1] numbers go down for 5-10% (not easy to estimate due to huge variation). * SDL_RenderCopyEx was tested with [2] * It works around left rotated display caused by low accuracy sin implemetation in RaspberryPi/VC4 [3] [1] https://github.com/schnitzeltony/sdl2box [2] https://github.com/schnitzeltony/sdl2rendercopyex [3] https://github.com/anholt/mesa/issues/110 Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
* Fixed the DirectFB renderer not being enabled in autoconf buildsSam Lantinga2018-08-272-0/+4
|
* Update the cursor clipping each frame, in case it was stolen by another ↵Sam Lantinga2018-08-261-6/+17
| | | | application.
* Only reset the clip rect if it's currently the rect we previously clipped.Sam Lantinga2018-08-264-37/+52
| | | | | | | | This prevents us from clearing the clip rect globally when another application has set it. There's also an experimental change to regularly update the clip rect for a window defensively, in case someone else has reset it. It works well, but I don't know if it's cheap enough to call as frequently as it would be called now, and might have other undesirable side effects. Also fixed whitespace and SDL coding style
* Implement SDL_HapticStopEffect on Android (thanks Rachel!)Sam Lantinga2018-08-244-1/+26
|
* vulkan: SDL_Vulkan_GetInstanceExtensions should accept a NULL window.Jeremy Ong2018-08-243-10/+18
| | | | Fixes Bugzilla #4235.
* Implemented SDL_GetDisplayOrientation() on Android (thanks Rachel!)Sam Lantinga2018-08-232-0/+68
|
* cmake: add sensor subsystem to the build.Ryan C. Gordon2018-08-231-1/+12
|
* Added documentation for additional Android sensorsSam Lantinga2018-08-231-1/+7
|
* Added display event files to the Visual Studio projectsSam Lantinga2018-08-238-97/+131
|
* Added display event files to the Mac OS X projectSam Lantinga2018-08-231-24/+23
|
* Fixed buildSam Lantinga2018-08-234-4/+2
|
* Moved display orientation handling on iOS out to a separate function for Qt appsSam Lantinga2018-08-223-45/+59
|
* Added SDL_GetDisplayOrientation() to get the display orientation, and added ↵Sam Lantinga2018-08-2214-24/+289
| | | | | | a new event SDL_DISPLAYEVENT to notify the application when the orientation changes. Documented the values returned by the accelerometer and gyroscope sensors
* Fixed crash trying to open HIDAPI controller as a haptics device on WindowsSam Lantinga2018-08-224-4/+11
|
* Updated required Android SDK to API 26, to match Google's new App Store ↵Sam Lantinga2018-08-212-4/+4
| | | | requirements
* Doh.. __IPHONEOS__ is defined on tvOSSam Lantinga2018-08-211-3/+3
|
* Don't use CoreMotion on tvOSSam Lantinga2018-08-211-0/+4
|
* Fixed UWP buildSam Lantinga2018-08-212-0/+24
|
* Moved SDL_IsTablet() to a cross-platform API functionSam Lantinga2018-08-216-26/+34
|
* Removed dependency on C++ runtime on iOSSam Lantinga2018-08-212-94/+122
|
* Added the iOS sensor implementationSam Lantinga2018-08-218-6/+320
|
* Fixed bug 4228 - Clean-up Xcode projectsSam Lantinga2018-08-215-301/+319
| | | | | | 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.
* Fixed duplicate definition of SDL_JoystickIDSam Lantinga2018-08-211-2/+1
|
* Added the dummy sensor driver to the Visual Studio projectsSam Lantinga2018-08-216-3/+63
|
* Added a dummy sensor driverSam Lantinga2018-08-2121-31/+296
|
* First pass on the new SDL sensor APISam Lantinga2018-08-2126-3/+1407
|
* Don't crash if the app doesn't have Bluetooth permissionsSam Lantinga2018-08-211-1/+5
|
* By default just build for 32-bit ARM and x86Sam Lantinga2018-08-211-0/+1
|
* Add SDL_IsTablet() to Android and iOS SDL.Sam Lantinga2018-08-216-1/+52
|
* Don't crash if the app doesn't have Bluetooth permissionsSam Lantinga2018-08-211-0/+6
|
* Fixed Android build errorSam Lantinga2018-08-211-1/+1
|
* Fixed Android build errorSam Lantinga2018-08-211-0/+1
|
* Fixed warnings building on Mac OS X 64-bitSam Lantinga2018-08-201-5/+5
|
* Fixed code styleSam Lantinga2018-08-201-3/+2
|