🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

How to "glue" mouse to a window (multimonitor)

Started by
0 comments, last by Erik Rufelt 8 years, 11 months ago

I want to make an option so the player can "glue" the mouse to one monitor (window). I have a feeling there is such function in SDL somewhere :)

BTW, does anyone know a decent docummentation for SDL2? The SDL wiki is beyond being poor :)

Stellar Monarch (4X, turn based, released): GDN forum topic - Twitter - Facebook - YouTube

Advertisement

SDL_SetWindowGrab it seems.

This topic is closed to new replies.

Advertisement