Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/system/bin/sh
- # get the name of each input device on Android
- # ROOT NEEDED
- ls /sys/class/input/event*/device/name|
- while read d;
- do
- echo -en "$d\t"
- cat $d
- done| sed 's|/sys/class/input/||g;s|/device/name||g' #|sort -V #sorting is slow
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement