Ozkan Sezer
7a7cba4b73
config.guess, config.sub: fix permissions
2021-05-25 14:56:37 +03:00
Sam Lantinga
157c3f8097
[SDL] Minimize number of system calls when handling WM_INPUT raw input messages.
...
Details:
Currently doing 4 system calls per WM_INPUT message, which can cause the thread handling the message loop to be swapped out several times:
* GetProp - to get window data from the window handle
* GetRawInputData - to retrieve the raw input data
* 2 calls to GetMessageExtraInfo - to ignore synthetic mouse events generated for touchscreens
In this change:
* Replaced GetProp by iterating the list of windows maintained by SDL (with a fallback to GetProp). Note that this will affect all messages and not just WM_INPUT
* only calling GetMessageExtraInfo if a touchscreen has been detected
Fix for https://jira.valve.org/browse/CSGO-4855
@saml
2021-05-21 09:45:08 -07:00
Cacodemon345
dbbc725f5e
Remove WSCONS mouse scaling
2021-05-19 21:09:19 -04:00
Cacodemon345
2aa14b3806
Add missing key to WSCONS-to-SDL conversion table
2021-05-19 21:09:19 -04:00
Ozkan Sezer
c63a62ae49
updates to config.guess and config.sub from mainstream.
2021-05-18 23:51:50 +03:00
Sam Lantinga
333c8e75f1
The PS5 driver supports Joystick LED
2021-05-17 11:54:05 -07:00
Ozkan Sezer
b5b7804ed4
minor update to os2 makefile. (binary output doesn't change.)
2021-05-15 00:50:20 +03:00
Ozkan Sezer
646ddfb782
minor watcom build fixes.
2021-05-15 00:22:50 +03:00
Ethan Lee
be5356af93
winrt: Fix support for multiple simultaneous mouse button presses
2021-05-14 13:33:59 -07:00
Sylvain
62a562dea2
X11: use x11sym loaded functions (see bug #3978 )
2021-05-12 23:37:18 +02:00
Sylvain
531d83bf6a
X11: allow using touchscreen, while pointer is grabbed (see bug #3978 )
2021-05-12 23:13:48 +02:00
Cacodemon345
ddc6be3559
KMSDRM on Dragonfly BSD doesn't work without being root
2021-05-12 09:26:23 -07:00
Kimplul
9e1d7baef1
Added T300RS to known wheel list
2021-05-12 09:25:57 -07:00
Ryan C. Gordon
e1db4b82ec
egl: Don't crash if we failed halfway through SDL_CreateWindow.
2021-05-11 14:08:17 -04:00
Ethan Lee
f2f451a59d
wayland: Call SetWindowBordered at the end of ShowWindow
2021-05-10 11:11:38 -07:00
Fredrick Brennan
c5dd9964c1
Copied X11 error handler code from SDL_x11opengl.c
...
Avoids needing to malloc to hold the error string.
2021-05-10 13:31:39 -04:00
Fredrick Brennan
b3b4677e32
(X11) Set _NET_WM_NAME properly, fixes Unicode window titles
...
Removes deprecated code meant to support extremely ancient, pre-UTF-8
versions of Xorg. Uses new xlib API's for doing this same thing.
Closes #4288 .
2021-05-10 13:31:39 -04:00
Ryan C. Gordon
f4ab1c94f9
gamecontrollerdb: Add entry for the 8BitDo Receiver for Linux.
...
Fixes #3048 .
2021-05-10 13:08:34 -04:00
Ryan C. Gordon
bedc509afc
gamecontrollerdb: added entry for PowerA XBox One Controller for Linux.
...
Fixes #3910 .
2021-05-10 13:04:59 -04:00
Ethan Lee
efbb6ff9d7
wayland: Create the server decorations after the toplevel has been configured
2021-05-10 12:49:26 -04:00
Ryan C. Gordon
9dc97afa71
cocoa: Report an error if SDL_SetClipboardText() isn't using UTF-8 encoding.
...
Fixes #4110 .
2021-05-08 12:39:50 -04:00
Sam Lantinga
107db2d899
Enable TV game mode by default on Android
2021-05-07 12:43:35 -07:00
Sam Lantinga
9231f1f1cf
Added support for the PS5 controller on iOS and tvOS
2021-05-07 12:29:03 -07:00
Sam Lantinga
2ad73db6e2
Merge commit ' 889cebb7c2' into main
2021-05-07 12:28:57 -07:00
Sam Lantinga
e589810cc4
Merge commit ' 31637ddeea' into main
2021-05-07 12:28:55 -07:00
Sam Lantinga
6d4991b87b
Merge commit ' f309d0649d' into main
2021-05-07 12:28:53 -07:00
Sam Lantinga
e8eb0b15fe
Merge commit ' 58884e4c1b' into main
2021-05-07 12:28:51 -07:00
Sam Lantinga
19a9e81c32
Merge commit ' c69fde348f' into main
2021-05-07 12:28:50 -07:00
Sam Lantinga
71e45a0b9d
Merge commit ' 006378b921' into main
2021-05-07 12:28:48 -07:00
Sam Lantinga
981532fbd2
Merge commit ' 424bbaec06' into main
2021-05-07 12:28:47 -07:00
Sam Lantinga
95b7b879ee
Merge commit ' 2092855035' into main
2021-05-07 12:28:45 -07:00
Sam Lantinga
8b8956daa7
Merge commit ' 3d47ddc422' into main
2021-05-07 12:28:43 -07:00
Sam Lantinga
069a68a5c5
Merge commit ' 7b284dbb34' into main
2021-05-07 12:28:42 -07:00
Sam Lantinga
12b7b82169
Merge commit ' 9161f95166' into main
2021-05-07 12:28:40 -07:00
Sam Lantinga
2b203add29
Merge commit ' c54c16d353' into main
2021-05-07 12:28:38 -07:00
Sam Lantinga
1e208c6418
Merge commit ' 227021b647' into main
2021-05-07 12:28:37 -07:00
Sam Lantinga
f1fa836b2e
Merge commit ' 13472cec67' into main
2021-05-07 12:28:35 -07:00
Sam Lantinga
cf1e850303
Merge commit ' a74f888ff9' into main
2021-05-07 12:28:33 -07:00
Sam Lantinga
63015e44c7
Merge commit ' 8ac0fb52cb' into main
2021-05-07 12:28:32 -07:00
Sam Lantinga
0ebf56b5f1
Merge commit ' 1f3df900f9' into main
2021-05-07 12:28:30 -07:00
Sam Lantinga
5a95ff8002
Merge commit ' fcbf19b764' into main
2021-05-07 12:28:28 -07:00
Sam Lantinga
572dfb4f6e
Merge commit ' c93e3b3607' into main
2021-05-07 12:28:27 -07:00
Sam Lantinga
a734ccec9a
Merge commit ' b626429745' into main
2021-05-07 12:28:25 -07:00
Sam Lantinga
4c7f8a7497
Merge commit ' f869518533' into main
2021-05-07 12:28:23 -07:00
Sam Lantinga
9cf1b39162
Merge commit ' 21349901ea' into main
2021-05-07 12:28:22 -07:00
Henk Kalkwater
889cebb7c2
Wayland touch inputs send normalized coords
...
Resolves #4361
2021-05-05 15:20:42 -07:00
Nicolas Caramelli
31637ddeea
Generic check for desktop GL and EGL on Linux systems
2021-05-05 15:19:55 -07:00
Ethan Lee
f309d0649d
include: Document timing issue with SDL_GetWindowBordersSize
2021-05-04 13:16:13 -04:00
Ozkan Sezer
58884e4c1b
SDL_audiocvt.c: fixed MSVC double->float conversion warnings.
2021-05-04 00:23:40 +03:00
Ethan Lee
c69fde348f
wayland: Maximize/Restore should set the relevant window flags.
...
Also, Maximize should be ignored for fixed-size windows.
2021-05-02 19:03:32 -04:00