summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2024-05-31 15:59:10 +0200
committerLee Jones <lee@kernel.org>2024-06-21 11:57:17 +0100
commit6f963a20eed72b9abb54754cc935ce546b66b451 (patch)
tree880f589a29171ee03287e48c50ca82c5fe4ab95c /scripts/gdb/linux/utils.py
parentce068e83976140badb19c7f1307926b4b562fac4 (diff)
leds: trigger: Add new LED Input events trigger
Add a new trigger which turns LEDs on when there is input (/dev/input/event*) activity and turns them back off again after there has been no activity for 5 seconds. This is primarily intended to control LED devices which are a backlight for capacitive touch-buttons, such as e.g. the menu / home / back buttons found on the bottom bezel of many somewhat older smartphones and tablets. This can also be used to turn on the keyboard backlight LED on input events and turn the keyboard backlight off again when idle. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Link: https://lore.kernel.org/r/20240531135910.168965-2-hdegoede@redhat.com Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions