f07c992bb8
hidapi: Add GCN L/R buttons, just in case someone wants them...
Ethan Lee
2019-03-17 12:36:40 -04:00
bd344c2287
Android: when event loop is not blocking in pause, backup EGL context (Bug 4578) Backup the EGL context when SDL_APP_DIDENTERBACKGROUND has been removed from the event queue.
Sylvain Becker
2019-04-12 23:15:26 +02:00
00c824a8b0
Fix disabling OpenGL vsync on macOS 10.14.4+ (bug #4575).
Alex Szpakowski
2019-04-10 22:30:58 -03:00
aae49015da
Fixed bug 4581 - generate synthetic mouse events at window boundaries when real touch events are actually outside the window.
Sylvain Becker
2019-04-10 10:59:53 +02:00
cfefe5434a
Fixed bug 4581 - mouse events with SDL_TOUCH_MOUSEID make window lost focus Virtual mouse events should never leave the window or change focus for single window applications.
Sylvain Becker
2019-04-08 21:27:24 +02:00
d68e501db4
Fixed bug 4582 - Maximize/Resize not working on Windows 10 When viewport is set, projectionAndView changes, but ID3D11DeviceContext_UpdateSubresource was not called.
Sylvain Becker
2019-04-08 13:43:48 +02:00
eb7affeeb8
SDL_HINT_MOUSE_TOUCH_EVENTS: move tracking appart in case of 'window' is null
Sylvain Becker
2019-04-06 21:52:51 +02:00
a1a9fd50c6
Bug 4581: move tracking appart so it doesn't require the window to have focus
Sylvain Becker
2019-04-06 21:43:16 +02:00
a46af76b07
Fixed bug 4579 - SDL_android.c s_active not being atomic
Sam Lantinga
2019-04-05 08:15:01 -07:00
9eac91dd29
Set SDL_HINT_MOUSE_TOUCH_EVENTS for iPhone and iPad as well
Sam Lantinga
2019-04-05 08:10:12 -07:00
05333a6e9f
Android: add hint SDL_HINT_ANDROID_BLOCK_ON_PAUSE to set whether the event loop will block itself when the app is paused.
Sylvain Becker
2019-04-05 09:16:30 +02:00
b470cd9b09
Android: default SDL_HINT_MOUSE_TOUCH_EVENTS to 1 as previous behaviour
Sylvain Becker
2019-04-05 08:36:31 +02:00
bfdd0b228a
Android: remove SDL_HINT_ANDROID_SEPARATE_MOUSE_AND_TOUCH java layer runs as if separate mouse and touch was 1, Use SDL_HINT_MOUSE_TOUCH_EVENTS and SDL_HINT_TOUCH_MOUSE_EVENTS for generating synthetic touch/mouse events
Sylvain Becker
2019-04-04 17:01:02 +02:00
e41576188d
Add hint SDL_HINT_MOUSE_TOUCH_EVENTS for mouse events to generate touch events
Sylvain Becker
2019-04-04 16:51:50 +02:00
ab03892ddf
Bug 4576: track both FingerId and TrackId
Sylvain Becker
2019-04-04 15:19:00 +02:00
1a4c3b57b7
Bug 4576: remove touch/mouse duplication for Windows
Sylvain Becker
2019-04-02 16:58:11 +02:00
a3f2c446ef
Bug 4576: handle mapping of TouchEvents to MouseEvents at higher level
Sylvain Becker
2019-04-02 16:46:17 +02:00
1febfedf85
configure.in: Rename configure.ac to fix an 'aclocal' warning
Sam Lantinga
2019-04-02 05:31:08 -07:00
14b385f2bf
docs: Replace references to configure.in with configure.ac
Hugh McMaster
2019-03-27 20:58:33 +11:00
af4bbb3064
configure.in: Rename to configure.ac to fix an 'aclocal' warning
Hugh McMaster
2019-03-25 23:01:32 +11:00
9a8d5215c6
Handle potentially calling SDL_JoystickUpdate() and SDL_JoystickQuit() at the same time.
Sam Lantinga
2019-03-27 08:17:05 -07:00
2fbfe8b912
coreaudio: Set audio callback thread priority.
Ryan C. Gordon
2019-03-25 12:59:30 -04:00
6a3356ab3f
Backed out changeset cec31de4e126
Ryan C. Gordon
2019-03-25 12:24:38 -04:00
8ab698af15
opengles2: Fix static analysis warning.
Ryan C. Gordon
2019-03-21 10:39:49 -04:00
01c924fa9e
Hopefully fixed the mingw32 build
Sam Lantinga
2019-03-19 17:20:54 -07:00
deb7d08c28
Fixed Visual Studio build
Sam Lantinga
2019-03-19 17:05:22 -07:00
ac23d78f7a
Didn't need to add SDL_windows.h include, that was already included
Sam Lantinga
2019-03-19 16:53:55 -07:00
b2e76d860f
Fixed Windows RT build
Sam Lantinga
2019-03-19 16:52:09 -07:00
a71489221b
Fixed archiving the SDL dynamic library on iOS and tvOS
Sam Lantinga
2019-03-19 11:02:43 -07:00
a0ac5ffc9f
Fixed building with C++
Sam Lantinga
2019-03-19 10:59:41 -07:00
03fc5eebcb
Fixed building with C++
Sam Lantinga
2019-03-19 10:56:46 -07:00
8177388e5e
Fixed declaration of SDL_main_func for C++
Sam Lantinga
2019-03-19 08:29:34 -07:00
4d8ac6b8b2
Added support for building SDL as a dynamic library on tvOS
Sam Lantinga
2019-03-19 07:53:39 -07:00
de82759c84
Added support for building SDL as a dynamic library on iOS
Sam Lantinga
2019-03-19 07:53:33 -07:00
edebdeb47f
testgesture: Make the background gray.
Ryan C. Gordon
2019-03-17 12:45:19 -04:00
82ebe63f9a
Fixed Visual Studio build
Sam Lantinga
2019-03-16 19:46:37 -07:00
d49f1faeb1
Fixed iOS build
Sam Lantinga
2019-03-16 19:46:27 -07:00
cf7c05c282
Fixed Mac OS X build
Sam Lantinga
2019-03-16 19:44:04 -07:00
fd946a48dc
Fixed configure error if pkg modules aren't available
Sam Lantinga
2019-03-16 19:32:59 -07:00
6311c7cf95
emscripten: force resize event when pixel ratio changes Without this, applications can't react to changed canvas size on window zoom.
Sebastian Krzyszkowiak
2019-03-16 19:08:59 -07:00
b8bd0aa0bd
Fixed bug 4450 - SDL_mouse.c fails to compile with CMake generated Visual Studio files if SDL_VIDEO_VULKAN 0/undefined
Sam Lantinga
2019-03-16 19:07:34 -07:00
faf97978ea
Fixed bug 4511 - SDL_gamecontrollerdb Mapping for Sony Playstation USB controller
Sam Lantinga
2019-03-16 19:03:13 -07:00
35255342cd
Fixed bug 4525 - Fix crash in ALSA_HotplugThread caused by bad return value check
Sam Lantinga
2019-03-16 18:48:21 -07:00
55f18d3625
Fixed bug 4544 - SDL2.m4 SDL2.framework patch made it impossible to fail detection
Sam Lantinga
2019-03-16 18:45:10 -07:00
8bc59f87ec
Fixed CVE-2019-7635 and bug 4498 - Heap-Buffer Overflow in Blit1to4 pertaining to SDL_blit_1.c
Sam Lantinga
2019-03-16 18:34:33 -07:00
0f148eb651
Fix polling left trigger reporting right trigger's values.
Jimb Esser
2019-03-16 18:12:26 -07:00
58ca76bee3
Fix DirectInput error codes being lost
Jimb Esser
2019-03-16 18:11:09 -07:00
c528615626
hidapi: Add support for Wii U/Switch USB GameCube controller adapter.
Ethan Lee
2019-03-12 20:27:54 -04:00
938a5508d1
Fixed bug 4452 - Please replace AC_HELP_STRING with AS_HELP_STRING
Sam Lantinga
2019-03-16 17:47:59 -07:00
40e3c015f1
Added missing PKG_CONFIG macros
Sam Lantinga
2019-03-16 17:39:15 -07:00
cada4b8b8e
Use host system pkg-config when (cross-)compiling and convert to PKG_CHECK_MODULES
Hugh McMaster
2019-02-03 20:06:18 +11:00
12c5cda6bf
Fix compiler warnings.
Ryan C. Gordon
2019-03-16 00:08:19 -04:00
08dc8cc20a
testgesture: Add dependency to SDLtest to Visual Studio project.
Ryan C. Gordon
2019-03-15 23:54:42 -04:00
6727408d2c
testgesture: cleaned up code formatting, etc.
Ryan C. Gordon
2019-03-15 22:39:31 -04:00
7cc0a606d8
testgesture: minor cleanups.
Ryan C. Gordon
2019-03-15 22:17:21 -04:00
5897ed85f5
test: Moved testgesture.c over to the common SDLtest framework.
Ryan C. Gordon
2019-03-15 22:16:02 -04:00
f95ca7bb8e
events: Disable all the signal-handling code on platforms without support.
Ryan C. Gordon
2019-03-15 16:13:19 -04:00
8a5a05c168
events: Let arbitrary signals to simulate iOS/Android backgrounding events.
Ryan C. Gordon
2019-03-15 15:51:05 -04:00
911bf6241b
events: Make debug logging of the event queue a hint instead of an #ifdef.
Ryan C. Gordon
2019-03-15 14:08:30 -04:00
cbe80d4708
KMSDRM: valid file descriptors could positive or 0. -1 is invalid. (Bug 4530)
Sylvain Becker
2019-03-13 14:54:51 +01:00
3bc1a8b619
Android: minor comment update
Sylvain Becker
2019-03-13 14:08:21 +01:00
063c0c2a73
Android: check SDL is initialized before sending the event Avoid error message: SDLActivity thread ends (error=Video subsystem has not been initialized)
Sylvain Becker
2019-03-13 09:39:30 +01:00
82758efc46
[iOS DAC] Fix touch events getting from SDL2 to source2.
Sam Lantinga
2019-03-12 14:45:04 -07:00
d05eec7207
Fixed initial display orientation at Android app start
Sam Lantinga
2019-03-12 14:44:25 -07:00
1a8e3a0270
HIDAPI: fix bug that caused non-HID class parts of composite devices to have windows HID functions called on them.
Sam Lantinga
2019-03-12 14:44:12 -07:00
cddb285cdb
Fixed bug 4513 - Wayland, fix crash when remove event is sent (from Sebastian Krzyszkowiak)
Sylvain Becker
2019-03-12 20:04:08 +01:00
052b4f2969
SDL_EVDEV_kbd_init: uninitialized data for ioctl (Bug 4530)
Sylvain Becker
2019-03-12 14:20:37 +01:00
b28e956b8c
Fixed bug 4542 - Image flipped vertically when rendering on texture
Sylvain Becker
2019-03-12 07:59:53 +01:00