devkitPro / SDL

Simple Directmedia Layer
https://libsdl.org
zlib License
15 stars 12 forks source link

Rotate cursor #66

Closed mardy closed 8 months ago

mardy commented 8 months ago

NOTE: this PR depends on https://github.com/devkitPro/SDL/pull/65, so it should be merged after it. It consists of the last commit only.

ogc: rotate mouse cursor to match wiimote orientation

Set a rotation on the mouse cursor to match the wiimote angle. Note that we do this only with the default hand-shaped cursor: if the application has set a different cursor, we should not rotate it.

Fixes: #63