概述
首先输入Command查看你的input配置~
adb shell dumpsys input
下面给出我设备输出的一部分!!
INPUT MANAGER (dumpsys input) Event Hub State: BuiltInKeyboardId: -2 Devices: -1: Virtual Classes: 0x40000023 Path: <virtual> Descriptor: a718a782d34bc767f4689c232d64d527998ea7fd Location: UniqueId: <virtual> Identifier: bus=0x0000, vendor=0x0000, product=0x0000, version=0x0000 KeyLayoutFile: /system/usr/keylayout/Generic.kl KeyCharacterMapFile: /system/usr/keychars/Virtual.kcm ConfigurationFile: HaveKeyboardLayoutOverlay: false 2: 7k_handset Classes: 0x00000081 Path: /dev/input/event3 Descriptor: 485d69228e24f5e46da1598745890b214130dbc4 Location: UniqueId: Identifier: bus=0x0000, vendor=0x0001, product=0x0001, version=0x0001 KeyLayoutFile: /system/usr/keylayout/7k_handset.kl KeyCharacterMapFile: /system/usr/keychars/Generic.kcm ConfigurationFile: HaveKeyboardLayoutOverlay: false 3: 7x27a_kp Classes: 0x00000001 Path: /dev/input/event2 Descriptor: 69d9f17876369ab4fac2735426d3bc23660247c4 Location: UniqueId: Identifier: bus=0x0000, vendor=0x0000, product=0x0000, version=0x0000 KeyLayoutFile: /system/usr/keylayout/7x27a_kp.kl KeyCharacterMapFile: /system/usr/keychars/7x27a_kp.kcm ConfigurationFile: HaveKeyboardLayoutOverlay: false 4: Fts-touchscreen Classes: 0x00000015 Path: /dev/input/event1 Descriptor: af69cada3c01369f38b564c8bd34be115723d040 Location: UniqueId: Identifier: bus=0x0000, vendor=0x0000, product=0x0000, version=0x0000 KeyLayoutFile: /system/usr/keylayout/Generic.kl KeyCharacterMapFile: /system/usr/keychars/Generic.kcm ConfigurationFile: /system/usr/idc/Fts-touchscreen.idc HaveKeyboardLayoutOverlay: false
从上面可以看到"4: Fts-touchscreen",这货就是我的触摸屏啦(??? )
我们看下他的配置文件,就是这货"ConfigurationFile: /system/usr/idc/Fts-touchscreen.idc"
提示下,如果配置文件那显示为空的话,你就直接用你触摸屏的名字就行了,比如我的就是这样!!!
然后我们把官方包里面的/system/usr/idc/Fts-touchscreen.idc给替换过去就搞定了
最后
以上就是故意彩虹为你收集整理的Android触摸屏配置调试的全部内容,希望文章能够帮你解决Android触摸屏配置调试所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复