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:
- bind a button or key to the
amyinorbit/trimhat/trim
. - hold that button or key.
sim/general/hat_switch_*
commands are intercepted, and used to firesim/flight_controls/pitch_trim_*
andsim/flight_controls/rudder_trim_*
- 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!