Hisilicon 适配新遥控器
适配NEC红外遥控器:
相关文档:
Android解决方案开发指南:输入
红外驱动使用说明及注意事项 Application Notes
HMS 开发指南:IR
HMS sample 使用指南:IR
1、查看公版遥控器
sample_ir 没有此命令,不是没有编译打开,而是名字变成ir_user:out/target/product/Hi3751V350/vendor/bin/ir_user
公版遥控器ok键 #getevent /dev/input/event0: 0001 001c 00000001 /dev/input/event0: 0000 0000 00000000 /dev/input/event0: 0001 001c 00000000 /dev/input/event0: 0000 0000 00000000 # ./ir_user Create ir sample thread, press q to exit! Received key: 0x31ceff00, UP, protocol: nec simple uPD6121G like.
whitesky IR remote: # ./ir_user Received key: 0x609f4977, UP, protocol: nec simple uPD6121G like. Received key: 0x619e4977, DOWN, protocol: nec simple uPD6121G like. Received key: 0x956a4977, UP, protocol: nec simple uPD6121G like. Received key: 0x629d4977, UP, protocol: nec simple uPD6121G like. Received key: 0x649b4977, D