#==============================================================================
#
# keyboard.dat: Keyboard controls definition file
#
# Version: $Id: v_keyboard.dat,v 1.13 2011-04-15 12:55:59 thomasse Exp $
#
# This file is part of the Silent Wings Soaring simulator.
#
#------------------------------------------------------------------------------
# Copyright (c) 1999-2002 Thomas E. Sevaldrud <tse@math.sintef.no>
#==============================================================================

#
# Joystick config
#
#joy_hat_ew_axis = 4
#joy_hat_ns_axis = 5
#joy_rudder_axis = 2
#joy_airbrake_axis = 3

#                 code		key		function
#-----------------------------------------------------------------
pause		= 112	    # 	p		pause key
space		= 32	    # 	Space		start simulation
help            = 104	    #   H               Help screen
quit		= 27	    #  	ESC		quit key
hud_mode	= 105   #   CTRL+i		toggle HUD info modes
left_rudder 	= 122	    # 	z		left rudder
right_rudder	= 99	    # 	c		right rudder
center_rudder	= 120	    # 	x		center rudder
#left_aileron	= 1100	    # 	Left		left aileron
#right_aileron	= 1102	    # 	Right		right aileron
#elevator_up	= 1103	    # 	Down		elevator up
#elevator_down	= 1101	    # 	Up		elevator down
#center_stick	= 53	    # 	5		stick center
#trim_up		= 127	    # 	Del		trim elevator down
#trim_down	= 1108	    # 	Insert		trim elevator up
#auto_trim	= 1000020   #   CTRL+t          Auto Trim
extend_airbrakes = 97	    # 	a		extend airbrakes
retract_airbrakes = 65      # 	A		retract airbrakes
slew		= 1012      #   F12             slew on/off
toggle_joystick = 1000010   #	CTRL+J		Toggle joystick controls
toggle_fullscreen = 1000006   #	CTRL+F		Toggle fullscreen
auto_rudder     = 1000018   #   CTRL+r          Toggle auto-rudder
auto_heading    = 1000008   #   CTRL+H		Toggle auto heading
auto_speed      = 1000019   #   CTRL+S          Toggle auto speed
auto_roll       = 1000002   #   CTRL+B          Toggle auto roll (bank)
extend_flaps    = 102	    #   f               Extend flaps
retract_flaps   = 70        #   F               Retract flaps
gear            = 103       #   g
eng_retract     = 69        #   E               Extend/Retract engine
drop_water      = 119	    #   w               Open/Close water valves      

#
# Slew mode keys
#
#slew_up		= 1104  #       PgUp            slew up
#slew_down	= 1105  #       PgDown          slew down

#
# View keys
#
inside_view	= 1001		# F1		inside view
spot_view	= 1002		# F2		outside view
fixed_view	= 1003  	# F3            fixed external view
flyby_view	= 1004		# F4		flyby view
free_flight_view = 1006		# F6		free flight view
chase_view      = 1007		# F7		chase view
overview        = 1008          # F8		overview camera
pan_left	= 1100		# left 
pan_right	= 1102		# right
pan_up		= 1101		# up 
pan_down	= 1103		# down
zoom_in		= 1104		# PgUp
zoom_out	= 1105		# PgDown
cycle_aircraft_view = 1001002 	# CTRL+F2	cycle visible aircraft
force_tp	= 1000020	# CTRL+t	

#inc_throttle 	= 43		#	+	Increase Throttle
#dec_throttle	= 45		#	-	Decrease Throttle

release		= 8		# BackSpace	Release hook

map		= 109
task_key        = 84 	        # T  		Start Task
force_vectors   = 1000022 	# CTRL+v 	Show force vectors

inc_vario_vol   = 46    	# ,		Increase vario beep
dec_vario_vol   = 44    	# .		Decrease vario beep

inc_mcready	= 82            # R		Increase McReady setting
dec_mcready	= 114		# r		Decrease McReady setting 

speed_cmd	= 1000003	# CTRL + C	Toggle Speed Command

time_scale_up	= 43		# +		Increase time scale
time_scale_down	= 45		# -		Decrease time scale

toggle_labels   = 108		# L		Toggle aircraft labels
track_ribbon    = 107		# K 		(tracK ribbon)

toggle_padlock_view = 1005	# F5
cycle_padlock_view = 1001005	# CTRL + F5

select_aircraft  = 1010		# F10
select_padlock   = 11010	# SHIFT + F10

debug_console = 1000007

screen_saver = 1001007

nav_menu = 1000004   		# CTRL + d

forward_key     = 1106
backward_key    = 1107
forward_10_key  = 11106
backward_10_key = 11107

draw_task       = 116

fly_to_tp  = 1001006
results_menu = 9		# TAB

canopy = 67 			# SHIFT + C
auto_pan = 1000016              # CTRL + P  	Auto-Pan mode toggle on/off (if no TrackIR possible)

#standings_plot = 1000009	# CTRL + TAB
standings_plot = 110		# N 		Plot current staNdings

screenshot = 100112		# ALT + p 	Screenshot
record_movie = 100114		# ALT + r Record movie

playback_controls = 13		# Enter		Playback controls
