% $Id$
% Melchior FRANZ <mfranz@aon.at>
%
\documentclass[draft]{article}
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{times}
\usepackage[margin=2cm]{geometry}
\usepackage{color}

\pagestyle{empty}
\setlength\parskip{0pt}
\setlength\parindent{0pt}

\definecolor{darkcyan}{rgb}{0,.5,.5}
\definecolor{darkred}{rgb}{.5,0,0}
\definecolor{darkblue}{rgb}{0,0,.5}

\def\\ {%
	\bgroup
	\catcode`\^^M=13
	\key
}

\bgroup
\catcode`\^^M=13%
\gdef\key #1 #2 #3^^M{%
	\leavevmode%
	\hbox to6em{\hfil#2\hfil}%
	\hbox to3em{\hfil(#1)}\quad%
	\hbox{#3}%
	\egroup
}%
\egroup

\renewcommand\|{$\backslash$}
\newcommand\ac[1]{\textcolor{darkcyan}{\textbf{\textsf{#1:}}}}
\newcommand\hardcoded[1]{\textcolor{red}{hard-coded: #1}}
\newcommand\shift[1]{\if$#1$\else\textcolor{darkblue}{SHIFT: #1}\fi}
\newcommand\local[1]{\textcolor{darkred}{local: #1}}


\begin{document}
\begin{center}
	\huge FlightGear Keyboard Bindings
\end{center}
\vspace{6ex}

\\ 1	Ctrl-A		Toggle autopilot altitude lock
\\ 2	Ctrl-B		Toggle speedbrake; \ac{p51d} Toggle engine boost
\\ 3	Ctrl-C		Toggle clickable panel hotspots
\\ 4	Ctrl-D		{}
\\ 5	Ctrl-E		{}
\\ 6	Ctrl-F		{}
\\ 7	Ctrl-G		Toggle autopilot glide slope lock
\\ 8	Ctrl-H		Toggle autopilot heading lock
\\ 9	Ctrl-I/Tab	{}
\\ 10	Ctrl-J		{}
\\ 11	Ctrl-K		{}
\\ 12	Ctrl-L		{}
\\ 13	Ctrl-M/Enter	Move rudder right
\\ 14	Ctrl-N		Toggle autopilot nav1 lock
\\ 15	Ctrl-O		{}
\\ 16	Ctrl-P		Toggle pitch hold
\\ 17	Ctrl-Q		{}
\\ 18	Ctrl-R		{}
\\ 19	Ctrl-S		Toggle auto-throttle lock
\\ 20	Ctrl-T		Toggle autopilot terrain lock
\\ 21	Ctrl-U		[Cheat] Add 1000\,ft of emergency altitude
\\ 22	Ctrl-V		Select initial view (view 0)
\\ 23	Ctrl-W		Toggle autopilot wing leveler
\\ 24	Ctrl-X		Reset zoom to default
\\ 25	Ctrl-Y		{}
\\ 26	Ctrl-Z		{}
\\ 27	Esc		Prompt and quit FlightGear;		\shift{Reset}
\\ 28	Ctrl-4/Ctrl-\|	{}
\\ 29	Ctrl-5/Ctrl-]	{}
\\ 30	Ctrl-6		{}
\\ 31	Ctrl-7/Ctrl-/	{}
\\ 32	Space		Fire Starter on Selected Engine(s)
\\ 33	!		Select first engine
\\ 34	"		{}
\\ 35	\#		Select third engine
\\ 36	\$		Select fourth engine
\\ 37	{}		{}
\\ 38	\&		{}
\\ 39	'~(apostrophe)	Display a dialog relevant to the tuned in ATC service (if any)
\\ 40	(		{}
\\ 41	)		{}
\\ 42	*		{}
\\ 43	+		{}
\\ 44	,~(comma)	Left brake
\\ 45	-~(minus)	{}
\\ 46	.~(period)	Right brake
\\ 47	/		{}
\\ 48	0		Move rudder left
\\ 49	1		Decrease elevator trim
\\ 50	2		Increase elevator or autopilot altitude
\\ 51	3		Decrease throttle or autopilot autothrottle
\\ 52	4		Move aileron left (or adjust AP heading)
\\ 53	5		Center aileron, elevator, and rudder
\\ 54	6		Move aileron right (or adjust AP heading)
\\ 55	7		Increase elevator trim
\\ 56	8		Decrease elevator or autopilot altitude
\\ 57	9		Increase throttle or autopilot autothrottle
\\ 58	:~(colon)	{}
\\ 59	;~(semicolon)	{}
\\ 60	<		\ac{c182|c310|pa28-161} Rudder trim left
\\ 61	=		{}
\\ 62	>		\ac{c182|c310|pa28-161} Rudder trim right
\\ 63	?		{}
\\ 64	@		Select second engine
\\ 65	A		Decrease speed-up
\\ 66	B		Toggle parking brake on or off
\\ 67	C		\ac{bo105} toggle rear door
\\ 68	D		{}
\\ 69	E		{}
\\ 70	F		{}
\\ 71	G		Gear down
\\ 72	H		\hardcoded{Cycle HUD brightness}
\\ 73	I		\hardcoded{Alternative HUD}
\\ 74	J		{}
\\ 75	K		{}
\\ 76	L		{}
\\ 77	M		Decrease warp
\\ 78	N		{}
\\ 79	O		{}
\\ 80	P		Toggle panel; \ac{T38} Fuel Cutoff Switch or Lever
\\ 81	Q		{}
\\ 82	R		\ac{fokker100} Toggle thrust reverser
\\ 83	S		{}
\\ 84	T		Decrease warp delta
\\ 85	U		{}
\\ 86	V		Scroll in reverse through views; \ac{tsr2} Scroll in reverse through views
\\ 87	W		(Temporary) Toggle fullscreen for 3DFX only
\\ 88	X		Increase field of view
\\ 89	Y		{}
\\ 90	Z		Decrease Visibility
\\ 91	[		Decrease flaps; \ac{737|A320} Decrease flaps; \ac{ComperSwift} Adjust view left; \ac{an225|b52} --
\\ 92	\|		{}
\\ 93	]		Increase flaps; \ac{737|A320} Increase flaps; \ac{ComperSwift} Adjust view right; \ac{an225|b52} --
\\ 94	\^		{}
\\ 95	\_~(underscore)	{}
\\ 96	`{}~(backtick)	{}
\\ 97	a		Increase speed-up
\\ 98	b		Apply all brakes; \ac{b52} Apply all brakes
\\ 99	c		Toggle 3D/2D cockpit
\\ 100	d		\ac{an225|yf23} Retract slats
\\ 101	e		{}
\\ 102	f		\ac{an225|yf23} Extend slats
\\ 103	g		Gear Up
\\ 104	h		\hardcoded{Cycle HUD: green/red/off}
\\ 105	i		\hardcoded{Normal HUD}
\\ 106	j		Decrease spoilers
\\ 107	k		Increase spoilers
\\ 108	l		Toggle tail-wheel lock
\\ 109	m		Increase warp
\\ 110	n		{}
\\ 111	o		{}
\\ 112	p		Toggle the pause state of the sim
\\ 113	q		{}
\\ 114	r		Activate the instant replay system
\\ 115	s		Swap panels
\\ 116	t		Increase warp delta
\\ 117	u		{}
\\ 118	v		Cycle view; \ac{tsr2} Cycle view
\\ 119	w		{}
\\ 120	x		Decrease field of view
\\ 121	y		{}
\\ 122	z		Increase Visibility
\\ 123	\{		Decrease Magneto on Selected Engine
\\ 124	|		{}
\\ 125	\}		Increase Magneto on Selected Engine
\\ 126	\~~(tilde)	Select all engines
\\ 127	{}		{}
\\ 257	F1		Load flight;					\shift{}
\\ 258	F2		Force tile cache reload;			\shift{Save flight}
\\ 259	F3		Capture screen;					\shift{Load panel}
\\ 260	F4		Force lighting update;				\shift{Reload global preferences}
\\ 261	F5								\shift{Scroll panel down}
\\ 262	F6		\hardcoded{toggles Autopilot target location};	\shift{Scroll panel up}
\\ 263	F7 								\shift{Scroll panel left}
\\ 264	F8 		Cycle fog type;					\shift{Scroll panel right}
\\ 265	F9 		Toggle textures					\shift{}
\\ 266	F10 		Toggle menubar;					\shift{Toggle FDM data logging}
\\ 267	F11 		Pop up autopilot dialog
\\ 268	F12		{}
\\ 269	Enter		Move rudder right
\\ 309	Keypad~5	Center aileron, elevator, and rudder
\\ 356	Left		Move aileron left (or adjust AP heading)
\\ 357	Up		Increase elevator or autopilot altitude
\\ 358	Right		Move aileron right (or adjust AP heading)
\\ 359	Down		Decrease elevator or autopilot altitude
\\ 360	PageUp		Increase throttle or autopilot autothrottle
\\ 361	PageDown	Decrease throttle or autopilot autothrottle
\\ 362	Home		Increase elevator trim
\\ 363	End		Decrease elevator trim
\\ 364	Insert		Move rudder left

\vfill
\textcolor{darkcyan}{\texttt{${}$Id${}$}}
\end{document}

