[mythtv] Shift key ignored in shortcuts

Isaac Richards ijr at case.edu
Mon Oct 27 18:24:40 UTC 2008


On Monday 27 October 2008 2:21:54 pm David Engel wrote:
> On Mon, Oct 27, 2008 at 05:00:05PM +0000, Oliver Maunder wrote:
> > I'm trying to set up a new remote control at the moment. It's
> > recognised as a keyboard and most of the buttons send key combinations
> > - e.g. Stop sends Ctrl+Shift+S, Play sends Ctrl+Shift+P.
> >
> > The problem is, any key combination containing Shift is ignored. Ctrl
> > or Alt are fine. I looked in the code and found this in
> > libs/libmythui/mythmainwindow.cpp:
>
> The code has been that way as long as I can remember.  Isaac might be
> the only one who knows why shift was handled specially.  FWIW, I
> considered getting a remote control like you have awhile back and
> changed the code in question to treat shift like the other modifier
> keys.  There were no ill effects as far as could tell.

Basically, it's just there for case insensitivity when using a regular 
keyboard.

Isaac



More information about the mythtv-dev mailing list