Skip to content

Input and Actions

sameerasw edited this page Aug 9, 2026 · 1 revision

👆 Input & Actions

The Input group covers hardware input customization — button remapping, flashlight controls, keyboard settings, and pocket protection.


Button Remap

ID: Button remap
Permissions: ACCESSIBILITY, SHIZUKU or ROOT
Toggle: Yes

Remap hardware buttons (volume keys, power button long-press) to custom actions. Uses the Accessibility Service to intercept key events and Shizuku/Root to inject new ones.

Settings

Setting Key Description
Enable remapping enable_remap Master toggle
Haptic feedback remap_haptic Vibrate when a remap triggers
Flashlight toggle flashlight_toggle Map volume-down long-press to flashlight
Pocket detection flashlight_options Only trigger when not in pocket

Supported Actions

  • Flashlight toggle
  • Screenshot
  • Notification shade open
  • Media play/pause, skip

Notes

  • Root is required for some key injection methods. Shizuku works for most actions.
  • The remap happens through InputEventListenerService.

Flashlight

ID: Flashlight
Sub-feature of: Input group

Enhanced flashlight control with brightness adjustment and smooth fade-in/fade-out transitions. Opens a dedicated settings screen.

Settings

  • Brightness level — fine-grained intensity control (on supported devices)
  • Fade in/out — smooth torch on/off animation
  • Global fade effect — applies the fade when any app turns on the torch

Also available as: Flashlight QS tile

Full brightness control directly from the QS tile.


System Keyboard

ID: System Keyboard
Sub-feature of: Input group

Customize the appearance and feel of the default Android system keyboard (AOSP IME / Gboard layout).

Settings

Setting Key Description
Keyboard height keyboard_height Adjust the keyboard height (% of screen)
Bottom padding keyboard_bottom_padding Space between keyboard and nav bar
Haptic feedback keyboard_haptics Enable/disable keyboard key vibration

Notes

  • These settings use Essentials' own IME extension or modify keyboard settings that are globally applied.
  • Only affects the system keyboard — third-party keyboards like Gboard have their own settings.

Link Actions

ID: Link actions
Sub-feature of: Input group

(Coming soon / Early preview) — Intercept links opened in default apps and redirect them to specific targets or perform custom actions.

Current Status

This feature is present in the registry but the toggle is always disabled — it's a placeholder for upcoming functionality.


Pocket Mode

ID: Pocket mode
Permissions: ACCESSIBILITY
Non-Pixel only

Blocks accidental screen-on and touch events when the device is in your pocket, detected via proximity sensor and accelerometer.

Settings

  • Enable/disable per-app
  • Sensitivity

Notes

  • Disabled automatically on Google Pixel devices, which have native pocket detection in the OS.
  • Implemented via ScreenOffAccessibilityService monitoring proximity/orientation sensor events.

Clone this wiki locally