Advertisement
Guest User

Sweep2wake/sleep Key Configuration

a guest
Sep 20th, 2012
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. #!/system/bin/sh
  2. # Sweep2wake/sleep Key Configuration
  3. #
  4. # Start Key
  5. #
  6. # HOME
  7. # MENU
  8. # BACK
  9. #
  10. # End Key
  11. #
  12. # SRCH
  13. # BACK
  14. # MENU
  15. #
  16.  
  17. if [ -e /sys/android_touch/sweep2wake_startbutton ] ; then
  18. echo "Start Key -HOME-"
  19. echo 'BACK' > /sys/android_touch/sweep2wake_startbutton
  20. else
  21. echo "Start Key Not Found"
  22. fi
  23.  
  24. if [ -e /sys/android_touch/sweep2wake_endbutton ] ; then
  25. echo "End Key -SEARCH-"
  26. echo 'SRCH' > /sys/android_touch/sweep2wake_endbutton
  27. else
  28. echo "End Key Not Found"
  29. fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement