NO.245 · Geek & System

Key Mapper

Rewrites the volume and headset buttons

Package · check this against the real thingio.github.sds100.keymapper
Developersds100
LicenceGPL-3.0
PlatformAndroid
PriceFree
VerdictKey Mapper is the most thorough answer to a worn-out volume key or an unused headset button, provided you enjoy defining triggers.

Why it stayed obscure

You have to combine triggers, actions and constraints in a small editor, and accept accessibility and background permissions before the first mapping works.

What it actually does

Key Mapper intercepts physical key events, from volume rockers and headset buttons to keyboards and gamepads, and maps them to actions. A trigger can be a single press, a double press, a long press or a combination held across devices; an action can launch an app, send key events, toggle a setting, run a shell command or chain several of them, with constraints such as the current app. Profiles hold alternative layouts. Everything is local, and nothing needs root.

Core features

  • Single, double, long and combined key triggers
  • Actions: launch, key events, settings, shell
  • Constraints on the app, screen state and time
  • Profiles for different setups and devices

Who it is for

  • Your volume key is worn out and needs a substitute
  • You want the headset button to skip tracks
  • You are mapping buttons on an accessibility device

Before you install

NoteIt needs accessibility and background permissions, mappings can collide with shortcuts another app already uses, and a bad action list can leave a key apparently dead.

Download

This edition links to F-Droid where the app is published there, and to the developer's own page otherwise. Nothing is mirrored here. If an app is offered through several channels, keep one: the signatures differ and the system will refuse to update across them.

The package name io.github.sds100.keymapper is the most reliable way to check authenticity: confirm it in the system installer before installing, then compare the developer name with the table above.

Questions

Can it remap gestures?

Not really. It works on physical key and button events; swipe gestures belong to launchers and gesture apps, though a mapped key can trigger one indirectly through a shortcut.

What happens if a mapping breaks a key?

Disable the mapping, or the app's accessibility service in system settings, and the key returns to its normal behaviour. Keep a route into settings that does not depend on the key you just broke.