Commit Graph

  • 976eee77cc Correct joystick hat indexes on linux The index and indices were swapped; Which is fine as long as there are no gaps in the ABS_HAT* event availability but otherwise things do get confused. Sjoerd Simons 2020-02-04 07:23:44 -08:00
  • d19006c5be Fixed bug 4965 - Update the .hgignore file Sam Lantinga 2020-02-03 16:38:07 -08:00
  • ca2186a21b Fixed bug 4758 - hgignore clion build artifacts Sam Lantinga 2020-02-03 16:34:33 -08:00
  • 4b585e75d9 Fixed bug 4833 - Use EGL for X11? Sam Lantinga 2020-02-03 08:06:52 -08:00
  • 67f4478867 Fixed bug 4917 - Wayland: handle discrete pointer axis events Sam Lantinga 2020-02-03 00:57:12 -08:00
  • 68e702b657 Fixed the hidapi Info.plist for submission to the Apple App Store Sam Lantinga 2020-02-03 00:51:35 -08:00
  • b5849daf3e Fixed build warnings on Android Sam Lantinga 2020-02-01 09:23:04 -08:00
  • 212609b3f2 Map the right pad on the Steam Controller to the right stick in the game controller API Sam Lantinga 2020-01-31 14:09:23 -08:00
  • 39a498c940 Build the hidapi framework and weak link it on Mac OS X Sam Lantinga 2020-01-31 13:09:20 -08:00
  • 91121ee4bb Weak link the hidapi framework on iOS and tvOS Sam Lantinga 2020-01-31 10:45:04 -08:00
  • 1190343f36 Build hidapi as a framework on iOS, so it can be linked by the application as well. Sam Lantinga 2020-01-30 16:02:56 -08:00
  • 62a3d6c004 Fixed build Sam Lantinga 2020-01-30 14:58:41 -08:00
  • 4e33c013d4 More Xcode project improvements Sam Lantinga 2020-01-30 14:53:18 -08:00
  • 37278066f2 Export SDL functions for iOS application delegates Sam Lantinga 2020-01-30 14:51:33 -08:00
  • 66579dbd1a test: Common framework now accepts --usable-bounds command line argument. Ryan C. Gordon 2020-01-30 13:47:48 -05:00
  • 80e7e2eb9d test: change path in a comment from '\\' to '/' char. Nothing serious here. Ryan C. Gordon 2020-01-30 13:47:19 -05:00
  • 0641711e9f Added missing file from previous commit Sam Lantinga 2020-01-29 20:09:59 -08:00
  • bc68516326 Added a unified Xcode project for macOS, iOS and tvOS Sam Lantinga 2020-01-29 20:09:18 -08:00
  • 0897f2359c Fixed compiler warning Sam Lantinga 2020-01-29 20:09:16 -08:00
  • 214eb88f0f Added SDL_hidapi_steam.c to the iOS and tvOS dylib build targets Sam Lantinga 2020-01-29 20:09:14 -08:00
  • c7a62b410b There are lots of unused macros in the Steam controller code Sam Lantinga 2020-01-29 20:09:12 -08:00
  • 355f0b54ec Added support for the Steam Controller on mobile devices Sam Lantinga 2020-01-29 20:09:11 -08:00
  • c9c89783cb Miscellaneous pending fixes Sam Lantinga 2020-01-29 20:09:08 -08:00
  • 598cf69475 Fixed member order to make more sense Sam Lantinga 2020-01-28 21:41:13 -08:00
  • 43b377b077 Fixed wired PS4 controller support on Android Sam Lantinga 2020-01-28 17:11:17 -08:00
  • 39563b7bfa x11: Use XSync when changing window position instead of XFlush. Ryan C. Gordon 2020-01-28 13:51:24 -05:00
  • c7e1b289ee cocoa: Fix command line apps' menu bar not working on macOS Catalina. Ryan C. Gordon 2020-01-27 17:15:12 -05:00
  • 059de38c2c darwin: Don't pass NULL device refs to IOHIDDeviceGetValue(). Ryan C. Gordon 2020-01-27 15:44:48 -05:00
  • b4c2e29eed video: Added a hint to override the display's usable bounds. Ryan C. Gordon 2020-01-27 10:58:30 -05:00
  • 7ea3f5b464 Fixed bug 4898 - No rumble because of integer overflow in SDL_JoystickRumble Sam Lantinga 2020-01-26 12:48:35 -08:00
  • 5e649983e7 Don't enumerate devices we can't open Sam Lantinga 2020-01-26 12:40:32 -08:00
  • adb53d0b1f Fixed disabling the Xbox 360 wireless HIDAPI driver Sam Lantinga 2020-01-26 10:32:39 -08:00
  • 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 -08:00
  • c9f672fde4 Fixed compiler warnings Sam Lantinga 2020-01-23 22:24:24 -08:00
  • 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 -08:00
  • 48240ac88e Added mapping for the Xbox One controller connected via the wireless dongle using xow Sam Lantinga 2020-01-23 12:53:41 -08:00
  • 6dc172d093 Turn off rumble on drivers which don't respect the replay.length value Sam Lantinga 2020-01-23 12:53:39 -08:00
  • 30ff5fcfc0 SDL_LEAN_AND_MEAN defaults off Sam Lantinga 2020-01-23 01:03:23 -08:00
  • 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 -08:00
  • b1c6e7c244 Fixed compile warning Sam Lantinga 2020-01-23 00:32:34 -08:00
  • 443bce741b Added support for the paddles on the Xbox One Elite Series 1 controller Sam Lantinga 2020-01-22 11:28:35 -08:00
  • 6f89b059f7 Documentation of the footprint #defines Sylvain Becker 2020-01-22 15:23:44 +01:00
  • f30ef6ed3d audio: Fixed a '//' style comment. Ryan C. Gordon 2020-01-21 17:40:16 -05:00
  • dbe5c14b33 audio: Calculate a legitimate SDL_AudioSpec::silence in SDL_LoadWAV_RW(). Ryan C. Gordon 2020-01-21 15:49:37 -05:00
  • 55afc281fa Add #define SDL_HAVE_BLIT_N_RGB565 to compile out RGB565 LUT Sylvain Becker 2020-01-21 22:06:09 +01:00
  • 7df22cf2c2 A few #defines to reduce SDL2 footprint. Only applied when library is statically linked Sylvain Becker 2020-01-21 21:33:40 +01:00
  • 25c88ea903 The Xbox One 0x01 initialization packet is an ack packet Sam Lantinga 2020-01-20 13:53:40 -08:00
  • 9c3d1602ab Refactored code so SDL_GetJoystickGameControllerType() is called less during controller detection Sam Lantinga 2020-01-19 11:43:36 -08:00
  • ff06801106 Added missing file from previous commit Sam Lantinga 2020-01-18 11:21:42 -08:00
  • 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 -08:00
  • 27035425e0 There are multiple bindings for XBox One controller model 1708, depending on firmware revision Sam Lantinga 2020-01-17 11:09:57 -08:00
  • bde1a371d1 Added support for the NACON GC-400ES Sam Lantinga 2020-01-17 11:07:19 -08:00
  • 0a7fe18fe6 On Mac OSX there are spurious hat events at program start, so skip these Sam Lantinga 2020-01-17 11:06:02 -08:00
  • 4e682461cc Reattach the kernel driver after closing USB controllers Sam Lantinga 2020-01-17 10:43:14 -08:00
  • 005e2dff21 Android: prevents rare crashes when app goes to background or ends. Sylvain Becker 2020-01-17 12:41:54 +01:00
  • d52ba78b29 Fixed bug 4246 - Android: orientation between portrait<->landscape doesn't work Sylvain Becker 2020-01-17 12:04:18 +01:00
  • a8780c6a28 Updated copyright date for 2020 Sam Lantinga 2020-01-16 20:49:25 -08:00
  • 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 -08:00
  • c6817a2c19 Added support for the paddles on the Xbox One Elite Series 2 controller Sam Lantinga 2020-01-16 15:32:41 -08:00
  • 4e1cc124d2 Improved Xbox One controller initialization Sam Lantinga 2020-01-16 15:32:39 -08:00
  • 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 -08:00
  • 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 -08:00
  • 3448600526 Added support for the HORI Fighting Commander Sam Lantinga 2020-01-15 22:18:29 -08:00
  • 6705e27c9f Added D-PAD bindings for the Linux Steam Controller Sam Lantinga 2020-01-13 22:05:58 -08:00
  • cb800d1c27 Fixed compiler warning Sam Lantinga 2020-01-13 22:05:56 -08:00
  • 7775f7cedf Fixed deadlock in HIDAPI joystick system Sam Lantinga 2020-01-13 22:05:54 -08:00
  • 3a796d6a58 Free the joystick player index when the joystick is removed Sam Lantinga 2020-01-13 15:35:54 -08:00
  • 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 -08:00
  • acbf25935e Emscripten: build fix for testoverlay2.c David Ludwig 2020-01-13 11:46:17 -05:00
  • 3ce56f621c Fixed error formatting Sam Lantinga 2020-01-13 08:12:10 -08:00
  • 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 -08:00
  • 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 -08:00
  • c14a59d999 Worked around an issue where the kernel would lose the force feedback effect Sam Lantinga 2020-01-11 13:38:50 -08:00
  • e3cedf967d Add the destination format to the error when conversion isn't possible Sam Lantinga 2020-01-11 04:38:13 -08:00
  • 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 -08:00
  • a7bf6af8c4 The Amlogic TVB-906X is Android TV Sam Lantinga 2020-01-11 04:34:23 -08:00
  • 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 -08:00
  • 47abe4e3b3 Fixed crash when unplugging a HIDAPI controller Sam Lantinga 2020-01-09 14:53:30 -08:00
  • f34795d05f Added support for the updated Hyperkin Duke Xbox One controller Sam Lantinga 2020-01-08 18:55:53 -08:00
  • a56aaea139 Fixed handling the 8BitDo M30 in Nintendo Switch mode Sam Lantinga 2020-01-07 16:47:56 -08:00
  • f4375e86f9 Added support for the 8BitDo M30 GamePad Sam Lantinga 2020-01-07 18:43:40 -08:00
  • 78ce18f5cf riscos: Add CPU feature detection Cameron Cawley 2020-01-06 20:26:52 +00:00
  • eb3d39bc8b Added support for the 8Bitdo FC30 Pro Sam Lantinga 2020-01-06 12:18:51 -08:00
  • 598bcfc5f6 Fixed bug 4928 - CMakeLists.txt: put cmake package helpers in proper libdir Sam Lantinga 2020-01-06 07:06:58 -08:00
  • 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 -08:00
  • 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 -08:00
  • cdbeae521e wayland: support wl_data_device_manager version < 3 Michael Forney 2019-12-29 23:10:39 -08:00
  • d9c4be0648 Added support for the Hyperkin Duke controller Sam Lantinga 2020-01-01 08:13:40 -08:00
  • 41dad5d7f3 Fixed bug 4357 - iosbuild.sh broken with SDL 2.0.9 Sam Lantinga 2019-12-31 10:40:30 -08:00
  • 4c9628a002 Fixed GameCube controller axis and trigger ranges and X and B button being swapped Sam Lantinga 2019-12-30 17:56:56 -08:00
  • 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 -08:00
  • 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 -08:00
  • 98ce0e50b7 Removed unnecessary setlocale() on Mac 240bad3b66 Sam Lantinga 2019-12-30 11:09:03 -08:00
  • a9482a1d60 Added support for the Nintendo GameCube adapter, tested on Steam Link hardware Sam Lantinga 2019-12-30 09:44:32 -08:00
  • 9340cfa9a1 SDL_x11events.c (X11_DispatchEvent): remove FIXME and use SDL_strtokr(). Ozkan Sezer 2019-12-27 23:01:10 +03:00
  • ef3ca2cc46 Fix build error in SDL_render_metal.m (bug #4916.) Ozkan Sezer 2019-12-23 19:55:10 +03:00
  • 6d639fce2d SDL_ScaleMode: fix compilation GLES renderer Sylvain Becker 2019-12-23 16:47:00 +01:00
  • 131e13a773 direct3d11: Always set vertex buffers when updating them (thanks, Konrad!). Ryan C. Gordon 2019-12-22 20:48:43 -05:00
  • 982f8a83ec Fixed bug 4910 - Missing joystick-driver type check in haptic Sam Lantinga 2019-12-22 13:56:50 -08:00
  • f21e172767 Use IOHIDManagerRegisterDeviceRemovalCallback() to monitor for HID removal Cameron Gutman 2019-12-20 22:25:49 -08:00