<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Jan 22, 2015 at 8:38 AM, Peter Bennett (cats22) <span dir="ltr"><<a href="mailto:cats22@comcast.net" target="_blank">cats22@comcast.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class=""><div class="h5">On 01/21/2015 01:28 PM, Karl Newman wrote:<br>
> Hi all,<br>
><br>
> In setting up a new frontend recently I bought an MCE remote to<br>
> operate it. I discovered that it *almost* worked. Some key things such<br>
> as the arrow keys and select (OK) work great, and alone I think that's<br>
> enough to get to Setup and get the rest of the keys mapped (except for<br>
> some inconsistent Shift key handling). However, since the MCE remotes<br>
> are so common and cheap, I thought it would be nice if MythTV would<br>
> work completely with the remote out-of-the-box (as much as practical).<br>
> I have attached two patches which change the default key mapping for<br>
> TV playback and MythMusic. I'm submitting them for review because I<br>
> had to move some existing key mappings out of the way. For example<br>
> Night Mode (Ctrl+F) conflicted with Seek Fast Forward, and Jump to<br>
> beginning (Ctrl+B) conflicted with Seek Rewind. Also my remote is an<br>
> Ortek VRC-1100 which is actually an HID device so I would like to get<br>
> some feedback from true MCE remote owners to make sure the keys are<br>
> the same before I submit it as a ticket.<br>
><br>
> Despite these key mappings I still had to remap a couple buttons using<br>
> ir-keytable. I swapped the Clear (Esc) and Back (Backspace) buttons,<br>
> and I changed the "i" button from mouse right click to the letter M.<br>
> The mouse right click worked to bring up the menu in all of the Myth<br>
> screens, but it would not do it during TV playback. It would be nice<br>
> if it could be changed to bring up the menu during playback, but I<br>
> took a quick peek at the code and it's not completely clear to me how<br>
> that all fits together.<br>
><br>
><br>
> Sincerely,<br>
><br>
> Karl<br>
><br>
</div></div>I have an Ortek MCE remoteĀ and it shows up as a keyboard and mouse in<br>
Linux. I do not believe I was able to get ir-keytable to work with it. I<br>
used gsettings to unmap some of the keys and the mythtv front end to map<br>
those that did not work. I had to unmap the media keys and then map them<br>
to keycodes using xmodmap. It would be nice if MythTV handled the media<br>
keys directly. Without these remappings, pressing Play or Stop just<br>
brings up a no parking sign.<br>
<br>
Peter<br></blockquote></div><br>ir-keytable does work, but you have to specify the device because it's not detected as an RC device. Check my udev rules in the wiki here: <a href="http://www.mythtv.org/wiki/Adesso_ARC-1100#Alternate_Configuration">http://www.mythtv.org/wiki/Adesso_ARC-1100#Alternate_Configuration</a><br><br></div><div class="gmail_extra">I was able to use the media keys as-is in Myth.<br><br></div><div class="gmail_extra">Karl<br></div></div>