我以为这个文件没有用,在keylayoutmap时候会用到
E/KeyLayoutMap( 1382): //system/usr/keylayout/Vendor_0001_Product_0001.kl:405: Expected key code label, got 'uRECALLq'.
I/EventHub( 1382): New device: id=3, fd=103, path='/dev/input/event1', name='Hi keyboard', classes=0x43, configuration='', keyLayout='/system/usr/keylayout/Generic.kl', keyCharacterMap='/system/usr/keychars/Generic.kcm', builtinKeyboard=false
D/EventHub( 1382): No input device configuration file found for device 'Hi3716_keypad'.
E/KeyLayoutMap( 1382): /system/usr/keylayout/Vendor_0001_Product_0001.kl:405: Expected key code label, got 'uRECALLq'.
查看KeyLayoutMap.cpp文件,是根据kl文件里面定义的第三列的值, key 211 qq,此处的qq去 keycodelabels.h里面定义的数组进行查找,如果找不到就会报这个错误。
一直以为是kl文件给写错了,看来不是啊。