commit | 7ebfaa0ea26bb0f9b3a01e742cccc4e5418c6452 | [log] [tgz] |
---|---|---|
author | Sam Lantinga <slouken@libsdl.org> | Thu Nov 02 08:33:15 2023 -0700 |
committer | Sam Lantinga <slouken@libsdl.org> | Thu Nov 02 08:45:00 2023 -0700 |
tree | 2d3fea73af0f3b5fd3bb96ebfef3da405d7e6c94 | |
parent | 5f4ddebf7639a1904010b3664fa2d2825917195c [diff] |
Check to make sure the Windows joystick device has buttons and axes This reverts commit e5a15f94e2f1a8fbbffb25ea9932cda9679a68fd. It turns out removing this check allows mice like the ROG PUGIO II to show up as game controllers. We need to find a different way to differentiate between gaming mice and pedals. Since these mice show up as controllers, and potentially causing games to use them instead of real controllers, we'll go ahead revert this change for now. Reopens https://github.com/libsdl-org/SDL/issues/8227 (cherry picked from commit ad0af488837e44cbea0f0eab3b2f73b50a74bff4) (cherry picked from commit 20ecd2afcb6a4ef6acb39505d307d42390e6a345)
Simple DirectMedia Layer is a cross-platform development library designed to provide low level access to audio, keyboard, mouse, joystick, and graphics hardware via OpenGL and Direct3D. It is used by video playback software, emulators, and popular games including Valve's award winning catalog and many Humble Bundle games.
More extensive documentation is available in the docs directory, starting with README.md
Enjoy!
Sam Lantinga (slouken@libsdl.org)