potter: set double tap to wake node
Change-Id: Ib8f3bf7497deb3730b28e9805713bac68646981d
This commit is contained in:
@@ -88,6 +88,7 @@ BOARD_NO_CHARGER_LED := true
|
||||
|
||||
# CMHW
|
||||
BOARD_USES_CYANOGEN_HARDWARE := true
|
||||
TARGET_TAP_TO_WAKE_NODE := "/sys/android_touch/doubletap2wake"
|
||||
BOARD_HARDWARE_CLASS += $(DEVICE_PATH)/cmhw
|
||||
|
||||
# Crypto
|
||||
|
||||
@@ -202,6 +202,10 @@ on boot
|
||||
chown system system /sys/homebutton/key_left
|
||||
chown system system /sys/homebutton/key_right
|
||||
|
||||
# Wake Gestures
|
||||
chown system radio /sys/android_touch/doubletap2wake
|
||||
chmod 0660 /sys/android_touch/doubletap2wake
|
||||
|
||||
# Display
|
||||
chown system graphics /sys/class/graphics/fb1/hpd
|
||||
chmod 0664 /sys/class/graphics/fb1/hpd
|
||||
|
||||
Reference in New Issue
Block a user