SDL Fixes Support For More Than Five Mouse Buttons For Gaming On Wayland
([Linux Gaming] 4 Hours Ago
SDL More Mouse Buttons On Wayland)
- Reference: 0001602216
- News link: https://www.phoronix.com/news/SDL-More-Mouse-Buttons-Wayland
- Source link:
The Simple DirectMedia Library that is widely-used by many cross-platform games and part of the Steam Runtime now has better support for handling more mouse button events under Wayland.
Last week was a [1]bug report over supporting more mouse buttons than five. While some mice end up binding their extra mouse buttons to keyboard keys, some mice such as when configured via Libratbag+Piper can map them to higher key press input event codes. Theoretically, allowing up to 48 key press input events in total.
That issue of handling more mouse buttons is now fixed today via [2]this commit to the SDL library. Valve developer Sam Lantinga added the support for extended buttons on Wayland to properly handle this functionality with different gaming mice on Linux.
[1] https://github.com/libsdl-org/SDL/issues/14681
[2] https://github.com/libsdl-org/SDL/commit/9fe5c1512fb762f18c567fa4bc78b20c0c440617
Last week was a [1]bug report over supporting more mouse buttons than five. While some mice end up binding their extra mouse buttons to keyboard keys, some mice such as when configured via Libratbag+Piper can map them to higher key press input event codes. Theoretically, allowing up to 48 key press input events in total.
That issue of handling more mouse buttons is now fixed today via [2]this commit to the SDL library. Valve developer Sam Lantinga added the support for extended buttons on Wayland to properly handle this functionality with different gaming mice on Linux.
[1] https://github.com/libsdl-org/SDL/issues/14681
[2] https://github.com/libsdl-org/SDL/commit/9fe5c1512fb762f18c567fa4bc78b20c0c440617