关于红外遥控器

想问下,rkxx_remotectl.kl是用于将Linux层获取的键值映射到android上对应键值,我怎样动态的知道红外线那个键按下了?

adb shell getevent

好,谢谢!我研究下