[mythtv-commits] Ticket #590: Add ability to see active keys for a
given context
MythTV
mythtv at cvs.mythtv.org
Fri Nov 4 22:50:37 EST 2005
#590: Add ability to see active keys for a given context
-------------------------------+--------------------------------------------
Reporter: mythtv at hburch.com | Owner: ijr
Type: patch | Status: new
Priority: minor | Milestone:
Component: mythcontrols | Version: head
Severity: medium |
-------------------------------+--------------------------------------------
It can be useful to see the list of active keys for a given context. This
idea was partially motivated by changeset #7689, which put a comment into
tv_play.cpp with the list of allocated keys, although I ran into this
problem when customizing my own keybindings.
Anyway, mythcontrols lets you see ACTION => KEY mapping. This patch lets
you see KEY => ACTION mapping for a given context. It presumes that key
mappings go through one context, and then default to "global" context.
Any key resolved in non-global context does not fall-through. This it not
necessarily representate true behavior, and definitely wrong if you
consider jump point bindings.
It can be useful in any case.
To use this, go into 'Edit Keys', select a context and press the "MENU" or
"INFO" key. This pops-up a dialog with the option "Used Keys". This will
create a similarly-looking list that lists all the keys, one per item.
The mapping is displayed like "I => INFO". If there are multiple options,
the are comma-separated.
The keys are displayed in sorted order: first the digits, then the
characters, then unmodified keys, then modified keys (of any sort).
Within each category, the keys are sorted alphabetically (thus, Ctrl+F10
will appear before Ctrl+F9).
The display is currently purely informative: you cannot edit anything in
this display (yet).
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/590>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list