-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Melchior FRANZ wrote:
> * Dura-Zell -- Saturday 03 March 2007:
>> but as far as I know these USB-Joystick thingies are not meant to be
>> calibrated.
>
> That's a myth, at least under Linux.
Ah, I see. So I think its possible needed with FreeBSD too.
>
>
>
>> I really mean "fgjs", that wasn't typo.
>
> Did I give the impression that I don't believe you?! Why should it
> have been a typo? I only questioned the --prop option ...
Nope, I didnt thought you aren't beleieving me, but fgfs and fgjs
/could/ have been a typo. So I just wanted to be sure. This wasn't meant
to be rude or something like this. Maybe I missunderstood you a bit, as
my english ist not the best. ;)
>
>
>
>>> I'm not aware of a --prop option. :-}
>> As stated above I meant fgjs, this has a "--prop" option:
>
> Ah, ok. The version in CVS doesn't have it.
>
> $ fgjs --help
> Usage:
> --help Show this help
>
Ah, I see. I wasn't aware of this.
>
>>> Do you have another way to check the axis input range? With something
>>> like jstest or KDE's "kcmshell joystick" on Linux. If the ranges are
>>> something else than 0..32767, then you can adjust
>
> Should have been -32768..32767
>
>
>
>> no. At the moment I only have js_demo / js_test available.
>
> But there must be *any* way to check raw joystick data on BSD!?
Perhaps there is a way to achieve this, but none I'm aware of.
Currently I'm installing the linux-joystick support.
jstest --normal /dev/input/js0 gives may values between 0 and 4094,
correctly mapped to the axis-movement. Is there a way to force fgfs to
use a specific stick? Perhaps /dev/input/js0 instead of uhid0
I ran jscal too, so now my stick should be calibrated. Doesn't work in
fgfs better now, but its calibrated.
>
>
>
>> As mentioned above, I used two other games to verify [...]
>
> Maybe it only works in "games". FlightGear is a simulator. :-P
lol ;=) Joystick support should be the same, shouldnt it?
>
>
> Are you sure that the respective driver is used at all? You can
> check that in the property browser: File->Browser Internal Properties
> -> /input/joysticks/js/source ... this should contain the path to
> the XML file. Alternatively you can check with this command line:
>
> $ fgfs --log-level=debug 2>&1|grep joystick # assuming a bash shell
>
> which gives me
>
> Initializing joystick bindings
> [...]
> Reading joystick file
> {$FG_ROOT}/Input/Joysticks/Boeder/p20_flightstick_pro_usb.xml
> Looking for bindings for joystick "SAITEK CYBORG 3D USB"
> ... found joystick: {$FG_ROOT}/Input/Joysticks/Saitek/Cyborg-Gold-3d-USB.xml
> Initializing joystick 0
Here it says:
[snipped all the different joysticks]
Looking for bindings for joystick "Saitek Saitek X45 Flight Control Stick"
... found joystick:
/usr/X11R6/share/FlightGear/Input/Joysticks/Saitek/X45.xml
Initializing joystick 2
Using the property browser i wasn't successful as my path was too long
(seems to be limited to 80 chars).
>
> If an identifier appears here for which there is no <name> entry in the
> XML file that is appropriate for your js, and the identifier is in no other
> file either, then the driver with the <name>default</name> entry will be
> used.
>
> That wouldn't really explain your problem, but it's a start.
>
> m.
>
sven
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iQIVAwUBRelL79nkcivdkj5yAQLesA//eoFIvOJircrC21PZ7xjjYoLITDvfI2j2
3xoi5c8g5/NktcaQaMrUx9AsvyssvTsc1C11rRBdIal8iqoEDyDtaPcBkcZTKW28
z21K/5TwgctZHojMm4Sk7z3lQtkPOzuqGn4I/71RXCV/ud4OyKIGq3teQ0nZtN2l
RARv8SI6o6VOVc8VYfEKf5sHvoGeJe6Wl4W7g4T18U8XyM6SkBvmB5vS/VMmZM47
8tPBbUGzaTZqs3iztd/peb8jzhNl0aAK5v5qBtgoDNUSHVAYEL+KiQBeI95+svlR
FGFg3lyheSqHtBos/561iRvOyMrS44wO46W5NEfUaww3939LFj98aPCaZVs1Z4QY
HmnQI+nmJ9/0tjs7kB8K83JwAvGxiTw+YeMjW9TP5pEVxRJ8p150dYb4mVDJtNV5
p5KKywNSNsXRLQtiunGlE4LtofSxRpj9AyVf5M7JQhM5IwLAiDlUhR0rlpF4Shda
PXLIQ79YKKDR2mhQuqA2R9zOZRwbBjrhnpWhVkQZ/ePr8uKlMClUMiWpBa0FE0uM
sngPqWFk8LZZX6voxxsGVzUcE57cF4OF3m34P+02dyfuwqcz5IqJ1aCploHptppr
aWXSU3T0WjbfZBnh6ESGTzD+UHNUpPH4LEYeopZptmrXmuzEa0kWvNgr1jpwpBg3
0xspNc9gpMs=
=fI17
-----END PGP SIGNATURE-----
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Flightgear-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-users