isJuhn / KAMI

Kot And Mouse Injector
MIT License
102 stars 14 forks source link

Feature Request: Support for clamping and degree calc mode in cameras #4

Open dio-gh opened 3 years ago

dio-gh commented 3 years ago

Some games rely on degrees, and some games rely on the values being "just right", meaning it'd be cool if these were handled on the camera end of things, not in the patch code.

isJuhn commented 3 years ago

Like I already mentioned the cameras have no idea what units your angle is in, and you can just multiply by pi/180 if you want the sensitivity to be the same as for games that use radians. As for clamping that's also a bit annoying since games want stuff clamped their own way. Some do -PI to PI, others do 0 to +2PI etc.

You could of course make it configurable, but I'd like to wait a bit and see how other games work before deciding on something.