Linux - Games This forum is for all discussion relating to gaming in Linux.
Notices
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a
virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month.
Click here for more info.
04-01-2011, 02:35 PM
#1
Member
Registered: Mar 2009
Location: Virginia, US
Distribution: Ubuntu 10.10 & Debian 6.0.3,
Posts: 350
Rep:
How do I get my joysticks to work in Linux?
I have a Saitek X52 and Logiteck Extreme 3D Pro. For the X52 I installed
libx52pro0 from the package manager, but don't know where it is. I've tried running
locate libx52pro0 ,
whereis libx52pro0 , and
find libx52pro0 , but got no results.
I've installed
joystick , also from the PM, and ran
jstest --normal /dev/input/js0 that output:
Code:
Driver version is 2.1.0.
Joystick (Saitek Saitek X52 Flight Control System) has 11 axes (X, Y, Z, Rx, Ry, Rz, Throttle, Hat0X, Hat0Y, (null), (null))
and 34 buttons (Trigger, ThumbBtn, ThumbBtn2, TopBtn, TopBtn2, PinkieBtn, BaseBtn, BaseBtn2, BaseBtn3, BaseBtn4, BaseBtn5, BaseBtn6, BtnDead, BtnA, BtnB, BtnC, (null), (null), (null), (null), (null), (null), (null), (null), (null), (null), (null), (null), (null), (null), (null), (null), (null), (null)).
Testing ... (interrupt to exit)
Axes: 0: 0 1: 0 2: 0 3: 0 4: 0 5: 0 6: 0 7: 0 8: 0 9: 0 10: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off 8:off 9:off 10:off 11:off 12:off 13:off 14:off 15:off 16:off 17:off 18:off 19:off 20:off 21:off 22:off 23:off 24:off 25:off 26:off 27:offAxes: 0: 0 1: 0 2: 0 3: 0 4: 0 5: 0 6: 0 7: 0 8: 0 9: 0 10: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off 8:off 9:off 10:off 11:off 12:off 13:off 14:off 15:off 16:off 17:off 18:off 19:off 20:off 21:off 22:off 23:off 24:off 25:off 26:off 27:offAxes: 0: 0 1: 0 2: 0 3: 0 4: 0 5: 0 6: 0 7: 0 8: 0 9: 0 10: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off 8:off 9:off 10:off 11:off 12:off 13:off 14:off 15:off 16:off 17:off 18:off 19:off 20:off 21:off 22:off 23:off 24:off 25:off 26:off 27:offAxes: 0: 0 1: 0 2: 0 3: 0 4: 0 5: 0 6: 0 7: 0 8: 0 9: 0 10: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off 8:off 9:off 10:off 11:off 12:off 13:off 14:off 15:off 16:off 17:off 18:off 19:off 20:off 21:off 22:off 23:off 24:off 25:off 26:off 27:offAxes: 0: 0 1: 0 2: 0 3: 0 4: 0 5: 0 6: 0 7: 0 8: 0 9: 0 10: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off 8:off 9:off 10:off 11:off 12:off 13:off 14:off 15:off 16:off 17:off 18:off 19:off 20:off 21:off 22:off 23:off 24:off 25:off 26:off 27:offAxes: 0: 0 1: 0 2: 0 3: 0 4: 0 5: 0 6: 0 7: 0 8: 0 9: 0 10: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off 8:off 9:off 10:off 11:off 12:off 13:off 14:off 15:off 16:off 17:off 18:off 19:off 20:off 21:off 22:off 23:off 24:off 25:off 26:off 27:offAxes: 0: 0 1: 0 2: 0 3: 0 4: 0 5: 0 6: 0 7: 0 8: 0 9: 0 10: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off 8:off 9:off 10:off 11:off 12:off 13:off 14:off 15:off 16:off 17:off 18:off 19:off 20:off 21:off 22:off 23:off 24:off 25:off 26:off 27:offAxes: 0: 0 1: 0 2: 0 3: 0 4: 0 5: 0 6: 0 7: 0 8: 0 9: 0 10: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off 8:off 9:off 10:off 11:off 12:off 13:off 14:off 15:off 16:off 17:off 18:off 19:off 20:off 21:off 22:off 23:off 24:off 25:off 26:off 27:offAxes: 0: 0 1: 0 2: 0 3: 0 4: 0 5: 0 6: 0 7: 0 8: 0 9: 0 10: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off 8:off 9:off 10:off 11:off 12:off 13:off 14:off 15:off 16:off 17:off 18:off 19:off 20:off 21:off 22:off 23:off 24:off 25:off 26:off 27:offAxes: 0: 0 1: 0 2: 0 3: 0 4: 0 5: 0 6: 0 7: 0 8: 0 9: 0 10: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off 8:off 9:off 10:off 11:off 12:off 13:off 14:off 15:off 16:off 17:off 18:off 19:off 20:off 21:off 22:off 23:off 24:off 25:off 26:off 27:offAxes: 0: 0 1: 0 2: 0 3: 0 4: 0 5: 0 6: 0 7: 0 8: 0 9: 0 10: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off 8:off 9:off 10:off 11:off 12:off 13:off 14:off 15:off 16:off 17:off 18:off 19:off 20:off 21:off 22:off 23:off 24:off 25:off 26:off 27:offAxes: 0: 0 1: 0 2: 0 3: 0 4: 0 5: 0 6: 0 7: 0 8: 0 9: 0 10: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off 8:off 9:off 10:off 11:off 12:off 13:off 14:off 15:off 16:off 17:off 18:off 19:off 20:off 21:off 22:off 23:off 24:off 25:off 26:off 27:offAxes: 0: 0 1: 0 2: 0 3: 0 4: 0 5: 0 6: 0 7: 0 8: 0 9: 0 10: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off 8:off 9:off 10:off 11:off 12:off 13:off 14:off 15:off 16:off 17:off 18:off 19:off 20:off 21:off 22:off 23:off 24:off 25:off 26:off 27:offAxes: 0: 0 1: 0 2: 0 3: 0 4: 0 5: 0 6: 0 7: 0 8: 0 9: 0 10: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off 8:off 9:off 10:off 11:off 12:off 13:off 14:off 15:off 16:off 17:off 18:off 19:off 20:off 21:off 22:off 23:off 24:off 25:off 26:off 27:offAxes: 0: 0 1: 0 2: 0 3: 0 4: 0 5: 0 6: 0 7: 0 8: 0 9: 0 10: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off 8:off 9:off 10:off 11:off 12:off 13:off 14:off 15:off 16:off 17:off 18:off 19:off 20:off 21:off 22:off 23:off 24:off 25:off 26:off 27:offAxes: 0: 0 1: 0 2: 0 3: 0 4: 0 5: 0 6: 0 7: 0 8: 0 9: 0 10: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off 8:off 9:off 10:off 11:off 12:off 13:off 14:off 15:off 16:off 17:off 18:off 19:off 20:off 21:off 22:off 23:off 24:off 25:off 26:off 27:offAxes: 0: 0 1: 0 2: 0 3: 0 4: 0 5: 0 6: 0 7: 0 8: 0 9: 0 10: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off 8:off 9:off 10:off 11:off 12:off 13:off 14:off 15:off 16:off 17:off 18:off 19:off 20:off 21:off 22:off 23:off 24:off 25:off 26:off 27:offAxes: 0: 0 1: 0 2: 0 3: 0 4: 0 5: 0 6: 0 7: 0 8: 0 9: 0 10: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off 8:off 9:off 10:off 11:off 12:off 13:off 14:off 15:off 16:off 17:off 18:off 19:off 20:off 21:off 22:off 23:off 24:off 25:off 26:off 27:offAxes: 0: 0 1: 0 2: 0 3: 0 4: 0 5: 0 6: 0 7: 0 8: 0 9: 0 10: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off 8:off 9:off 10:off 11:off 12:off 13:off 14:off 15:off 16:off 17:off 18:off 19:off 20:off 21:off 22:off 23:off 24:off 25:off 26:off 27:offAxes: 0: 0 1: 0 2: 0 3: 0 4: 0 5: 0 6: 0 7: 0 8: 0 9: 0 10: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off 8:off 9:off 10:off 11:off 12:off 13:off 14:off 15:off 16:off 17:off 18:off 19:off 20:off 21:off 22:off 23:off 24:off 25:off 26:off 27:offAxes: 0: 0 1: 0 2: 0 3: 0 4: 0 5: 0 6: 0 7: 0 8: 0 9: 0 10: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off 8:off 9:off 10:off 11:off 12:off 13:off 14:off 15:off 16:off 17:off 18:off 19:off 20:off 21:off 22:off 23:off 24:off 25:off 26:off 27:offAxes: 0: 0 1: 0 2: 0 3: 0 4: 0 5: 0 6: 0 7: 0 8: 0 9: 0 10: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off 8:off 9:off 10:off 11:off 12:off 13:off 14:off 15:off 16:off 17:off 18:off 19:off 20:off 21:off 22:off 23:off 24:off 25:off 26:off 27:offAxes: 0: 0 1: 0 2: 0 3: 0 4: 0 5: 0 6: 0 7: 0 8: 0 9: 0 10: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off 8:off 9:off 10:off 11:off 12:off 13:off 14:off 15:off 16:off 17:off 18:off 19:off 20:off 21:off 22:off 23:off 24:off 25:off 26:off 27:offAxes: 0: 0 1: 0 2: 0 3: 0 4: 0 5: 0 6: 0 7: 0 8: 0 9: 0 10: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off 8:off 9:off 10:off 11:off 12:off 13:off 14:off 15:off 16:off 17:off 18:off 19:off 20:off 21:off 22:off 23:on 24:off 25:off 26:off 27:offAxes: 0: 0 1: 0 2: 0 3: 0 4: 0 5: 0 6: 0 7: 0 8: 0 9: 0 10: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off 8:off 9:off 10:off 11:off 12:off 13:off 14:off 15:off 16:off 17:off 18:off 19:off 20:off 21:off 22:off 23:on 24:off 25:off 26:off 27:offAxes: 0: 0 1: 0 2: 0 3: 0 4: 0 5: 0 6: 0 7: 0 8: 0 9: 0 10: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off 8:off 9:off 10:off 11:off 12:off 13:off 14:off 15:off 16:off 17:off 18:off 19:off 20:off 21:off 22:off 23:on 24:off 25:off 26:off 27:offAxes: 0: 0 1: 0 2: 0 3: 0 4: 0 5: 0 6: 0 7: 0 8: 0 9: 0 10: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off 8:off 9:off 10:off 11:off 12:off 13:off 14:off 15:off 16:off 17:off 18:off 19:off 20:off 21:off 22:off 23:on 24:off 25:off 26:off 27:offAxes: 0: 0 1: 0 2: 0 3: 0 4: 0 5: 0 6: 0 7: 0 8: 0 9: 0 10: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off 8:off 9:off 10:off 11:off 12:off 13:off 14:off 15:off 16:off 17:off 18:off 19:off 20:off 21:off 22:off 23:on 24:off 25:off 26:off 27:offAxes: 0: 0 1: 0 2: 0 3: 0 4: 0 5: 0 6: 0 7: 0 8: 0 9: 0 10: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off 8:off 9:off 10:off 11:off 12:off 13:off 14:off 15:off 16:off 17:off 18:off 19:off 20:off 21:off 22:off 23:on 24:off 25:off 26:off 27:offAxes: 0: 0 1: 0 2: 0 3: 0 4: 0 5: 0 6: 0 7: 0 8: 0 9: 0 10: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off 8:off 9:off 10:off 11:off 12:off 13:off 14:off 15:off 16:off 17:off 18:off 19:off 20:off 21:off 22:off 23:on 24:off 25:off 26:off 27:offAxes: 0: 0 1: 0 2: 0 3: 0 4: 0 5: 0 6: 0 7: 0 8: 0 9: 0 10: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off 8:off 9:off 10:off 11:off 12:off 13:off 14:off 15:off 16:off 17:off 18:off 19:off 20:off 21:off 22:off 23:on 24:off 25:off 26:off 27:offAxes: 0: 0 1: 0 2: 0 3: 0 4: 0 5: 0 6: 0 7: 0 8: 0 9: 0 10: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off 8:off 9:off 10:off 11:off 12:off 13:off 14:off 15:off 16:off 17:off 18:off 19:off 20:off 21:off 22:off 23:on 24:off 25:off 26:off 27:offAxes: 0: 0 1: 0 2: 0 3: 0 4: 0 5: 0 6: 0 7: 0 8: 0 9: 0 10: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off 8:off 9:off 10:off 11:off 12:off 13:off 14:off 15:off 16:off 17:off 18:off 19:off 20:off 21:off 22:off 23:on 24:off 25:off 26:off 27:offAxes: 0: 0 1: 0 2: 0 3: 0 4: 0 5: 0 6: 0 7: 0 8: 0 9: 0 10: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off 8:off 9:off 10:off 11:off 12:off 13:off 14:off 15:off 16:off 17:off 18:off 19:off 20:off 21:off 22:off 23:on 24:off 25:off 26:off 27:offAxes: 0: 0 1: 0 2: 0 3: 0 4: 0 5: 0 6: 0 7: 0 8: 0 9: 0 10: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off 8:off 9:off 10:off 11:off 12:off 13:off 14:off 15:off 16:off 17:off 18:off 19:off 20:off 21:off 22:off 23:on 24:off 25:off 26:off 27:offAxes: 0: 0 1: 0 2: 0 3: 0 4: 0 5: 0 6: 0 7: 0 8: 0 9: 0 10: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off 8:off 9:off 10:off 11:off 12:off 13:off 14:off 15:off 16:off 17:off 18:off 19:off 20:off 21:off 22:off 23:on 24:off 25:off 26:off 27:offAxes: 0: 0 1: 0 2:-21621 3: 0 4: 0 5: 0 6: 0 7: 0 8: 0 9: 0 10: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off 8:off 9:off 10:off 11:off 12:off 13:off 14:off 15:off 16:off 17:off 18:off 19:off 20:off 21:off 22:off 23:on 24:off 25:off 26:off 27:offAxes: 0: 0 1: 0 2:-21621 3: 0 4: 0 5: 0 6: 0 7: 0 8: 0 9: 0 10: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off 8:off 9:off 10:off 11:off 12:off 13:off 14:off 15:off 16:off 17:off 18:off 19:off 20:off 21:off 22:off 23:on 24:off 25:off 26:off 27:offAxes: 0: 0 1: 0 2:-21621 3: 0 4: 0 5: 0 6: 0 7: 0 8: 0 9: 0 10: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off 8:off 9:off 10:off 11:off 12:off 13:off 14:off 15:off 16:off 17:off 18:off 19:off 20:off 21:off 22:off 23:on 24:off 25:off 26:off 27:offAxes: 0: 0 1: 0 2:-21621 3: 0 4: 0 5: 0 6: 0 7: 0 8: 0 9: 0 10: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off 8:off 9:off 10:off 11:off 12:off 13:off 14:off 15:off 16:off 17:off 18:off 19:off 20:off 21:off 22:off 23:on 24:off 25:off 26:off 27:offAxes: 0: 0 1: 0 2:-21621 3: 0 4: 0 5: 0 6:-32767 7: 0 8: 0 9: 0 10: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off 8:off 9:off 10:off 11:off 12:off 13:off 14:off 15:off 16:off 17:off 18:off 19:off 20:off 21:off 22:off 23:on 24:off 25:off 26:off 27:offAxes: 0: 0 1: 0 2:-21621 3: 0 4: 0 5: 0 6:-32767 7: 0 8: 0 9: 0 10: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off 8:off 9:off 10:off 11:off 12:off 13:off 14:off 15:off 16:off 17:off 18:off 19:off 20:off 21:off 22:off 23:on 24:off 25:off 26:off 27:offAxes: 0: 0 1: 0 2:-21621 3: 0 4: 0 5: 0 6:-32767 7: 0 8: 0 9: 0 10: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off 8:off 9:off 10:off 11:off 12:off 13:off 14:off 15:off 16:off 17:off 18:off 19:off 20:off 21:off 22:off 23:on 24:off 25:off 26:off 27:offAxes: 0: 0 1: 0 2:-21621 3: 0 4: 0 5: 0 6:-32767 7: 0 8: 0 9: 4681 10: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off 8:off 9:off 10:off 11:off 12:off 13:off 14:off 15:off 16:off 17:off 18:off 19:off 20:off 21:off 22:off 23:on 24:off 25:off 26:off 27:offAxes: 0: 0 1: 0 2:-21621 3: 0 4: 0 5: 0 6:-32767 7: 0 8: 0 9: 4681 10: 4681 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off 8:off 9:off 10:off 11:off 12:off 13:off 14:off 15:off 16:off 17:off 18:off 19:off 20:off 21:off 22:off 23:on 24:off 25:off 26:off 27:offAxes: 0: 0 1: 0 2:-21283 3: 0 4: 0 5: 0 6:-32767 7: 0 8: 0 9: 4681 10: 4681 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off 8:off 9:off 10:off 11:off 12:off 13:off 14:off 15:off 16:off 17:off 18:off 19:off 20:off 21:off 22:off 23:on 24:off 25:off 26:off 27:offAxes: 0: 0 1: 0 2:-21621 3: 0 4: 0 5: 0 6:-32767 7: 0 8: 0 9: 4681 10: 4681 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off 8:off 9:off 10:off 11:off 12:off 13:off 14:off 15:off 16:off 17:off 18:off 19:off 20:off 21:off 22:off 23:on 24:off 25:off 26:off 27:offAxes: 0: 0 1: 0 2:-21283 3: 0 4: 0 5: 0 6:-32767 7: 0 8: 0 9: 4681 10: 4681 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off 8:off 9:off 10:off 11:off 12:off 13:off 14:off 15:off 16:off 17:off 18:off 19:off 20:off 21:off 22:off 23:on 24:off 25:off 26:off 27:offAxes: 0: 0 1: 0 2:-21621 3: 0 4: 0 5: 0 6:-32767 7: 0 8: 0 9: 4681 10: 4681 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off 8:off 9:off 10:off 11:off 12:off 13:off 14:off 15:off 16:off 17:off 18:off 19:off 20:off 21:off 22:off 23:on 24:off 25:off 26:off 27:offAxes: 0: 0 1: 0 2:-21283 3: 0 4: 0 5: 0 6:-32767 7: 0 8: 0 9: 4681 10: 4681 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off 8:off 9:off 10:off 11:off 12:off 13:off 14:off 15:off 16:off 17:off 18:off 19:off 20:off 21:off 22:off 23:on 24:off 25:off 26:off 27:offAxes: 0: 0 1: 0 2:-21621 3: 0 4: 0 5: 0 6:-32767 7: 0 8: 0 9: 4681 10: 4681 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off 8:off 9:off 10:off 11:off 12:off 13:off 14:off 15:off 16:off 17:off 18:off 19:off 20:off 21:off 22:off 23:on 24:off 25:off 26:off 27:offAxes: 0: 0 1: 0 2:-21283 3: 0 4: 0 5: 0 6:-32767 7: 0 8: 0 9: 4681 10: 4681 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off 8:off 9:off 10:off 11:off 12:off 13:off 14:off 15:off 16:off 17:off 18:off 19:off 20:off 21:off 22:off 23:on 24:off 25:off 26:off 27:offAxes: 0: 0 1: 0 2:-21621 3: 0 4: 0 5: 0 6:-32767 7: 0 8: 0 9: 4681 10: 4681 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off 8:off 9:off 10:off 11:off 12:off 13:off 14:off 15:off 16:off 17:off 18:off 19:off 20:off 21:off 22:off 23:on 24:off 25:off 26:off 27:offAxes: 0: 0 1: 0 2:-21283 3: 0 4: 0 5: 0 6:-32767 7: 0 8: 0 9: 4681 10: 4681 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off 8:off 9:off 10:off 11:off 12:off 13:off 14:off 15:off 16:off 17:off 18:off 19:off 20:off 21:off 22:off 23:on 24:off 25:off 26:off 27:offAxes: 0: 0 1: 0 2:-21621 3: 0 4: 0 5: 0 6:-32767 7: 0 8: 0 9: 4681 10: 4681 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off 8:off 9:off 10:off 11:off 12:off 13:off 14:off 15:off 16:off 17:off 18:off 19:off 20:off 21:off 22:off 23:on 24:off 25:off 26:off 27:offAxes: 0: 0 1: 0 2:-21283 3: 0 4: 0 5: 0 6:-32767 7: 0 8: 0 9: 4681 10: 4681 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off 8:off 9:off 10:off 11:off 12:off 13:off 14:off 15:off 16:off 17:off 18:off 19:off 20:off 21:off 22:off 23:on 24:off 25:off 26:off 27:offAxes: 0: 0 1: 0 2:-21621 3: 0 4: 0 5: 0 6:-32767 7: 0 8: 0 9: 4681 10: 4681 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off 8:off 9:off 10:off 11:off 12:off 13:off 14:off 15:off 16:off 17:off 18:off 19:off 20:off 21:off 22:off 23:on 24:off 25:off 26:off 27:off 28:off 29:off 30:off 31:off 32:off 33:off
and
jscal output:
Code:
Usage: jscal <device>
-c --calibrate Calibrate the joystick
-h --help Display this help
-s <x,y,z...> --set-correction Sets correction to specified values
-t --test-center Tests if joystick is corectly calibrated
returns 0 on success, see the jscal
manpage for error values
-V --version Prints the version numbers
-p --print-correction Prints the current settings as a jscal
Code:
Usage: jscal <device>
-c --calibrate Calibrate the joystick
-h --help Display this help
-s <x,y,z...> --set-correction Sets correction to specified values
-t --test-center Tests if joystick is corectly calibrated
returns 0 on success, see the jscal
manpage for error values
-V --version Prints the version numbers
-p --print-correction Prints the current settings as a jscal
command line
command line
-q --print-mappings Print the current axis and button
mappings as a jscal command line
-u <n_of_axes,axmap1,axmap2,...,
n_of_buttons,btnmap1,btnmap2,
...> --set-mappings Sets axis and button mappings to the
specified values
I've got no idea how to use these commands. I wish there were a graphical user interface instead.
Last edited by LAPIII; 04-01-2011 at 03:03 PM .
04-02-2011, 09:23 AM
#2
LQ Guru
Registered: Apr 2005
Location: /dev/null
Posts: 5,818
So then do it what it tells you; run the following:
Code:
jscal -s /dev/input/js0
jscal is used to calibrate your joysticks. Once calibrated, you can then use them in whatever program you choose.
04-02-2011, 07:41 PM
#3
Member
Registered: Mar 2009
Location: Virginia, US
Distribution: Ubuntu 10.10 & Debian 6.0.3,
Posts: 350
Original Poster
Rep:
Where dooes it say jscal -s /dev/input/js0 ? It didn't work for me.
Last edited by LAPIII; 04-02-2011 at 07:42 PM .
04-03-2011, 12:01 PM
#4
LQ Guru
Registered: Apr 2005
Location: /dev/null
Posts: 5,818
I got it from jstest --normal /dev/input/js0. I don't see why jscal won't work with the same device. Can any programs actually see your joystick?
04-03-2011, 02:29 PM
#5
Member
Registered: Mar 2009
Location: Virginia, US
Distribution: Ubuntu 10.10 & Debian 6.0.3,
Posts: 350
Original Poster
Rep:
I've not tested the joystick in any program, I don't know how to. I ran
lsusb :
Code:
Bus 002 Device 006: ID 06a3:075c Saitek PLC X52 Flight Controller
Bus 002 Device 004: ID 047d:1029 Kensington Mouse*in*a*Box Optical Elite
Bus 002 Device 003: ID 04d9:1203 Holtek Semiconductor, Inc. MC Industries Keyboard
Bus 002 Device 002: ID 046d:08ad Logitech, Inc. QuickCam Communicate STX
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 007: ID 0a48:5014 I/O Interconnect Mass Storage Device
Bus 001 Device 003: ID 04a9:1718 Canon, Inc. MP600 Storage
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
04-03-2011, 02:47 PM
#6
Senior Member
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873
Quote:
Originally Posted by
Advice Pro
I've not tested the joystick in any program, I don't know how to.
The obvious test would be to run a program that uses a joystick and see if the joystick works.
04-03-2011, 07:09 PM
#7
Member
Registered: Mar 2009
Location: Virginia, US
Distribution: Ubuntu 10.10 & Debian 6.0.3,
Posts: 350
Original Poster
Rep:
I've not yet found a game that allows use of a joystick. What I need is a joystick mapper. Do you have any suggestions for either game or mapper?
Last edited by LAPIII; 04-03-2011 at 07:24 PM .
04-05-2011, 08:27 AM
#8
Member
Registered: Mar 2009
Location: Virginia, US
Distribution: Ubuntu 10.10 & Debian 6.0.3,
Posts: 350
Original Poster
Rep:
I am about to download & install
QJoyPad , but I need to know what is meant by XWindows programs
Quote:
Originally Posted by http://qjoypad.sourceforge.net/#features
Incorporates your gaming devices into any XWindows program
04-05-2011, 09:01 AM
#9
Moderator
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Sorry I have to say that, but Wikipedia comes up with a perfect explanation of the term "XWindows". It is the first hit if you try to do a Google-search for this term. Don't expect to be spoon-fed, a simple search on the web should be the first what to try if you search an explanation for something you don't know.
For a game that comes with joystick support, you can try
Vega Strike .
04-05-2011, 09:39 AM
#10
Member
Registered: Mar 2009
Location: Virginia, US
Distribution: Ubuntu 10.10 & Debian 6.0.3,
Posts: 350
Original Poster
Rep:
Do you know why Synaptic Package Manager would only show vegastrike-data and vegastrike-music ?
04-05-2011, 09:48 AM
#11
Moderator
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Sorry, I a not using Ubuntu, so I don't know. According to the
Ubuntu package search , Ubuntu 9.10 was the last version that contained the actual game. After a little research I found that the game
Supertux also supports joysticks.
04-05-2011, 05:11 PM
#12
Member
Registered: Mar 2009
Location: Virginia, US
Distribution: Ubuntu 10.10 & Debian 6.0.3,
Posts: 350
Original Poster
Rep:
QJoyPad's
Requirements call for Trolltech's QT. If I download Qt Creator 2.2 Beta Linux 32-bit Online Installer, from
here , and then double click the icon to install, I get the error in the screenshot (The same with Qt SDK 1.1 Beta):
Last edited by LAPIII; 04-05-2011 at 05:18 PM .
04-05-2011, 05:51 PM
#13
Moderator
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
May I ask why you don't install QT through from Ubuntu's repository? Downloading and installing binaries is not the way it is done in Linux, you qill have problems with that if you don't know what you are doing. By the way, you can get QJoypad pre-compiled for Ubuntu from the
GetDeb Games PPA .
04-05-2011, 06:12 PM
#14
Member
Registered: Mar 2009
Location: Virginia, US
Distribution: Ubuntu 10.10 & Debian 6.0.3,
Posts: 350
Original Poster
Rep:
I forgot to check. If it's libqt3-mt then I already had it installed. The Requirement of A Linux kernel with joystick support is complicated, so I don't know if I meet this one.
Last edited by LAPIII; 04-05-2011 at 06:22 PM .
04-06-2011, 09:16 AM
#15
Member
Registered: Mar 2009
Location: Virginia, US
Distribution: Ubuntu 10.10 & Debian 6.0.3,
Posts: 350
Original Poster
Rep:
I'll work on the kernel later. Based on what I read elsewhere, I've now installed libxtst-dev , X11 Record extension library (development headers), for XWindows. I also installed qdevelop , A development environment entirely dedicated to Qt4, for Trolltech's QT, but I'm not sure about this one.
All times are GMT -5. The time now is 10:14 AM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News