-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Melchior FRANZ wrote: > * Dura-Zell -- Saturday 03 March 2007: >>> 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. > > Try js_demo. It doesn't output raw values (-32768..32767 or whatever), > but normalized ones: -1..1 >
I found out that it looks like this for the ailerons: stick 100% right: +1 stick 75% right : +1 stick 50% right : +1 stick centered : +1 stick 50% left : +1 stick 75% left : 0 stick 100% left : -1 The same is for the elevetor axis. Throttles and rudder are working fine. > > >> ... found joystick: >> /usr/X11R6/share/FlightGear/Input/Joysticks/Saitek/X45.xml >> Initializing joystick 2 > > Joystick 2? > Anyway, at least the file is found. So you only need to calibrate, > and if that isn't possible or doesn't move the range to -1..1 in > js_demo, then you can still change <scale> and <offset> values in > the driver file to match your hardware. > I dont knwo why it detets joystick 2. But js_demo does this too, so I didn't wonder much about this. Maybe its a thing with USB-prots? > > >> (seems to be limited to 80 chars). > > I seem to remember that I increased that in the newest plib. > Ah, I see. regards, sven , -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQIVAwUBRep4m9nkcivdkj5yAQIqeA/9GTeBt0yA4RCriF3LczkkfRKH832Hvs4Q pQEfCoQhHp801dpup4jNnSMUsJPW4nypZoi+c92ZTeyiwIF3zeW4HIR3JZtE1pL9 oOugAlBpFC7dzC9xt4QZ2Lc/bnKgcftTFeWu2mCqwgBlf2w5JyH2W1aZSyvDOHBO 4mNYBOsze5im3lq6Yd+XLxN+wIAI7nSZEZe2ki4hGl1KH2js02ateVtDXqdQkZd8 FeFaQhMWXLNZJu2KNLcfADlO/CEaW//dR3UOcDILwOKVSywpjwx3ZFK4q/F3e80g FPpWS2mjWu6abiUhuehSoLLiyzpACAdMhsS91OUx79BJBNomtyMvvzc6orFuXtNN LHoiXgi0I/WJ+myh7cN7cltf/g69UIi0Yh8imaINVtLijJHmxn3nT7VU/jYvx3nt 6Pt2ZR+LnGPoAd2EL/KzqHWspohHHob+7kZFkOfQL+2x8UeDVjvoVsogVWP/AbQf 8rpluqji9KeGzMNz8pS5D84H/nrk+7MMo5BGJcIvR9XLsWjZ7IXmp4ByqmyzZAg3 omG0uysDY/c9t6k8kkdel/fv0A98VpUPRN9ildhiGfYKWkYWKCLxjDNWZzdUlEnH OiEyizrJjpEo1ltxgpzMmlAIY6uAM/sUCbs415e7/kg6G6aZHA9Xs085a84LiimQ BQmGROeimSw= =ahOq -----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
