Difference between revisions of "FlightGear: Joystick"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
Line 35: | Line 35: | ||
Ax 0 aileron -1.0 (left) +1.0 (right_ | Ax 0 aileron -1.0 (left) +1.0 (right_ | ||
Ax 1 elevator -1.0 (down) +1.0 (up) | Ax 1 elevator -1.0 (down) +1.0 (up) | ||
− | Ax 2 | + | Ax 2 tidak bergerak? |
Ax 3 throttle -1.0 (max) +1.0 (min) | Ax 3 throttle -1.0 (max) +1.0 (min) | ||
− | Ax 4 | + | Ax 4 kiri (-1.0) kanan (+1.0) |
− | Ax 5 | + | Ax 5 atas (-1.0) bawah (+1.0) |
==Identifikasi Tombol== | ==Identifikasi Tombol== |
Revision as of 19:12, 29 July 2011
Deteksi Joystick adalah automatis.
cek menggunakan perintah
dmesg | grep Joystick
akan keluar kurang lebih
[ 2330.865722] generic-usb 0003:04B4:1010.0001: input,hidraw0: USB HID v1.00 Joystick [USB Game Device] on usb-0000:00:1d.0-1/input0
cek gerakan joystick menggunakan perintah
js_demo
Akan keluar kurang lebih
Joystick test program. 19:30, 5 June 2011 (WIT)19:30, 5 June 2011 (WIT)19:30, 5 June 2011 (WIT)19:30, 5 June 2011 (WIT)~~ Joystick 0: "USB Game Device" Joystick 1 not detected Joystick 2 not detected Joystick 3 not detected Joystick 4 not detected Joystick 5 not detected Joystick 6 not detected Joystick 7 not detected +--------------------JS.0----------------------+ | Btns Ax:0 Ax:1 Ax:2 Ax:3 Ax:4 Ax:5 | +----------------------------------------------+ | 0000 +0.6 +0.0 +1.0 +1.0 +0.0 +0.0 . . |
Identifikasi Axis
Ax 0 aileron -1.0 (left) +1.0 (right_ Ax 1 elevator -1.0 (down) +1.0 (up) Ax 2 tidak bergerak? Ax 3 throttle -1.0 (max) +1.0 (min) Ax 4 kiri (-1.0) kanan (+1.0) Ax 5 atas (-1.0) bawah (+1.0)
Identifikasi Tombol
0001 => tombol tembakan 0002 => tombol kiri atas 0008 => tombol atas belakang 0004 => tombol kanan atas 0010 => tombol 5 0020 => tombol 6 0040 => tombol 7