Skip to content

BlissOS/platform_packages_apps_Inputctl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Inputctl

A sophisticated input hardware management tool for Android. Made for BlissOS first and foremost.

Features

  • Manual Blacklist inputs with 2 modes:
    • Soft Blocking: apply InputManager.disableInputDevice() at boot or on click. This method is quick & immediately, however because it rely on a service to disable the input at boot, inputs will still be active until the service kick in.
    • Hard Blocking: basically create an xml that is equivalent to excluded-input-devices.xml file. This method provide a more robust blocking. However you'll have to reboot the device whenever you're done selecting inputs.
  • Automatically disable inputs using Tablet Mode Switch:
    • Convertible 2-in-1 laptops with touchscreens usually provide a sensor. On Linux this sensor provides an input event called SW_TABLET_MODE that can be used to detect whenever the laptop is being flipped or not to automatically disable some components such as the internal keyboard, touchpad or trackpoint. We brought this same mechanism to Inputctl, but inputs have to choose manually.
  • Show a toast whenever the device is flipped to indicate that X inputs has been disabled.
  • You can find the app under Settings => System => Inputctl.

Integration

  • Sync this repo to packages/apps/Inputctl.
  • Add Inputctl to your PRODUCT_PACKAGES:
PRODUCT_PACKAGES += \
    Inputctl

License

This is an open-source project by BlissLabs (https://blisslabs.org), released and protected under the Apache License 2.0.

Copyright © 2026 BlissLabs.

About

A sophisticated input hardware management tool for Android.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages