Logging Key presses on ATV2
#1
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=Lis...C_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.
Reply
#2
did you turn debug logging on in settings -> system?
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
#3
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
Reply

Logout Mark Read Team Forum Stats Members Help
Logging Key presses on ATV20