e3d50619f8
Fixed fatal error: SDL_pen.h: No such file or directory
Sam Lantinga
2023-12-29 20:04:40 -08:00
dfe1a37bab
Fixed error: 'static' is not at beginning of declaration [-Werror=old-style-declaration]
Sam Lantinga
2023-12-29 19:40:45 -08:00
423b1fafcd
Fixed warning C4047: 'function': '__x_ABI_CWindows_CGaming_CInput_CIRawGameController **' differs in levels of indirection from '__x_ABI_CWindows_CGaming_CInput_CIRawGameController *'
Sam Lantinga
2023-12-29 18:06:27 -08:00
7681695875
Revert "Fixed signed/unsigned warnings with Visual Studio when comparing SDL_bool with boolean expressions"
Sam Lantinga
2023-12-29 17:11:54 -08:00
8f94102b04
tests: Use unsigned format specifiers for printing flags
Frank Praznik
2023-12-29 14:41:38 -05:00
5d0c893723
wayland: Remove bitfield specifiers from boolean values
Frank Praznik
2023-12-29 14:18:55 -05:00
530b41d531
Fixed warnings in SDL_pen.c
Sam Lantinga
2023-12-29 10:20:30 -08:00
9906d6d3bc
Fixed warning C4244: '=': conversion from 'SDL_bool' to 'Uint8', possible loss of data
Sam Lantinga
2023-12-29 09:29:29 -08:00
ebd7f9adbd
Fixed warning C4245: 'initializing': conversion from 'int' to 'Uint32', signed/unsigned mismatch in SDL_video.c
Sam Lantinga
2023-12-29 09:28:28 -08:00
dc1c27885e
Fixed warning C4389: '!=': signed/unsigned mismatch in SDL_blit.c
Sam Lantinga
2023-12-29 09:26:36 -08:00
e813c72b3c
Fixed warning C4245: 'return': conversion from 'int' to 'SDL_JoystickID', signed/unsigned mismatch
Sam Lantinga
2023-12-29 09:25:57 -08:00
dce626f469
Fixed warning C4244: 'function': conversion from 'int' to 'Uint16', possible loss of data
Sam Lantinga
2023-12-29 09:24:52 -08:00
7f376277e5
Fixed warning C4244: 'initializing': conversion from 'SDL_bool' to 'Uint8', possible loss of data
Sam Lantinga
2023-12-29 09:24:22 -08:00
61db102da9
Fixed signed/unsigned warnings with Visual Studio when comparing SDL_bool with boolean expressions
Sam Lantinga
2023-12-29 09:23:47 -08:00
d71454da17
Store the surface properties in the reserved pointer of a surface
Sam Lantinga
2023-12-29 08:17:06 -08:00
b6a92c113f
wayland: Don't apply old libdecor window dimensions
Frank Praznik
2023-12-29 08:59:45 -05:00
39e24e52c8
Fixed example of creating a window with properties
Sam Lantinga
2023-12-28 16:35:31 -08:00
dc450ba908
Added an example of creating a window with position
Sam Lantinga
2023-12-28 16:34:13 -08:00
ce4fe32ce3
Added documentation for getting the X11 display from an SDL window
Sam Lantinga
2023-12-28 16:26:55 -08:00
327d31a5d9
Added documentation for getting the NSWindow from an SDL window
Sam Lantinga
2023-12-28 16:09:59 -08:00
3976bbef2a
Added documentation for getting the X11 window from an SDL window
Sam Lantinga
2023-12-28 15:56:37 -08:00
ffb8515c21
Use the Valve code name for the Steam Deck controller
Sam Lantinga
2023-12-28 15:41:02 -08:00
43c40d30a2
Added comment for the BDA Pro Ex controller
Sam Lantinga
2023-12-28 15:22:12 -08:00
61704b5862
Removed an assertion it's possible to hit
Sam Lantinga
2023-12-28 15:21:49 -08:00
c24b33d8d9
Fixed building with older Windows SDK
Sam Lantinga
2023-12-28 15:14:34 -08:00
70ba3f2830
Report the D-Pad for HIDAPI gamepads as a hat
Sam Lantinga
2023-12-27 11:28:27 -08:00
ce329d60e4
Added support for alpha blending using palette alpha
Sam Lantinga
2023-12-28 09:33:02 -08:00
43309d38ed
joystick: Extract 0x02a9 and 0x0291 PIDs into separate defines.
Dimitriy Ryazantcev
2023-12-15 17:30:56 +02:00
84a0d5f623
Added SDL_SetSurfaceScaleMode() and SDL_GetSurfaceScaleMode() to control scale mode using SDL_BlitSurfaceScaled()
Sylvain
2023-12-14 21:26:18 +01:00
4d5949dcf6
Added a controller name for the Steam virtual gamepad
Sam Lantinga
2023-12-17 10:07:46 -08:00
695846f2ed
Pass through the name of the controller for the XInput mapping
Sam Lantinga
2023-12-17 09:26:25 -08:00
1745289b1b
x11: Don't move the window when restoring and ensure that resize and position events are sent when entering or leaving fullscreen
Frank Praznik
2023-12-16 19:13:31 -05:00
08a7ca4d53
XInput: Use XInputGetCapabilitiesEx instead of fragile GuessXInputDevice
Dimitriy Ryazantcev
2023-12-15 17:09:15 +02:00
7f75178908
Verify that the %p format specifier works for 64-bit pointers
Sam Lantinga
2023-12-16 21:40:05 -08:00
72b7acfe8a
Don't create a TLS error buffer if we're just clearing the error
Sam Lantinga
2023-12-16 21:27:44 -08:00
240e7747c8Fix#8702: Add SDL_hidapi_steamdeck.c to Xcode target
Matt Guerrette
2023-12-16 22:11:14 -05:00
b937c54b66
win32: Set all size and position variables for external windows
Frank Praznik
2023-12-15 15:54:01 -05:00
8c285828e5
Fixed return value for SDL_UDEV_AddCallback()
Sam Lantinga
2023-12-15 10:06:01 -08:00
cbf9012c74
Fixed build
Sam Lantinga
2023-12-15 10:03:11 -08:00
5547007915
Added test for inverted cursor
Sam Lantinga
2023-12-15 09:59:50 -08:00
0ab13f2498
joystick: fixup for Wireless Xbox 360 Controller VID/PID detection in WGI backend.
Dimitriy Ryazantcev
2023-12-15 17:36:17 +02:00
627d134b9e
Add support for monochrome cursors with inverted pixels under Windows.
Dimitriy Ryazantcev
2023-12-14 16:11:25 +02:00
21879faf48
wayland: Handle mouse focus when receiving touch events
Frank Praznik
2023-12-14 13:45:34 -05:00
58a5f5cbe8
Allow sendCommand() to be overridden by derived classes
Sam Lantinga
2023-12-13 10:13:17 -08:00
e6d8ef1a5b
Revert "Back out Steam virtual gamepad changes"
Sam Lantinga
2023-12-13 09:45:39 -08:00
b0e7b7db6f
Don't unload graphics libraries until after the window has been destroyed.
Sam Lantinga
2023-12-12 23:17:41 -08:00
69288038ed
Refactor away some additional integer types.
Max Maisel
2023-09-26 18:31:12 +02:00
f3048e3cd2
Add new file to vcxproj files.
Max Maisel
2023-09-08 17:09:36 +02:00
5a21febecb
Add new steam deck HIDAPI controller to controller database.
Max Maisel
2023-09-07 17:21:08 +02:00