Commit graph

  • 911d91c55c Retry hid_send_feature_report() if the ioctl() fails with EPIPE (e.g. the device stalled) Sam Lantinga 2021-11-11 14:35:51 -0800
  • a3648e26df Sync wiki -> header SDL Wiki Bot 2021-11-11 21:52:04 +0000
  • b15e880e73 Fixed open functions in the SDL_hidapi.h header Sam Lantinga 2021-11-11 13:50:16 -0800
  • 1e159bc6fa Include standard wrapping for SDL public headers in SDL_hidapi.h Sam Lantinga 2021-11-11 13:45:31 -0800
  • b9b0df40bf Fixed Linux build Sam Lantinga 2021-11-11 12:52:31 -0800
  • 76e3bb55bb Sync wiki -> header SDL Wiki Bot 2021-11-11 20:48:04 +0000
  • c9ada1c142 Made HIDAPI device change notifications available via SDL_hid_device_change_count() Sam Lantinga 2021-11-11 12:45:38 -0800
  • 77a1ad1c61 minor update to os/2 readme. Ozkan Sezer 2021-11-11 23:40:24 +0300
  • 63ae103cd1 wayland: QTWAYLAND_CONTENT_ORIENTATION can support multiple values as bitmasks Ethan Lee 2021-11-11 13:16:34 -0500
  • ebed961cb2 Fixed build with older Linux kernel headers Sam Lantinga 2021-11-11 09:51:39 -0800
  • a0f8afb599 Separated the HIDAPI subsystem from HIDAPI joysticks Sam Lantinga 2021-11-11 09:16:44 -0800
  • 11ae43ca16 Only lock the pointer for mouse relative mode, there isn't really a concept of grab and confinement on iOS Sam Lantinga 2021-11-11 07:49:38 -0800
  • 66a08aa391 Add and use SDL_FALLTHROUGH for fallthroughs Misa 2021-09-27 14:38:12 -0700
  • 828a0a4a10 Fixed mapping for PS4 controller when using the classic Joystick interface on Linux Sam Lantinga 2021-11-11 07:13:29 -0800
  • dc9de1e2bd Get the correct USB VID/PID information for /dev/input/js* devices Sam Lantinga 2021-11-11 07:03:30 -0800
  • bd92a95f22 Cleanup for the /dev/js* support (thanks @meyraud705) Sam Lantinga 2021-11-11 06:30:36 -0800
  • 3090812e1e Convert last SDL_IOReady()'s 2nd parameter to flags Mathieu Eyraud 2021-11-11 11:27:56 +0100
  • 1c78b08007 Added support for /dev/input/js* on Linux Sam Lantinga 2021-11-10 20:02:25 -0800
  • 65a50b2430 Re-enable udev joystick enumeration by default Sam Lantinga 2021-11-10 16:15:22 -0800
  • dfb834d3d4 Track button state for each mouse input source separately Sam Lantinga 2021-11-10 13:41:44 -0800
  • cb4491ca60
    Sync wiki -> header Ryan C. Gordon 2021-11-10 16:05:03 -0500
  • eda4c40732 Make sure the X event is an Xkb event before checking the Xkb event type Sam Lantinga 2021-11-10 12:46:54 -0800
  • a1c125c1f5
    fnsince.pl: Report unreleased APIs as part of the next release version. Ryan C. Gordon 2021-11-10 15:40:27 -0500
  • b42ae3dbfe
    Sync wiki -> header Ryan C. Gordon 2021-11-10 15:21:01 -0500
  • 98c9836287 Don't clobber the error in SDL_ShowMessageBox() if one has been set at the platform level Sam Lantinga 2021-11-10 11:04:51 -0800
  • dca5ce4ea3 Clarified that AAudio is only used on Android 8.1 and newer Sam Lantinga 2021-11-10 10:15:47 -0800
  • dc4c7d9539 Fixed infinite loop in SDL_vsnprintf() if the format string is too large for the output buffer Sam Lantinga 2021-11-10 09:48:49 -0800
  • d5032582e0 Use consistent language between SDLTest_AssertPass() and SDLTest_AssertCheck() Sam Lantinga 2021-11-10 09:45:56 -0800
  • 6c4b4ee7a6 Don't assert on API parameters Sam Lantinga 2021-11-10 09:41:43 -0800
  • fed857787a Update the orientation and display modes when the display settings change on Windows Sam Lantinga 2021-11-10 08:47:39 -0800
  • c0f1109bd0 Implemented querying the orientation of displays on Windows Sam Lantinga 2021-11-10 06:03:01 -0800
  • 3a31a45028 End the scene before resetting the D3D device, since we'll start with BeginScene after that. Sam Lantinga 2021-11-10 05:24:31 -0800
  • 6b64c47b69 haptics: Enumerate XInput/DInput joysticks after haptic init Cameron Gutman 2021-11-09 23:45:32 -0600
  • 6f9909b609 These functions made it into 2.0.18 Sam Lantinga 2021-11-09 21:11:19 -0800
  • 0d98793693
    testwm2: Fix video modes menu hit detection when highdpi or logical size used (#4936) Eric Wasylishen 2021-11-09 22:03:42 -0700
  • 27ce914463 Send absolute mouse motion when in normal mouse mode and relative mouse motion when in relative mode on iOS Sam Lantinga 2021-11-09 20:51:42 -0800
  • 19c129faba Added documentation that the UIApplicationSupportsIndirectInputEvents key must be set to true in your application's Info.plist in order to get real Bluetooth mouse events. Sam Lantinga 2021-11-09 20:32:16 -0800
  • a7e2e3a329 Fixed rendering in the iOS touch demo Sam Lantinga 2021-11-09 13:36:44 -0800
  • 7681929cb4 Don't send the initial joystick axis event if the application is in the background Sam Lantinga 2021-11-09 12:30:37 -0800
  • d31f90d9e1 Don't send game controller touchpad or sensor events unless the application has focus Sam Lantinga 2021-11-09 12:09:01 -0800
  • d2f756360e When making the window centered it should use windowed mode size since it doesn't affect fullscreen windows Sam Lantinga 2021-11-09 11:53:59 -0800
  • 1fc25bd839 Properly position the IME window(s) on windows Susko3 2021-11-08 22:04:34 +0100
  • 04f42e0468 metal: Deal better with -[CAMetalLayer nextDrawable] returning nil. Ryan C. Gordon 2021-11-09 11:50:49 -0500
  • 8f63e9ff68
    cmake: use generated SDL_config.h to build SDLmain static lib Ryan C. Gordon 2021-11-09 11:13:52 -0500
  • 3a82e432f0
    cmake: Moved back to requiring merely CMake 3.0.0. Ryan C. Gordon 2021-11-09 11:06:33 -0500
  • cfdbd6acca
    docs: Modernized README-macosx.md and cleaned up the Markdown a little. Ryan C. Gordon 2021-11-09 10:50:18 -0500
  • 0f2bf62935 Fixed building hidapi when libusb is available Sam Lantinga 2021-11-09 06:20:46 -0800
  • 7b9fe52e1a We're no longer building a separate shared library for hidapi Sam Lantinga 2021-11-09 05:40:57 -0800
  • e8731933cc
    Fixed warning: macro is not used Sylvain 2021-11-09 13:32:28 +0100
  • c7065bf42f
    Fix warning: declaration shadows a local variable Sylvain 2021-11-09 11:31:29 +0100
  • 715e7bda22 haptic: Don't enumerate joysticks if the joystick subsystem is active Cameron Gutman 2021-11-09 01:43:44 -0600
  • b2ce22a077 added src/hidapi/*.c to sources in standalone makefiles Ozkan Sezer 2021-11-09 10:00:24 +0300
  • ae67c7d2da Implemented SDL_SetWindowMouseRect() on Wayland Ethan Lee 2021-11-09 01:30:00 -0500
  • 18e69827aa Fixed Linux build Sam Lantinga 2021-11-08 22:29:02 -0800
  • 881f747d5c Always destroy icon Yufei Huang 2021-11-09 13:35:18 +0800
  • 7fea557b99 SDL_windowsmouse.c: Remove LR_COPYDELETEORG flag Yufei Huang 2021-11-09 12:03:09 +0800
  • 67c42cb44c Fixed Windows build Sam Lantinga 2021-11-08 22:16:01 -0800
  • fd79607eb0 Added SDL_GetWindowMouseRect() Sam Lantinga 2021-11-08 21:34:48 -0800
  • 4db546b092 Implemented SDL_SetWindowMouseRect() on macOS Sam Lantinga 2021-11-08 20:35:12 -0800
  • 037030a7a2 Install SDL_hidapi.h Sam Lantinga 2021-11-08 20:26:40 -0800
  • 9c95c2491c x11: Use XCheckIfEvent() instead of XNextEvent() for thread-safety Cameron Gutman 2021-11-08 20:01:56 -0600
  • e9dae813d9 CI: disable fail-fast to avoid aborting build when one platform fails Cameron Gutman 2021-11-08 20:14:08 -0600
  • 2d23d66a61 Fixed SetWindowMouseRect return value on Windows Sam Lantinga 2021-11-08 16:33:50 -0800
  • 7d21322df1 Implemented SDL_SetWindowMouseRect() on Windows Sam Lantinga 2021-11-08 16:29:19 -0800
  • 684b3b312a regenerated configure script. Ozkan Sezer 2021-11-09 02:30:28 +0300
  • 4b42c05ba1 video: Add SDL_SetWindowMouseRect. Ethan Lee 2021-11-08 13:52:48 -0500
  • 1a98dcb6aa
    Revert "include: Updated SDL_config_emscripten.h from emscripten-ports." Ryan C. Gordon 2021-11-08 15:16:18 -0500
  • dcc919096f autotools: initial adjustments after the recent hidapi changes. Ozkan Sezer 2021-11-08 22:28:00 +0300
  • 2636d839e3 cmake: add hidapi to 'SDL_SUBSYSTEMS' Ozkan Sezer 2021-11-08 22:25:32 +0300
  • 1739ef3ee1 sdlchecks.cmake: remove libusb/hid.c and SDL_hidapi.c additions to srcs Ozkan Sezer 2021-11-08 22:00:02 +0300
  • 36067fa129 cmake: include hid.cpp in android sources Ozkan Sezer 2021-11-08 21:35:24 +0300
  • 84138b7719 minor update to os2 config file. Ozkan Sezer 2021-11-08 21:15:04 +0300
  • 001aa4dab8 cmake: more hidapi fixes. Ozkan Sezer 2021-11-08 21:12:02 +0300
  • a3e8fd49e6 Cancel any accumulated mouse wheel motion in the opposite direction when the wheel direction changes Sam Lantinga 2021-11-08 09:58:11 -0800
  • 5dbbc8e61f Added mouse wheel deltas with floating point precision Sam Lantinga 2021-11-08 09:44:31 -0800
  • d95a52c9a5 Fixed comment typo Sam Lantinga 2021-11-08 09:39:21 -0800
  • fc998b8ec9
    wayland: Return true for HasScreenKeyboardSupport only if no physical keyboard exists Ethan Lee 2021-11-08 12:37:10 -0500
  • 4bbbe5f84c Fixed CMake build by adding hidapi files Sam Lantinga 2021-11-08 09:28:36 -0800
  • b8327a4a48 Added SDL_HIDAPI_DISABLED so it can be disabled like other SDL subsystems Sam Lantinga 2021-11-08 07:19:45 -0800
  • 2a6feb5011 Removed accidental debugging commit (thanks @DomGries!) Sam Lantinga 2021-11-08 07:10:38 -0800
  • 6c56e27511 Set both _NET_WM_NAME and WM_NAME so SDL windows can be shared in the browser. Sam Lantinga 2021-11-08 07:05:17 -0800
  • 301819cd1d SDL_windowsmouse.c: Fix WIN_CreateCursor does not scale with system cursor size preference Yufei Huang 2021-11-08 20:34:20 +0800
  • f61b10dcf1 Do more robust validation of devices passed to the SDL HIDAPI functions Sam Lantinga 2021-11-08 06:34:32 -0800
  • dd8c354843 SDL_hidapi.c: avoid possible NULL pointer dereferences. Ozkan Sezer 2021-11-08 17:00:56 +0300
  • 2a904aa1c9 os2: remove SDL_hidapi duplications in makefile, disable it in config. Ozkan Sezer 2021-11-08 17:00:28 +0300
  • 5b646cd19e Build hidapi code into SDL as a new public API Sam Lantinga 2021-11-07 22:58:44 -0800
  • 94c1276a5f
    emscripten: Decrease vertical scroll speed by using deltaMode Thomas Ballinger 2021-11-07 20:49:32 -0500
  • 6657cbce8d
    include: Updated SDL_config_emscripten.h from emscripten-ports. Ryan C. Gordon 2021-11-07 20:43:49 -0500
  • f6dc47caef WGI/DInput: Fix SDL_IsXInputDevice() checks when RawInput is enabled Cameron Gutman 2021-11-07 16:00:47 -0600
  • 74f35a7cbd Fixed documentation Sam Lantinga 2021-11-07 14:10:04 -0800
  • 301389cecc Fixed iOS build Sam Lantinga 2021-11-07 13:52:59 -0800
  • b3e909dc41 WGI: Fix SDL_IsXInputDevice() for Xbox One controllers Cameron Gutman 2021-11-07 13:51:34 -0600
  • dd85cc0195 Fixed whitespace Sam Lantinga 2021-11-07 13:17:54 -0800
  • 80d19282f7 If Android version >= API 23 PendingIntent.FLAGIMMUTABLE FormularSumo 2021-08-19 11:40:09 +0100
  • b8c00bf914 Allow opening joysticks that are read-only on Linux Sam Lantinga 2021-11-07 13:11:29 -0800
  • 0323d983c6 Add the platform to the game controller mapping so it can be read back in without changes Sam Lantinga 2021-11-07 12:52:06 -0800
  • d950b9e2d9
    emscripten: Make timers work (if used with emscripten_set_main_loop) Charlie Birks 2021-11-07 20:40:54 +0000
  • fe2fe29049 Backed out accidentally committed PR https://github.com/libsdl-org/SDL/pull/4849 Sam Lantinga 2021-11-07 11:48:16 -0800
  • 86bc65a741 Fixed non-Apple builds Sam Lantinga 2021-11-07 11:35:12 -0800
  • 637bcd0b72 Fixed build warnings Sam Lantinga 2021-11-07 11:19:07 -0800