<?xml version="1.0"?>
<!--
Virpil WarBRD-D HOSAS ALPHA Prime 4.10 — Star Citizen Profile
Pure in-game bindings
Assumptions: js1 = Right, js2 = Left
If swapped: pp_resortdevices joystick 1 2
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_button5"/></action>
    <action name="v_brake"><rebind input="js1_button6"/></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_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>
  </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>
</ActionMaps>
