
mythtv at cvs
Jan 25, 2010, 8:06 AM
Post #2 of 3
(291 views)
Permalink
|
|
Re: Ticket #7652: quit key combo's via remote do not register
[In reply to]
|
|
#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 _______________________________________________ mythtv-commits mailing list mythtv-commits [at] mythtv http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits
|