Issues with Apple Remote

Hi,

Running the latest release of Kodi (17.1) and been having some issues with my Apple Remote together with an Mac Mini (Mid 2011) and macOS 10.12.4.

I have been using the same “joystick.AppleRemote.xml” for several years now. But for the past month, my changes to this file is not working as it expected.

When holding down the center button, this used to bring up subtitles windows, but now it just brings up the OSD.

This is what I have in my joystick.AppleRemote.xml under FullscreenVideo:

Code:
<button id="7">ActivateWindow(SubtitleSearch)</button>

I did enable debugging and tried to understand the log, but did not have any luck. But I did find the output for this key action:

Code:
14:46:12.674 T:140735826203584   DEBUG: Keyboard: scancode: 0x00, sym: 0x0136, unicode: 0x0000, modifier: 0x0
14:46:12.674 T:140735826203584   DEBUG: GetActionCode: Trying Hardy keycode for 0xf200
14:46:12.674 T:140735826203584   DEBUG: Previous line repeats 3 times.
14:46:12.674 T:140735826203584   DEBUG: OnKey: 0 (0xf200, obc-61697) pressed, action is
14:46:12.831 T:140735826203584   DEBUG: Keyboard: scancode: 0x00, sym: 0x0136, unicode: 0x0000, modifier: 0x0

I have a simular setup in the keymap.xml file under FullscreenVideo and this is working as expected.

Code:
<u>ActivateWindow(SubtitleSearch)</u>

Output in the log file:

Code:
14:48:36.786 T:140735826203584   DEBUG: Keyboard: scancode: 0x20, sym: 0x0075, unicode: 0x0075, modifier: 0x0
14:48:36.786 T:140735826203584   DEBUG: OnKey: u (0xf055) pressed, action is ActivateWindow(SubtitleSearch)
14:48:36.786 T:140735826203584   DEBUG: Activating window ID: 10153

Been trying to find a solution for this, but I have failed.

If anyone have an idea or could point me in the right direction, it would be much appreciated.

Thank you in advance.