i am developing a pc game, and I need it to interact with the joystick, where can i get some SDK (if I need any) for different manufacturers.
Thanks
i am developing a pc game, and I need it to interact with the joystick, where can i get some SDK (if I need any) for different manufacturers.
Thanks
If you use directX I think you can use direct input and it takes care of compatibility...This should be on the game programming board
"Think not but that I know these things; or think
I know them not: not therefore am I short
Of knowing what I ought."
-John Milton, Paradise Regained (1671)
"Work hard and it might happen."
-XSquared
Yeah, if you're running Windows, DirectX should work. Or, there should be a WinAPI function to read the "game port". These techniques will use the Windows driver.
I think there is a de-facto standard... maybe a real standard for the joystick port. So, you could directly read the hardware port. You might want to do this if you are running true-DOS (not WinConsole).
But,
1- In general, hardware manufacturer's don't give you all the info you need. For example, printer manufacturer's no longer publish the escape codes to change fonts. The hardware manufacturer writes a driver to communicate thru Windows, and you write your application to communicate with thru Windows... Now, your application will work with any printer that has a Windows driver!
2- Windows NT, 2000, and XP, won't let you communicate directly with the hardware, unless you write a kernel-mode driver. I assume Linux has hardware-access restrictions too.