Input device: Difference between revisions

Jump to navigation Jump to search
m
+ windows description (more likely FG installed under C:/Program Files/)
m (added link to fg haptics project)
m (+ windows description (more likely FG installed under C:/Program Files/))
Line 29: Line 29:
  input0: USB HID v1.00 Joystick [SAITEK CYBORG 3D USB] on usb2:3.0  
  input0: USB HID v1.00 Joystick [SAITEK CYBORG 3D USB] on usb2:3.0  


This line tells us that a joystick has identified itself as SAITEK CYBORG 3D USB to the operating system. It does not tell us that the joystick driver sees your joystick. If you are working under Windows, the method above does not work, but you can still go on with the next paragraph.  
This line tells us that a joystick has identified itself as SAITEK CYBORG 3D USB to the operating system. It does not tell us that the joystick driver sees your joystick. If you are working under Windows, the method above does not work. Go to <tt>Start > Controlpanel > Game Controller</tt> instead and see whether the dialog displays (and responses) on your joystick.  


===Confirming that the driver recognizes your joystick===
===Confirming that the driver recognizes your joystick===
Line 37: Line 37:
  $ js_demo  
  $ js_demo  


Under Windows, open a command shell (Start>All Programs>Accessories>Command Prompt), go to the FlightGear binary folder and start the program as follows (given FlightGear is installed under '''c:\Flightgear''')  
Under Windows, open a command shell (<tt>Start > All Programs > Accessories > Command Prompt</tt>), go to the FlightGear binary folder and start the program as follows (given FlightGear is installed under '''C:/Program Files/Flightgear''')  


  cd \FlightGear\bin\Win32
C:
  cd /Program Files/FlightGear/bin/win32
  js_demo.exe  
  js_demo.exe  


Line 140: Line 141:
  Cyborg-Gold-3d-USB.xml QuickStick.xml  
  Cyborg-Gold-3d-USB.xml QuickStick.xml  


Here, we obviously have supposed a Linux/UNIX system with FlightGear being installed under '''/usr/local/FlightGear'''. For a similar procedure under Windows with FlightGear being installed under c:FlightGear, open a command shell and type  
Here, we obviously have supposed a Linux/UNIX system with FlightGear being installed under '''/usr/local/FlightGear'''. For a similar procedure under Windows with FlightGear being installed under C:/Program Files/FlightGear, open a command shell and type  


  c:  
  C:  
  cd /FlightGear/Input/Joysticks  
  cd /Program Files/FlightGear/Input/Joysticks  
  mkdir QS  
  mkdir QS  
  cd QS  
  cd QS  
Line 210: Line 211:
For configuring your joystick using this approach, open a command shell (command prompt under windows, to be found under Start|All programs|Accessories). Change to the directory '''/FlightGear/bin''' via e.g. (modify to your path)  
For configuring your joystick using this approach, open a command shell (command prompt under windows, to be found under Start|All programs|Accessories). Change to the directory '''/FlightGear/bin''' via e.g. (modify to your path)  


  cd c:\FlightGear\bin
  cd C:/Program Files/FlightGear/bin


and invoke the tool fgjs via  
and invoke the tool fgjs via  

Navigation menu