Control X-Plane with the Mac Touch Bar.
XPTouchBar is a companion app to X-Plane which presents flight controls in the Touch Bar.
XPTouchBar is completely customizable. You choose the controls that appear in the Touch Bar to complement the aircraft you're flying, and the hardware controls you have. (For example, if you don't have a throttle quadrant, you could put the throttle controls in the Touch Bar. If you do have a throttle quadrant, you could put some of the other controls in the Touch Bar).
You could use XPTouchBar as...
You can use XPTouchBar on the same machine as X-Plane (e.g. X-Plane on your external monitor, XPTouchBar on your MacBook monitor), or you can use them on different machines (e.g. X-Plane on your gaming PC, XPTouchBar on your Mac as a remote control).
XPTouchBar aims to provide X-Plane controls which:
The placement and priority of controls in XPTouchBar follows the adage "Aviate, Navigate, Communicate". For example, the throttle quadrant is an "Aviate" control, so it is immediately accessible at the top level of the Touch Bar. Meanwhile the audio panel is a "Communicate" control, so it lives in a popover.
XPTouchBar has Touch Bar widgets for the following aircraft controls:
XPTouchBar also forwards the following X-Plane keyboard shortcuts for convenience:
Key | Shortcut |
---|---|
B | Parking Brake On/Off |
G | Landing Gear Up/Down |
M | Show/Hide Map |
P | Play/Pause |
Y | Show/Hide Yoke |
⇧1 | Linear Spot |
⇧2 | Still Spot |
⇧3 | Camera: Runway |
⇧4 | Camera: Circle |
⇧5 | Camera: Tower |
⇧8 | Camera: Chase |
⇧9 | Camera: 3D Cockpit |
⇧W | Camera: Forward With HUD |
Note: For simplicity, only the X-Plane S-TEC like autopilot controls are included at the moment, and they are designed as one predefined group of controls. If you would like support for other autopilot controls, or the ability to add individual autopilot controls to the Touch Bar, please open a GitHub Issue.
Download the app from GitHub Releases, or compile the app from source with Xcode.
Customize Touch Bar...
button.You can add any controls that you find useful. Here are some suggestions:
Aircraft | Controls |
---|---|
Cessna 172 | Throttle, Mixture, Flaps |
Cirrus Vision SF50 | Throttle, Flaps, Landing Gear |
Boeing 737 | Speedbrake, Throttle, Flaps, Landing Gear |
Beechcraft Baron 58 | Throttle, Prop, Mixture, Flaps, Landing Gear |
XPTouchBar connects over X-Plane's UDP connection. By default it connects to X-Plane on the same machine (localhost:49000
).
If X-Plane is running on a different host or port, go to XPTouchBar
→ Preferences
to change the connection settings.
System Preferences
→ Keyboard
→ Customize Control Strip...
to remove controls from the always-on control strip.System Preferences
→ Keyboard
→ ☑️ Show Control Strip
to hide the always-on control strip altogether. This will give apps (like XPTouchBar) the full width of the Touch Bar.If you can't see the XPTouchBar controls...
System Preferences
→ Keyboard
→ Touch Bar shows
is set to App Controls
.If the XPTouchBar controls don't behave as you expect...
Debug
tab.Mac apps can only control the Touch Bar when they are in focus. Unfortunately this means that if X-Plane and XPTouchBar are on the same computer, and you click into X-Plane to do something, you need to Cmd-Tab back to XPTouchBar afterwards. This is something we would like to find a workaround for.
In the meantime, XPTouchBar does some things to help you keep it in focus: