#!/bin/sh
# Beautifully simple shell script to detect screen touches
# I use it to toggle the music player on my FriendlyARM 2440 Mini
# but it can be used for any Linux touch screen
# but it can be used for any Linux touch screen
# Copyleft 2011 - t-Omicr0n
while true; do
head -c 1 /dev/input/event0
echo "You touched it !"
done &
Geen opmerkingen:
Een reactie posten