Firefly开源社区

打印 上一主题 下一主题

How to implement one-key Screenshot via a IR remote or Air-mouse hot key

106

积分

0

威望

0

贡献

技术小白

积分
106

How to implement one-key Screenshot via a IR remote or Air-mouse hot key

发表于 2015-1-26 16:54:22      浏览:7484 | 回复:5        打印     [复制链接] 楼主
Hi, How to implement one-key Screenshot via a IR remote or Air-mouse hot key, instead of clicking the Screenshot icon ???
回复

使用道具 举报

106

积分

0

威望

0

贡献

技术小白

积分
106
发表于 2015-1-28 10:05:43      沙发
Thank you for your reply.
How to add a Android key to send the Intent ???
回复

使用道具 举报

106

积分

0

威望

0

贡献

技术小白

积分
106
发表于 2015-1-29 11:32:55      板凳
Hi, Thank you for your patch.

I found the RK3288 platform source code already support ScrrenShot for Android key SYSRQ (the traditional PC keyboard's PrtScr/SysRq key). You can see frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java.
So, i just add SYSRQ in the .kl, and change a IR key mapping for the key. It work!
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表