Skip to content

Commit

Permalink
Merged in jb39388_doubletap (pull request #36)
Browse files Browse the repository at this point in the history
Add doubletap related mce configuration files

Approved-by: Andrew Branson <andrew.branson@jollamobile.com>
Approved-by: Matti Kosola <matti.kosola@jollamobile.com>
  • Loading branch information
spiiroin authored and Matti Kosola committed Sep 13, 2017
2 parents af01977 + 5dc32c0 commit 422b07b
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions sparse/etc/mce/60-doubletap-f5121.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/system/osso/dsm/doubletap/mode=0
15 changes: 15 additions & 0 deletions sparse/etc/mce/60-doubletap-f5121.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[EVDEV]
# Interpret KEY_WAKEUP as if it were KEY_POWER.
# When received from touchscreen input device it will
# then be handled as double tap wakeup within mce.
KEY_WAKEUP=KEY_POWER

[DoubleTap]
# Path to doubletap wakeup control file
ControlPath=/sys/class/input/event5/device/wakeup_gesture

# Value to write when enabling doubletap wakeups
EnableValue=1

# Value to write when Disabling doubletap wakeups
DisableValue=0

0 comments on commit 422b07b

Please sign in to comment.