PistonDevelopers / sdl2_window

A SDL2 back-end for the Piston game engine
MIT License
23 stars 30 forks source link

Fake capturing of cursor #230

Closed bvssvni closed 8 years ago

bvssvni commented 8 years ago

See https://github.com/PistonDevelopers/piston-examples/issues/349

It is not perfect, since the cursor is only hidden and warped back to the center of the window.

By shaking the cursor on OSX the icon appears for a moment and shrinks (meant to show the cursor).

Otherwise, it looks good.

bvssvni commented 8 years ago

Published as 0.30.1.