Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 09-16-2007, 04:19 PM   #1
Winter Knight
Registered: Nov 2005
Distribution: Debian Stable/Testing
Posts: 54

Rep: Reputation: 15
Question How to calibrate joystick?

I have an xbox controller (the original. it is awesome) hooked up to my computer. It works fine. I play Nintendo and Super Nintendo games with it. I play some native linux games too.

Whenever I set up a new game, I have to set the "dead zone" for my controller, or else my character will constantly move (or look, or turn) to the left. I also have to flip the vertical axes, or else up is down and down is up, which is fine for flight sims or FPS's, but not so good for side scrollers or overhead view games like zelda.

Sometimes, adjusting these values for a new game is easy. Sometimes it is difficult. Sometimes I have to modify obscure, undocumented settings in a config file. Sometimes it is impossible.

Is there a universal (all games in debian linux) way to adjust these settings? "jscal", and "jscalibrator" (a jscal gui) both appear to have no effect. "jscal -t /dev/input/js0" always displays the message "jscal: axes not calibrated", regardless of how many times I calibrate my x-pad.
Old 12-11-2007, 02:50 AM   #2
Winter Knight
Registered: Nov 2005
Distribution: Debian Stable/Testing
Posts: 54

Original Poster
Rep: Reputation: 15
I got my answer. The answer is "no, there is not a universal way to edit joystick settings." Every game has it's own way. Most of them hard code the axes and the threshold (dead zone). And the threshold is rarely high enough for my controller. As for the "down is up" thing, that is a bug in the xpad driver. I need to report that to the linux kernel devs.

jscal and jscalibrator do not have any noticeable effect because they are worthless. All they do is write a file into your home directory which doesn't do anything.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
calibrate sleep stz Programming 6 11-08-2007 10:41 PM
calibrate a touchscreen monitor metalx1000 Linux - Hardware 2 02-21-2007 08:53 PM
Calibrate your mouse HERE. /bin/bash General 26 11-06-2006 05:48 AM
Joystick Driver and API under kernel using an USB joystick dispatcher Linux - Newbie 1 08-06-2005 09:43 AM
joystick USB PREDATOR TH 400 calibrate sidlo Linux - Hardware 0 12-25-2004 11:50 AM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:20 AM.

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