Jump to content

Hotkey to Alternate Hat Switch Between RCS and Camera Control


Recommended Posts

So after getting my new joystick, the T-Flight Hotas X, I wanted to go completely keyboard free. I like to move the camera around a lot when I am flying, and obviously the best place to map control of this to is the hat switch. However, this is also the best place to map RCS in my opinion, and KSP does not have a keybind to toggle between using the hat switch for different functions.

This method will allow you to use the hat for RCS, and then when pressing another button and moving the hat, make that move the camera. This frees up a lot of buttons on your joystick if you were using those for camera/RCS, or allows you to go completely keyboard free if you were still using keys for either of those functions.

How to:

1. Download 'Joytokey' program here:

http://www.electracode.com/4/joy2key/JoyToKey%20English%20Version.htm

2. Extract and run the program.

3. There is already a configuration made for you, called 'First Configuration'. Above the key-mappings you will see 'Joystick 1' and 'Joystick 2' tabs.

4. Go into the Joystick 1 tab. Click the 'Others' tab on the right and put a checkmark in the 'Use POV switches' box.

5.Find which button you want to hold down while moving the hatswitch to control the camera. I chose 'Button 1' which on my joystick is the trigger. Double click it, and go to the 'Special' tab and select to use the configuration of Joystick 2 temporarily. Hit OK and leave everything else alone in this tab.

5. Move to the 'Joystick 2' tab. Again, go to the 'Others' tab and check the 'Use POV Switches' box.

6. Find the 'POV1:Up' in the list of buttons. Highlight it, and at the bottom click 'Auto Setting Wizard'. For the 'Up' one, hit the up arrow, etc. for all 4 directions.

NOTE: If you have changed the keys which control your camera movement in KSP from these defaults, you must press whatever keys you use. If you haven\'t changed the default camera pans, ignore this note.

7. After you do those 4 directions just close out of the setting wizard (not the whole program).

8. In KSP, make sure you have mapped RCS control to the hat switch.

9. Now when Joytokey is running and you hold the button you have set to use the configuration of 'Joystick 2' while moving the hat, you will be able to move the camera in 8 directions. When not holding that button and moving the hat, you will use RCS!

10. Just make sure to start Joytokey before you start KSP.

Note: The Logitech Attack 3 does not have a hat switch, but you can get this to work with the buttons on top of it. I do not own that joystick, but the setup method will be similar, just don\'t 'Enable POV Switches' on Joystick 2 and instead map the buttons on top to the arrow keys.

Enjoy, and safe flying!

Sky Visitor

Link to comment
Share on other sites

I\'m a joystick-afficondo as well (always short on buttons) and have used JoyToKey before, but I never new about such a function.

I\'ll go look for it or download a newer version.

Thanks for the tip!

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...