[mythtv-commits] Ticket #13234: Support for Nvidia Shield Remote
MythTV
noreply at mythtv.org
Fri Mar 2 21:41:35 UTC 2018
#13234: Support for Nvidia Shield Remote
-----------------------------+-----------------------------
Reporter: pbennett | Owner: pbennett
Type: Developer Task | Status: new
Priority: minor | Milestone: 30.0
Component: Ports - Android | Version: Master Head
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
-----------------------------+-----------------------------
Comment (by Craig Treleaven <ctreleaven@…>):
Yeah, lhe Apple Remote wiki page has the "Outdate" tag...and really
deserves it! There is brief mention on the main Mac page:
https://www.mythtv.org/wiki/MythTV_on_Mac_OS_X#Apple_Remote
I don't know the implementation details, but I think the Apple remote
Play/Pause and Menu buttons are normally passed as the Enter and Esc
keystrokes, respectively. The Play/Pause button will start a recording
playing. The Menu button exits playback.
A key difference however, is that a long press on the Apple Remote buttons
sends different events. A long press on the Menu button is passed as the
M keystroke. Long press on the Play/pause button passes a P keystroke.
(It is Mac OS X code that interprets long v. short presses and passes
different events; not MythTV code.)
In practise, the only long press I use is the Menu key. Perhaps lacking
that differentiation is a killer for the Shield remote, however.
Effectively, each of the Apple Remote's 6 buttons send 2 different key
codes.
--
Ticket URL: <https://code.mythtv.org/trac/ticket/13234#comment:4>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list