Jump to content

programming for joysticks


nickw
 Share

Recommended Posts

Hi

I've got a number of josticks (thanks to drifter for some) and they don't use the full wipe of the pot. I'm thinking about trying to write some code to cover this, but am aware that this maybe a hurdle that someone else has already crossed. I can' find anything in the stuff already available (although point me at it if I have missed it) or it having been discussed.

I'm thinking something like the reverse of the MB64_POT_ScaleValue routine, you set the min and max readings you can get from your input and it scales them across the full range.

Cheers

NickW

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...