////////////////////////////////////////////////////////////////////////////
//
// Editor key binds and other cool stuff 
//..........................................................................


Keyboard::Bind( "backspace", "Map::RemovePathAtMousePos()", 1 );
Keyboard::Bind( "space", "Map::DumpCameraData()", 1 );

Keyboard::Bind( "g", "StopTask( Map ); StartTask(crayon,Game,Menu,1);" );


Keyboard::BindOnDown( 	"w", 	"Map::CameraButtonDown( camera_up )" );
Keyboard::BindOnUp( 	"w", 	"Map::CameraButtonUp( camera_up )" );
Keyboard::BindOnDown( 	"s", 	"Map::CameraButtonDown( camera_down )" );
Keyboard::BindOnUp( 	"s", 	"Map::CameraButtonUp( camera_down )" );
Keyboard::BindOnDown( 	"a", 	"Map::CameraButtonDown( camera_left )" );
Keyboard::BindOnUp( 	"a", 	"Map::CameraButtonUp( camera_left )" );
Keyboard::BindOnDown( 	"d", 	"Map::CameraButtonDown( camera_right )" );
Keyboard::BindOnUp( 	"d", 	"Map::CameraButtonUp( camera_right )" );

Keyboard::BindOnDown( 	"q", 	"Map::CameraButtonDown( camera_rotatecounter )" );
Keyboard::BindOnUp( 	"q", 	"Map::CameraButtonUp( camera_rotatecounter )" );
Keyboard::BindOnDown( 	"e", 	"Map::CameraButtonDown( camera_rotateclock )" );
Keyboard::BindOnUp( 	"e", 	"Map::CameraButtonUp( camera_rotateclock )" );

Keyboard::BindOnDown( 	"z", 	"Map::CameraButtonDown( camera_zoomin )" );
Keyboard::BindOnUp( 	"z", 	"Map::CameraButtonUp( camera_zoomin )" );
Keyboard::BindOnDown( 	"x", 	"Map::CameraButtonDown( camera_zoomout )" );
Keyboard::BindOnUp( 	"x", 	"Map::CameraButtonUp( camera_zoomout )" );

Keyboard::BindOnDown( 	"left_shift", 	"Map::CameraButtonDown( camera_speed_things)" );
Keyboard::BindOnUp( 	"left_shift", 	"Map::CameraButtonUp( camera_speed_things )" );
Keyboard::BindOnDown( 	"left_ctrl", 	"Map::CameraButtonDown( camera_slow_things)" );
Keyboard::BindOnUp( 	"left_ctrl", 	"Map::CameraButtonUp( camera_slow_things)" );
