455944c870
Fixed whitespace
Sam Lantinga
2019-08-22 16:12:16 -07:00
b521df66c3
[SDL][IOS] Audio fix - applies stream to sound data when resampling or reformatting is required.
Sam Lantinga
2019-08-22 16:09:42 -07:00
5c15e81cfb
Prevent the SPEEDLINK COMPETITION PRO joystick from switching into Android controller mode when enumerated over HID on Windows 10.
Sam Lantinga
2019-08-22 15:58:00 -07:00
dd29abb478
macOS: Use the proper type (NSSize instead of CGSize) for the bounds of metal views.
Alex Szpakowski
2019-08-22 19:23:52 -03:00
2937317f12
Fixed bug 4172 - remove logging Gesture error "NumPoints = 0" - not necessary when app isn't recording gesture. - happen when gesture path has less than 2 different points
Sylvain Becker
2019-08-22 10:15:33 +02:00
1d220401ce
Fixed bug 4186 - ARM/NEON audio converters cause strange clicking noises reverse the order when storing ouput buffer
Sylvain Becker
2019-08-19 20:35:02 +02:00
c0fc94f2de
Fixed bug 4186 - ARM/NEON audio converters cause strange clicking noises reverse the order when storing ouput buffer
Sylvain Becker
2019-08-19 16:57:15 +02:00
bfdb0e9743
metal renderer: optimize SDL_RenderFillRect slightly.
Alex Szpakowski
2019-08-18 10:38:32 -03:00
ff7888e698
render: fix colors not being set properly after the previous change
Alex Szpakowski
2019-08-18 09:35:11 -03:00
1be03b4089
render: avoid a couple redundant memcmp calls in all drawing functions. Improves performance slightly.
Alex Szpakowski
2019-08-17 22:26:33 -03:00
e8278d0d5b
metal renderer: use vertex attributes instead of indexing into a buffer with the vertex id in the shader. Allows for more flexibility with vertex setup in the future.
Alex Szpakowski
2019-08-17 16:53:08 -03:00
55a46abf0a
metal renderer: more closely match buffer data alignment requirements from the metal specification.
Alex Szpakowski
2019-08-17 01:09:30 -03:00
69c6924ccc
render: simplify vertex and uniform data allocation. Improves performance of various SDL_Render functions (bug #4764).
Alex Szpakowski
2019-08-17 00:43:44 -03:00
e5acccc7c3
metal renderer: use the device address space instead of the constant address space for colors.
Alex Szpakowski
2019-08-17 00:37:22 -03:00
3fb5cabe5e
metal: Update compiled shaders based on compilation script changes
Alex Szpakowski
2019-08-16 22:13:30 -03:00
9e57e3e595
metal: Update shader compilation script with fixes for newer xcode versions and for running on older platforms
Alex Szpakowski
2019-08-16 22:11:50 -03:00
79cd6cfc94
iOS: Fix issues with Split VIew on iPad (bugs #4586, #4705).
Alex Szpakowski
2019-08-15 19:38:12 -03:00
7a84dd4277
Disable HIDAPI by default, as it breaks on Linux when trying to use libusb with non-root permissions on some distributions
Sam Lantinga
2019-08-12 13:35:36 -07:00
155087d106
Fixed bug 3918 - CMake support for android project
Sylvain Becker
2019-08-11 15:23:37 +02:00
cbdee4d656
[ SDL ] Fix compile error building for Windows/ARM64 on Visual Studio 2017 Win10 SDK 10.0.18362.0 which requires ar,74intr.h/arm64_neon.h header instead of armintr.h/arm_neon.h for intrinsics.
Sam Lantinga
2019-08-08 13:26:05 -07:00
c76f0f5b6b
hidapi: Explicitly include locale.h, for setlocale
Ethan Lee
2019-08-06 23:08:01 -04:00
2a1adf71ab
Fixed bug 4747 - [Patch] SDL_ShowMessageBox ignores BUTTON_RETURNKEY_DEFAULT flag
Sam Lantinga
2019-08-05 23:52:16 -07:00
e9ec7d41b3
Fixed bug 4354 - CMake builds do not correctly enable IME on Linux
Sam Lantinga
2019-08-05 23:46:09 -07:00
afdb40af61
Fixed bug 4689 - SDL fails to detect compositor shutdown on Wayland -- program keeps running
Sam Lantinga
2019-08-05 23:38:48 -07:00
aa09e61223
Port libusb hid.c to SDL, add to MinGW configure
Ethan Lee
2019-08-04 00:01:38 -04:00
aebaa316c7
Add public APIs for creating a Metal view attached to an SDL window. Add SDL_metal.h.
Alex Szpakowski
2019-08-05 12:35:32 -03:00
f3683d3a09
macOS: fix a typo in touch handling code.
Alex Szpakowski
2019-08-04 23:30:55 -03:00
109cbd6e8b
Fix touch-related compile errors on Linux.
Alex Szpakowski
2019-08-04 16:56:40 -03:00
6f8910e398
minor warning fixes.
Ozkan Sezer
2019-08-04 14:56:02 +03:00
2fb71ac52d
Implement touch window IDs on x11/xinput2.
Alex Szpakowski
2019-08-04 00:34:23 -03:00
67fa8601d9
Fixed building on Mac OS X without libusb
Sam Lantinga
2019-08-02 18:14:31 -07:00
e92fe23c83
Fix nullptr crash on android
Sam Lantinga
2019-08-02 17:20:00 -07:00
63197c4338
Fix bug where the wrong button was the default in the old message box because buttons were added backwards, breaking the indexing used by GetButtonIndex.
Sam Lantinga
2019-08-02 17:19:50 -07:00
d52ffcf985
Added support for a few controllers on Android
Sam Lantinga
2019-08-02 17:12:49 -07:00
d5ec735a33
Add a windowID field to SDL_TouchFingerEvent (bug #4331).
Alex Szpakowski
2019-08-01 18:22:12 -03:00
39e8b007a7
macOS: fix atomics using deprecated functions instead of compiler intrinsics, when SDL is built with the Xcode project.
Alex Szpakowski
2019-07-27 14:08:51 -03:00
dc714389f0
Don't call hid_enumerate() if the HIDAPI drivers are all disabled
Sam Lantinga
2019-07-25 15:21:44 -07:00
aaffbb2ef6
Added tag release-2.0.10 for changeset 969a6f84b061
Sam Lantinga
2019-07-25 11:04:36 -07:00
0e9560aea2
hidapi: Zero out new hid_device_info structs
Andrew Eikum
2019-07-23 14:41:00 -05:00
bf9bf602e7
Copypaste SDL_NSLog to UIKit backend, document it as such
Ethan Lee
2019-07-17 23:20:57 -04:00
e954e32b0e
Fixed bug 4726 - Fix for tvOS GetPrefPath
Sam Lantinga
2019-07-18 19:33:17 -07:00
52e62329c8
Fixed build error
Sam Lantinga
2019-07-17 16:47:19 -07:00
a06d8cd0d4
Merged latest changes from Steam into controller_type.h
Sam Lantinga
2019-07-17 16:47:17 -07:00
1dc24160a1
Add linked list of opened HID devices to prevent accessing already freed devices in device removal callback that is sometimes called even after being unregistered
Sam Lantinga
2019-07-17 16:47:13 -07:00
89de2512e5
Added support for the Victrix Pro Fight Stick for PS4
Sam Lantinga
2019-07-17 13:01:44 -07:00
8fb8adfc90
macOS: Fix SDL_GL_CreateContext/MakeCurrent on non-main threads causing a Main Thread Checker warning when built with Xcode 11 / the macOS 10.15 SDK.
Alex Szpakowski
2019-07-13 17:04:02 -03:00
73536d93ea
ios: Fixed MFi guide button not being detected (thanks, Caleb!).
Ryan C. Gordon
2019-07-12 21:28:43 -04:00
70f0b093ff
cmake: Add setupapi library to Windows build dependencies (hidapi needs it).
Ryan C. Gordon
2019-07-12 13:40:58 -04:00
27ad8e5d72
cocoa: Set keyboard mod state correctly when turning off capslock.
Ryan C. Gordon
2019-07-11 01:07:14 -04:00
86965eecd3
x11: prevent a synthetic mouse event when using a touchscreen
Sylvain Becker
2019-07-10 10:06:28 +02:00
6ef01e5236
x11: set some modality things on message boxes with parent windows.
Ryan C. Gordon
2019-07-09 17:28:02 -04:00
6625203514
SDL_Mouse/Touch: discard synthetic events when hints are not set. Those are generated/flagged by platform layer.
Sylvain Becker
2019-07-09 11:46:42 +02:00