参考:
https://www.cnblogs.com/blogs-of-lxl/p/9490205.html
https://blog.csdn.net/u012719256/article/details/52252647
https://my.oschina.net/chenshouyong/blog/94147
案例一:
蓝牙遥控器连接蓝牙后,按键无反应:
getevent 发现按键无上报
Kernel层:
1、drivers/hid/hid-input.c 驱动中增加对用类别的的key
此蓝牙遥控器为0X0C consume类别,故在 case HID_UP_CONSUMER: /* USB HUT v1.12, pages 75-84 */里面增加:
case 0x20c: map_key_clear(KEY_VOICE_ASSIST); break;
case 0x0d