a6da2fbf73
Rename haptic methods to avoid confusion with joystick: SDL_DINPUT_MaybeAddDevice->SDL_DINPUT_HapticMaybeAddDeviceSDL_DINPUT_MaybeRemoveDevice->SDL_DINPUT_HapticMaybeRemoveDeviceSDL_XINPUT_MaybeAddDevice->SDL_XINPUT_HapticMaybeAddDeviceSDL_XINPUT_MaybeRemoveDevice->SDL_XINPUT_HapticMaybeRemoveDevice
Dimitriy Ryazantcev
2021-05-25 12:33:23 +03:00
73dc68a7ae
Simplify and cleanup DirectInput joystick backend code: - Do not call IDirectInputDevice8_QueryInterface(device, &IID_IDirectInputDevice8,...) on DIRECTINPUTDEVICE8 device - Get joystick VendorID and ProductID via IDirectInputDevice8_GetProperty(.., DIPROP_VIDPID, ..) call instead of messing with DIDEVICEINSTANCE.guidProduct - Normalize HID device interface path to upper case for stable operation of XInput check - Remove useless RawInput calls in SDL_IsXInputDevice() - just check for "IG_" string in HID device interface path that we already have
Dimitriy Ryazantcev
2021-05-19 17:52:08 +03:00
f2f759dca3
Remove not used DirectInput ignored_devices list
Dimitriy Ryazantcev
2021-02-26 15:34:34 +02:00
adc2d362ba
Remove outdated and not used WIN_IsXInputDevice code
Dimitriy Ryazantcev
2021-02-26 15:33:41 +02:00
0e62926ec5
Fixed crash if vendor or product strings are empty
Sam Lantinga
2021-06-10 16:28:32 -07:00
25fc40b0bd
stdinc: Silence clang warning for -Wimplicit-fallthrough.
Ryan C. Gordon
2021-06-10 13:56:22 -04:00
e65a658320
x11: Add a hint to force override-redirect.
Ryan C. Gordon
2021-06-09 22:10:20 -04:00
642fa0e3cf
configure: Enable KMSDRM target by default.
Ryan C. Gordon
2021-06-09 21:18:11 -04:00
56e96254c2
build-scripts: modernized gcc-fat.sh for Big Sur and ARM64.
Ryan C. Gordon
2021-06-09 13:38:05 -04:00
cb5e86353b
Fixed crash after reinitializing libusb HID support
Sam Lantinga
2021-06-08 13:15:24 -07:00
c33e3c15fb
testwm2: draw various debug logging into the window itself
Eric Wasylishen
2021-06-07 18:24:57 -06:00
e13b43ac21
Don't skip sending wakeups for the current thread
Cameron Gutman
2021-06-05 12:44:08 -05:00
b992b915e5
Optimize SDL_WaitEventTimeout() for the SDL_PollEvent() case
Cameron Gutman
2021-06-05 11:57:30 -05:00
85b51e6c92
Fall back to polling normally if not operating the win32 message loop
Cameron Gutman
2021-06-05 11:46:47 -05:00
4522cb1df9
Changing variable from float to int, this way we can check it's value without having to do an unnecessary conversion. Then do explicit conversions later on if we need.
Kyle Schaefer
2021-05-25 03:17:03 -07:00
c289bad900
In x11, GetDisplayDPI can give incorrect or unusable DPI information. Using XGetDefaults to get the Xft DPI if it's available and returning that. This could allow you to figure out DPI scale.
Kyle Schaefer
2021-03-22 11:22:31 -07:00
6a2af48ad7
CMake: Generic check for desktop GL and EGL on Linux systems
Nicolas Caramelli
2021-05-06 15:43:16 +02:00
fd121b5ec0
development list has moved to forum
Benson Muite
2021-05-13 17:46:55 +03:00
ded023870d
Make CMake script more accurate to autoconf script
Cacodemon345
2021-05-16 17:16:54 +06:00
d32440359a
wayland: Add support for maximized/restored events
Ethan Lee
2021-05-17 01:24:35 -04:00
fc508eabe2
kmsdrm: remove redundant modeset_pending flag
Anthony Pesch
2021-05-23 15:59:20 -04:00
4c965b7a8d
kmsdrm: fix SetDisplayMode binding the the wrong surface / context
Anthony Pesch
2021-05-23 16:09:27 -04:00
0219928dd5
kmsdrm: honor mode previously set by SDL_SetWindowDisplayMode when enabling fullscreen and remove duplicate SDL_WINDOWEVENT_RESIZED event
Anthony Pesch
2021-05-23 16:06:40 -04:00
fd5de93a02
kmsdrm: fix gbm surface dimensions not matching the mode being set
Anthony Pesch
2021-05-23 16:05:39 -04:00
30359a689f
Android: document workaround to use JNI on native thread (see bug #4406)
Sylvain
2021-06-01 20:11:59 +02:00
b63cb822bf
Added T500RS to known wheel list
Timo Gurr
2021-05-30 01:57:56 +02:00
b81969d46f
Be more explicit about Xbox 360/One device ids.
Dimitriy Ryazantcev
2021-05-17 14:50:33 +03:00
86ee383fdd
Removed duplicate SDL_AtomicGet()
Per Nyblom
2021-05-25 09:59:45 +02:00
fed8465085
loadbmp: Attempt to handle small palettes better.
Ryan C. Gordon
2021-05-27 10:40:41 -04:00
db146e66c6
Fixed warnings building with Visual Studio
Sam Lantinga
2021-05-25 10:34:04 -07:00
3fcaf5b4b3
Fixed incorrect axis scaling for Nintendo Switch controllers
Sam Lantinga
2021-05-25 10:33:30 -07:00
75725608f3
SDL_thread.h: move libc header includes before begin_code.h.
Ozkan Sezer
2021-05-25 14:56:56 +03:00