local  res = external_profile("Mods/aircrafts/P-51D/Input/P-51D/joystick/default.lua")
join(res.keyCommands,{
-- Auto Lock On
{combos = {{key = 'JOY_BTN5'}},  down = iCommandAutoLockOnCenterAircraft, name = 'Auto lock on center aircraft', category = 'Targeting'},
{down = iCommandAutoLockOnCenterSurfaceTarget, name = 'Auto lock on center surface target', category = 'Targeting'},
{combos = {{key = 'JOY_BTN4'}},  down = iCommandAutoLockOnClear, name = 'Clear Selected Target', category = 'Targeting'},
{down = iCommandEasyRadarOnOff, name = 'Easy Radar toggle', category = 'Targeting'},

{combos = {{key = 'JOY_BTN_POV2_U'}},  		 down = iCommandEasyRadarScaleUp , name = 'Easy Radar scale in' , category = 'Targeting'},
{combos = {{key = 'JOY_BTN_POV2_D'}},  		 down = iCommandEasyRadarScaleOut, name = 'Easy Radar scale out', category = 'Targeting'},
{combos = {{key = 'JOY_BTN3'}} , down = iCommandPlaneChangeWeapon, name = 'Cycle Weapon', category = 'Weapons'},

{pressed = iCommandSelecterUp   , up = iCommandSelecterStop, name = 'Selector up'   , category = 'Targeting'},
{pressed = iCommandSelecterDown , up = iCommandSelecterStop, name = 'Selector down' , category = 'Targeting'},
{pressed = iCommandSelecterLeft , up = iCommandSelecterStop, name = 'Selector left' , category = 'Targeting'},
{pressed = iCommandSelecterRight, up = iCommandSelecterStop, name = 'Selector right', category = 'Targeting'},

})

return res