Key Remapping
Tap Add new mapping to remap an input key, then press the key you want to remap. The following window displays on screen.

- Scancode represents the physical location of a keyboard key.
- Meta states represents modifier key. Default is None. Select a mapping type and tap Next.
Keycode remap
Map the selected key to a new function.
Tap the arrow to open a menu and select the new function you want to assign to the selected key.
Tap Select meta states (optional) to add a modifier key (such as SHIFT, CTRL, or ALT).

Tap OK. A window displays showing the new keymap.

Tap Next to confirm.

Text remap
Map the selected key to a desired text or a character.
Type a character or string. Tap Back to hide the virtual keyboard an then and tap OK to confirm.

A window displays showing the new keymap.

Tap Next to confirm.

Intent remap
Map the selected key to a specific action. This action can be a start activity intent for launching an application, a user defined intent or an intent including a URI (Uniform Resource Identifier).
Select an application
Tap Select an application, then select an application loaded on your device. Tap OK to confirm.

A window displays showing the new keymap.

Tap Next to confirm.

Advanced configuration
Configure a complex behavior for various events of the selected key. For each of them, you can add one or more actions to be run when the corresponding event is detected.
Advanced mapping time configuration
This section defines the timings for different press types.
- Long Press Timeout: the minimum duration for a press to be recognized as a long press gesture (default: 500 ms).
- Very Long Press Timeout: the minimum duration for a press to be recognized as a very long press gesture (default: 5000 ms).
- Maximum interval between DOWN and UP of a multiple press: the maximum time allowed between pressing a key (DOWN) and releasing it (UP) for it to be considered part of a double press (default: 200 ms).
- Maximum break time between consecutive presses of a multiple press: the maximum time allowed between the first release (UP) and the second press (DOWN) for it to be considered a double press (default: 200 seconds).
Mapping policies
This section defines when the assigned actions are triggered.
- Everytime press: actions trigger every time the key is pressed.
- Everytime release: actions trigger every time the key is released.
- On long press: actions trigger when the key is held down for the Long Press Timeout duration.
- On a very long press: actions trigger when the key is held down for the Very Long Press Timeout duration.
- On single press: actions trigger with a quick press and release. This is the standard behavior.
- On double press: actions trigger after a double press (within the defined timing parameters).
For each policy you can add one or more actions to be performed. There can even be delays between these actions (e.g., a long press could trigger action A, then after a short delay, trigger action B).

A window displays showing the new keymap.

Tap Next to confirm.

View All Remapped Keys
Tap View all remapped keys to display all remapped keys. Tap the Edit icon to edit an entry. Tap the Dustbin icon to remove an entry.

Key Mapping Reset
Resets all the remapped keys default.

For more details, refer to the Key Remapping section of Scan2Deploy documentation.