Joystick support?

  • Thread starter Thread starter schneider
  • Start date Start date
schneider said:
Anyone know about support/code samples for Joysticks, Game port?

Thanks,

Schneider

Get DirectX 9.0 SDK, use the sample browser, search for Joystick
samples...
 
Thats not an option right now. I don't use DirectX now, and to require it
just for a Joystick is overkill.

Seem I may have to write one wrapping Win32 API?

Thanks,

Schneider
 
schneider said:
Thats not an option right now. I don't use DirectX now, and to require it
just for a Joystick is overkill.

Seem I may have to write one wrapping Win32 API?

Thanks,

Schneider
To qualify my comments - I don't do much with DirectX myself.

I don't believe you're going to find many samples/support out there for
Joystick routines that don't use DirectX - it is, after all, the
Microsoft way of doing this kind of thing.

Just to satisfy my curiosity - what sort of program are you writing
that needs Joystick support but doesn't need anything else from
DirectX? Joysticks are normally game related, so you tend to get into
DirectSound, DirectDraw, Direct3D?, etc

Damien
 
Just for fun:

I'm writing a 2d tile base game which supports networking. My goal is to
make a variation of the old Gauntlet game.
Currently I have a server and client working with basic rendering on the
client. The server maintains all clients state, and the client just initiate
actions. All elements of the game are plugins to allow other developers to
build monsters, Inventory items, levels, mission/objectives. The plugins are
automatically discovered and loaded from the filesystem based on interface
implementations.

Currently using GDI, and is working fine. I may move to DirectX later, and I
am thinking about the possible move during design.

Thanks,
Schneider
 
Back
Top