Kodi Community Forum
Logging Key presses on ATV2 - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: iOS & tvOS (https://forum.kodi.tv/forumdisplay.php?fid=137)
+---- Thread: Logging Key presses on ATV2 (/showthread.php?tid=121413)



Logging Key presses on ATV2 - dmborn - 2012-01-29

I am trying to view the Remote button presses so I can change the joystick.AppleRemote.xml, but the SDL codes are not showing up in the log.

In my advancedsettings.xml, I have added:

<displayremotecodes>true</displayremotecodes>
<loglevel>2</loglevel>

According to the WIKI, this is supposed to display the SDK Keypress code in the xbmc.log. (this is described here: http://wiki.xbmc.org/index.php?title=List_of_XBMC_keynames).
I am using an ATV2 with the latest nightly Beta2 build. (xbmc-20111222-22ad8e4-master-atv2.deb)

I have also checked syslog (/var/log/syslog).

Any suggestions of how I can view the codes as I press the remote keys?


Any help would be greatly appreciated.


- Memphiz - 2012-01-30

did you turn debug logging on in settings -> system?


Debugging is turned on - dmborn - 2012-01-30

Yes, I turned it on. I am getting some debug messages, but not the button press, just the ANNOUNCEMENT ones.


17:11:46 T:116752384 DEBUG: CAnnouncementManager - Announcement: OnPause from xbmc
17:11:46 T:116752384 DEBUG: GOT ANNOUNCEMENT, type: 1, from xbmc, message OnPause
17:11:46 T:116752384 DEBUG: CGUIAudioManager::Initialize
17:11:46 T:116752384 DEBUG: ------ Window Init (DialogSeekBar.xml) ------
17:11:48 T:116752384 DEBUG: CAnnouncementManager - Announcement: OnPlay from xbmc
17:11:48 T:116752384 DEBUG: GOT ANNOUNCEMENT, type: 1, from xbmc, message OnPlay