SDL Wiki Bot
5346cf842c
Sync wiki -> header
2021-07-28 17:13:05 +00:00
SDL Wiki Bot
46919b1e8e
Sync wiki -> header
2021-07-28 16:11:06 +00:00
Sam Lantinga
14d58dc890
Fixed the parameter documentation
2021-07-27 14:23:40 -07:00
Simon Zeni
6aae5b44f8
Remove wl-shell and xdg-shell-unstable-v6 support ( #4323 )
...
* wayland-protocol: update wayland.xml to 1.19.0
* wayland: remove shell_surface field from SDL_SysWMinfo
* wayland: remove wl_shell support
* waypand-protocols: update xdg-shell.xml to 1.20
* wayland: remove xdg-shell-unstable-v6 support
* wayland: deprecate wl shell surface syswm info, add xdg surface
2021-07-27 14:12:26 -07:00
Ryan C. Gordon
736a424ff4
pulseaudio: Optionally add "monitor" sources to device list.
...
There's a new hint to enable this.
Fixes #2917 .
2021-07-27 13:12:57 -04:00
Ozkan Sezer
e16fb60323
tweak HAVE_IMMINTRIN_H in SDL_config_windows.h, add to SDL_config_macosx.h
2021-07-27 17:10:24 +03:00
SDL Wiki Bot
e94d4b8c9b
Sync wiki -> header
2021-07-27 00:08:05 +00:00
Christian Rauch
9e6fcbe72c
wayland: client-side decoration
2021-07-25 14:54:12 -07:00
Sam Lantinga
f1633127d1
Added a window flash operation to be explicit about window flash behavior
2021-07-24 13:42:19 -07:00
Joel Linn
20eea021c6
Windows: set HAVE_IMMINTRIN_H for AVX intrinsics
2021-07-24 15:39:17 -04:00
Sam Lantinga
e1c3a25034
Changed SDL_FlashWindow() so it doesn't take a flash count, and added the hint SDL_HINT_WINDOW_FLASH_COUNT to control behavior on Windows
2021-07-24 12:11:27 -07:00
Sam Lantinga
2147e7bfea
Sorted the hints alphabetically
2021-07-24 11:01:58 -07:00
SDL Wiki Bot
856c87fc2e
Sync wiki -> header
2021-07-24 17:32:05 +00:00
Sam Lantinga
d89f4b3ae4
Note that mouse warping doesn't work over Microsoft Remote Desktop
...
Fixes the documentation portion of bug https://github.com/libsdl-org/SDL/issues/4206
2021-07-24 10:29:34 -07:00
Sam Lantinga
94b7a87645
Added SDL_GameControllerType enumerations for the Amazon Luna and Google Stadia controllers
...
Fixes bug https://github.com/libsdl-org/SDL/issues/4019
2021-07-24 09:10:18 -07:00
SDL Wiki Bot
7edffc5798
Sync wiki -> header
2021-07-23 18:29:04 +00:00
SDL Wiki Bot
c06448fe39
Sync wiki -> header
2021-07-23 16:39:05 +00:00
SDL Wiki Bot
48993a7f2a
Sync wiki -> header
2021-07-23 16:14:49 +00:00
Ryan C. Gordon
37d4f003b7
doxygen: Removed some cruft that accumulated during wiki migration.
2021-07-14 17:09:05 -04:00
Ryan C. Gordon
c88eb7a896
Sync wiki -> header.
2021-07-14 17:07:04 -04:00
Ryan C. Gordon
f8c1fc49d9
doxygen: Fix all the "\returns" so they work as part of complete sentences.
2021-07-14 14:15:30 -04:00
Ryan C. Gordon
17b4a67aa3
doxygen: We use "\returns" as part of the sentence.
2021-07-14 11:45:06 -04:00
Ryan C. Gordon
04196a46a5
doxygen: wrap some game controller code examples in "```c" blocks.
2021-07-14 11:03:00 -04:00
Ryan C. Gordon
0ac13dc27f
doxygen: Tweak SDL_FlashWindow brief description.
...
So "e.g." doesn't look like the end of the sentence to wikiheaders.pl.
2021-07-14 11:02:59 -04:00
Cameron Cawley
0f1079456d
Remove outdated comment about SDL_SoftStretch
2021-07-13 15:44:31 -07:00
Ozkan Sezer
a809d62605
cmake: set SDL_JOYSTICK_RAWINPUT for windows builds
...
Fixes: https://github.com/libsdl-org/SDL/issues/4412
2021-07-10 10:01:40 +03:00
Sam Lantinga
24059a19c5
The RAWINPUT driver is no longer tied to HIDAPI in any way
2021-07-09 18:11:42 -07:00
Sam Lantinga
d135c0762f
Added SDL_GameControllerSendEffect() and SDL_JoystickSendEffect() to allow applications to send custom effects to the PS4 and PS5 controllers
...
See testgamecontroller.c for an example of a custom PS5 trigger effect
2021-07-08 13:22:41 -07:00
Ozkan Sezer
073cbc40cb
SDL_platform.h: define TARGET_OS_SIMULATOR as 0 if not already defined.
...
c.f.: https://github.com/libsdl-org/SDL/issues/4475
2021-07-08 21:20:02 +03:00
Ozkan Sezer
97d4fe9433
removed extra whitespace.
2021-07-08 20:55:10 +03:00
Sam Lantinga
170924278d
Fixed https://github.com/libsdl-org/SDL/issues/4475
...
-Wundef errors from clang-11.1 when targeting macOS
Targeting i386 against 10.8 SDK:
In file included from src/SDL_assert.c:21:
In file included from src/./SDL_internal.h:52:
In file included from include/SDL_config.h:33:
include/SDL_platform.h:73:5: error: 'TARGET_OS_TV' is not defined, evaluates to 0 [-Werror,-Wundef-prefix=TARGET_OS_]
^
1 error generated.
src/joystick/iphoneos/SDL_mfijoystick.m:38:5: error: 'TARGET_OS_IOS' is not defined, evaluates to 0 [-Werror,-Wundef-prefix=TARGET_OS_]
^
src/joystick/iphoneos/SDL_mfijoystick.m:460:5: error: 'TARGET_OS_TV' is not defined, evaluates to 0 [-Werror,-Wundef-prefix=TARGET_OS_]
^
2 errors generated.
src/filesystem/cocoa/SDL_sysfilesystem.m:83:6: error: 'TARGET_OS_TV' is not defined, evaluates to 0 [-Werror,-Wundef-prefix=TARGET_OS_]
^
1 error generated.
Targeting x86_64 against 10.12 SDK:
src/video/SDL_video.c:1492:25: error: 'TARGET_OS_MACCATALYST' is not defined, evaluates to 0 [-Werror,-Wundef-prefix=TARGET_OS_]
^
1 error generated.
2021-07-08 09:24:54 -07:00
Dimitriy Ryazantcev
17ed8d8085
Added HIDAPI backend for Amazon Luna Controller Model T28B69 connected via Bluetooth LE (VID:0171, PID:0419).
...
To enter Bluetooth pairing mode hold B and Action (button with circle) buttons for 3 seconds.
It works via usual HIDAPI if special filter driver is not installed:
https://www.amazon.com/gp/help/customer/display.html?nodeId=GZCT4CTFHXLHEB9T
With that driver installed it mimics Xbox One controller and works via XInput under Windows.
Under DInput this controller is not usable at all.
2021-07-07 08:31:12 -07:00
Ivan Epifanov
89015b9c35
Vita: default window size for tests
2021-07-01 15:14:49 -07:00
Ozkan Sezer
bfdea60572
avoid -Wundef warning from SDL_config_windows.h
2021-06-26 05:56:10 +03:00
nia
98f2e38b26
Use <sys/endian.h> for endian detection on NetBSD
...
Signed-off-by: Nia Alarie <nia@NetBSD.org>
2021-06-12 15:49:36 +03:00
Ivan Epifanov
bbdd08e0b2
Build without PIB support by default and add flag to enable it
2021-06-11 13:21:07 -04:00
Ryan C. Gordon
25fc40b0bd
stdinc: Silence clang warning for -Wimplicit-fallthrough.
...
In a more ideal world, we'd use the appropriate `__attribute__` here, but
it's one thing in a public header that probably shouldn't be there at all, so
this is good enough for now.
Fixes #4307 .
2021-06-10 13:59:01 -04:00
Ryan C. Gordon
e65a658320
x11: Add a hint to force override-redirect.
...
Fixes #3776 .
2021-06-09 22:10:20 -04:00
Eric Wasylishen
c33e3c15fb
testwm2: draw various debug logging into the window itself
...
Renderer output size, window position/size, display bounds, etc.
Uses new SDLTest_CommonDrawWindowInfo function in test_common.
2021-06-08 05:29:29 +03:00
Jupeyy
64724db0a1
Implement bare minimum for SDL_FlashWindow
2021-06-04 15:07:55 -07:00
Cacodemon345
ded023870d
Make CMake script more accurate to autoconf script
...
DBus, IBus and inotify is now able to be used outside Linux like in configure.
KMSDRM input is now working on FreeBSD with CMake compilation.
2021-06-01 15:34:52 -07:00
Ozkan Sezer
75725608f3
SDL_thread.h: move libc header includes before begin_code.h.
2021-05-25 14:56:56 +03:00
Ethan Lee
f309d0649d
include: Document timing issue with SDL_GetWindowBordersSize
2021-05-04 13:16:13 -04:00
Ryan C. Gordon
c54c16d353
wayland: don't hang in SDL_GL_SwapBuffers if the compositor is ghosting us.
...
If you hide a window on Mutter, for example, the compositor never requests
new frames, which will cause Mesa to block forever in eglSwapBuffers to
satisfy the swap interval.
We now always set the swap interval to 0 and manage this ourselves, handing
the frame to Wayland when it requests a new one, and timing out at 10fps just
to keep apps moving if the compositor wants no frames at all.
My understanding is that other protocols are coming that might improve upon
this solution, but for now it solves the total hang.
Fixes #4335 .
2021-04-30 13:20:35 -04:00
Ivan Epifanov
ca969eb2be
Remove gles2 vita render
2021-04-24 14:13:09 -07:00
Joseph Lyncheski
a0a5da5d91
Add SDL_SetWindowAlwaysOnTop()
2021-04-20 08:45:28 -07:00
Sylvain
859230ec82
Android: add AAudio entry in CMake SDL_config
2021-04-16 13:04:36 +02:00
Sylvain
d4e96e1153
Android: enable audio driver OpenSLES when building with CMake
2021-04-16 09:44:07 +02:00
Sylvain
146656cfe6
AAudio: add compilation to Android.mk, but not activated in SDL_config_android.h
2021-04-15 21:03:10 +02:00
Vladislav Dmitrievich Turbanov
50db4a59b8
* Support for intrinsics in MSW + Clang scenario.
...
Utility polyfill is provided, removed the no-longer-needed
conditionals.
2021-04-09 22:28:07 -07:00