Announcement

Collapse
No announcement yet.

Announcement

Collapse
No announcement yet.

How to customize key mapping with MK808 custom ROM 1.6?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How to customize key mapping with MK808 custom ROM 1.6?

    Hi, I have an MK808 dongle, which flashed the Finless custom ROM 1.6,
    and
    a fly-mouse remote control.

    The remote with several keys working like volume up/down, arrow keys, however, it's not recognized as a external keyboard, some other buttons don't work.
    As I tested it on my linux, it sends general keyboard scan codes, I want to enable the key functions like HOME, MENU, MUTE.
    I have tried to edit the .kl files under /system/usr/keyboardLayout, (Generic.kl / rk29*.kl) but seems no effect...

    Where I can edit the internal key mappings, or it's not possible?

    #2
    Re: How to customize key mapping with MK808 custom ROM 1.6?

    Works on my MX 1 and RC 11 air mouse. How did you get key codes?

    Comment


      #3
      Originally posted by fr0d0 View Post
      Works on my MX 1 and RC 11 air mouse. How did you get key codes?
      showkeys -s

      shows that
      HOME: 0xe0 0x47
      MUTE: 0xe0 0x20
      MENU: 0xe0 0x5b (left WIN)

      actually I don't know how to transfer these with 0xe0 prefix into .kl scan code value, but there are other examples with these keys,
      I've just tried

      113 VOLUME_MUTE
      102 HOME
      229 MENU
      139 MENU
      59 MENU
      ...

      Comment


        #4
        Re: How to customize key mapping with MK808 custom ROM 1.6?

        I think think this is the app I used:

        Comment


          #5
          I am moving this to MK808 forum and will leave a 1 week redirect from here.


          Bob
          "Pzebacz im, bo nie wiedzą, co czynią"
          "Прости им, они не ведают, что творят"
          "Perdona loro perché non sanno quello che fanno"
          "Vergib ihnen, denn sie wissen nicht, was sie tun"
          "Vergeef hen want ze weten niet wat ze doen"
          "Pardonne-leur car ils ne savent pas ce qu'ils font"
          "Perdónalos porque no saben que lo que hacen"
          "Oprosti im, jer ne znaju što čine"
          "Forgive them as they know not what they do"





          Comment


            #6
            Originally posted by fr0d0 View Post
            I think think this is the app I used:

            https://github.com/chrisboyle/keytest/downloads
            Thanks frodo,
            by modifying Generic.kl, HOME & MENU works, but MUTE doesn't, either I set it to MUTE or VOLUME_MUTE
            scan code 113, normal like in all these .kl files.

            so does it mean that 4.1 doesn't have the key function MUTE??
            what about yours?

            Comment


              #7
              On the Logitech K260 wireless keyboard the mute key (special key) doesn't work. Don't think Android 4.1 recognises the mute key, maybe Android 4.2 does?

              Strangely when the stock ROM was used on the MK802 IIIS the mute key did work, not sure how that is possible . Maybe the manufacturer (Rikomagic) has added in the support for Android?

              Comment

              Working...
              X