Skip to content

Instantly share code, notes, and snippets.

@amclain
Last active August 29, 2015 14:06
Show Gist options
  • Save amclain/e4f136c3dd1da377f968 to your computer and use it in GitHub Desktop.
Save amclain/e4f136c3dd1da377f968 to your computer and use it in GitHub Desktop.
<!-- Custom Thrustmaster Warthog HOTAS mapping for Star Citizen -->
<!-- Binding Names: http://www.starcitizen-sgc.com/scdefaultprofile -->
<ActionMaps version="0" >
<actionmap name="spaceship_general">
<action name="v_eject">
<rebind device="joystick" input="js2_button21" /><!-- L/G Warning Silence -->
</action>
<action name="v_use_docking">
<rebind device="joystick" input="js2_button26" /><!-- Autopilot Engage (Black) -->
</action>
<action name="v_toggle_running_lights">
<rebind device="joystick" input="js2_button14" /><!-- Pinky Switch Aft -->
</action>
</actionmap>
<actionmap name="spaceship_view">
<action name="v_view_dynamic_focus_toggle">
<rebind device="joystick" input="js1_button11" /><!-- DMS up -->
</action>
<!-- Disable view buttons -->
<!-- <action name="v_view_yaw_left">
<rebind device="joystick" input="" />
</action>
<action name="v_view_yaw_right">
<rebind device="joystick" input="" />
</action>
<action name="v_view_pitch_up">
<rebind device="joystick" input="" />
</action>
<action name="v_view_pitch_down">
<rebind device="joystick" input="" />
</action>
<action name="v_view_cycle_fwd">
<rebind device="joystick" input="" />
</action> -->
<!-- Use hat for view -->
<action name="v_view_yaw_left">
<rebind device="joystick" input="js1_hat1_left" /><!-- Trim Hat LWD -->
</action>
<action name="v_view_yaw_right">
<rebind device="joystick" input="js1_hat1_right" /><!-- Trim Hat RWD -->
</action>
<action name="v_view_pitch_up">
<rebind device="joystick" input="js1_hat1_up" /><!-- Trim Hat Nose Down -->
</action>
<action name="v_view_pitch_down">
<rebind device="joystick" input="js1_hat1_down" /><!-- Trim Hat Nose Up -->
</action>
<action name="v_view_cycle_fwd">
<rebind device="joystick" input="" />
</action>
</actionmap>
<actionmap name="spaceship_hud">
<!-- Radio hat -->
<action name="v_hud_left_panel_up">
<rebind device="joystick" input="js2_button3" /><!-- Mic Switch Up (Short) -->
</action>
<action name="v_hud_left_panel_down">
<rebind device="joystick" input="js2_button5" /><!-- Mic Switch Down (Short) -->
</action>
<action name="v_hud_left_panel_left">
<rebind device="joystick" input="js2_button6" /><!-- Mic Switch Left (Short) -->
</action>
<action name="v_hud_left_panel_right">
<rebind device="joystick" input="js2_button4" /><!-- Mic Switch Right (Short) -->
</action>
<action name="v_hud_confirm">
<rebind device="joystick" input="js2_button2" /><!-- Mic Switch Press (Short) -->
</action>
<!-- <action name="v_hud_cancel">
<rebind device="joystick" input="js2_button2" /><!- Mic Switch Press (Long) ->
</action> -->
<action name="v_hud_open_scoreboard">
<rebind device="joystick" input="js1_button4" /><!-- Pinky Lever -->
</action>
</actionmap>
<actionmap name="spaceship_movement">
<!-- Rudder Pedals -->
<action name="v_yaw">
<rebind device="joystick" input="js4_rotz" />
</action>
<action name="v_newtonian_yaw">
<rebind device="joystick" input="js4_rotz" />
</action>
<!-- End Rudder Pedals -->
<action name="v_throttle">
<rebind device="joystick" input="js2_throttlez" />
</action>
<action name="v_afterburner">
<rebind device="joystick" input="js2_button8" /><!-- Speed Brake Aft -->
</action>
<action name="v_brake">
<rebind device="joystick" input="js2_button15" /><!-- Left Throttle Button -->
</action>
<action name="v_newtonian_brake">
<rebind device="keyboard" input="js2_button15" /><!-- Left Throttle Button -->
</action>
<!-- Strafe using throttle coolie hat -->
<!-- <action name="v_strafe_left">
<rebind device="joystick" input="js2_hat1_left" />
</action>
<action name="v_strafe_right">
<rebind device="joystick" input="js2_hat1_right" />
</action>
<action name="v_strafe_up">
<rebind device="joystick" input="js2_hat1_up" />
</action>
<action name="v_strafe_down">
<rebind device="joystick" input="js2_hat1_down" />
</action> -->
<!-- Strafe using throttle slew control -->
<action name="v_strafe_vertical">
<rebind device="joystick" input="js2_y" /><!-- Slew Y -->
</action>
<action name="v_strafe_lateral">
<rebind device="joystick" input="js2_x" /><!-- Slew X -->
</action>
<!-- -->
<action name="v_ifcs_toggle_vector_decoupling">
<rebind device="joystick" input="js2_button1" /><!-- Slew Push -->
</action>
<action name="v_ifcs_toggle_safety">
<rebind device="joystick" input="js1_button5" /><!-- MMCB -->
</action>
</actionmap>
<actionmap name="spaceship_targeting">
<action name="v_target_cycle_all_fwd">
<rebind device="joystick" input="js1_button8" /><!-- TMS Right -->
</action>
<action name="v_target_cycle_all_back">
<rebind device="joystick" input="js1_button10" /><!-- TMS Left -->
</action>
<action name="v_target_missile_lock_focused">
<rebind device="joystick" input="js1_button2" /><!-- Weapon Release -->
</action>
<action name="v_target_cycle_hostile_fwd">
<rebind device="joystick" input="js1_button9" /><!-- TMS Down (Short) -->
</action>
<action name="v_target_nearest_hostile">
<rebind device="joystick" input="js1_button7" /><!-- TMS Up (Short) -->
</action>
<!-- <action name="v_target_toggle_pinned_focused">
<rebind device="joystick" input="js1_button7" /><!- TMS Up (Long) ->
</action> -->
<!-- <action name="v_target_nearest_landzone">
<rebind device="joystick" input="js1_button9" /><!- TMS Down (Long) ->
</action> -->
</actionmap>
<actionmap name="spaceship_weapons">
<action name="v_attack1_group2">
<rebind device="joystick" input="js1_button6" /><!-- Trigger Stage 2 -->
</action>
<action name="v_attack1_group3">
<rebind device="joystick" input="js1_button3" /><!-- NWS -->
</action>
</actionmap>
<actionmap name="spaceship_missiles">
<action name="v_weapon_launch_missile">
<rebind device="joystick" input="js1_button2" /><!-- Weapon Release -->
</action>
<action name="v_weapon_cycle_missile_fwd">
<rebind device="joystick" input="js1_button12" /><!-- DMS Left -->
</action>
<action name="v_weapon_cycle_missile_back">
<rebind device="joystick" input="js1_button14" /><!-- DMS Right -->
</action>
</actionmap>
<actionmap name="spaceship_defensive">
<action name="v_weapon_launch_countermeasure">
<rebind device="joystick" input="js1_button15" /><!-- CMS Fwd -->
</action>
<action name="v_weapon_cycle_countermeasure_fwd">
<rebind device="joystick" input="js1_button17" /><!-- CMS Aft -->
</action>
<!-- Shield management with trim hat -->
<!-- <action name="v_shield_raise_level_forward">
<rebind device="joystick" input="js1_hat1_up" />
</action>
<action name="v_shield_raise_level_back">
<rebind device="joystick" input="js1_hat1_down" />
</action>
<action name="v_shield_raise_level_left">
<rebind device="joystick" input="js1_hat1_left" />
</action>
<action name="v_shield_raise_level_right">
<rebind device="joystick" input="js1_hat1_right" />
</action>
<action name="v_shield_raise_level_up">
<rebind device="joystick" input="" />
</action>
<action name="v_shield_raise_level_down">
<rebind device="joystick" input="" />
</action> -->
<!-- Shield management with coolie hat -->
<action name="v_shield_raise_level_forward">
<rebind device="joystick" input="js2_hat1_up" /><!-- Coolie Hat Up -->
</action>
<action name="v_shield_raise_level_back">
<rebind device="joystick" input="js2_hat1_down" /><!-- Coolie Hat Down -->
</action>
<action name="v_shield_raise_level_left">
<rebind device="joystick" input="js2_hat1_left" /><!-- Coolie Hat Left -->
</action>
<action name="v_shield_raise_level_right">
<rebind device="joystick" input="js2_hat1_right" /><!-- Coolie Hat Right -->
</action>
<action name="v_shield_raise_level_up">
<rebind device="joystick" input="" />
</action>
<action name="v_shield_raise_level_down">
<rebind device="joystick" input="" />
</action>
<!-- -->
<action name="v_shield_reset_level">
<rebind device="joystick" input="js2_button12" /><!-- China Hat Aft -->
</action>
<action name="v_shield_boost_recharge">
<rebind device="joystick" input="js2_button11" /><!-- China Hat Fwd -->
</action>
</actionmap>
<actionmap name="spaceship_radar">
<!-- <action name="v_radar_toggle_onoff">
<rebind device="joystick" input="js1_button19" /><!- CMS Push (Long) ->
</action> -->
<action name="v_radar_toggle_active_or_passive">
<rebind device="joystick" input="js2_button19" /><!-- CMS Push (Short) -->
</action>
<action name="v_radar_cycle_zoom_fwd">
<rebind device="joystick" input="js2_button16" /><!-- CMS Right -->
</action>
<action name="v_radar_cycle_zoom_back">
<rebind device="joystick" input="js2_button18" /><!-- CMS Left -->
</action>
</actionmap>
</ActionMaps>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment