Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

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

59

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
59
Posted at 1/26/2015 16:20:30        Only Author  1#

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

Hi, How to implement one-key Screenshot via a IR remote or Air-mouse key, instead of clicking the Screenshot icon ???

Reply

Use props Report

10

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
10
Posted at 1/29/2015 11:19:31        Only Author  2#

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

this is a simple for add one-key Screenshot via our remote,you can test in adb:adb shell input keyevent  250
If you want to use your remote,you can change the remote .kl and add REMOTE_SCREENSHOT like
--- a/frameworks/base/data/keyboards/Vendor_0482_Product_5738.kl(just a example.Vendor_0482_Product_5738.kl is our remote,you need change your remote.kl)
+++ b/frameworks/base/data/keyboards/Vendor_0482_Product_5738.kl
@@ -213,7 +213,7 @@ key 188   TV_MEDIA_MULT_FORWARD
# key 191   F21
# key 192   F22
# key 193   F23
-key 194   EXPLORER
+key 194 REMOTE_SCREENSHOT
# key 195 (undefined)
# key 196 (undefined)
# key 197 (undefined)

0001-one-key-Screenshot-for-remote.patch.zip

1.86 KB, Down times: 0

Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list