Skip to content

Instantly share code, notes, and snippets.

@amclain
Created September 1, 2014 21:36
Show Gist options
  • Save amclain/8220f68605ea4750c4dc to your computer and use it in GitHub Desktop.
Save amclain/8220f68605ea4750c4dc to your computer and use it in GitHub Desktop.
<!-- Saitek X36 HOTAS joystick mapping for Star Citizen -->
<ActionMaps version="0" >
<actionmap name="spaceship_general">
<action name="v_eject">
<rebind device="joystick" input="js1_button6" />
</action>
</actionmap>
<!-- <actionmap name="spaceship_view">
<action name="v_view_cycle_fwd">
<rebind device="joystick" input="js2_button3" />
</action>
<action name="v_view_yaw_left">
<rebind device="joystick" input="js1_hat1_left" />
</action>
<action name="v_view_yaw_right">
<rebind device="joystick" input="js1_hat1_right" />
</action>
<action name="v_view_pitch_up">
<rebind device="joystick" input="js1_hat1_up" />
</action>
<action name="v_view_pitch_down">
<rebind device="joystick" input="js1_hat1_down" />
</action>
<action name="v_view_mode">
<rebind device="joystick" input="js2_button27" />
</action>
<action name="v_view_dynamic_focus_toggle">
<rebind device="joystick" input="js2_button25" />
</action>
</actionmap> -->
<actionmap name="spaceship_movement">
<!-- <action name="v_yaw">
<rebind device="joystick" input="js1_rotz" />
</action> -->
<!-- Rudder Pedals -->
<action name="v_yaw">
<rebind device="joystick" input="js2_rotz" />
</action>
<action name="v_newtonian_yaw">
<rebind device="joystick" input="js2_rotz" />
</action>
<!-- <action name="v_brake">
<rebind device="keyboard" input="js2_x" />
</action>
<action name="v_newtonian_brake">
<rebind device="keyboard" input="js2_x" />
</action> -->
<!-- End Rudder Pedals -->
<action name="v_throttle">
<rebind device="joystick" input="js1_throttlez" />
</action>
<action name="v_brake">
<rebind device="joystick" input="js1_button3" />
</action>
<action name="v_afterburner">
<rebind device="joystick" input="js1_button5" />
</action>
<action name="v_ifcs_toggle_vector_decoupling">
<rebind device="joystick" input="js1_button19" />
</action>
<action name="v_strafe_right">
<rebind device="joystick" input="js1_button24" />
</action>
<action name="v_strafe_left">
<rebind device="joystick" input="js1_button26" />
</action>
<!-- <action name="v_strafe_vertical">
<rebind device="joystick" input="js2_z" />
</action>
<action name="v_strafe_longitudinal">
<rebind device="joystick" input="js2_rotx" />
</action> -->
<action name="v_ifcs_toggle_safety">
<rebind device="joystick" input="js1_button20" />
</action>
</actionmap>
<actionmap name="spaceship_targeting">
<action name="v_target_cycle_all_fwd">
<rebind device="joystick" input="js1_hat1_right" />
</action>
<action name="v_target_cycle_all_back">
<rebind device="joystick" input="js1_hat1_left" />
</action>
<action name="v_target_missile_lock_focused">
<rebind device="joystick" input="js1_button4" />
</action>
<action name="v_target_cycle_hostile_fwd">
<rebind device="joystick" input="js1_hat1_up" />
</action>
<action name="v_target_nearest_hostile">
<rebind device="joystick" input="js1_hat1_down" />
</action>
</actionmap>
<actionmap name="spaceship_weapons">
<action name="v_attack1_group2">
<rebind device="joystick" input="js1_button7" />
</action>
<action name="v_attack1_group3">
<rebind device="joystick" input="js1_button2" />
</action>
</actionmap>
<actionmap name="spaceship_missiles">
<action name="v_weapon_cycle_missile_fwd">
<rebind device="joystick" input="js1_button15" />
</action>
<action name="v_weapon_launch_missile">
<rebind device="joystick" input="js1_button4" />
</action>
</actionmap>
<actionmap name="spaceship_defensive">
<action name="v_weapon_launch_countermeasure">
<rebind device="joystick" input="js1_button21" />
</action>
<action name="v_weapon_cycle_countermeasure_fwd">
<rebind device="joystick" input="js1_button17" />
</action>
</actionmap>
</ActionMaps>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment