by bdavis » Wed Feb 17, 2010 12:12 pm
The josytick did not work on my FC12 system.
*** /home/bdavis/oe/OpenEaagles/src.orig/ioDevice/linux/UsbJoystickImp.cpp 2010-02-01 19:47:34.747547681 -0600
--- /home/bdavis/oe/OpenEaagles/src/ioDevice/linux/UsbJoystickImp.cpp 2010-02-17 02:20:49.649222746 -0600
***************
*** 72,78 ****
// create the device name based on the device index
{
char cbuff[128];
! sprintf(cbuff, "/dev/js%d", getDeviceIndex());
lcStrcpy(deviceName, sizeof(deviceName), cbuff);
}
--- 72,78 ----
// create the device name based on the device index
{
char cbuff[128];
! sprintf(cbuff, "/dev/input/js%d", getDeviceIndex());
lcStrcpy(deviceName, sizeof(deviceName), cbuff);
}
hopefully, this helps someone else a bit...
--bud