Game Development Community

Joystick to install.

by Sventhors · in Hardware Issues · 04/02/2006 (12:19 pm) · 0 replies

Is there any tutorials to install joystick or any forum to plug in Joystick

I have been trying a few(tutorials) but every time when I compile the VC7 I get two errors.

This one is Nick "Dig" Koirala tutorial.
www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=4324
c:\sdk\engine\platformwin32\windinputdevice.cc(584): error C4716: 'DInputDevice::getName' : must return a value

c:\sdk\engine\platformwin32\windinputdevice.cc(590): error C4716: 'DInputDevice::getProductName' : must return a value

const char* DInputDevice::getName()
{
//   return mDeviceInstance.tszInstanceName;
}

//------------------------------------------------------------------------------
const char* DInputDevice::getProductName()
{
//   return mDeviceInstance.tszProductName;
}
Unforunatlly, Im not a programmer and learning right know and I dont know what this mean. I tried commenting it out. no luck:(


Also tried this tutorial.
www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=2354
and got errors also.

I have also look at.
tdn.garagegames.com/wiki/Torque/EngineMods/Xbox360ControllerSupport
I didnt quit understand what to do with it.
I put the runSimpleJoystick.bat, runRumbleJoystick.bat, runSimpleXInput.bat, and runRumbleXInput.bat in same directory as Torque.exe was running. When torque was running; three joystick showed up in the Console window but not working. It came with cs files. Do I replace them or do I copy and paste them into existing cs files. and add exec to torque.

I have three different joysticks Im trying out. Saitek, Pelican(xBox third party), and Logitech.
I have installed all drivers for them.

Or is Torque already build in Joystick.