amyinorbit / trimhat

Temporarily use your hat switch as trim hat in X-Plane

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TrimHat for X-Plane

This is a very small plugin that aims to do one thing, and one thing only: allow you to set pitch and yaw trim using the hat switch on your joystick. This isn't my idea, but something that the lovely folks building the freeware Bell 429 included in their helicopter and that I found incredibly useful. The way it works is simple:

  1. bind a button or key to the amyinorbit/trimhat/trim.
  2. hold that button or key.
  3. sim/general/hat_switch_* commands are intercepted, and used to fire sim/flight_controls/pitch_trim_* and sim/flight_controls/rudder_trim_*
  4. release the button or key, and you can pan your view again

That's it. Feel free to fork and add functionality if you so want!

About

Temporarily use your hat switch as trim hat in X-Plane

License:MIT License


Languages

Language:CMake 44.9%Language:C 34.5%Language:Shell 20.7%