LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games
User Name
Password
Linux - Games This forum is for all discussion relating to gaming in Linux.

Notices


Reply
  Search this Thread
Old 04-01-2011, 02:35 PM   #1
LAPIII
Member
 
Registered: Mar 2009
Location: Virginia, US
Distribution: Ubuntu 10.10 & Debian 6.0.3,
Posts: 350

Rep: Reputation: 7
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.
 
Old 04-02-2011, 09:23 AM   #2
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
Quote:
Usage: jscal <device>
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.
 
Old 04-02-2011, 07:41 PM   #3
LAPIII
Member
 
Registered: Mar 2009
Location: Virginia, US
Distribution: Ubuntu 10.10 & Debian 6.0.3,
Posts: 350

Original Poster
Rep: Reputation: 7
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.
 
Old 04-03-2011, 12:01 PM   #4
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
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?
 
Old 04-03-2011, 02:29 PM   #5
LAPIII
Member
 
Registered: Mar 2009
Location: Virginia, US
Distribution: Ubuntu 10.10 & Debian 6.0.3,
Posts: 350

Original Poster
Rep: Reputation: 7
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
 
Old 04-03-2011, 02:47 PM   #6
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
Quote:
Originally Posted by Advice Pro View Post
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.
 
Old 04-03-2011, 07:09 PM   #7
LAPIII
Member
 
Registered: Mar 2009
Location: Virginia, US
Distribution: Ubuntu 10.10 & Debian 6.0.3,
Posts: 350

Original Poster
Rep: Reputation: 7
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.
 
Old 04-05-2011, 08:27 AM   #8
LAPIII
Member
 
Registered: Mar 2009
Location: Virginia, US
Distribution: Ubuntu 10.10 & Debian 6.0.3,
Posts: 350

Original Poster
Rep: Reputation: 7
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
 
Old 04-05-2011, 09:01 AM   #9
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
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.
 
Old 04-05-2011, 09:39 AM   #10
LAPIII
Member
 
Registered: Mar 2009
Location: Virginia, US
Distribution: Ubuntu 10.10 & Debian 6.0.3,
Posts: 350

Original Poster
Rep: Reputation: 7
Do you know why Synaptic Package Manager would only show vegastrike-data and vegastrike-music?
 
Old 04-05-2011, 09:48 AM   #11
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
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.
 
Old 04-05-2011, 05:11 PM   #12
LAPIII
Member
 
Registered: Mar 2009
Location: Virginia, US
Distribution: Ubuntu 10.10 & Debian 6.0.3,
Posts: 350

Original Poster
Rep: Reputation: 7
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):
Attached Thumbnails
Click image for larger version

Name:	Screenshot-Untitled Window.png
Views:	17
Size:	18.3 KB
ID:	6628  

Last edited by LAPIII; 04-05-2011 at 05:18 PM.
 
Old 04-05-2011, 05:51 PM   #13
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
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.
 
Old 04-05-2011, 06:12 PM   #14
LAPIII
Member
 
Registered: Mar 2009
Location: Virginia, US
Distribution: Ubuntu 10.10 & Debian 6.0.3,
Posts: 350

Original Poster
Rep: Reputation: 7
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.
 
Old 04-06-2011, 09:16 AM   #15
LAPIII
Member
 
Registered: Mar 2009
Location: Virginia, US
Distribution: Ubuntu 10.10 & Debian 6.0.3,
Posts: 350

Original Poster
Rep: Reputation: 7
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Joysticks under wine Jykke Linux - Games 0 10-01-2006 06:58 AM
xmame and two USB Joysticks lucat Linux - Games 2 03-19-2005 05:37 AM
How to get Parallel Port Joysticks (eg SNES pad) working in linux 2.6.4 kernel Tyco Linux - Hardware 1 06-06-2004 02:59 PM
Game Joysticks Stephanie Linux - General 4 05-31-2003 06:47 PM
joysticks acid_kewpie Linux - Hardware 3 05-04-2002 07:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games

All times are GMT -5. The time now is 10:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration