Loobinex / keeperfx-unofficial

KeeperFX - Unofficial release
60 stars 7 forks source link

Allow pointer sensitivity be the same as system #207

Closed Real-Gecko closed 4 years ago

Real-Gecko commented 4 years ago

As I ported the game to SDL2 I played entire original campaign with mouse sensitivity of my system. After I added a patch that takes POINTER_SENSITIVITY into account it feels a little bit off for me. So I decided to add a little feature: if you set POINTER_SENSITIVITY to 0, it'll be the same as your system. If it's greater, then old math happens and pointer sensitivity scales with display resolution.