Commit Graph

  • c9c89783cb Miscellaneous pending fixes Sam Lantinga 2020-01-29 20:09:08 -0800
  • 598cf69475 Fixed member order to make more sense Sam Lantinga 2020-01-28 21:41:13 -0800
  • 43b377b077 Fixed wired PS4 controller support on Android Sam Lantinga 2020-01-28 17:11:17 -0800
  • 39563b7bfa x11: Use XSync when changing window position instead of XFlush. Ryan C. Gordon 2020-01-28 13:51:24 -0500
  • c7e1b289ee cocoa: Fix command line apps' menu bar not working on macOS Catalina. Ryan C. Gordon 2020-01-27 17:15:12 -0500
  • 059de38c2c darwin: Don't pass NULL device refs to IOHIDDeviceGetValue(). Ryan C. Gordon 2020-01-27 15:44:48 -0500
  • b4c2e29eed video: Added a hint to override the display's usable bounds. Ryan C. Gordon 2020-01-27 10:58:30 -0500
  • 7ea3f5b464 Fixed bug 4898 - No rumble because of integer overflow in SDL_JoystickRumble Sam Lantinga 2020-01-26 12:48:35 -0800
  • 5e649983e7 Don't enumerate devices we can't open Sam Lantinga 2020-01-26 12:40:32 -0800
  • adb53d0b1f Fixed disabling the Xbox 360 wireless HIDAPI driver Sam Lantinga 2020-01-26 10:32:39 -0800
  • ce7c51a9cc Always release devices in onPause in case we're going to be force stopped, and for consistency with interacting with other activities that might use the controller Sam Lantinga 2020-01-26 00:37:48 -0800
  • c9f672fde4 Fixed compiler warnings Sam Lantinga 2020-01-23 22:24:24 -0800
  • 2ae41b9c61 Fixed mapping for both versions of the Xbox One Elite Series 2 controller firmware connecting over Bluetooth Sam Lantinga 2020-01-23 12:53:43 -0800
  • 48240ac88e Added mapping for the Xbox One controller connected via the wireless dongle using xow Sam Lantinga 2020-01-23 12:53:41 -0800
  • 6dc172d093 Turn off rumble on drivers which don't respect the replay.length value Sam Lantinga 2020-01-23 12:53:39 -0800
  • 30ff5fcfc0 SDL_LEAN_AND_MEAN defaults off Sam Lantinga 2020-01-23 01:03:23 -0800
  • b5e3d264f2 Added a single SDL_LEAN_AND_MEAN define to turn on minimal SDL builds Protected more code with #ifdefs to reduce the size of minimal shared library builds Sam Lantinga 2020-01-23 01:00:52 -0800
  • b1c6e7c244 Fixed compile warning Sam Lantinga 2020-01-23 00:32:34 -0800
  • 443bce741b Added support for the paddles on the Xbox One Elite Series 1 controller Sam Lantinga 2020-01-22 11:28:35 -0800
  • 6f89b059f7 Documentation of the footprint #defines Sylvain Becker 2020-01-22 15:23:44 +0100
  • f30ef6ed3d audio: Fixed a '//' style comment. Ryan C. Gordon 2020-01-21 17:40:16 -0500
  • dbe5c14b33 audio: Calculate a legitimate SDL_AudioSpec::silence in SDL_LoadWAV_RW(). Ryan C. Gordon 2020-01-21 15:49:37 -0500
  • 55afc281fa Add #define SDL_HAVE_BLIT_N_RGB565 to compile out RGB565 LUT Sylvain Becker 2020-01-21 22:06:09 +0100
  • 7df22cf2c2 A few #defines to reduce SDL2 footprint. Only applied when library is statically linked Sylvain Becker 2020-01-21 21:33:40 +0100
  • 25c88ea903 The Xbox One 0x01 initialization packet is an ack packet Sam Lantinga 2020-01-20 13:53:40 -0800
  • 9c3d1602ab Refactored code so SDL_GetJoystickGameControllerType() is called less during controller detection Sam Lantinga 2020-01-19 11:43:36 -0800
  • ff06801106 Added missing file from previous commit Sam Lantinga 2020-01-18 11:21:42 -0800
  • 43aa1fa9e7 Added support for detecting previously unknown Xbox 360 and Xbox One controllers using the HIDAPI driver with libusb and Android Sam Lantinga 2020-01-18 11:21:14 -0800
  • 27035425e0 There are multiple bindings for XBox One controller model 1708, depending on firmware revision Sam Lantinga 2020-01-17 11:09:57 -0800
  • bde1a371d1 Added support for the NACON GC-400ES Sam Lantinga 2020-01-17 11:07:19 -0800
  • 0a7fe18fe6 On Mac OSX there are spurious hat events at program start, so skip these Sam Lantinga 2020-01-17 11:06:02 -0800
  • 4e682461cc Reattach the kernel driver after closing USB controllers Sam Lantinga 2020-01-17 10:43:14 -0800
  • 005e2dff21 Android: prevents rare crashes when app goes to background or ends. Sylvain Becker 2020-01-17 12:41:54 +0100
  • d52ba78b29 Fixed bug 4246 - Android: orientation between portrait<->landscape doesn't work Sylvain Becker 2020-01-17 12:04:18 +0100
  • a8780c6a28 Updated copyright date for 2020 Sam Lantinga 2020-01-16 20:49:25 -0800
  • 572f4a8509 Fixed bug 4929 - Software renderer produces bugs when optimizations are turned on with Visual C++ 2019 Sam Lantinga 2020-01-16 15:54:20 -0800
  • c6817a2c19 Added support for the paddles on the Xbox One Elite Series 2 controller Sam Lantinga 2020-01-16 15:32:41 -0800
  • 4e1cc124d2 Improved Xbox One controller initialization Sam Lantinga 2020-01-16 15:32:39 -0800
  • 981e0d367c Fixed bug 4903 - Lack of color multiply with alpha (SDL_BLENDMODE_MOD + SDL_BLENDMODE_BLEND) blending mode for all renderers Sam Lantinga 2020-01-16 08:52:59 -0800
  • 669729a8a0 Improved Xbox One controller initialization sequence This sequence works across Microsoft, PowerA, PDP, and HORI controllers. The newer Microsoft XBox firmware requires synchronizing the rumble sequence number, when SDL sees it after the initial connect The Razer Wildcat controller requires waiting for init responses before continuing the initialization sequence. The PDP Battlefield 1 controller takes over a second to be ready for initialization, and if initialization is attempted before then, it will fail. Sam Lantinga 2020-01-15 22:18:31 -0800
  • 3448600526 Added support for the HORI Fighting Commander Sam Lantinga 2020-01-15 22:18:29 -0800
  • 6705e27c9f Added D-PAD bindings for the Linux Steam Controller Sam Lantinga 2020-01-13 22:05:58 -0800
  • cb800d1c27 Fixed compiler warning Sam Lantinga 2020-01-13 22:05:56 -0800
  • 7775f7cedf Fixed deadlock in HIDAPI joystick system Sam Lantinga 2020-01-13 22:05:54 -0800
  • 3a796d6a58 Free the joystick player index when the joystick is removed Sam Lantinga 2020-01-13 15:35:54 -0800
  • 1d321850b6 Added support for claiming individiual interfaces on USB devices on Android This is needed for supporting multiple wireless Xbox 360 controllers Sam Lantinga 2020-01-13 15:35:52 -0800
  • acbf25935e Emscripten: build fix for testoverlay2.c David Ludwig 2020-01-13 11:46:17 -0500
  • 3ce56f621c Fixed error formatting Sam Lantinga 2020-01-13 08:12:10 -0800
  • d2cda502cc Send the full Xbox One controller sequence for Microsoft controllers This switches Bluetooth controllers back into USB report mode for the latest Xbox One S and Xbox One Elite Series 2 firmware Sam Lantinga 2020-01-12 17:22:24 -0800
  • 196f69984a Fixed NEON detection on arm64 CPUs This probably breaks RISCOS, but we need a better fix from Cameron Cawley for this Sam Lantinga 2020-01-11 22:03:06 -0800
  • c14a59d999 Worked around an issue where the kernel would lose the force feedback effect Sam Lantinga 2020-01-11 13:38:50 -0800
  • e3cedf967d Add the destination format to the error when conversion isn't possible Sam Lantinga 2020-01-11 04:38:13 -0800
  • d33b122f4f The Xbox One S Bluetooth controller with older firmware uses b16 as the guide button. The same controller with newer firmware uses b12 as the guide button. Map both buttons so both firmware revisions will work with the same mapping. Sam Lantinga 2020-01-11 04:34:28 -0800
  • a7bf6af8c4 The Amlogic TVB-906X is Android TV Sam Lantinga 2020-01-11 04:34:23 -0800
  • 5d28c31548 Only initialize Xbox One controllers once they're ready for initialization (or if they are silent until init) This fixes the Hyperkin Duke Xbox One controller showing the Xbox startup animation every time an SDL application launches Sam Lantinga 2020-01-09 14:53:34 -0800
  • 47abe4e3b3 Fixed crash when unplugging a HIDAPI controller Sam Lantinga 2020-01-09 14:53:30 -0800
  • f34795d05f Added support for the updated Hyperkin Duke Xbox One controller Sam Lantinga 2020-01-08 18:55:53 -0800
  • a56aaea139 Fixed handling the 8BitDo M30 in Nintendo Switch mode Sam Lantinga 2020-01-07 16:47:56 -0800
  • f4375e86f9 Added support for the 8BitDo M30 GamePad Sam Lantinga 2020-01-07 18:43:40 -0800
  • 78ce18f5cf riscos: Add CPU feature detection Cameron Cawley 2020-01-06 20:26:52 +0000
  • eb3d39bc8b Added support for the 8Bitdo FC30 Pro Sam Lantinga 2020-01-06 12:18:51 -0800
  • 598bcfc5f6 Fixed bug 4928 - CMakeLists.txt: put cmake package helpers in proper libdir Sam Lantinga 2020-01-06 07:06:58 -0800
  • 2b1edf4113 X11_InitKeyboard: do not call XAutoRepeatOn unnecessarily Use XGetKeyboardControl to initialize the current XKeyboardState, and skip XAutoRepeatOn invocation if global_auto_repeat is AutoRepeatModeOn. Dmitry V. Levin 2020-01-04 11:05:06 -0800
  • ed514cd0e4 have_mitshm: use XShmQueryExtension to check for MIT-SHM extension Do not try to guess MIT_SHM extension availability from the string returned by XDisplayName, use the appropriate API instead. Dmitry V. Levin 2020-01-04 11:03:04 -0800
  • cdbeae521e wayland: support wl_data_device_manager version < 3 Michael Forney 2019-12-29 23:10:39 -0800
  • d9c4be0648 Added support for the Hyperkin Duke controller Sam Lantinga 2020-01-01 08:13:40 -0800
  • 41dad5d7f3 Fixed bug 4357 - iosbuild.sh broken with SDL 2.0.9 Sam Lantinga 2019-12-31 10:40:30 -0800
  • 4c9628a002 Fixed GameCube controller axis and trigger ranges and X and B button being swapped Sam Lantinga 2019-12-30 17:56:56 -0800
  • 58a11d30de Fixed bug 4920 - Wider support for seconds of battery life left on Linux platforms using sys interface Sam Lantinga 2019-12-30 13:21:47 -0800
  • 8b0660b25a Fixed bug 4918 - SDL failed to build due to error LNK2019: unresolved external symbol memset referenced in function SDL_SetJoystickIDForPlayerIndex with MSVC x64 on Windows Sam Lantinga 2019-12-30 13:18:57 -0800
  • 98ce0e50b7 Removed unnecessary setlocale() on Mac 240bad3b66 Sam Lantinga 2019-12-30 11:09:03 -0800
  • a9482a1d60 Added support for the Nintendo GameCube adapter, tested on Steam Link hardware Sam Lantinga 2019-12-30 09:44:32 -0800
  • 9340cfa9a1 SDL_x11events.c (X11_DispatchEvent): remove FIXME and use SDL_strtokr(). Ozkan Sezer 2019-12-27 23:01:10 +0300
  • ef3ca2cc46 Fix build error in SDL_render_metal.m (bug #4916.) Ozkan Sezer 2019-12-23 19:55:10 +0300
  • 6d639fce2d SDL_ScaleMode: fix compilation GLES renderer Sylvain Becker 2019-12-23 16:47:00 +0100
  • 131e13a773 direct3d11: Always set vertex buffers when updating them (thanks, Konrad!). Ryan C. Gordon 2019-12-22 20:48:43 -0500
  • 982f8a83ec Fixed bug 4910 - Missing joystick-driver type check in haptic Sam Lantinga 2019-12-22 13:56:50 -0800
  • f21e172767 Use IOHIDManagerRegisterDeviceRemovalCallback() to monitor for HID removal Cameron Gutman 2019-12-20 22:25:49 -0800
  • dd5987e80a Fixed bug 4911 - Build broken when hidapi enabled Sam Lantinga 2019-12-22 13:42:20 -0800
  • 5e19e66c73 Fixed bug 4914 - Expose SDL_ScaleMode and add SDL_SetTextureScaleMode/SDL_GetTextureScaleMode Sam Lantinga 2019-12-22 13:39:44 -0800
  • f0cee3edec Fix shutting down HIDAPI device with multiple joysticks Using Wii U GameCube USB adapter with multiple controllers attached and restarting SDL input in a game results in extra joysticks with NULL name. Zack Middleton 2019-12-22 13:15:11 -0800
  • d000a592ab Fixed windows build Sam Lantinga 2019-12-21 22:33:21 -0800
  • d004cc7050 Android: same way as in nativePause(), resume events are sent from SDL thread Sylvain Becker 2019-12-21 22:40:33 +0100
  • 45a9b5fa2e Android: fix call of glFinish without context. Sylvain Becker 2019-12-21 21:18:02 +0100
  • f3a547d00a Added support for the Hori Dragon Quest Slime Controller Sam Lantinga 2019-12-20 21:40:28 -0800
  • 868551b121 Fixed duplicate controller entries on Mac OS X when using libusb, due to the HID interface number not being available in the Mac OS X HID code. Sam Lantinga 2019-12-20 21:00:16 -0800
  • 46e1377d49 Automatically assign player indexes to game controllers, and allow changing the player index for game controllers and joysticks. Added the functions SDL_JoystickFromPlayerIndex(), SDL_JoystickSetPlayerIndex(), SDL_GameControllerFromPlayerIndex(), and SDL_GameControllerSetPlayerIndex() Sam Lantinga 2019-12-20 20:12:03 -0800
  • f050309ee9 Android: fix IllegalStateException in onBackPressed() Sylvain Becker 2019-12-20 15:58:59 +0100
  • 9996d1bb71 fix xcode project file permissions Ozkan Sezer 2019-12-20 14:33:37 +0300
  • 95d40e8a28 kmsdrm: Fix busy-loop within libc's dlopen() For some obscure reason, the order in which the libdrm/libgbm libraries are loaded matters. Paul Cercueil 2019-12-19 21:47:43 -0800
  • 6b76787209 Make sure the Xbox 360 driver doesn't try to talk to the wireless controllers Sam Lantinga 2019-12-19 21:45:44 -0800
  • 1db56619de Fixed rare infinite rumble in HIDAPI controller driver Sam Lantinga 2019-12-19 18:03:28 -0800
  • 25bd5070f5 Fixed GameCube rumble Sam Lantinga 2019-12-19 18:00:08 -0800
  • 202c966a44 Added support for the Nintendo GameCube Controller, using the Mayflash GameCube adapter. Sam Lantinga 2019-12-19 16:14:22 -0800
  • 2481ab9340 Fixed compiler warning Sam Lantinga 2019-12-19 15:58:16 -0800
  • c5024a182d Backed out debug code Sam Lantinga 2019-12-19 15:21:44 -0800
  • 20daf54fd8 Added new HIDAPI driver files to the Xcode projects Sam Lantinga 2019-12-19 15:18:50 -0800
  • 8d742d4745 Added new HIDAPI driver files to the Visual Studio project Sam Lantinga 2019-12-19 15:12:36 -0800
  • fead0b24e1 Added missing files from previous commits Sam Lantinga 2019-12-19 15:02:12 -0800
  • e22e77dadc Added an untested driver for the Nintendo GameCube adapter, based on code contributed by Ethan Lee Sam Lantinga 2019-12-19 15:01:35 -0800