Game Inputs

This is a discussion on Game Inputs within the Game Programming forums, part of the General Programming Boards category; I'm new to game programming but would like to start by writting a code for joystick input. However I'm at ...

  1. #1
    Registered User
    Join Date
    May 2005
    Posts
    1

    Game Inputs

    I'm new to game programming but would like to start by writting a code for joystick input. However I'm at a loss for where to start or what materials to start looking at.

    My input device will run under a dos like environment and will need 2 axis output and possibly Force feedback input.

    If anyone could help me with a good place for basic tutorials or information on where to start I'd appreciate it. thanks.

  2. #2
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,596
    You will not get force feedback with DOS. That is a driver dependent feature and will only work in Windows since all drivers are now written for Windows.

    Look into DirectInput.

  3. #3
    Registered User
    Join Date
    Nov 2004
    Posts
    69
    Quote Originally Posted by Feskis
    I'm new to game programming but would like to start by writting a code for joystick input. However I'm at a loss for where to start or what materials to start looking at.

    My input device will run under a dos like environment and will need 2 axis output and possibly Force feedback input.

    If anyone could help me with a good place for basic tutorials or information on where to start I'd appreciate it. thanks.

    I haven't really tried coding input with joystick, but im sure DxInput supports it.

  4. #4
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,596
    It does and it's quite simple to use.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. how do the game engine and the api interact?
    By Shadow12345 in forum Game Programming
    Replies: 9
    Last Post: 12-07-2010, 11:08 PM
  2. game engine advice?
    By stien in forum Game Programming
    Replies: 0
    Last Post: 01-23-2007, 02:46 PM
  3. 2D RPG Online Game Project. 30% Complete. To be released and marketed.
    By drallstars in forum Projects and Job Recruitment
    Replies: 2
    Last Post: 10-28-2006, 12:48 AM
  4. My Maze Game --- A Few Questions
    By TechWins in forum Game Programming
    Replies: 18
    Last Post: 04-24-2002, 11:00 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21