Wrecked Games

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're just that awesome.

Author Topic: Mouse sensitivity and warp  (Read 466 times)

Nimos

  • Newbie
  • *
  • Karma: +0/-0
  • Posts: 6
    • View Profile
Mouse sensitivity and warp
« on: June 01, 2010, 02:47:28 AM »

Hi,

I'm looking into the possibilities to implement mouse sensitivity on top of OIS.
Basically I was thinking about scaling the relative values generated by the mouse and then warp the pointer to the new position.
Please correct me if I'm wrong, but without a warp I will run into problems when the real mouse position is stopped at the window border and the scaling is != 1.0.

Would it be possible to implement warp functionality in OIS for the mouse?


Just some questions about OIS in general so I know what to expect:
* Is there any development going on now or is the current version considered final?
* If no development is going on, is there any chance to get functionality into OIS by submitting a patch?
* If I make a patch, do I have to support all three(?) target architectures (Win, Linux and Mac)? The last one would be a problem for me since I don't have any Mac machine.

Regards
Nimos
Logged

pjcast

  • Administrator
  • Veteran
  • *****
  • Karma: +0/-0
  • Posts: 2653
    • View Profile
    • http://www.wreckedgames.com
Re: Mouse sensitivity and warp
« Reply #1 on: June 02, 2010, 05:57:49 PM »

You should be able to do sensitivity on the client side, and not within OIS. Just apply a scaling factor to the values?

OIS still has some work left, and is not considered complete. Yes, dev is slow.. For one reason that I no longer have time to dedicate many hours too, plus I just had my second kid :)

Patches are welcome, and generally applied when I have time. I would welcome other direct contributors to the projects that might be able to help apply patches, test functionality, etc. Having all platforms available is not a requirement, I have a Mac here nowadays (as well as Windows, and a VM Linux box).
Logged