gamepad and C#

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • mustafa.rabie@gmail.com

    gamepad and C#

    Hi all,

    I have a low end usb double game pad/controller that i use with windows
    xp. I want to capture inputs from the game pad to use it as a simple
    remote for a windows C# application. I dont want something fancey or
    anything.
    In windows xp when u go to control panel and click on Game Controller
    you can check if the game pad is working right or not, so i think
    there's already out of the box APIs in XP for that.

    Can someone help me or point me to where to start?

    Thanks a lot your help is really appreciated

    Mustafa

  • Kevin Spencer

    #2
    Re: gamepad and C#

    Here's a good place to start...



    --
    HTH,

    Kevin Spencer
    Microsoft MVP
    Ministry of Software Development
    Thoughts and Ideas about programming, philosophy, science, arts, life, God, and related subjects.


    I just flew in from Chicago with
    a man with a wooden leg named Smith
    who shot an elephant in my pajamas.
    So I bit him.


    <mustafa.rabie@ gmail.comwrote in message
    news:1162631242 .788785.66340@k 70g2000cwa.goog legroups.com...
    Hi all,
    >
    I have a low end usb double game pad/controller that i use with windows
    xp. I want to capture inputs from the game pad to use it as a simple
    remote for a windows C# application. I dont want something fancey or
    anything.
    In windows xp when u go to control panel and click on Game Controller
    you can check if the game pad is working right or not, so i think
    there's already out of the box APIs in XP for that.
    >
    Can someone help me or point me to where to start?
    >
    Thanks a lot your help is really appreciated
    >
    Mustafa
    >

    Comment

    • none

      #3
      Re: gamepad and C#

      mustafa.rabie@g mail.com wrote:
      Hi all,
      >
      I have a low end usb double game pad/controller that i use with windows
      xp. I want to capture inputs from the game pad to use it as a simple
      remote for a windows C# application. I dont want something fancey or
      anything.
      In windows xp when u go to control panel and click on Game Controller
      you can check if the game pad is working right or not, so i think
      there's already out of the box APIs in XP for that.
      >
      Can someone help me or point me to where to start?
      >
      Thanks a lot your help is really appreciated
      >
      Mustafa
      >
      You could take a look at SDL:
      Download C# SDL for free. SDL.NET is a set of object-oriented .NET bindings for the SDL gaming library and provides high-level access to audio, keyboard, mouse, joystick, TTF fonts, various image formats, sound mixing, MPEG-1, and 2D video framebuffer.

      Comment

      Working...