[mythtv-commits] Ticket #6422: (MacOS X port) Apple TV remote support for 2.3 and others
MythTV
noreply at mythtv.org
Mon Mar 14 17:47:35 UTC 2011
#6422: (MacOS X port) Apple TV remote support for 2.3 and others
------------------------------------+----------------------------
Reporter: john@… | Owner: nigel
Type: enhancement | Status: new
Priority: minor | Milestone: unknown
Component: Ports - OSX | Version: Trunk Head
Severity: medium | Resolution:
Keywords: AppleTV, Apple tv, atv | Ticket locked: 0
------------------------------------+----------------------------
Comment (by emlyn.bolton@…):
Nigel,
The link in the ticket description has the XBMC launcher code. I've
commented the changes I made fairly heavily, but the basic change for the
remote handling is that prior to v 2.3, the underlying system sent us the
button events. Now, the system just sends events whenever an IR pulse is
received, I think to enable use of other remote controls with the ATV.
The changes figure out if we're running on a 'qualified' ATV, and then
maintain the button state. The XBMC code doesn't really support long
presses (or if it does, I missed it...) but that is supported here. The
events require a delayed callback, so I hooked in a QTimer as that was the
path of least resistance.
I hope I got the diffs right - the only one I'm sure of is the 0.23-fixes
branch. When 0.24 goes mainstream in Gentoo, I'll upgrade and test.
There were a couple of minor changes to some of the other build files too,
to enable use of MMX on the OS X builds. I hope those help for other Mac
users in general.
--
Ticket URL: <http://code.mythtv.org/trac/ticket/6422#comment:21>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
More information about the mythtv-commits
mailing list