<?xml version="1.0"?>
<!--
VKB EVO Premium 4.10 — Star Citizen HOSAS Profile
Pure in-game bindings

Assumptions: js1 = Right, js2 = Left
If swapped: pp_resortdevices joystick 1 2

Premium extras mapped:
- Rapid Fire Trigger
- A1 Ministick (hat mode)
- C1 as full hat

Button numbers approximate. Verify in-game.
-->
<ActionMaps>
  <actionmap name="spaceship_movement">
    <action name="v_pitch"><rebind input="js1_y"/></action>
    <action name="v_yaw"><rebind input="js1_x"/></action>
    <action name="v_roll"><rebind input="js1_rotz"/></action>
    <action name="v_strafe_lateral"><rebind input="js2_x"/></action>
    <action name="v_strafe_longitudinal"><rebind input="js2_y"/></action>
    <action name="v_strafe_vertical"><rebind input="js2_rotz"/></action>
    <action name="v_afterburner"><rebind input="js1_button3"/></action>
    <action name="v_brake"><rebind input="js1_button4"/></action>
    <action name="v_toggle_coupled"><rebind input="js2_button1"/></action>
    <action name="v_flight_ready"><rebind input="js2_button2"/></action>
  </actionmap>
  <actionmap name="spaceship_weapons">
    <action name="v_weapon_group1"><rebind input="js1_button1"/></action>
    <action name="v_weapon_group2"><rebind input="js1_button2"/></action>
  </actionmap>
  <actionmap name="spaceship_countermeasures">
    <action name="v_deploy_decoy"><rebind input="js1_button7"/></action>
    <action name="v_deploy_noise"><rebind input="js1_button8"/></action>
  </actionmap>
  <actionmap name="spaceship_missiles">
    <action name="v_weapon_launch_missile"><rebind input="js1_hat3_up"/></action>
  </actionmap>
  <actionmap name="spaceship_targeting">
    <action name="v_target_cycle_hostile"><rebind input="js1_hat1_up"/></action>
    <action name="v_target_cycle_friendly"><rebind input="js1_hat1_down"/></action>
    <action name="v_target_lock_unlock"><rebind input="js1_hat1_right"/></action>
  </actionmap>
  <actionmap name="spaceship_power">
    <action name="v_power_weapons"><rebind input="js1_hat2_up"/></action>
    <action name="v_power_shields"><rebind input="js1_hat2_down"/></action>
    <action name="v_power_engines"><rebind input="js1_hat2_left"/></action>
  </actionmap>
  <actionmap name="spaceship_general">
    <action name="v_cycle_master_mode"><rebind input="js2_hat1_up"/></action>
    <action name="v_engage_quantum"><rebind input="js2_hat1_down"/></action>
    <action name="v_landing_gear"><rebind input="js2_hat1_left"/></action>
    <action name="v_vtol_toggle"><rebind input="js2_hat1_right"/></action>
  </actionmap>
  <actionmap name="spaceship_scanning">
    <action name="v_scanning_mode"><rebind input="js2_button7"/></action>
  </actionmap>
  <actionmap name="spaceship_mining">
    <action name="v_toggle_mining_mode"><rebind input="js2_hat3_left"/></action>
  </actionmap>
  <actionmap name="spaceship_salvage">
    <action name="v_toggle_salvage_mode"><rebind input="js2_hat3_right"/></action>
  </actionmap>
</ActionMaps>
