URL: https://flybefore.com/controllers/gamepads/

# PS5, Xbox and Switch controllers on a Mac

No transmitter yet? A gamepad is a fine way to learn orientation and landings. Fly Before uses the standard gamepad mappings that ship with the app, so there is nothing to set up.

## Which gamepads work

| Gamepad | Connection | Note | 

| PS5 DualSense, DualSense Edge | USB or Bluetooth | Rumble supported. macOS 11.3 or later for Apple's own support. | 

| PS4 DualShock 4 | USB or Bluetooth | | 

| Xbox One S, Series X|S, Elite 2 | Bluetooth | On a USB cable, macOS hands the pad to a different driver. Use Bluetooth. | 

| Switch Pro, Joy-Con | Bluetooth | | 

| 8BitDo, Logitech F310, F710 | USB or wireless | Set the switch to D mode. X mode does not work on macOS with SDL 3.2. | 

| Stadia, Amazon Luna, Steam Controller | Bluetooth or USB | Stadia must be switched to Bluetooth mode first. Luna has no rumble over Bluetooth on macOS. | 

All of these show the Gamepad (ready) badge. Tried on real hardware, on a MacBook Air M4: RadioMaster TX15 and PS5 DualSense.

## Default controls on a PS5 controller

| Action | PS5 controller | Keyboard | 

| Aileron and elevator | Right stick | Arrow keys | 

| Rudder and throttle | Left stick, R2 | A and D, W and S | 

| Restart, back 5 seconds | Triangle, Square | R, Delete | 

| Pause | Options | Esc | 

| Camera | Touchpad | C | 

| Less or more help | L1, R1 | Q, E | 

Stick mode (Mode 1 to 4) can be changed in the detailed settings.

## When to move to a real radio

Gamepad sticks are short and spring-centered, including throttle. Once you can land on Help: Off, a USB radio teaches the muscle memory you will use at the field. See [EdgeTX radios on Mac](https://flybefore.com/controllers/radiomaster-edgetx/).

## Sources

- Apple: [Connect a PlayStation wireless game controller](https://support.apple.com/en-us/111100), [Connect an Xbox wireless game controller](https://support.apple.com/en-us/111101) 

- SDL controller list: [controller_list.h](https://github.com/libsdl-org/SDL/blob/release-3.2.x/src/joystick/controller_list.h); wired Xbox on macOS: [SDL_hidapi_xboxone.c](https://github.com/libsdl-org/SDL/blob/release-3.2.x/src/joystick/hidapi/SDL_hidapi_xboxone.c) 

- X mode issue: [SDL #15790](https://github.com/libsdl-org/SDL/issues/15790); 8BitDo manual: [Pro 2 (PDF)](https://download.8bitdo.com/Manual/Controller/Pro2/Pro2_Manual.pdf) 

- Stadia Bluetooth mode: [Google](https://support.google.com/stadia/answer/13067284) 

## More controllers

- [All controllers: the compatibility table and setup wizard](https://flybefore.com/controllers/)
