SDL Now Supports Relative Mouse Mode On Wayland

Written by Michael Larabel in Wayland on 1 September 2016 at 08:31 AM EDT. 16 Comments
WAYLAND
With the latest SDL development code is support for the relative mouse mode when using this important library to games and other applications on Wayland.

There has been the relative pointer protocol for Wayland/Weston around for a few months now. The relative mouse mode is important for some games, particularly first person shooters and flight simulators for handling relative input rather than absolute coordinates.

The SDL2 Wayland back-end now has support for the relative mouse mode with the patch authored by Jonas Ã…dahl. The patch also supports pointer locking. Details here.

Good to see that arriving with Mir's SDL2 code supporting relative mouse mode since earlier this summer.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week