Difference between revisions of "FlightGear: Kalibrasi Joystick"

From OnnoWiki
Jump to navigation Jump to search
(New page: Sumber: http://www.mail-archive.com/flightgear-users@flightgear.org/msg10501.html Steven Wayne wrote: > Can someone tell me how to get Flightgear to use the ~/.joystick > file produced b...)
 
Line 1: Line 1:
 
Sumber: http://www.mail-archive.com/flightgear-users@flightgear.org/msg10501.html
 
Sumber: http://www.mail-archive.com/flightgear-users@flightgear.org/msg10501.html
  
 +
Flightgear tampaknya tidak menggunakan fie ~/.joystick yang di hasilkan oleh jscalibrator.
  
Steven Wayne wrote:
+
Kalibrasi Joystick dapat menggunakan perintah jscal. Caranya menggunakan perintah
> Can someone tell me how to get Flightgear to use the ~/.joystick
 
> file produced by jscalibrator.
 
  
You don't. Joystick calibration happens at the kernel level,
+
  jscal -c /dev/js0
FlightGear just reads the values out of the device and assumes they
 
are correct.
 
  
I don't know the jscalibrator tool, nor the .joystick file.  The way
+
Selanjutnya jalankan perintah
the "official" command line jscal tool works is to print out the
 
calibration as a runnable command.
 
  
So you do "jscal -c /dev/js0" to calibrate your stick.
 
  
Then "jscal -p /dev/js0 > calibrate-stick.sh" to create a shell script
+
jscal -p /dev/js0 > calibrate-stick.sh
that you can use to re-do the calibration in the future.
 
  
Then, after the next reboot or whenever, "sh calibrate-stick.sh" to
+
untuk membuat script yang dapat kita gunakan untuk kalibrasi di kemudian hari.  
reproduce the calibration.
+
Caranya pada saat reboot jalankan perintah
  
I think some distributions actually do the saving of joystick settings
+
  sh calibrate-stick.sh
for you on shutdown/startup, although Fedora 4 is not one of them (I
 
just checked).  It may be that some desktop environments have similar
 
functionality. But this is the "low level" mechanism underneath them
 
all.
 
 
 
Andy
 
  
  

Revision as of 16:46, 6 June 2011

Sumber: http://www.mail-archive.com/flightgear-users@flightgear.org/msg10501.html

Flightgear tampaknya tidak menggunakan fie ~/.joystick yang di hasilkan oleh jscalibrator.

Kalibrasi Joystick dapat menggunakan perintah jscal. Caranya menggunakan perintah

jscal -c /dev/js0

Selanjutnya jalankan perintah


jscal -p /dev/js0 > calibrate-stick.sh

untuk membuat script yang dapat kita gunakan untuk kalibrasi di kemudian hari. Caranya pada saat reboot jalankan perintah

sh calibrate-stick.sh


Referensi

Pranala Menarik