1 Replies - 207 Views - Last Post: 13 January 2013 - 10:18 AM Rate Topic: -----

#1 guitardenver  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 13-January 13

Converting Joystick voltage to movement.

Posted 13 January 2013 - 03:02 AM

Hello,

I'm working on a project that controls an Xbox controller from a micro-controller. I am wondering if any of you guys (game programmers) would know if there is some standard function (mathematical function) that they use to convert the potentiometer voltage of the joystick to some velocity in the game. I'm talking about a game like Halo. Converting the voltage to how fast he runs or specifically the angular velocity the gun pointer moves, the courser moves in a circle. I'm pretty sure its some kind of exponential function or logarithmic or some higher order polynomial. I can find out by plotting a tun of points and getting a function of the plot. But I thought maybe there is already a known function for it. I hope my question is clear.


Thanks,
Matt

Is This A Good Question/Topic? 0
  • +

Replies To: Converting Joystick voltage to movement.

#2 modi123_1  Icon User is online

  • Suitor #2
  • member icon



Reputation: 9493
  • View blog
  • Posts: 35,840
  • Joined: 12-June 08

Re: Converting Joystick voltage to movement.

Posted 13 January 2013 - 10:18 AM

Closing duplicate topic.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1