Commit Graph

  • 13e7d1a958 joystick: Allow libudev to be disabled at runtime Device enumeration via libudev can fail in a container for two reasons: Simon McVittie 2020-11-11 19:14:11 -08:00
  • 72379ba510 windows: Fix handling of swapped mouse buttons Cameron Gutman 2020-08-25 21:22:00 -07:00
  • 771732ed32 windows: Fix numpad arrow key scancodes with numlock off Cameron Gutman 2020-08-27 17:54:52 -07:00
  • 1e2caac58b Added SDL_JoystickRumbleTriggers() and SDL_GameControllerRumbleTriggers() Sam Lantinga 2020-11-11 18:57:37 -08:00
  • 067630aef3 Fix hidapi for unhandled DS4 headset microphone data corrupting controller state John "Nielk1" Klein 2020-11-11 03:47:08 -06:00
  • b6238c87e4 Don't try to build the RAWINPUT driver if HIDAPI is disabled Sam Lantinga 2020-11-11 14:48:23 -08:00
  • d1e10c313e Removed debug output Sam Lantinga 2020-11-11 14:38:14 -08:00
  • 07eae7d670 Fix process randomly getting killed when SDL_THREAD_PRIORITY_HIGH/TIME_CRITICAL is set Sam Lantinga 2020-11-11 08:47:18 -08:00
  • 59795822d0 make SDL_SensorGetDeviceNonPortableType match its prototype. Ozkan Sezer 2020-11-11 12:33:55 +03:00
  • 53b166797d SIZE_MAX need not be defined in limits.h Ozkan Sezer 2020-11-11 12:33:55 +03:00
  • e12457d8bf Added support for the Xbox Series X controller to the HIDAPI driver Sam Lantinga 2020-11-10 12:26:30 -08:00
  • 7b5a0a9f97 uikit: Don't implement main() twice for iOS static libs. Ryan C. Gordon 2020-11-10 13:12:10 -05:00
  • 940419b0a6 uikit: Fixed a typo in a comment. Ryan C. Gordon 2020-11-10 13:09:59 -05:00
  • c3dea23120 Added support for reading the paddles on a Xbox Elite Series 2 controller in Bluetooth mode Sam Lantinga 2020-11-09 22:39:33 -08:00
  • 02de820008 Add Zhaoxin processor support CPU Vendor ID "Shanghai" and "CentaurHauls" belongs to Zhaoxin. Dylan Fan 2020-11-09 20:36:35 -08:00
  • fb4a406af2 Don't put 'm' in the GUID for Xbox and PS4 controllers on iOS Sam Lantinga 2020-11-09 18:45:22 -08:00
  • f656d8456e Fixed typo in the documentation Sam Lantinga 2020-11-09 10:29:10 -08:00
  • f8b8bd0ba1 ControllerList: recategorize controller as swtich pro and not switch input-only controller Sam Lantinga 2020-11-09 10:12:02 -08:00
  • f76ca05729 ControllerList: add unknown xbox controller from minidumps Sam Lantinga 2020-11-09 10:11:59 -08:00
  • 94924f012b Fix failing to set high priority for threads on Linux desktop. Sam Lantinga 2020-11-09 10:11:55 -08:00
  • abf9dfd5c2 Fix MakeThreadRealtime DBus method call on Linux, type mismatch due to copy paste. Sam Lantinga 2020-11-09 10:11:38 -08:00
  • 5d34e3c690 Fixed linking iOS shared library Sam Lantinga 2020-11-09 09:47:19 -08:00
  • 1577366c36 Fixed duplicated switch statement processing Xbox controller dpad state Sam Lantinga 2020-11-08 23:49:03 -08:00
  • 3d92e8c742 hidapi: Also parse data[12] with dpad values on the xb1s controller Bart van der Werf 2020-10-21 10:43:46 -04:00
  • 1ef45c1801 Fixed bug 5339 - Minor memory leak in SDL_x11events.c Sam Lantinga 2020-11-08 23:40:17 -08:00
  • 723d76c8ec Fixed bug 5333 - Replace character of legacy code page with utf-8 one. Sam Lantinga 2020-11-08 23:34:59 -08:00
  • c3a32605f8 testvulkan: Patched to compile with SDL's internal Vulkan headers. Ryan C. Gordon 2020-11-09 04:55:15 -05:00
  • 0e4ce84801 opengl: Make diagonal lines match the software renderer. Ryan C. Gordon 2020-11-08 20:57:17 -05:00
  • da49f79500 opengles: use glDrawArrays() correctly with GL_LINE_STRIP. Ryan C. Gordon 2020-11-08 19:56:12 -05:00
  • de6d0ac55a uikit: Patched to compile on older iOS SDKs. Ryan C. Gordon 2020-11-08 18:11:42 -05:00
  • 93a2c58c7e opengl: Use GL_LINE_STRIP instead of breaking down into seperate GL_LINES. Ryan C. Gordon 2020-11-08 12:37:09 -05:00
  • b198febb62 Documentation: fix minor gamecontroller parameter warning Sylvain Becker 2020-11-08 10:22:27 +01:00
  • 731a5d1c53 metal: Fix line drawing, again. Ryan C. Gordon 2020-11-08 03:18:05 -05:00
  • 4ea1a10bd2 Added stub controller LED functions for WGI and RAWINPUT (thanks meyraud!) Sam Lantinga 2020-11-07 02:49:22 -08:00
  • 009b62f1c2 Be explicit about mapping the new game controller paddle buttons Sam Lantinga 2020-11-07 02:22:15 -08:00
  • 3a4388489a Document the Xbox One Elite paddle buttons Sam Lantinga 2020-11-06 17:06:41 -08:00
  • 749062e72b Implemented SDL_GameControllerSetLED() for iOS/tvOS Sam Lantinga 2020-11-06 16:53:13 -08:00
  • faeac6e86c Added additional game controller button support on iOS/tvOS Sam Lantinga 2020-11-06 16:42:46 -08:00
  • cf8d3befe6 Added iOS controllermap test Sam Lantinga 2020-11-06 16:01:43 -08:00
  • 5a92edee03 Don't try to map the accelerometer as a game controller Sam Lantinga 2020-11-06 15:54:18 -08:00
  • d5e367a466 Fixed build so CoreBluetooth framework is only needed by hidapi Sam Lantinga 2020-11-06 14:45:36 -08:00
  • 59a644fb01 iOS should use the same size window for the controller tests as other platforms Sam Lantinga 2020-11-06 14:44:26 -08:00
  • fbf0484a17 Embed the hidapi framework for the iOS and tvOS game controller test Sam Lantinga 2020-11-06 14:08:11 -08:00
  • 9a446aa92e Note that SDL_CONTROLLER_BUTTON_AUX1 is sent for the PS4/PS5 touchpad button on the HIDAPI driver. Sam Lantinga 2020-11-06 13:55:51 -08:00
  • 1bd4b7fdf1 Updated iOS tests and demos for latest SDL linking requirements Sam Lantinga 2020-11-06 13:03:07 -08:00
  • e87fbb1aa7 Removed old iOS-only project and demos Sam Lantinga 2020-11-06 11:33:49 -08:00
  • dc60b975f3 Removed old iOS-only project and demos Sam Lantinga 2020-11-06 11:32:59 -08:00
  • 3a3aaac221 Added 4 auxiliary buttons to the game controller API Sam Lantinga 2020-11-06 11:30:52 -08:00
  • a22beef402 Moved the PS5 controller driver to a separate file, as the advanced feature protocol is very different from that of the PS4 Sam Lantinga 2020-11-05 17:03:28 -08:00
  • bd2dd3f6bb Added Android mapping for the Sony PS5 Controller Sam Lantinga 2020-11-05 15:36:15 -08:00
  • 4d79f9662f Added initial support for the Sony PS5 Controller Sam Lantinga 2020-11-05 15:02:54 -08:00
  • e555d45331 Added SDL_JoystickHasLED Sam Lantinga 2020-11-05 11:07:54 -08:00
  • 83cddd2ebc Add SDL_JoystickSetLED. Ethan Lee 2020-04-30 11:57:29 -04:00
  • 1b8dee7caf coreaudio: Remove unnecessary include of CoreServices.h Ryan C. Gordon 2020-10-31 11:32:40 -04:00
  • 79221e85a0 SDL_stdinc.h: define _DARWIN_C_SOURCE on macOS for memset_pattern4() Ozkan Sezer 2020-10-29 20:00:20 +03:00
  • 311ae829c7 Android: keep compatibility with older JDK Sylvain Becker 2020-10-28 14:03:05 +01:00
  • 97cf314526 Android: apply code simplications found with lint / Android Studio Sylvain Becker 2020-10-27 21:14:49 +01:00
  • ddc0727bba Fixed implicit memcpy() when building for ARM64 on Windows (thanks Seigo!) Sam Lantinga 2020-10-27 09:00:42 -07:00
  • 010d5fba93 kmsdrm: Make this build with significantly older system libraries. Ryan C. Gordon 2020-10-26 09:49:09 -04:00
  • f0c5841714 SDL_shape_internals.h: forward-declare struct SDL_ShapeTree. Ozkan Sezer 2020-10-25 10:10:10 +03:00
  • a4040293dd os2: misc build fixes Ozkan Sezer 2020-10-25 10:10:02 +03:00
  • bfc80d83c2 minor coding style cleanup Ozkan Sezer 2020-10-25 03:55:02 +03:00
  • ba36eb0437 metal: Make line drawing match software renderer. Ryan C. Gordon 2020-10-21 00:03:33 -04:00
  • c33f808354 render: Restoring line rendering fixes that were previously put on hold. Ryan C. Gordon 2020-10-20 11:12:49 -04:00
  • 0360987f45 Android: fix deprecated onCreateDialog() methods Sylvain Becker 2020-10-24 20:31:04 +02:00
  • 5dc6c3c951 Updated Vulkan headers to version 1.2.158 Sam Lantinga 2020-10-24 10:46:18 -07:00
  • fbbc4ab33b os2: can build with libsamplerate support if wanted to. Ozkan Sezer 2020-10-24 20:12:50 +03:00
  • 967041681b Android: fix Clipboard deprecated methods Sylvain Becker 2020-10-24 15:36:05 +02:00
  • 5682b066e9 kmsdrm: Add comment about KMSDRM_VideoQuit() changes. Manuel Alfayate Corchete 2020-10-22 19:51:57 +02:00
  • 63b7827709 kmsdrm: properly exit with an error when ATOMIC interface is not yet available, instead of just segfaulting. Manuel Alfayate Corchete 2020-10-22 19:44:38 +02:00
  • a3262205b5 kmsdrm: rearrange init function so we try ATOMIC compatibility first. Manuel Alfayate Corchete 2020-10-22 17:55:45 +02:00
  • b1ea0be865 kmsdrm: Add missing checks after SDL_calloc() calls. Manuel Alfayate Corchete 2020-10-22 17:06:34 +02:00
  • ad9ec8b363 kmsdrm: Small fix, missing bracket. Manuel Alfayate Corchete 2020-10-22 16:15:34 +02:00
  • 87a86675ed kmsdrm: Always use spaces for indentation. Always use SDL_calloc() for calloc. Manuel Alfayate Corchete 2020-10-22 16:01:51 +02:00
  • cfc1362011 os2 video: updates to my_gradd.h Ozkan Sezer 2020-10-21 23:28:02 +03:00
  • f1b603ac6a Fixed bug 5323 - SDL_SetWindowMaximumSize fails if Width or Height is equal to minimum Height or Width Sam Lantinga 2020-10-20 11:51:23 -07:00
  • cbadd1e380 geniconv/os2iconv.c: make it build correctly against os2tk headers. Ozkan Sezer 2020-10-20 20:32:20 +03:00
  • 554037a6f7 audio: fix popping sounds caused by signed/unsigned conversion Manuel V?gele 2020-09-26 09:30:08 +02:00
  • f311e0a826 Removed debug log message Sam Lantinga 2020-10-19 17:29:16 -07:00
  • f31ad57fde Implement keyboard repeat in wayland video driver Yiding Jia 2020-10-05 19:17:52 -07:00
  • 73010da4dc x11events: ignore UnmapNotify events from XReparentWindow UnmapNotify event does not mean that window has been iconified. It just reports that window changed state from mapped to unmapped. Alberts Muktup?vels 2020-10-19 17:26:33 -07:00
  • e37a9385e2 Makefile.os2: remove duplicated OPTION QUIET directives from linker file Ozkan Sezer 2020-10-19 04:33:03 +03:00
  • ffb307e4dc Fixed bug 5304 - add SDL_HasSurfaceRLE() (Thanks Rene Dudfield and Dan Lawrence) Sylvain Becker 2020-10-18 09:52:56 +02:00
  • 19a65a46a6 Fixed bug 5321 - crash in SDL_ConvertSurface with RLE surfaces keep RLE information in flags when converting the surface Sylvain Becker 2020-10-17 21:47:05 +02:00
  • c70191d2b7 SDL_os2video.c (OS2_CreateDevice): remove duplicated assignment. Ozkan Sezer 2020-10-17 07:37:00 +03:00
  • 77d0f043e5 os2video.c: add missing FOURCC_R666 define, enable FOURCC_R666 case in _getSDLPixelFormatData(). Ozkan Sezer 2020-10-16 23:50:00 +03:00
  • 99ed0d7ab9 Map the guide button by default on Android 11 Sam Lantinga 2020-10-16 12:40:12 -07:00
  • 3755f6920f Added mapping for Xbox One S controller and PS4 controller on Android 11, including guide button Sam Lantinga 2020-10-16 12:40:10 -07:00
  • b8ed432c3e Added a note about Android 11 Sam Lantinga 2020-10-16 12:35:30 -07:00
  • df52c50434 Backed out changeset 2f59f1264083 Sam Lantinga 2020-10-16 09:45:40 -07:00
  • 52b319fec9 minor update to os/2 config file and update. Ozkan Sezer 2020-10-16 02:50:10 +03:00
  • 58976bda31 Allow more than one window on iOS as long as they're on different displays Sam Lantinga 2020-10-15 12:00:15 -07:00
  • a90f0400a5 os2: a _lot_ of coding style cleanup, sot that they match the SDL style. Ozkan Sezer 2020-10-15 21:37:30 +03:00
  • bdc5129f13 Use a high priority dispatch queue for GCKeyboard and GCMouse events for the lowest latency possible Sam Lantinga 2020-10-15 10:13:46 -07:00
  • a3a0ef7527 Added support for low latency mouse and keyboard handling in iOS 14 Sam Lantinga 2020-10-15 10:13:44 -07:00
  • d9aea0c3a0 Update the existing haptic player when we rumble on iOS Sam Lantinga 2020-10-15 10:13:42 -07:00
  • 645a3280ec Fix iOS and tvOS builds Sam Lantinga 2020-10-15 10:13:40 -07:00
  • cca16c9cb1 kmsdrm: merge GetDisplayDPI implementation by bms20 <brett@mynah-software.com> Manuel Alfayate Corchete 2020-10-15 17:56:19 +02:00
  • d27238751f os2: integrate the port into main tree. Ozkan Sezer 2020-10-14 23:01:06 +03:00
  • 20db1471e5 added documentation docs/README-os2.md (based on original readme.os2). Ozkan Sezer 2020-10-14 23:01:06 +03:00