<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sat, Jan 10, 2015 at 6:57 PM, Hika van den Hoven <span dir="ltr"><<a href="mailto:hikavdh@gmail.com" target="_blank">hikavdh@gmail.com</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">Hoi Karl,<br>
<div><div class="h5"><br>
Sunday, January 11, 2015, 1:32:44 AM, you wrote:<br>
<br>
> On Jan 10, 2015 11:44 AM, "Hika van den Hoven" <<a href="mailto:hikavdh@gmail.com">hikavdh@gmail.com</a>> wrote:<br>
>><br>
>> Hoi Karl,<br>
>><br>
>> Saturday, January 10, 2015, 8:17:07 PM, you wrote:<br>
>><br>
>> > Hi,<br>
>><br>
>><br>
>> > I can't seem to get the line edit virtual keyboard to pop up when<br>
>> > using my MCE remote (Ortek VRC-1100). I'm NOT using lirc; I verified<br>
>> > with ir-keytable that it is sending KEY_ENTER when I press either<br>
>> > the OK button or the Enter button on the remote. When I press either<br>
>> > button on a text edit field, it enters the field in edit mode and I<br>
>> > can see the cursor in the field, but it won't show the virtual<br>
>> > keyboard. It does work on my other MythTV machine (combined<br>
>> > frontend/backend) using lirc, but that translates KEY_ENTER to<br>
>> > Return. I verified that "Use line edit virtual keyboard" is selected<br>
>> > under Setup->General (and also verified the setting using MythWeb). Any help?<br>
>><br>
>><br>
>> > Thanks,<br>
>><br>
>><br>
>> > Karl<br>
>><br>
>> Have you checked your key-mappings in mythfrontend?<br>
>> I did a quick check and I think the relevant mapping is SELECT under<br>
>> Global. It has Return, Enter and Space with me.<br>
>> Do all those three work on the keyboard (I think Return and Enter is<br>
>> differentiated between normal Enter and keypad Enter)<br>
> Yes, it's set at the default Return, Enter, Space. I didn't look<br>
> hard but KEY_RETURN doesn't appear to be a Linux keycode.<br>
> Karl<br>
<br>
</div></div>irrecord -l (--list-namespace) gives the by the kernel recognised keycodes.<br>
<br>
And indeed KEY_RETURN is not among them . It should be KEY_ENTER. If I<br>
remember well the names are not case-sensitive and '_' can be<br>
exchanged with '-'<br></blockquote><div><br></div><div>Yes, it is already KEY_ENTER from the . As far as I can tell, Return is a QT code. So... I still don't know why it's not working. Snippet from mythtv/libs/libmythui/mythuitextedit.cpp, around line 536:<br><br>        else if (action == "SELECT" && keynum != Qt::Key_Space<br>                 && GetMythDB()->GetNumSetting("UseVirtualKeyboard", 1) == 1)<br>        {<br>            MythScreenStack *popupStack = GetMythMainWindow()->GetStack("popup stack");<br>            MythUIVirtualKeyboard *kb =  new MythUIVirtualKeyboard(popupStack, this);<br><br>            if (kb->Create())<br>            {<br>                //connect(kb, SIGNAL(keyPress(QString)), SLOT(keyPress(QString)));<br>                popupStack->AddScreen(kb);<br>            }<br>            else<br>                delete kb;<br><br></div><div>As far as I can tell it looks like it should work, but for some reason it isn't... Is there a chance it's being shown but not on the screen? I have only one screen connected, on VGA, but I have used the HDMI connection previously (but I don't think X saves state like that between runs).<br><br></div><div>Karl<br></div></div></div></div>