Joystick zoom

Developer discussion of experimental fixes, changes, and improvements.

Moderators: Nexuiz Moderators, Moderators

Joystick zoom

Postby NumNuts » Thu Jul 02, 2009 2:30 am

Does Nexuiz support absolute position of a joystick to control the display's zoom factor or the FOV?

What I am thinking about is to use a driving simulation throttle pedal (1 DOF joystick) as a dynamic zoom or FOV input. When the pedal is not pressed, the default FOV would be used. When fully pressed, a predetermined FOV or zoom factor would be used. The throttle position would be proportional between these two extremes.

Please note that absolute joystick position would need to be read not relative. In other words, a small depression of the pedal should not cause the FOV/zoom to slowly go in. It should be proportional: say default FOV is 90 and min FOV is 10. If the throttle is 1/2 depressed, I should get a FOV = 50 as long as the pedal stays 1/2 depressed.

Is this possible without going into the QC code or at all?
NumNuts
Newbie
 
Posts: 3
Joined: Thu Jul 02, 2009 2:06 am

Postby Mr. Bougo » Thu Jul 02, 2009 11:47 am

Nope, that won't be possible I'm afraid...

Zooming is implemented in CSQC, so it can't be customized by clients. And I suppose it would need some engine changes, since I'm not sure how well DP manages such continuous input, and how it would pass the data to QC...
Meh.
Mr. Bougo
Keyboard killer
 
Posts: 760
Joined: Mon Sep 10, 2007 3:29 pm


Return to Nexuiz - Development

Who is online

Users browsing this forum: No registered users and 1 guest

cron