Difference between revisions of "FlightGear: Joystick"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
Line 31: | Line 31: | ||
| 0000 +0.6 +0.0 +1.0 +1.0 +0.0 +0.0 . . | | | 0000 +0.6 +0.0 +1.0 +1.0 +0.0 +0.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 | ||
==Referensi== | ==Referensi== |
Revision as of 18:58, 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 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