Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6106659
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T14:06:13+00:00 2026-05-23T14:06:13+00:00

I want to try add a simple slider (something like throtle on joysticks) to

  • 0

I want to try add a simple slider (something like throtle on joysticks) to my computer.

The hardware part shouldn’t be a problem as I can almost do anything about it. It only comes down to having some kind of driver for it.

What I have at the moment is a microcontroller and a potentiometer, which by turning the potentiometer I can transfer values between 0 and 254 to the RS232 of PC. Is this enough from hardware point of view?

Would be nice if you can give me some tips about where to look for info, what to do, and in the best case some code snippets.

So what I am looking for is to be able to present my hardware to windows as a GAMEPAD or JOYSTICK.

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T14:06:13+00:00Added an answer on May 23, 2026 at 2:06 pm

    The gamepad and joystick you mention are likely HID devices (if they are natively being recognized as such) – gamecontroller

    Here’s some information on the gamecontroller HID class
    http://msdn.microsoft.com/en-us/windows/hardware/gg487464

    You will need to develop a HID emulator driver which either

    • identifies (via some sort of unique
      id obtained from querying the serial
      port hardware)
    • or is configured as
      one of the device types you mention
      (gamecontroller).

    You then need to translate the values coming in over the serial port to the appropriate values for the HID class you are emulating.

    Here’s an example in python of a HID emulation driver
    http://code.google.com/p/hidemulator/

    Here’s a c++ example
    http://examples.oreilly.de/english_examples//9780735618039/cd_contents/Samples/Chap13/hidfake/hidfake.htm

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to try create something like Zend's Server Pagecache. What I want to
I try to build a very simple website where one can add data into
The problem is simple: Using bash, I want to add a directory to my
I want to try making a simple game engine. Just something that handles states,
Working with Python in Emacs if I want to add a try/except to a
i want to add ?orderBy=countryasc to my current url. I try with Request.Url but
Hi I want to try making a simple application for android phones for which
If I want to try out something new in Ruby or Javascript, I love
I created a simple input field for an int variable. I want to add
I want to create a simple ProgressDialog in my Activity. I created it like

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.