[mythtv-commits] Ticket #2017: (mac osx port) apple remote support

MythTV mythtv at cvs.mythtv.org
Mon Jul 3 20:37:05 UTC 2006


#2017: (mac osx port) apple remote support
------------------------------------+---------------------------------------
 Reporter:  mythtv at junk.kraney.com  |       Owner:  ijr   
     Type:  enhancement             |      Status:  new   
 Priority:  minor                   |   Milestone:  0.19.1
Component:  mythtv                  |     Version:  head  
 Severity:  medium                  |  
------------------------------------+---------------------------------------
 My apologies if I've misunderstood the correct process; this is a feature
 request but since it includes a patch my understanding from the guide &
 other pages is that it belongs in trac rather than just the wiki or dev
 mailing list.

 The attached patch adds native support for the apple remote that comes
 with late-model intel macs into mythfrontend.

 I've made an effort to play nice with existing code, but this is my first
 patch for this project so bear with me. The apple remote code ties into
 the application using the same 'custom event' method that Lirc support
 uses.

 The remote buttons map to
 || +/- || Up/Down ||
 || << / >>  || Left / Right ||
 || Play || Enter ||
 || Menu || Esc ||
 || hold << / hold >> || Home / End ||
 || hold Play || P ||
 || hold Menu || M ||

 I would have liked to map 'hold + / hold -" to volume up/down on the mac,
 so that functionality wouldn't be missed, but the apple event system
 doesn't track long holds on those buttons, like it does the others.

 I didn't provide a way to customize the key bindings in this go 'round.
 Since there are so few buttons, I didn't think that feature would be worth
 the trouble. There aren't a lot of spare buttons that could take on custom
 functionality.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/2017>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list