Star Trek Online

Star Trek Online (
-   Controls, User Interface, and the STO Gateway (
-   -   Xbox 360 Controller Keybinds (

Archived Post 01-30-2010 05:14 PM

Xbox 360 Controller Keybinds
2 Attachment(s)
An update of the keybind threads from Open Beta (original sources used are here and here)
Thanks to all the original posters!

The available buttons on the Xbox Controller are:

Joy1 = Start
Joy2 = Back
Joy3 / Lstick = Left thumb depress
Joy4 / Rstick = Right thumb depress
Joy5 / LB = Left Bumper
Joy6 / RB = Right Bumper
Joy7 / Ltrigger = Left Trigger
Joy8 / Rtrigger = Right Trigger
Joy9 / Ab = A Button
Joy10 / Bb = B Button
Joy11 / Xb = X Button
Joy12 / Yb = Y Button

Combinations of buttons are possible, and just require a + sign with no spaces
e.g. Joy7+Xb, Joypad_right+Yb.
* Not sure about 3-button combos.

To see what command you need to bind a specific power, if you go to the Options > Key Binds menu and hover your mouse over a command it will bring up a box indicating the command line you need to enter.
Attachment 3336
The basic binding command is /bind <command> <condition> which is typed into your chat window.

Camera Controls:

There are several options here, but the two I find myself trying are
Free Camera (left stick controls movement, right stick controls camera), or
Follow Target + Tab Selects Offscreen Targets (left stick controls ship, right stick freed up for my shields. Camera automatically pans to face the selected target, so can make maneuvering a bit tricky at times)
Attachment 3337

Tray Bindings:
Tray 1 = 1 to -
Tray 2 = Ctrl+1 to Ctrl+-
Tray 3 = Alt+1 to Alt+-

Tray 1 = +TrayExecByTray 0 <button>
Tray 2 = +TrayExecByTray 1 <button>
Tray 3 = +TrayExecByTray 2 <button>

BO powers don't seem to be bound to a keypress by default in Live, so you have to add them to an actionbar and then map that button to a keypress. (Press P to bring up the powers list, and drag the icon into an empty button slot).

My bindings for Space are:
/bind Yb throttleadjust .25 (increase throttle)
/bind Ab throttleadjust -.25 (decrease throttle/ reverse)
NOTE: you can change the throttle number for finer control. So .20 or even .10 would be possible.

/bind Bb GenSendMessage Throttle_FullImpulse_Button FullThrottle (full impulse)
/bind Xb GenSendMessage HUD_Root FireAll (fire all weapons)

/bind Joy8+Xb genbuttonclick powerlevel_preset_0 (power preset Attack)
/bind Joy8+Yb genbuttonclick powerlevel_preset_1 (power preset Defense)
/bind Joy8+Bb genbuttonclick powerlevel_preset_2 (power preset Speed)
/bind Joy8+Ab genbuttonclick powerlevel_preset_3 (power preset Aux.)

/bind Rstick_up +Power_Exec Reroute_Shields_Forward
/bind Rstick_down +Power_Exec Reroute_Shields_Rear
/bind Rstick_left +Power_Exec Reroute_Shields_Left
/bind Rstick_right +Power_Exec Reroute_Shields_Right

/bind Joy7+Xb +TrayExecByTray 2 0(BO power 1)
/bind Joy7+Yb +TrayExecByTray 2 1 (BO power 2)
/bind Joy7+Bb +TrayExecByTray 2 2 (BO power 3)
/bind Joy7+Ab +TrayExecByTray 2 3 (BO power 4)

/bind Joypad_up InteractWindow (interact button)

Ground commands are very similar, but there aren't as many options :)
Commands you may find useful to add are
/bind <key> ++run (one click toggles a full run cycle)
/bind <key> ++aim (click toggles aim mode on and off)
/bind <key> GenSendMessage Inventory_Root SwitchActiveWeapon (swaps weapons)
/bind <key> +roll (tapping Lstick twice will roll you in the appropriate direction, but I like to keep a second single button ready just incase :) )

Saving your Keybind settings:
When you have the bindings the way you like them, make sure to save the config.
Use /bind_save_file <filename> and /bind_load_file <filename> to save having to type them in for every character :)
NOTE: you need 2 seperate keybind lists. One for Ground, one Space. All /bind commands are local to that one list, so my /bind Joypad_up InteractWindow has to be in both.

As always, these are only examples. They are meant to demonstrate the flexibility you can use to get things set up the way you want :)

Archived Post 01-30-2010 07:14 PM

Thank you very much for reposting this and all the work you have done for it. It is a good work around in the interim.

I think I can speak for almost everyone though when I say that Cryptic REALLY needs to add built in support for the Xbox 360 controller (and other joysticks/gamepads), rather then us having to set it all through command line. The fact Command line works proves the support framework is there and just a bit of tweaking is all that they need at this point.

I will also say, controller support is, and should be, low on the priority list compared to getting the servers more stable. But once they are, this should be addressed.

Archived Post 01-30-2010 07:53 PM

Thanks alot!

Archived Post 01-30-2010 08:46 PM

Dude, you ROCK!

Achievement Unlocked!

Archived Post 01-30-2010 08:52 PM

Just on a side note, this worked great!!! Having to toggle "mouse look" on and off will take some getting used to, along with adjusting controlls to what works best for me, but still very effective over all, this just further increases my conviction that it shouldn't take too much extra work to get GUI support for the 360 controller setup.

Archived Post 01-30-2010 10:46 PM

Worth the effort.

I've spent the last... ([looks at clock] oh my god!) 6 hours setting my key bindings. (most effort before seeing this new post) I've made an extensive set and will post them with a jpeg guide once they are complete. True xbox 360 controller support would be a dream come true, as all of this command line business is way, waaay out of my wheelhouse.

(I did notice a syntax in the OP's post-- when listing bridge officer powers the string indicates "tray3" when specifically tray 3 is indicated in the command line by tray2 (tray 0 being 1) I have confirmed that if you copy and past the code but change "tray3 X" to tray2 X it will work.


Archived Post 01-30-2010 11:45 PM

Great stuff. This deserves a sticky.

This game is a pleasure to play from the couch!

Archived Post 01-30-2010 11:55 PM

Nice 1 Kakurenbo, your posts in beta were most helpful too, pray tell how you are getting past the camera not staying behind the ship problem

I know you can set a key to reset the camera but have you a way of locking it, cos this seems to be the current Achilles heel of Joystick/pad use.

Archived Post 01-31-2010 09:50 AM

I am getting violently angry, i cant get this damn game to recognize any of the buttons except for the two thumbsticks...what the hell am i missing/doing wrong?!?! I cant bind any buttons because when i click the buttons on the bind thing nothing happens.

Archived Post 01-31-2010 01:32 PM

I was wondering if anyone else was having the same problem I was, when I am in sector space my left joystick turns the ship and my right joystick turns the camera. But then whem im in system space my left joystick still turns the ship but my right joystick does nothing. Is this normal and if so how would I change the left stick to control the camera

All times are GMT -7. The time now is 09:54 PM.