[mythtv] [PATCH] Minor fix keyrepeat problem in guidegrid.c

Damian Ivereigh damian at cisco.com
Sun Apr 18 19:27:04 EDT 2004

(again without the signature)

I have a USB remote control that pretends to be a keyboard, it sends
hard-coded keystrokes on each remote key press. So in order to get this
to work with MythTV I am having to fiddle with the keybindings table.
So far so good.

Unfortunately for some wierd reason for left and right arrows on the
remote, Shift Up and Shift Down keystrokes get sent, so my keybindings
are Shift+Up & Shift+Down. Unfortunately this works everywhere except
the Program Guide - because there is code in there that tries to limit
the keyrepeat. What seems to happen is that the remote actually sends
the Shift key first then the arrow. However after the first shift is
sent the keyrepeat code kicks in and ignores the up/down arrow.

There is already code in there that stops the Control key causing this
problem. This patch extends this to the Shift, Alt & Meta keys.


Damian Ivereigh
CEPS Team Lead
Desk: +61 2 8446 6344
Mob: +61 418 217 582

Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html

PGP Key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x24E7A68F
-------------- next part --------------
A non-text attachment was scrubbed...
Name: guidegrid-keyrepeat-fix.patch
Type: text/x-patch
Size: 834 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20040419/34d77c50/guidegrid-keyrepeat-fix.bin

More information about the mythtv-dev mailing list