Commit Graph

  • 0903e83553 Use SDL specific window class to avoid conflicting with Steam Sam Lantinga 2018-08-15 19:53:31 -0700
  • c88666580e Catch device removal as well as device arrival on Windows Sam Lantinga 2018-08-15 19:53:30 -0700
  • 641c674f2a Turned off debug messages Sam Lantinga 2018-08-15 19:53:28 -0700
  • 51902010c6 Remove the HIDAPI device if we get a read error from it This fixes detecting PS4 controller disconnect on Mac OS X, where there isn't any device removed notification Sam Lantinga 2018-08-15 19:53:26 -0700
  • dfbd7f65a9 Fixed Mac OS X build Sam Lantinga 2018-08-15 19:53:24 -0700
  • ec74c318b9 Polling hid_enumerate() every 3 seconds causes freezes and stutters on some USB audio devices and mice. We'll only enumerate devices when we get notification that the system devices have changed Sam Lantinga 2018-08-15 19:53:22 -0700
  • 2dc04b4c11 libm: one more static analysis fix. Ryan C. Gordon 2018-08-10 15:22:02 -0400
  • 67a48ad13a haiku: Patched to compile with new joystick interfaces. Ryan C. Gordon 2018-08-10 15:04:08 -0400
  • e1ac643b32 bsd: Patched to compile. Ryan C. Gordon 2018-08-10 14:54:26 -0400
  • 67764070f0 bsd: Update joystick code for new interfaces. Ryan C. Gordon 2018-08-10 14:42:40 -0400
  • b692c35237 emscripten: Patched to compile with new joystick interfaces. Ryan C. Gordon 2018-08-10 14:32:30 -0400
  • 941f8ecffd joystick: define inline to SDL_INLINE Ryan C. Gordon 2018-08-10 14:10:47 -0400
  • 0b2863d45e joystick: #if 0'd out some things that aren't currently used. Ryan C. Gordon 2018-08-10 14:09:44 -0400
  • a7c3d2af81 SDL_hidapi_ps4.c: lowercase windows header names. Ozkan Sezer 2018-08-10 11:50:55 +0300
  • f159d798dd chmod -x Android.mk Ozkan Sezer 2018-08-10 11:50:01 +0300
  • 5930b50855 Re-enabled the HIDAPI joystick driver on Windows and Mac OS X Sam Lantinga 2018-08-09 22:53:43 -0700
  • 4f41f07d43 Added missing files from previous commits Sam Lantinga 2018-08-09 16:05:48 -0700
  • 31b0224397 Added notes that this code was contributed by Valve Sam Lantinga 2018-08-09 16:04:45 -0700
  • 99759bac82 There's no controller that's supported by both XInput and HIDAPI Sam Lantinga 2018-08-09 16:04:34 -0700
  • ab07ce1166 Don't update the device list for devices we know aren't supported This should reduce HID enumeration (hitting the USB bus) if for some reason we're getting spammed with false device insert/removal events Sam Lantinga 2018-08-09 16:04:30 -0700
  • cf823094a2 The MINIX NEO-U1 is now being reported as Android TV Sam Lantinga 2018-08-09 16:04:25 -0700
  • 28e0c0eef7 Sam Lantinga <slouken@libsdl.org> 2018-08-06 13:00 -0700 Backed out changeset 794a209b2270 http://hg.libsdl.org/SDL/rev/2e2ecdac957c Sam Lantinga 2018-08-09 16:04:21 -0700
  • 25a952e76f Sam Lantinga <slouken@libsdl.org> 2018-08-06 11:58 -0700 Removed mapping for VID/PID 0x0079/0x0006, which is a generic PCB used in many different devices http://hg.libsdl.org/SDL/rev/794a209b2270 Sam Lantinga 2018-08-09 16:04:18 -0700
  • b37518b3d8 SDL: disable HIDAPI in SDL on Windows/Mac. Sam Lantinga 2018-08-09 16:03:55 -0700
  • 888bf1af69 Worked around bug with Sony PS Now PS3 controller where DirectInput polling will continue to return success after the controller is unplugged. The code is now reliant on SDL_PrivateJoystickAdded() and SDL_PrivateJoystickRemoved() being called correctly when devices are added or removed on Windows Sam Lantinga 2018-08-09 16:03:50 -0700
  • f35e97ba8a Fixed Windows build Sam Lantinga 2018-08-09 16:03:29 -0700
  • d2042e1ed4 Added HIDAPI joystick drivers for more consistent support for Xbox, PS4 and Nintendo Switch Pro controller support across platforms. Added SDL_GameControllerRumble() and SDL_JoystickRumble() for simple force feedback outside of the SDL haptics API Sam Lantinga 2018-08-09 16:00:17 -0700
  • ba90412cda libm: Don't let Visual Studio generate an implicit memset() call. Ryan C. Gordon 2018-08-08 15:39:20 -0400
  • 4cb84b8f4b backout INFINITY change...of course Visual Studio doesn't have it. Ryan C. Gordon 2018-08-08 12:36:54 -0400
  • 257071fc20 e_exp: One more compiler warning. Ryan C. Gordon 2018-08-08 12:19:01 -0400
  • 550437edbe libm: Fixed all static analysis warnings. Ryan C. Gordon 2018-08-08 12:13:56 -0400
  • c0aa626ba3 e_exp: Fixed compiler warning on Visual Studio. Ryan C. Gordon 2018-08-08 10:26:22 -0400
  • 941c5b4760 haiku: Rename internal functions from BE_* to HAIKU_* Ryan C. Gordon 2018-08-07 18:07:11 -0400
  • c0ac09edcc configure: Make wayland sources depend on generated headers. Ryan C. Gordon 2018-08-07 17:28:07 -0400
  • f59b0056d3 evdev: On sudden termination, make sure keyboard isn't lost (thanks, Tadek!) Ryan C. Gordon 2018-08-07 16:56:46 -0400
  • 623a6defd3 alsa: optionally run entire pipeline non-blocking. Ryan C. Gordon 2018-08-07 16:49:18 -0400
  • 56f44cfa0f audio: Deal with device shutdown more carefully. Ryan C. Gordon 2018-08-07 13:04:15 -0400
  • e714f6590e haptic: Fix initial detection of haptic devices on Linux system Mai Lavelle 2018-08-07 12:06:31 -0400
  • a37d3e0b1e Backed out changeset 794a209b2270 It turns out the mapping is correct, just the name was confusing Sam Lantinga 2018-08-06 13:00:11 -0700
  • cc682f2013 Removed mapping for VID/PID 0x0079/0x0006, which is a generic PCB used in many different devices Sam Lantinga 2018-08-06 11:58:08 -0700
  • f45f33bdc0 SDL_expf: return SDL_exp() instead of SDL_uclibc_exp() for consistency. Ozkan Sezer 2018-08-05 10:01:01 +0300
  • b4fe7412f9 SDL_exp Ethan Lee 2018-08-04 11:52:46 -0400
  • 4d4bb2b0ed cmake: use WINDOWS instead of WIN32. Ryan C. Gordon 2018-08-02 16:21:43 -0400
  • e061a92dc9 Some drag'and'drop improvements. Ryan C. Gordon 2018-08-02 16:03:47 -0400
  • 8f0cc4a4b7 Backed out changeset 2e42ec46061e. Ryan C. Gordon 2018-07-22 19:42:08 -0400
  • 1089944bee libm: Fixed signature mismatches for __ieee754_rem_pio2 and __kernel_rem_pio2. Ryan C. Gordon 2018-07-22 19:40:42 -0400
  • 862aa4b47d windows: Fixed some Visual Studio warnings about shadowed variables. Ryan C. Gordon 2018-07-22 19:28:27 -0400
  • 3a11bba267 Remove "lib" prefix from DLL file on MinGW builds Vitaly Novichkov 2018-06-29 18:29:17 +0300
  • c3178e67ca Ensure we still clear the X locale modifiers even if not compiled with ibus or fcitx support Marc Di Luzio 2018-07-12 16:52:45 +0100
  • b5a420cb11 dbus: Deal with undefined behavior with va_args. Ryan C. Gordon 2018-07-13 17:53:24 -0400
  • fd8e8f9f20 Clean up captured pointer code to avoid logcat clutter on pre-8.0 systems (thanks Rachel!) Sam Lantinga 2018-07-13 12:55:50 -0700
  • df0d3f1364 More controller drivers support CARTESIAN coordinates. This fixes rumble on the Saitek Cyborg V.3 Rumble Pad Sam Lantinga 2018-07-12 13:28:15 -0700
  • ff8c9538bc Allow trapping the back button so right mouse click can work on some Android systems (thanks Rachel!) Also, added a function SDL_AndroidBackButton() so applications can respond to the back button directly Sam Lantinga 2018-07-12 13:28:13 -0700
  • c74837fbb9 ltmain.sh: make OSX autofoo builds' compatibility version match Xcode builds. Ozkan Sezer 2018-07-05 23:01:10 +0300
  • ff8c62f227 Fixed bug 4210 - SSE2-based converter makes junk result of S32 -> Float Wohlstand 2018-07-02 03:53:57 +0300
  • 507e271b3e made the wasapi configury option consistent with others. Ozkan Sezer 2018-07-01 19:50:00 +0300
  • 8857791627 make WASAPI configurable in autofoo and cmake (default is on.) Ozkan Sezer 2018-07-01 17:01:04 +0300
  • 013b146de9 SDL_windowstaskdialog.h (struct _TASKDIALOGCONFIG): make unions anonymous Ozkan Sezer 2018-06-30 20:55:51 +0300
  • 949b8bd8c5 correct the comment correction.. Ozkan Sezer 2018-06-30 20:10:40 +0300
  • 67f18a1973 comment correction Ozkan Sezer 2018-06-30 20:04:01 +0300
  • cf7b94f292 ran 'chmod -x' on two files Ozkan Sezer 2018-06-30 20:03:23 +0300
  • 7c2028f8e9 Attempt to fix "cast from pointer to integer of different size" warnings. Ryan C. Gordon 2018-06-29 16:56:11 -0400
  • 52857de251 Corrected a comment. Ryan C. Gordon 2018-06-29 16:55:55 -0400
  • 3b173f818d Patched to compile on Visual Studio (typo). Ryan C. Gordon 2018-06-25 23:00:38 -0400
  • 58168a8c3c atomic: Fight with all the assemblers that don't like REP NOP. :/ Ryan C. Gordon 2018-06-25 16:34:16 -0400
  • 5f123e31a3 atomic: Spin locks now try to use the x86 PAUSE instruction for short waits. Ryan C. Gordon 2018-06-25 15:58:35 -0400
  • 5a8ecf4e79 yuv: Patched to make static analysis happy (warned about unused variable). Ryan C. Gordon 2018-06-25 13:14:52 -0400
  • 4773690d0f Deal with possible malloc(0) calls, as pointed out by static analysis. Ryan C. Gordon 2018-06-25 12:55:23 -0400
  • 4f5bd53e8f wayland: Keep protocol XML files in-tree. Ryan C. Gordon 2018-06-25 09:37:25 -0700
  • 915a7e0341 gles2: Whoops, overzealous copy/paste on my part. :) Ryan C. Gordon 2018-06-25 01:57:28 -0400
  • c8ac909674 wayland: Implemented xdg-wm-base support. Ryan C. Gordon 2018-06-24 22:42:36 -0700
  • e8237e2b02 android: Android.mk should only preserve debug symbols in debug builds. Ryan C. Gordon 2018-06-24 15:21:01 -0400
  • c591429542 alsa: avoid hardware parameters with an excessive number of periods. Anthony Pesch 2018-05-04 21:21:32 -0400
  • c70db0cabf cmake: Look in popular places for X11 headers, export this info properly. Ryan C. Gordon 2018-06-24 15:12:18 -0400
  • 59574fe2f0 x11: Normalize x11xinput2 touch x to be 1.0 at width (thanks, Zach!). Ryan C. Gordon 2018-06-24 13:57:22 -0400
  • fe6828272a egl: Don't change context when deleting current. Tomeu Vizoso 2018-06-14 06:12:12 +0000
  • 5308a245a4 Fixed some possible malloc(0) calls reported by static analysis. Ryan C. Gordon 2018-06-24 12:16:58 -0400
  • 88dfa46644 Use a blank cursor instead of PointerIcon.TYPE_NULL since that shows the default cursor on Samsung DeX Sam Lantinga 2018-06-18 13:14:04 -0700
  • a515853569 Added support for external mouse in Samsung DeX mode relative mode doesn't work, but absolute coordinates are functional Sam Lantinga 2018-06-18 13:14:02 -0700
  • f1d8f5f7fd Make certain we only hide system UI when we're fullscreen for real. (thanks Rachel!) Sam Lantinga 2018-06-18 13:14:00 -0700
  • 8b574dc43c Deal with situations where the system UI is shown when the keyboard pops up (thanks Rachel!) Sam Lantinga 2018-06-18 13:13:58 -0700
  • 74ec7cabdb Fixed race condition where Android touch events could get scaled by a render target's viewport Sam Lantinga 2018-06-18 13:13:56 -0700
  • 9924a8e392 Fixed bug 4094 - No SDL_TEXTEDITING after pressing Alt key on Raspberry Pi Linux Sam Lantinga 2018-06-14 00:51:45 -0700
  • 12ff19c035 SDL Android fullscreen code extensively tested on Steam Link with no issues reported Sam Lantinga 2018-06-13 14:24:30 -0700
  • 08de74ec49 use the 'aborts' pragma of Watcom for SDL_NORETURN functions SDL_ExitProcess(), SDL_AbortAssertion() and SDLTest_BailOut(). Ozkan Sezer 2018-06-13 14:45:02 +0300
  • 4a4bac95eb Deal with fullscreen limitations under windowed Android environments (Chromebook, DeX, etc.) (Thanks Rachel!) Sam Lantinga 2018-06-12 13:22:58 -0700
  • 41da7b79c0 ran 'chmod -x' on many files Ozkan Sezer 2018-06-12 14:00:15 +0300
  • 864b8f89fa Merged in community contributed controller mappings from https://raw.githubusercontent.com/gabomdq/SDL_GameControllerDB/master/gamecontrollerdb.txt Sam Lantinga 2018-06-12 01:04:26 -0700
  • 1205978244 Added common controllers used with Steam Big Picture Sam Lantinga 2018-06-12 00:18:10 -0700
  • 63317dfb17 Don't crash on exit from SDLActivity if we don't have a singleton for some reason. (Thanks Rachel!) Sam Lantinga 2018-06-07 17:07:05 -0700
  • fe196db774 Track android device panel width & height as well as window surface & height. Sam Lantinga 2018-06-07 17:07:03 -0700
  • db86e7a633 Added support for the PS3 controller driver in PlayStation Now Sam Lantinga 2018-06-07 10:54:54 -0700
  • 77709aecc7 Added Android hardware feature support to the default manifest Sam Lantinga 2018-06-06 09:42:12 -0700
  • 7c5f3cf3cb Added improved mouse pointer capture under API 26. (Thanks Rachel!) Sam Lantinga 2018-06-05 14:08:39 -0700
  • 113801b790 Added SDL_IsChromebook() to determine if we're running on a Chromebook. Sam Lantinga 2018-06-05 12:46:13 -0700
  • 2dedbc7262 Add Android support for relative mouse mode to SDL. Sam Lantinga 2018-06-05 12:46:11 -0700
  • 9d6ac3deff Fix creating a minimized window in SDL to not cause focus to be stolen (because ShowWindow( hwnd, SW_MINIMIZE ) would be called after creation, thus changing focus to the prior window based on some per-app list in windows, rather than the window being created with WS_MINIMIZED to start with). Sam Lantinga 2018-06-05 12:46:09 -0700
  • 1d25135b71 Fixed bug 4184 - jack audio driver fails in presence of midi ports Sam Lantinga 2018-06-01 19:43:53 -0700
  • 03ff7dcf6b Added support for Android relative mouse mode on API 24 and above Sam Lantinga 2018-05-29 11:18:01 -0700
  • ff6aebc4a1 Added a new GUID for DS3 controller connected over bluetooth, for both Sony and Shanwan (thanks William!) Sam Lantinga 2018-05-29 08:03:44 -0700