Questions

How to map an Xbox controller to keyboard keys on a Mac

Download on the Mac App StoreInputConfig is completely free on the Mac App Store. You don't have to make an account, there are no subscriptions, and nothing is locked. Optimized for Apple silicon.

You map an Xbox controller to keyboard keys on a Mac with a mapper, since macOS cannot send keys from a controller on its own. Keyboard mapping means the Mac receives real key presses when you press controller buttons, so anything that takes a keyboard works with the pad: a game with no controller support, a browser game, an emulator's hotkeys, Anki, a video editor. InputConfig, a free Mac app I made, does this for any Xbox controller, with a two-minute setup and no driver.

On this page
  1. Steps
  2. Map a button to a key
  3. Start from the FPS (Xbox) layout
  4. Pick a layout for the job
  5. Tune each row
  6. If the Xbox controller does nothing
  7. What it cannot do
  8. The short version
  9. Questions

Steps

  1. Pair the Xbox controller and open InputConfig.
  2. Create or open a preset and click Scan on a row.
  3. Press the button, then choose Keyboard Key and pick the key.
  4. Activate the preset.

Map a button to a key

  • You: Pair the controller and open InputConfig. Create a preset, or start from FPS (Xbox) or another built-in layout that is close to what you want. On a row, click Scan and press the button. Then choose Keyboard Key and pick the key.
  • InputConfig: Binds the row to that button. Sticks can send four keys (WASD or the arrows) or move the pointer. Triggers can be keys or mouse buttons.
  • Check: Press Activate, open TextEdit and press the button: its key appears. Deactivate from the menu bar when you want the keyboard back, or use the emergency stop.
The InputConfig editor for FPS (Xbox), with the left stick rows sending W, A, S and D and the A button row sending Space.
Figure 1. Start from FPS (Xbox) and change only the rows your game does differently.

Start from the FPS (Xbox) layout

Xbox controlSends
Left stickW, A, S, D
Right stickMouse look
RTLeft click (fire)
LTRight click (aim)
ASpace (jump)
BC (crouch)
XR (reload)
Y1
LB4
RBMiddle click
Left stick clickShift, held (sprint)
Right stick clickE (use)
D-pad up and downScroll up and down (next and previous weapon)
D-pad right, leftF, Q
ViewTab (scoreboard)
MenuEscape

That is the built-in FPS (Xbox) preset. Activate it for a shooter with default keys, then change any row the game does differently.

Pick a layout for the job

GoalPreset
First-person game with no pad supportFPS (Xbox): WASD on the left stick, mouse look on the right, triggers click
Run the whole MacDesktop Navigation
Minecraft JavaMinecraft
Study cardsAnki

More than 450 games and apps have a ready layout in the preset library.

Tune each row

Each row's Options can change how its key behaves:

  • Hold. The key stays down only while the button is held, the default.
  • Toggle and turbo. Latch the key until the next press, or repeat it while held.
  • Hold longer or double tap. Do something different on a long press or a double press.
  • Macro. Run a timed sequence of keys.
  • Chord. Require a second button held, for a second layer.
  • Deadzone and curve. On stick rows, so a resting stick sends nothing.

It is all described on the binding editor page.

If the Xbox controller does nothing

Climb this ladder, smallest step first:

  1. Pair it again. Xbox Wireless, Series X|S, One and Elite controllers with Bluetooth pair from System Settings, Bluetooth: hold the pair button on top until the Xbox button flashes quickly. Connecting an Xbox controller has the details and will not connect has the fixes.
  2. Check the cable. A USB cable works from macOS 15 Sequoia on. Before that, use Bluetooth.
  3. Check Accessibility. If the Live Visualizer lights up but no key arrives, switch InputConfig on in System Settings, Privacy & Security, Accessibility.
  4. Check the model. A wired Xbox 360 controller is not supported by macOS, so no mapper can see it. Controller drivers on a Mac explains the options.

What it cannot do

If a game reads the Xbox controller itself while a preset also sends keys, every press arrives twice: use the game's own support there, or the preset, not both. InputConfig also does not create a virtual controller, so it cannot make a keyboard look like an Xbox pad to a game.

The short version

  • Scan and pick. Scan a button, choose Keyboard Key, pick the key.
  • Start close. Use FPS (Xbox) for shooters and Desktop Navigation for the Mac.
  • Stop anytime. Deactivate from the menu bar, or use the emergency stop.

Any key, on any Xbox button, in any app.

Every free controller mapper for Mac is compared on one page.

Questions

Can you map an Xbox controller to keyboard keys on a Mac?

Yes, with a mapper. macOS System Settings cannot send keys. InputConfig can, for every button, stick and trigger, in any app.

Can the Xbox Share button send a key on a Mac?

Yes. Over Bluetooth InputConfig reads Share on every Xbox Series firmware, so a row can give it any key or shortcut. Unless the running preset uses it, it keeps its macOS screenshot shortcut.

Download on the Mac App StoreOpen source on GitHub.

Updated