Skip to content

Key Mapper

Android app that remaps volume keys, gamepad buttons and on-screen buttons to custom

Copyleft (OSI) · GPL-3.0
  • Android

Listed by , founder & editor

80

Health

Thriving

Overview

Stars

2,862

Last commit

4 days ago

Nov 2026

Repository age

8 years

since Jul 2018

Latest version

v4.7.1

Nov 2026

Contributors

–

2 active in 90 days

Releases

23

last 12 months

Language

Kotlin

Key Mapper is an Android app that lets you change what the physical buttons on your phone and connected devices do. It handles volume and side keys, game controller buttons such as the D-pad and ABXY, keyboards, mouse buttons, headset buttons and the fingerprint sensor. Joysticks and gamepad triggers are not supported yet.

Each key map has a trigger, one or more actions and optional constraints. Triggers can be a long press, a double press, repeated presses or a combination of keys from different devices. You can choose from over 100 actions, including screen taps, gestures, keyboard input, opening apps, media control and sending intents to other apps. You can set the delay between actions and repeat them. Constraints limit a map to a specific app, to when media is playing or to the lockscreen.

If your device has too few keys, you can design on-screen button layouts and remap those too. The app is written in Kotlin, uses Android's accessibility service, is licensed GPL-3.0 and is available through F-Droid. It does not replace a specific commercial product.

Who it's for

Android users with worn or missing hardware buttons

You can assign the function of a broken or unused key to another button.

Skip if: You only need a different on-screen keyboard layout, since this remaps keys rather than providing a typing keyboard.

Mobile gamers using Bluetooth controllers

It maps D-pad and face buttons to taps, gestures or other actions in apps.

Skip if: Your game depends on joysticks or triggers, which are not supported.

Power users who automate repetitive phone tasks

Macros with delays, repeats and per-app constraints can speed up slow routines.

Skip if: You want full scripting or conditional logic beyond triggers, actions and constraints.

The problem it solves

Phone buttons, headset buttons and controller keys have fixed behavior, and you cannot change them in standard Android settings. Key Mapper lets you assign your own shortcuts and macros to them.

Strengths

  • Supports phone keys, gamepads, keyboards, mice, headsets and the fingerprint sensor
  • Over 100 actions, including taps, gestures, intents and media control
  • Triggers include long press, double press and multi-key combinations
  • Constraints restrict a map to an app, media playback or the lockscreen
  • GPL-3.0 licensed, on F-Droid, with 23 releases in the past year

Trade-offs

  • Gamepad joysticks and triggers are not supported
  • Android only, with no desktop or iOS version
  • Relies on the accessibility service, which requires granting broad permissions
  • Only 2 contributors were active in the last 90 days

Frequently asked questions

Is Key Mapper free and open source?

Yes. It is licensed under GPL-3.0 and the source is on GitHub.

Which platforms does it run on?

Android only.

Where can I get it?

It is available on F-Droid, and the source is on GitHub.

Can it remap gamepad triggers?

Not currently. Joysticks and triggers (LT, RT) are not supported, but D-pad and ABXY buttons are.

Similar tools in Keyboards and input methods

Hacker's Keyboard

Keyboards and input methods

Android on-screen keyboard with arrow, Tab, Ctrl and Esc keys for SSH and terminal use

2.5k 603 2 years ago Dormant Apache-2.0

ADBKeyBoard

Keyboards and input methods

Android keyboard that accepts text and Unicode from adb for device testing and automation

2k 405 4 months ago Slowing GPL-2.0

Thumb-Key

Keyboards and input methods

Android keyboard with a 3x3 thumb-friendly layout for people who want no word prediction

1.6k 346 2 days ago Thriving AGPL-3.0

Xime IME

Keyboards and input methods

Android Wubi and Pinyin keyboard on the Rime engine, with plugins and offline voice input

1.4k 119 today Active GPL-3.0

LeanType

Keyboards and input methods

Privacy-focused Android keyboard with optional AI proofreading, voice typing and OCR

1.2k 80 today Active GPL-3.0