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

Chris B news at semperpax.com
Tue Sep 16 02:50:28 EDT 2003


I suspect ::ascii() will just return me the 8 bit char rather than the 
unicode char but I'll give it a try.

- Chris -


Isaac Richards wrote:

> 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
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev



More information about the mythtv-dev mailing list