# For unibuild devices, refer to chromeos-config for whether to enable touchpad | |
# wakeup or not. Default value is in 92-powerd-tags.rules. | |
ENV{POWERD_ROLE}=="internal_touchpad", KERNEL=="input*", \ | |
PROGRAM="/usr/bin/cros_config /power touchpad-wakeup" | |
RESULT=="1", ENV{POWERD_TAGS_WAKEUP}="wakeup wakeup_only_when_usable" | |
RESULT=="0", ENV{POWERD_TAGS_WAKEUP}="wakeup wakeup_disabled" |