程序師世界是廣大編程愛好者互助、分享、學習的平台,程序師世界有你更精彩!
首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫知識
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫
 程式師世界 >> 編程語言 >> 更多編程語言 >> 編程解疑 >> android內核-android adb shell getevent -p無法獲得0036?

android內核-android adb shell getevent -p無法獲得0036?

編輯:編程解疑
android adb shell getevent -p無法獲得0036?

下面是獲取到的部分信息:
add device 5: /dev/input/event5
02-10 17:42:12.226 14965 14988 I System.out com.mycompany.myapp7 events:
02-10 17:42:12.226 14965 14988 I System.out com.mycompany.myapp7 0145* 014a*
02-10 17:42:12.236 14965 14988 I System.out com.mycompany.myapp7 0001 : value 0, min 0, max 2214, fuzz 0, flat 0, resolution 0
02-10 17:42:12.256 14965 14988 I System.out com.mycompany.myapp7 002f : value 0, min 0, max 9, fuzz 0, flat 0, resolution 0
02-10 17:42:12.266 14965 14988 I System.out com.mycompany.myapp7 0035 : value 0, min 0, max 1334, fuzz 0, flat 0, resolution 0
02-10 17:42:12.276 14965 14988 I System.out com.mycompany.myapp7 0039 : value 0, min 0, max 65535, fuzz 0, flat 0, resolution 0
02-10 17:42:12.276 14965 14988 I System.out com.mycompany.myapp7 input props:
02-10 17:42:12.286 14965 14988 I System.out com.mycompany.myapp7 add device 6: /dev/input/event6
02-10 17:42:12.286 14965 14988 I System.out com.mycompany.myapp7 events:
02-10 17:42:12.296 14965 14988 I System.out com.mycompany.myapp7 input props:
02-10 17:42:12.316 14965 14988 I System.out com.mycompany.myapp7 add device 7: /dev/input/event7
02-10 17:42:12.391 14965 14988 I System.out com.mycompany.myapp7 events:
02-10 17:42:12.391 14965 14988 I System.out com.mycompany.myapp7 input props:
02-10 17:42:12.391 14965 14988 I System.out com.mycompany.myapp7 add device 8: /dev/input/event2
02-10 17:42:12.396 14965 14988 I System.out com.mycompany.myapp7 events:
02-10 17:42:12.396 14965 14988 I System.out com.mycompany.myapp7 0005 : value 0, min -32768, max 32767, fuzz 0, flat 0, resolution 0
02-10 17:42:12.401 14965 14988 I System.out com.mycompany.myapp7 0007 : value 0, min 0, max 3, fuzz 0, flat 0, resolution 0

最佳回答:


解決方法是用read而不是readline

  1. 上一頁:
  2. 下一頁:
Copyright © 程式師世界 All Rights Reserved