[mythtv-commits] Ticket #7652: quit key combo's via remote do not register
MythTV
mythtv at cvs.mythtv.org
Mon Jan 25 16:06:20 UTC 2010
#7652: quit key combo's via remote do not register
-------------------------------------+--------------------------------------
Reporter: adeffs.mythtv@… | Owner: ijr
Type: defect | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: 0.22
Severity: low | Mlocked: 0
-------------------------------------+--------------------------------------
Comment(by martin_ginkel@…):
I experienced the same problems, no code with modifiers works for exiting.
I really would like to distinguish the <get to next menu level> from <exit
app>.
I'm not quite sure about QT API but in
http://svn.mythtv.org/trac/browser/trunk/mythtv/libs/libmythui/lirc.cpp?annotate=blame&rev=22911#L379
ff, the keycode and the key modifiers are
decomposed. The key modifiers are a mask-part of the code, detected by
{{{
code & mask != null
}}}
Finally I would expect the modifier bits to be removed from the keycode by
some
{{{
keycode &= NO_MODIFIER_MASK
}}}
(with the mask set to 0xFFFFFF).
I see currently see the possible problem, that the modifiers are passed in
a separate field/member, while the keycode still contains the modifier
bits, eventually leading to
doubling the "CTRL+".
How complicated is a build of mythtv (I only used binary packs so far) for
checking it out?
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7652#comment:1>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list