Re: [Flightgear-devel] New joystick definition for: Speedlink SL-6640 "Black Widow" (bugfix)

2009-09-24 Thread Ang Isang Tao
Hi All,

unfortunately there is a nasty error in my definition file (... 
type="string"... was not correct due to copy and paste).

Thanks to Jester who pointed me to this.

Cheers
Mike


  



	Microsoft-PC-Joysticktreiber
	Mega World USB Game Controllers
	SpeedLink SL-6640 Black Widow Flight Stick
	
		Aileron
		
			0
			0
			0
		
		
			property-scale
			/controls/flight/aileron
			0.0
			1.0
			0.02
		
	
	
		Elevator
		
			1
			1
			1
		
		
			property-scale
			/controls/flight/elevator
			0.0
			-1.0
			0.02
		
	
	
		Throttle
		
			2
			2
			2
		
		
			nasal
			controls.throttleAxis()
		
	
	
		Rudder
		
			3
			3
			3
		
		
			property-scale
			/controls/flight/rudder
			0.0
			1.0
			0.02
		
	
	
		View Direction
		
			6
			6
			6
		
		
			true
			
nasal

	

			
		
		
			true
			
nasal

	

			
		
	
	
		View Elevation
		
			7
			7
			7
		
		
			true
			
nasal

	

			
		
		
			true
			
nasal

	

			
		
	
	
		Reset View
		
			nasal
			

			
		
	
	
		Gear
		
			nasal
			

			
		
		
			
nasal

	

			
		
	
	
		Flaps Up
		false
		
			nasal
			

			
		
		
			
nasal

	

			
		
	
	
		Flaps Down
		false
		
			nasal
			

			
		
		
			
nasal

	

			
		
	
	
		Thrust reverse
		
			nasal
			

			
		
	
	
		Speed Brake
		false
		
			nasal
			

			
		
	
	
		Elevator Trim Down
		true
		
			nasal
			

			
		
		
			
nasal

	

			
		
	
	
		Elevator Trim Up
		true
		
			nasal
			

			
		
		
			
nasal

	

			
		
	

--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] New joystick definition for: Speedlink SL-6640 "Black Widow"

2009-09-22 Thread Ang Isang Tao
Hi all,

I decided to contribute my joystick definion to this project because this stick 
is not yet supported by FG. Feel free to integrate it into your repository.

Notes, Todo and Addendum:
- Pressing a button will bring up the gui.popupTip for the representing function
- Addionally Buttons 2 and 3 (Flaps Up/Down) and Buttons 6 and 7 (Elevator Trim 
Up/Down) returns a value on screen telling the actual chosen settings
- Button- and Axis-assignment respect the use of civil planes. e.g. Button 0 
(aka "Fire Trigger" is resetting actual view instead of firing off a weapon) 
and Button 1 is reprensenting Gear Up/Down instead of alternate weapon
- Numbering of axes and buttons for Apple mac not verified
- Numbering of Buttons 6 and 7 respect  how Windows Vista x64 (german) sees the 
Stick. In  Ubuntu (9..04) Buttons 6 and 7 must be renumbered to 4 and 5.
- Created and (mainly) tested in MS Windows Vista Home premium x64 (german)
- Name-entries respect the lack of Vista (german) to present the correct 
joystick-name as desired for FGFS
- Representing also the jostick-name as provided in Windows-internal registry 
entry
- Actually only wheel[0] (most times the nose wheel) is checked for pressure / 
ground contact (=./gear/gear[0]/wow). In this case retraction of gear is not 
allowed
- Technically an aircraft with multiple axis (e.g. nose wheel plus wing wheels) 
can retract the gear as soon as the nose wheel is up but wing wheels are still 
on ground ;)
- Feel free to remove the lines starting with "gui.popupTip..." if you are 
annoyed by the messages while flying ;)

- Thanks go to all contributors of XML files to FG. All of you showed me many 
ways on how to solve certain problems.

Cheers
Mike


  Start chatting with friends on the all-new Yahoo! Pingbox today!! It's 
easy to create your personal chat space on your blogs. 
http://ph.messenger.yahoo.com/pingbox



	Microsoft-PC-Joysticktreiber
	Mega World USB Game Controllers
	SpeedLink SL-6640 Black Widow Flight Stick
	
		Aileron
		
			0
			0
			0
		
		
			property-scale
			/controls/flight/aileron
			0.0
			1.0
		
	
	
		Elevator
		
			1
			1
			1
		
		
			property-scale
			/controls/flight/elevator
			0.0
			-1.0
		
	
	
		Throttle
		
			2
			2
			2
		
		
			nasal
			controls.throttleAxis()
		
	
	
		Rudder
		
			3
			3
			3
		
		
			property-scale
			/controls/flight/rudder
			0.0
			1.0
		
	
	
		View Direction
		
			6
			6
			6
		
		
			true
			
nasal

	

			
		
		
			true
			
nasal

	

			
		
	
	
		View Elevation
		
			7
			7
			7
		
		
			true
			
nasal

	

			
		
		
			true
			
nasal

	

			
		
	
	
		Reset View
		
			nasal
			

			
		
	
	
		Gear
		
			nasal
			

			
		
		
			
nasal

	

			
		
	
	
		Flaps Up
		false
		
			nasal
			

			
		
		
			
nasal

	

			
		
	
	
		Flaps Down
		false
		
			nasal
			

			
		
		
			
nasal

	

			
		
	
	
		Thrust reverse
		
			nasal
			

			
		
	
	
		Speed Brake
		false
		
			nasal
			

			
		
	
	
		Elevator Trim Down
		true