Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请指教一下~ #7

Open
sj8023ld opened this issue Oct 27, 2012 · 1 comment
Open

请指教一下~ #7

sj8023ld opened this issue Oct 27, 2012 · 1 comment

Comments

@sj8023ld
Copy link
Contributor

更换新的触摸方式之后某些机型触摸无效,请指教。。
另外,input_filter这一功能是不是有关与触摸的?我通过getevent获取了如下数据:

add device 1: /dev/input/event8
name: "atdaemon"
add device 2: /dev/input/event1
name: "pm8058-keypad"
add device 3: /dev/input/event7
name: "compass"
add device 4: /dev/input/event6
name: "simple_remote_appkey"
add device 5: /dev/input/event5
name: "simple_remote"
add device 6: /dev/input/event4
name: "apds9702"
add device 7: /dev/input/event3
name: "bma150"
add device 8: /dev/input/event2
name: "clearpad"
add device 9: /dev/input/event0
name: "msm_pmic_pwr_key"
/dev/input/event3: 0003 0001 fffffff6
/dev/input/event3: 0003 0028 00000056
/dev/input/event3: 0000 0000 00000000
/dev/input/event3: 0003 0028 00000055
/dev/input/event3: 0000 0000 00000000
/dev/input/event3: 0003 0002 00000082
/dev/input/event3: 0003 0028 00000056
/dev/input/event3: 0000 0000 00000000
/dev/input/event3: 0003 0002 00000083
/dev/input/event3: 0000 0000 00000000
/dev/input/event3: 0003 0000 00000002
/dev/input/event3: 0003 0028 00000055
/dev/input/event3: 0000 0000 00000000
/dev/input/event7: 0003 0003 000047fc
/dev/input/event7: 0003 0004 fffffeec
/dev/input/event7: 0003 0005 00000036
/dev/input/event7: 0003 0007 00000001
/dev/input/event7: 0003 0000 ffffffc7
/dev/input/event7: 0003 0001 fffffff5
/dev/input/event7: 0003 0002 fffffd0d
请问除了dev/input/event2还有哪些是有效的?
谢谢!

@dennise
Copy link
Contributor

dennise commented Oct 29, 2012

还有event1和event2有效,这个在默认情况下是全部打开的,但是在个别机型上有的event的数据的上报会影响触摸,所以加了intent_fileter的功能,如HUAWEI P1, HUAWEI D1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants