[mythtv] Non-qwerty keyboard patch for MythVideo/lirc

Isaac Richards ijr at po.cwru.edu
Mon Sep 15 18:38:23 EDT 2003


On Monday 15 September 2003 10:08 am, Chris B wrote:
> Hi,
>
> I had a problem inputing IMDB numbers with my remote in MythVideo.
>
> Looks like QT is (too) smart and QKeyEvent->text() translates to the
> actual key sent Unfortunately, if I ask for a '1' in lircrc, it get
> translated to 'keycode-corresponding-to-1' by QT and  ::text()
> translates it to the primary character, which is not the number on an
> AZERTY keyboard.
>
> I created this (very dumb) patch to solve the problem.
> If someone cares to spend more than 5 minutes on this a find a nicer
> way, go ahead :-)

Does using QKeyEvent::ascii() instead of test() fix it instead?

Isaac


More information about the mythtv-dev mailing list