libsdl-org / sdl12-compat

An SDL-1.2 compatibility layer that uses SDL 2.0 behind the scenes.
Other
194 stars 40 forks source link

Hammerfight: mouse don't work #341

Closed OlegAckbar closed 1 month ago

OlegAckbar commented 2 months ago

In Hammerfight mouse don't work with either Wayland or X11 driver.

icculus commented 1 month ago

So this is actually an sdl12-compat thing; Hammerfight doesn't use SDL2.

And we have a workaround for this!

https://github.com/libsdl-org/sdl12-compat/blob/bec4bd04b5fdc19bc7bf6a7a417ae79978b0344a/COMPATIBILITY.md#hammerfight-linux

All the gory technical details are in #147, but the CORE_INIT_RI=true config file change will solve the problem.