Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/system/bin/sh
- # Sweep2wake/sleep Key Configuration
- #
- # Start Key
- #
- # HOME
- # MENU
- # BACK
- #
- # End Key
- #
- # SRCH
- # BACK
- # MENU
- #
- if [ -e /sys/android_touch/sweep2wake_startbutton ] ; then
- echo "Start Key -HOME-"
- echo 'BACK' > /sys/android_touch/sweep2wake_startbutton
- else
- echo "Start Key Not Found"
- fi
- if [ -e /sys/android_touch/sweep2wake_endbutton ] ; then
- echo "End Key -SEARCH-"
- echo 'SRCH' > /sys/android_touch/sweep2wake_endbutton
- else
- echo "End Key Not Found"
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement