OS X [Solved] Issues with Apple Remote
#1
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.
Reply
#2
can you post a complete debug log please on one of the suggested pastebin type sites
Reply
#3
Debug log:

Link removed

Been using this site to setup my remote:
http://kodi.wiki/view/Alternative_keymap...ple_remote
Reply
#4
Please post your joystick.AppleRemote.xml also to a pastebin site.

Your log indicates there is something wrong with it.
Code:
.  INFO: Loading special://masterprofile/keymaps/joystick.AppleRemote.xml.
. ERROR: Joystick Translator: Can't find button button
. ERROR: Previous line repeats 29 times.
Reply
#5
We don't use joystick.AppleRemote.xml anymore due to retroplayer joystick input changes. The new file needs to be: (it has a slightly altered content format too):

https://github.com/xbmc/xbmc/blob/master...Remote.xml
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
#6
(2017-04-18, 07:45)Memphiz Wrote: We don't use joystick.AppleRemote.xml anymore due to retroplayer joystick input changes. The new file needs to be: (it has a slightly altered content format too):

https://github.com/xbmc/xbmc/blob/master...Remote.xml

Thank you. Just tested it and it works as expected.

A quick followup question. If I edit the file located under system/keymaps/, will this be overwritten when I upgrade Kodi? Or should I keep my version of the file under /Users/<your_user_name>/Library/Application Support/Kodi/userdata/ ?
Reply
#7
The latter
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
#8
(2017-04-18, 22:31)Memphiz Wrote: The latter

Excellent, thank you again.
Reply
#9
I'm having issues with my Apple Remote as well. Running Kodi 17.1 on Mac Mini (2012). Previously, pressing the Up and Down arrows on the Apple Remote adjusted the volume. Now it toggles the Information (song/artist/album cover/track number). All other functions work as before.

I tried your XML file above without success. Any other suggestions?
Reply

Logout Mark Read Team Forum Stats Members Help
[Solved] Issues with Apple Remote0