-
-
Notifications
You must be signed in to change notification settings - Fork 56
Input and Actions
The Input group covers hardware input customization — button remapping, flashlight controls, keyboard settings, and pocket protection.
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.
| 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 |
- Flashlight toggle
- Screenshot
- Notification shade open
- Media play/pause, skip
- Root is required for some key injection methods. Shizuku works for most actions.
- The remap happens through
InputEventListenerService.
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.
- 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
Full brightness control directly from the QS tile.
ID: System Keyboard
Sub-feature of: Input group
Customize the appearance and feel of the default Android system keyboard (AOSP IME / Gboard layout).
| 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 |
- 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.
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.
This feature is present in the registry but the toggle is always disabled — it's a placeholder for upcoming functionality.
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.
- Enable/disable per-app
- Sensitivity
- Disabled automatically on Google Pixel devices, which have native pocket detection in the OS.
- Implemented via
ScreenOffAccessibilityServicemonitoring proximity/orientation sensor events.