Commit Graph

  • eb98ff4740 testmessage: Fix overread of stack variable Cameron Gutman 2021-11-13 13:05:02 -06:00
  • fbe810070b more fixes to standalone makefiles. Ozkan Sezer 2021-11-13 21:56:20 +03:00
  • 62b41f61d4 fix build of testmouse.c Ozkan Sezer 2021-11-13 21:29:50 +03:00
  • 2d1706069a fixes to Makefile.minimal Ozkan Sezer 2021-11-13 21:29:32 +03:00
  • d1e6bd93d8 fix library name in Makefile.pandora Ozkan Sezer 2021-11-13 21:29:10 +03:00
  • 674f361dec wayland: Fix memory leaks in clipboard code Cameron Gutman 2021-11-13 11:44:04 -06:00
  • 3e2f8668be added some more missing sources to standalone makefiles. Ozkan Sezer 2021-11-13 20:35:24 +03:00
  • c8061ed2d1 alsa: Fix possible uninitialized string Cameron Gutman 2021-11-13 10:33:37 -06:00
  • a2c27d39cf SDL_hidapi_switch.c (ConstructSubcommand): lose use of '&' on rumbleData Ozkan Sezer 2021-11-13 17:56:28 +03:00
  • 6ad0fb8462 SDL_hidapi_ps4.c, SDL_hidapi_ps5.c: use SDL_zeroa() Ozkan Sezer 2021-11-13 17:55:10 +03:00
  • 70c8d20a46 Revert previous commit a50ca98e2b (see bug #4625) Sylvain 2021-11-13 15:04:19 +01:00
  • a50ca98e2b Fixed bug #4625 - SDL_RenderSetLogicalSize issues viewport becomes -2147483648x-2147483648 when logical_w/h is greater than window size. division should be done with floats Sylvain 2021-11-13 14:48:36 +01:00
  • a948ff8494 SDL_hidapijoystick.c: worked around a bogus 'unreachable code' warning. Ozkan Sezer 2021-11-13 11:50:02 +03:00
  • eb3f1462b8 x11: Fix memory leak in X11_CreatePixmapCursor() Cameron Gutman 2021-11-12 18:26:15 -06:00
  • f124259e59 testautomation: fix use-after-free when restoring hint value Cameron Gutman 2021-11-12 17:25:24 -06:00
  • 704edf6323 audio: Fix crash calling SDL_OpenAudio() after SDL_AudioInit() fails Cameron Gutman 2021-11-12 17:07:22 -06:00
  • 78013aeef9 alsa: Fix use-after-free when reinitializing Cameron Gutman 2021-11-12 16:57:24 -06:00
  • e688a95ba4 updated os2 makefile for tests Ozkan Sezer 2021-11-12 23:55:40 +03:00
  • 2cf9374270 minor update to docs/README.md Ozkan Sezer 2021-11-12 20:55:02 +03:00
  • 3dc7813ae4 more whitespace tidy-ups in SDL_os2messagebox.c Ozkan Sezer 2021-11-12 20:47:02 +03:00
  • c2dd50a9a0 Fixed whitespace Sam Lantinga 2021-11-12 08:28:02 -08:00
  • 4a1524350c updated linux dependencies for libXfixes-devel. Ozkan Sezer 2021-11-12 15:55:50 +03:00
  • 074e613bbb Fixed typo Sam Lantinga 2021-11-12 03:03:56 -08:00
  • 35d90f17e1 Better implementation of SDL_SetWindowMouseGrab() and SDL_SetWindowMouseRect() on macOS Sam Lantinga 2021-11-12 03:00:57 -08:00
  • fa3330baec autotools, cmake: test Xfixes along with XInput2.h: Ozkan Sezer 2021-11-12 12:55:50 +03:00
  • c3a4a6a033 mark Android.mk as non-executable Ozkan Sezer 2021-11-12 12:55:28 +03:00
  • 5fc7a90a8b Fix refcounting in SDL_hid_exit Mathieu Eyraud 2021-11-12 10:00:41 +01:00
  • 97c71371f2 If Android version >= API 31 PendingIntent.FLAG_MUTABLE "If your app targets Android 12, you must specify the mutability of each PendingIntent object that your app creates. This additional requirement improves your app's security." Sam Lantinga 2021-11-12 01:21:29 -08:00
  • 162772aa63 Fixed build warnings on Android Sam Lantinga 2021-11-11 20:50:54 -08:00
  • 544d2e6aa0 Don't try to load hidapi at startup on Android Sam Lantinga 2021-11-11 20:47:19 -08:00
  • 33735d5997 mark Android.mk as non-executable Ozkan Sezer 2021-11-12 07:40:00 +03:00
  • 50971577e4 dinput: Fix memory leak when SDL_DINPUT_JoystickPresent() returns true Cameron Gutman 2021-11-11 22:35:41 -06:00
  • ed05a0e9e7 Fixed exception trying to get USB permission Sam Lantinga 2021-11-11 20:33:02 -08:00
  • acb602d607 minor style adjustment Ozkan Sezer 2021-11-12 07:28:00 +03:00
  • 3bf7994fe2 Add and use SDL_FALLTHROUGH for fallthroughs Misa 2021-09-27 14:38:12 -07:00
  • c877dd93c5 The hidapi code is now built into SDL, we don't need to load a shared library for it Sam Lantinga 2021-11-11 19:29:42 -08:00
  • 9c3bcf8e8a Added SDL_hid_ble_scan() for pairing Steam Controllers on iOS and tvOS Sam Lantinga 2021-11-11 17:31:14 -08:00
  • abc12a832c Revert "Add and use SDL_FALLTHROUGH for fallthroughs" Sam Lantinga 2021-11-11 15:58:44 -08:00
  • 36b2690e40 Moved SDL HIDAPI functions into a single block for the ABI Sam Lantinga 2021-11-11 15:48:56 -08:00
  • cfbae8b967 Sync wiki -> header SDL Wiki Bot 2021-11-11 23:12:04 +00:00
  • fe09a4930a joystick: Add APIs to query rumble support Cameron Gutman 2021-11-11 15:53:11 -06:00
  • afccabb881 joystick: Add capability flags for rumble and trigger rumble Cameron Gutman 2021-11-11 12:12:05 -06:00
  • 1ccfbf963e joystick: Convert HasLED() into a generic GetCapabilities() function Cameron Gutman 2021-11-11 11:13:08 -06:00
  • 1ba695dc94 whitespace between '#' and 'cmakedefine' does not seem to work.. Ozkan Sezer 2021-11-12 02:00:04 +03:00
  • 911d91c55c Retry hid_send_feature_report() if the ioctl() fails with EPIPE (e.g. the device stalled) Sam Lantinga 2021-11-11 14:35:51 -08:00
  • a3648e26df Sync wiki -> header SDL Wiki Bot 2021-11-11 21:52:04 +00:00
  • b15e880e73 Fixed open functions in the SDL_hidapi.h header Sam Lantinga 2021-11-11 13:50:16 -08:00
  • 1e159bc6fa Include standard wrapping for SDL public headers in SDL_hidapi.h Sam Lantinga 2021-11-11 13:45:31 -08:00
  • b9b0df40bf Fixed Linux build Sam Lantinga 2021-11-11 12:52:31 -08:00
  • 76e3bb55bb Sync wiki -> header SDL Wiki Bot 2021-11-11 20:48:04 +00:00
  • c9ada1c142 Made HIDAPI device change notifications available via SDL_hid_device_change_count() Sam Lantinga 2021-11-11 12:45:38 -08:00
  • 77a1ad1c61 minor update to os/2 readme. Ozkan Sezer 2021-11-11 23:40:24 +03:00
  • 63ae103cd1 wayland: QTWAYLAND_CONTENT_ORIENTATION can support multiple values as bitmasks Ethan Lee 2021-11-11 13:16:34 -05:00
  • ebed961cb2 Fixed build with older Linux kernel headers Sam Lantinga 2021-11-11 09:51:39 -08:00
  • a0f8afb599 Separated the HIDAPI subsystem from HIDAPI joysticks Sam Lantinga 2021-11-11 09:16:44 -08:00
  • 11ae43ca16 Only lock the pointer for mouse relative mode, there isn't really a concept of grab and confinement on iOS Sam Lantinga 2021-11-11 07:49:38 -08:00
  • 66a08aa391 Add and use SDL_FALLTHROUGH for fallthroughs Misa 2021-09-27 14:38:12 -07:00
  • 828a0a4a10 Fixed mapping for PS4 controller when using the classic Joystick interface on Linux Sam Lantinga 2021-11-11 07:13:29 -08:00
  • dc9de1e2bd Get the correct USB VID/PID information for /dev/input/js* devices Sam Lantinga 2021-11-11 07:03:30 -08:00
  • bd92a95f22 Cleanup for the /dev/js* support (thanks @meyraud705) Sam Lantinga 2021-11-11 06:30:36 -08:00
  • 3090812e1e Convert last SDL_IOReady()'s 2nd parameter to flags Mathieu Eyraud 2021-11-11 11:27:56 +01:00
  • 1c78b08007 Added support for /dev/input/js* on Linux Sam Lantinga 2021-11-10 20:02:25 -08:00
  • 65a50b2430 Re-enable udev joystick enumeration by default Sam Lantinga 2021-11-10 16:15:22 -08:00
  • dfb834d3d4 Track button state for each mouse input source separately Sam Lantinga 2021-11-10 13:41:44 -08:00
  • cb4491ca60 Sync wiki -> header Ryan C. Gordon 2021-11-10 16:05:03 -05:00
  • eda4c40732 Make sure the X event is an Xkb event before checking the Xkb event type Sam Lantinga 2021-11-10 12:46:54 -08:00
  • a1c125c1f5 fnsince.pl: Report unreleased APIs as part of the next release version. Ryan C. Gordon 2021-11-10 15:40:27 -05:00
  • b42ae3dbfe Sync wiki -> header Ryan C. Gordon 2021-11-10 15:21:01 -05:00
  • 98c9836287 Don't clobber the error in SDL_ShowMessageBox() if one has been set at the platform level Sam Lantinga 2021-11-10 11:04:51 -08:00
  • dca5ce4ea3 Clarified that AAudio is only used on Android 8.1 and newer Sam Lantinga 2021-11-10 10:15:47 -08:00
  • dc4c7d9539 Fixed infinite loop in SDL_vsnprintf() if the format string is too large for the output buffer Sam Lantinga 2021-11-10 09:48:49 -08:00
  • d5032582e0 Use consistent language between SDLTest_AssertPass() and SDLTest_AssertCheck() Sam Lantinga 2021-11-10 09:45:56 -08:00
  • 6c4b4ee7a6 Don't assert on API parameters Sam Lantinga 2021-11-10 09:41:43 -08:00
  • fed857787a Update the orientation and display modes when the display settings change on Windows Sam Lantinga 2021-11-10 08:47:39 -08:00
  • c0f1109bd0 Implemented querying the orientation of displays on Windows Sam Lantinga 2021-11-10 06:03:01 -08:00
  • 3a31a45028 End the scene before resetting the D3D device, since we'll start with BeginScene after that. Sam Lantinga 2021-11-10 05:24:31 -08:00
  • 6b64c47b69 haptics: Enumerate XInput/DInput joysticks after haptic init Cameron Gutman 2021-11-09 23:45:32 -06:00
  • 6f9909b609 These functions made it into 2.0.18 Sam Lantinga 2021-11-09 21:11:19 -08:00
  • 0d98793693 testwm2: Fix video modes menu hit detection when highdpi or logical size used (#4936) Eric Wasylishen 2021-11-09 22:03:42 -07:00
  • 27ce914463 Send absolute mouse motion when in normal mouse mode and relative mouse motion when in relative mode on iOS Sam Lantinga 2021-11-09 20:51:42 -08:00
  • 19c129faba Added documentation that the UIApplicationSupportsIndirectInputEvents key must be set to true in your application's Info.plist in order to get real Bluetooth mouse events. Sam Lantinga 2021-11-09 20:32:16 -08:00
  • a7e2e3a329 Fixed rendering in the iOS touch demo Sam Lantinga 2021-11-09 13:36:44 -08:00
  • 7681929cb4 Don't send the initial joystick axis event if the application is in the background Sam Lantinga 2021-11-09 12:30:37 -08:00
  • d31f90d9e1 Don't send game controller touchpad or sensor events unless the application has focus Sam Lantinga 2021-11-09 12:09:01 -08:00
  • d2f756360e When making the window centered it should use windowed mode size since it doesn't affect fullscreen windows Sam Lantinga 2021-11-09 11:53:59 -08:00
  • 1fc25bd839 Properly position the IME window(s) on windows Susko3 2021-11-08 22:04:34 +01:00
  • 04f42e0468 metal: Deal better with -[CAMetalLayer nextDrawable] returning nil. Ryan C. Gordon 2021-11-09 11:50:49 -05:00
  • 8f63e9ff68 cmake: use generated SDL_config.h to build SDLmain static lib Ryan C. Gordon 2021-11-09 11:13:52 -05:00
  • 3a82e432f0 cmake: Moved back to requiring merely CMake 3.0.0. Ryan C. Gordon 2021-11-09 11:06:33 -05:00
  • cfdbd6acca docs: Modernized README-macosx.md and cleaned up the Markdown a little. Ryan C. Gordon 2021-11-09 10:50:18 -05:00
  • 0f2bf62935 Fixed building hidapi when libusb is available Sam Lantinga 2021-11-09 06:20:46 -08:00
  • 7b9fe52e1a We're no longer building a separate shared library for hidapi Sam Lantinga 2021-11-09 05:40:57 -08:00
  • e8731933cc Fixed warning: macro is not used Sylvain 2021-11-09 13:32:28 +01:00
  • c7065bf42f Fix warning: declaration shadows a local variable Sylvain 2021-11-09 11:31:29 +01:00
  • 715e7bda22 haptic: Don't enumerate joysticks if the joystick subsystem is active Cameron Gutman 2021-11-09 01:43:44 -06:00
  • b2ce22a077 added src/hidapi/*.c to sources in standalone makefiles Ozkan Sezer 2021-11-09 10:00:24 +03:00
  • ae67c7d2da Implemented SDL_SetWindowMouseRect() on Wayland Ethan Lee 2021-11-09 01:30:00 -05:00
  • 18e69827aa Fixed Linux build Sam Lantinga 2021-11-08 22:29:02 -08:00
  • 881f747d5c Always destroy icon Yufei Huang 2021-11-09 13:35:18 +08:00
  • 7fea557b99 SDL_windowsmouse.c: Remove LR_COPYDELETEORG flag Yufei Huang 2021-11-09 12:03:09 +08:00