Commit Graph

  • 75f34fc5bf Sync SDL wiki -> header SDL Wiki Bot 2022-08-02 14:52:12 +00:00
  • 307b0b7813 video: Add a warning to the docs about using SDL_GetDisplayDPI. Ryan C. Gordon 2022-08-02 10:50:51 -04:00
  • f1390780ca Fix use after free when removing Windows audio device Mathieu Eyraud 2022-08-02 15:25:44 +02:00
  • 59a104b803 Do not pass NULL to memcpy Mathieu Eyraud 2022-08-02 15:00:55 +02:00
  • 42b2320756 Fix memory leak of children for combined JoyCon Mathieu Eyraud 2022-08-02 14:42:25 +02:00
  • 602b7dd0f4 Made the window ICMProfile filename per-window Sam Lantinga 2022-08-01 17:47:26 -07:00
  • cb107bef58 Fixed crash if all displays have been disconnected Sam Lantinga 2022-08-01 14:23:50 -07:00
  • 12aa4d5653 Added header needed for SDL_Delay() Sam Lantinga 2022-08-01 11:11:25 -07:00
  • aeb275149a Poll DirectInput devices to get their initial state Sam Lantinga 2022-08-01 10:38:31 -07:00
  • 3a6cb7e7c5 Convert XLookupString Latin-1 text to UTF-8 Sam Lantinga 2022-08-01 10:28:29 -07:00
  • 0cd5b08bfe Fixed infinite loop when SDL_SendKeyboardText() is passed invalid UTF-8 text Sam Lantinga 2022-08-01 09:43:15 -07:00
  • 954bbdf3ae Allow emscripten platform to build without threads Sam Lantinga 2022-08-01 09:51:21 -07:00
  • e4cc076a79 Threads are used by many SDL subsystems and may not be disabled. Sam Lantinga 2022-08-01 09:15:44 -07:00
  • 15bcf58d77 Fixed memory leak in the Windows driver Sam Lantinga 2022-08-01 08:14:40 -07:00
  • cf63af8ae2 events: Don't lose window RESIZED events during SIZED_CHANGED processing. Ryan C. Gordon 2022-07-31 22:10:45 -04:00
  • 17f36c105c keyboard: Remove no-op calls to SDL_SetKeymap() Cameron Gutman 2022-07-31 16:16:38 -05:00
  • 9515fb2501 keyboard: Use SDL_SetKeymap() to set the default keymap Cameron Gutman 2022-07-31 16:10:10 -05:00
  • 8b438f7b51 keyboard: Only send SDL_KEYMAPCHANGED when the keymap actually changes Cameron Gutman 2022-07-31 15:34:03 -05:00
  • a10c57dfe4 evdev: Report touchpad events with the correct device type Cameron Gutman 2022-07-31 14:18:33 -05:00
  • 9a33c62e13 evdev: Use SDL_bool for boolean types Cameron Gutman 2022-07-31 14:06:59 -05:00
  • f9d1f34b6c evdev: Report a unique ID for each mouse device Cameron Gutman 2022-07-31 13:10:43 -05:00
  • 574db63c8e evdev: Batch mouse axis updates until SYN_REPORT Cameron Gutman 2022-07-31 12:36:11 -05:00
  • 7f42fb54ad Applied DragonFly BSD patch Sam Lantinga 2022-07-30 16:34:40 -07:00
  • ce5a23bd57 Applied DragonFly BSD patch Sam Lantinga 2022-07-30 16:32:21 -07:00
  • 6926ff3cd8 Applied DragonFly BSD patch Sam Lantinga 2022-07-30 16:30:32 -07:00
  • 21100006ad Don't conflict with usage of stdout as a stdio macro Sam Lantinga 2022-07-30 16:22:24 -07:00
  • 6e9a606a8e Add more mingw-w64 build workflows Cameron Cawley 2022-07-30 21:08:07 +01:00
  • 3bdc10f842 Update the list of required Ubuntu packages, and add Ubuntu 22.04 workflows Cameron Cawley 2022-07-30 19:41:48 +01:00
  • adb3e1a21d Add FreeBSD builds to GitHub Actions Cameron Cawley 2022-07-30 13:35:38 +01:00
  • 22f25b03d9 core: linux: Favor xdg-desktop-portal for elevating thread priority Frank Praznik 2022-07-24 13:22:39 -04:00
  • 2241bd669f Added a command line option --info event_motion to show mouse and finger motion events Sam Lantinga 2022-07-29 20:37:38 -07:00
  • 13e0c40ec2 Added mapping for the 8BitDo Pro 2 controller in DirectInput mode over Bluetooth on Linux Sam Lantinga 2022-07-29 17:28:36 -07:00
  • 62c831661c Added mapping for the 8BitDo Pro 2 controller in DirectInput mode Sam Lantinga 2022-07-29 17:14:55 -07:00
  • 41c363f7d6 Note that the PDP Versus Fighting Pad is an arcade fighting pad Sam Lantinga 2022-07-29 16:27:23 -07:00
  • 47265f377f Sync SDL wiki -> header SDL Wiki Bot 2022-07-29 13:24:05 +00:00
  • 36dfbe5d66 stdlib: exclude mslibc functions using SDL_STATIC_LIB macro Anonymous Maarten 2022-07-28 02:06:29 +02:00
  • f8aa00d198 cmake: add HAVE_STDDEF_H to SDL_config.h.cmake Anonymous Maarten 2022-07-28 16:30:02 +02:00
  • 83f5bbdf25 cmake: define SDL_STATIC_LIB for static SDL2 library Anonymous Maarten 2022-07-28 14:08:20 +02:00
  • bdd1d035b7 cmake: Don't add /NODEFAULTLIB to link flags when building SDL-static Anonymous Maarten 2022-07-28 02:38:04 +02:00
  • 181877ebeb Added SDL_hidapi_combined.c to the Xcode project Sam Lantinga 2022-07-28 21:54:34 -07:00
  • f3c1194c0f Removed obsolete comment Sam Lantinga 2022-07-28 21:50:41 -07:00
  • aee179e46f Removed debug output Sam Lantinga 2022-07-28 21:50:20 -07:00
  • d8fd78736b Added entry for the Nintendo Switch Joy-Con controller pair Sam Lantinga 2022-07-28 21:44:23 -07:00
  • 875b737c64 Added support for the Nintendo Online NES Controllers to the HIDAPI driver Sam Lantinga 2022-07-28 21:39:32 -07:00
  • 45c1cc8177 Compatible with including as <SDL2/SDL.h> Xiaofeng Wang 2022-07-29 11:30:17 +08:00
  • ab967475c6 Greatly improved Nintendo Joy-Con support using the HIDAPI driver Sam Lantinga 2022-07-28 19:38:38 -07:00
  • dfed862a66 Fixed variable shadow warning Sam Lantinga 2022-07-28 19:35:46 -07:00
  • 2fa2f9ff77 Greatly improved Nintendo Joy-Con support using the HIDAPI driver Sam Lantinga 2022-07-28 19:22:27 -07:00
  • def60ce6fe Fixed the name of the HIDAPI Joy-Con controller for consistency with other drivers Sam Lantinga 2022-07-27 19:20:42 -07:00
  • 0f1be9401f Updated mapping for Joy-Con controllers using hid-nintendo Sam Lantinga 2022-07-27 17:32:51 -07:00
  • 756978a236 Left and right single Joy-Con controllers are mapped as individual mini controllers Sam Lantinga 2022-07-27 16:17:32 -07:00
  • 4990bd0517 Added debug code to show available inputs on iOS/tvOS controllers Sam Lantinga 2022-07-27 16:17:32 -07:00
  • 65473ae36d autoconf: use ax_compute_relative_paths Anonymous Maarten 2022-07-25 02:01:59 +02:00
  • dbf7940541 Enable capturing raw Xinput2 touch events and use to flag global mouse state as dirty Sam Lantinga 2022-07-27 10:31:24 -07:00
  • 42165fe8d1 kmsdrm: slightly better device index hint parsing. Ryan C. Gordon 2022-07-27 12:12:03 -04:00
  • 02c8747176 math.h does not always provide M_PI Anonymous Maarten 2022-07-27 15:05:41 +02:00
  • 5da85376b9 stdlib: move all mslibc functions to SDL_mslibc.c Anonymous Maarten 2022-07-26 21:47:52 +02:00
  • a169259f62 Actually we don't need to unlock to send k_eSwitchProprietaryCommandIDs_ForceUSB since we don't wait for reply Sam Lantinga 2022-07-27 09:05:02 -07:00
  • c51464d9d8 Put the Nintendo Switch Pro controller back into enhanced mode as needed Sam Lantinga 2022-07-27 09:00:39 -07:00
  • 5c70e45c53 cmake: don't use result of 'find_library' for Android libraries Anonymous Maarten 2022-07-25 23:46:36 +02:00
  • 430c39082f ci: test 'sdl2-config --static-libs' + 'pkg-config sdl2 --static' on ci Anonymous Maarten 2022-07-25 23:35:59 +02:00
  • 4690689a4c cmake: on Apple, don't use find_library for frameworks + use EXTRA_LDFLAGS Anonymous Maarten 2022-07-25 23:06:52 +02:00
  • 613ce7850e Fixed interpreting SDL_KMSDRM_DEVICE_INDEX="" as index 0 Sam Lantinga 2022-07-26 13:34:27 -07:00
  • 36d456797b CI: Fix CMake workflow. Pierre Wendling 2022-07-26 15:42:01 -04:00
  • cc982ea7a7 kmsdrm: let device indexes be > 2 digits. Ryan C. Gordon 2022-07-26 15:43:34 -04:00
  • c37c1f7ac3 CI: Make macOS universal build with CMake. Pierre Wendling 2022-07-26 15:24:38 -04:00
  • 1f276a5148 Fix Main Thread Checker warning on macOS diddily 2022-07-26 13:30:59 -04:00
  • 31d38f2f30 WhatsNew.txt: Note that minimum macOS version is now 10.9. Ryan C. Gordon 2022-07-26 15:14:37 -04:00
  • 542a4da3d6 kmsdrm: check SDL_HINT_KMSDRM_DEVICE_INDEX hint in dri_getindex(). Ryan C. Gordon 2022-07-26 15:11:19 -04:00
  • 218c3dbb34 cocoa: Don't crash if moving a message box created before SDL_Init. Ryan C. Gordon 2022-07-26 14:45:26 -04:00
  • f789bc7d5f Updated minimum OS targets on Apple platforms to match supported platforms using Xcode 13 Sam Lantinga 2022-07-26 11:36:01 -07:00
  • 8ff738f234 audio: Report SDL_AUDIODEVICEREMOVED for unopened devices. Ryan C. Gordon 2022-07-26 12:40:47 -04:00
  • 5d85c7d300 kmsdrm: Added a hint to specify device index. Ryan C. Gordon 2022-07-26 00:19:16 -04:00
  • 20a76b0e3e video: removed unused devindex argument from bootstrap's create method. Ryan C. Gordon 2022-07-25 23:06:58 -04:00
  • cbb3f4ca37 Add SDL_guid.h to the global SDL header Sam Lantinga 2022-07-25 19:52:46 -07:00
  • 12211df669 hide SDL_GenerateAssertionReport in case SDL_ASSERT_LEVEL is 0 otherwise SDL_PromptAssertion (and SDL_GenerateAssertionReport) can not be eliminated pionere 2022-02-05 10:44:26 +01:00
  • a423848ea0 Allow floating point values for SDL_HINT_JOYSTICK_HIDAPI_SWITCH_HOME_LED Sam Lantinga 2022-07-25 11:26:18 -07:00
  • 1e492b2f6d Improve behavior of SDL_events_need_periodic_poll() and SDL_events_need_polling() diddily 2022-07-25 10:12:53 -04:00
  • d9bda89fce Fix updating SDL_update_joysticks and SDL_update_sensors in response to hint changes diddily 2022-07-25 10:03:36 -04:00
  • 0ec5bb4e6d Add missing controller events to SDL_GameControllerEventState() diddily 2022-07-25 10:37:23 -04:00
  • f86ec47f86 ci: don't use ANDROID_NDK_HOME environment variable in Android workflow Anonymous Maarten 2022-07-25 15:08:33 +02:00
  • 4d66501736 Fixed building with 10.9 SDK Sam Lantinga 2022-07-24 18:04:26 -07:00
  • 3ab1e303ec joystick: Refactor and fix a few bugs in Shield HIDAPI driver Cameron Gutman 2022-07-24 15:29:42 -05:00
  • b8a5540740 testgamecontroller: Add battery reporting Cameron Gutman 2022-07-24 15:19:02 -05:00
  • 4d8bb89c46 Fixed mouse clip rect bounds on Windows Sam Lantinga 2022-07-24 11:50:14 -07:00
  • 6bcde52d88 Further adjust implementation of Cocoa_GetWindowDisplayIndex Dean Herbert 2022-07-24 20:19:16 +09:00
  • ce8aae1419 Fix Cocoa_GetWindowDisplayIndex failing and causing a catastrophic crash Dean Herbert 2022-07-13 15:01:55 +09:00
  • 041666e6c3 video: wayland: Don't switch to libdecor path for borderless windows Sebastian Krzyszkowiak 2022-07-24 05:45:59 +02:00
  • 405d1f6598 video: wayland: Roundtrip after falling back to libdecor in xdg-decoration handler Sebastian Krzyszkowiak 2022-07-24 10:16:20 +02:00
  • fc2497b109 Revert "cmake: don't add -mwindows to link flags in sdl2.pc" Anonymous Maarten 2022-07-23 18:05:35 +02:00
  • 2fdedd17be Revert 6fa7d62 and 856c99e5 Anonymous Maarten 2022-07-23 17:29:08 +02:00
  • 856c99e583 android: target android-19 by default when building with build-scripts/androidbuildlibs.sh Anonymous Maarten 2022-07-23 15:51:21 +02:00
  • 832754b970 ci: install SDL when built as a subproject Anonymous Maarten 2022-07-23 15:43:06 +02:00
  • 6fa7d62408 ci: use android-ndk r25 (LTS) on CI Anonymous Maarten 2022-07-23 15:31:35 +02:00
  • d211aaddc1 cmake: don't add -mwindows to link flags in sdl2.pc Anonymous Maarten 2022-07-23 15:29:39 +02:00
  • d63a699e01 cmake: by default, disable install target when building SDL as a subproject Anonymous Maarten 2022-07-23 15:29:13 +02:00
  • 8c51cae784 audio/aaudio, audio/openslES: fix -Wdeclaration-after-statement errors Ozkan Sezer 2022-07-23 14:56:04 +03:00
  • 65647b3417 SDL_Render: use high precision texcoords in ES2 shaders, when possible slime 2022-07-22 22:07:52 -03:00
  • f9beef760a Added support for the Nintendo Switch Joy-Con Controllers on iOS and tvOS 16 Sam Lantinga 2022-07-22 18:58:29 -07:00
  • aad7ef6eaf Added support for the Nintendo Switch Pro Controller on iOS and tvOS 16 Sam Lantinga 2022-07-22 10:58:34 -07:00