Hello guys.
I've purchased recently MX3 (some variant) and was trying to mod it to suit my needs.
Sorry, if I'm posting something obvious, but I don;t have time to read this whole thread, but maybe you forgive me, as I believe I solved *MOST* of the problems.
First of all, I'm running Windows KODI. It's important, because you need AutoHotKey (AHK) in order to remap some keys.
So far, I discovered, that several buttons already have KODI tags.
So, you may use some of them directly in "keyboard.xml".
These are:
Code:
<keymap>
<global>
<keyboard>
<!-- ======================================== -->
<!-- MX3 Remote Control Special Keys section -->
<!-- ======================================== -->
<!-- [loupe / F3] -->
<!-- <f3>Notification(Key, f3, 3)</f3> -->
<!-- [blue menu] -->
<!-- <menu>Notification(Key, menu, 3)</menu> -->
<!-- <key id="61656">Notification(Key, Blue Menu, 2)</key> -->
<!-- [PG+] -->
<!-- <pageup>Notification(Key, pageup, 3)</pageup> -->
<!-- [PG-] -->
<!-- <pagedown>Notification(Key, pagedown, 3)</pagedown> -->
<!-- [pseudo-Windows key (four squares)] -->
<!-- <f2>Notification(Key, f2, 3)</f2> -->
<!-- [DEL] -->
<!-- <backspace>Notification(Key, backspace, 3)</backspace> -->
<!-- [red key / F4] -->
<!-- <f4>Notification(Key, f4, 3)</f4> -->
<!-- [green key / F5] -->
<!-- <f5>Notification(Key, f5, 3)</f5> -->
<!-- [yellow key / F6] -->
<!-- <f6>Notification(Key, f6, 3)</f6> -->
<!-- [blue key / F7] -->
<!-- <f7>Notification(Key, f7, 3)</f7> -->
<!-- ========================= -->
<!-- long-pressed modification -->
<!-- ========================= -->
<!--
<pageup mod="longpress">Notification(Key, pageup LONG, 3)</pageup>
<pagedown mod="longpress">Notification(Key, pagedown LONG, 3)</pagedown>
-->
</keyboard>
</global>
</keymap>
BUT, what is MORE important, I've figured out how to remap *most* of the keys using AHK.
Some of the keys seems to be not responding (at least I didn't find them in any way).
These are missing:
- previous
- next (but these two are already working in Kodi as FastFoward and Rewind, so...)
- zoom+
- zoom-
- Internet Explorer (blue)
Rest of them can be remapped.
All of the keystrokes are put as remarks, so they don't do nothing now.
If you need to remap them, just remove ";" and add needed keystroke after "::".
For example, if you want to remap [rewind] as F6, make it like this and then map F6 key in "keyboard.xml" KODI file to activate particular action.
Code:
; VKB1::
=======>
VKB1::F6
Code:
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
; *************************************************************************
; MX3 REMOTE CONTROL KEYCODES
; 1st line: [key name]
; 2nd line: Virtual Key code
; 3rd line: keystroke name
; 4th line: (optional) additional code - I don't know how to make use of it
; *************************************************************************
; [rewind]
; VKB1::
; Media_Prev::
; [fastforward]
; VKB0::
; Media_Next::
; [previous]
;
;
; WM_APPCOMMAND 50
; [next]
;
;
; WM_APPCOMMAND 49
; [loupe / F3]
; VK72::
; F3::
; [play/pause]
; VKB3::
; Media_Play_Pause::
; [zoom+]
;
;
; [zoom-]
;
;
; [blue menu]
; VK5D::
; AppsKey::
; [blue home]
; VKAC::
; Browser_Home::
; WM_APPCOMMAND 7
; [blue back]
; RButton::
;
; [VOL+]
; VKAF::
; Volume_Up::
; [VOL-]
; VKAE::
; Volume_Down::
; [MUTE]
; VKAD::
; Volume_Mute::
; [PG+]
; VK21::
; PgUp::
; [PG-]
; VK22::
; PgDn::
; [movie clip / multimedia key]
; VKB5::
; Launch_Media::
; WM_APPCOMMAND 16
; [(!) in the box]
; VKB4::
; Launch_Mail::
; WM_APPCOMMAND 15
; [pseudo-Windows key (four squares)]
; VK71::
; F2::
; [DEL]
; VK08::
; Backspace::
; [Internet Explorer]
;
;
; [red key / F4]
; VK73::
; F4::
; [green key / F5]
; VK74::
; F5::
; [yellow key / F6]
; VK75::
; F6::
; [blue key / F7]
; VK76::
; F7::