android getevent读取log


   
  shell@android:/ $ getevent
  
add device 1: /dev/input/event5
name: "ts_test_input"
add device 2: /dev/input/event4
name: "7k_handset"
add device 3: /dev/input/event3
name: "sensors_aps"
add device 4: /dev/input/event2
name: "sensors"
add device 5: /dev/input/event1
name: "synaptics"
add device 6: /dev/input/event0
name: "fluid-keypad"
/dev/input/event0: 0004 0004 00000001
/dev/input/event0: 0001 0072 00000001
/dev/input/event0: 0000 0000 00000000
/dev/input/event0: 0004 0004 00000001
/dev/input/event0: 0001 0072 00000000
/dev/input/event0: 0000 0000 00000000

Android jni

kasim28 12 years, 10 months ago

相当于用c语言写个监控程序,哪个给看下?可以参见这个,看下什么是getevent: http://blog.csdn.net/lichaoandy/article/details/6565893

loli控. answered 12 years, 10 months ago

Your Answer