Opened 18 years ago
Closed 17 years ago
#757 closed patch (duplicate)
Translate IR keypresses directly to actions
Reported by: | Owned by: | stuartm | |
---|---|---|---|
Priority: | minor | Milestone: | 0.21 |
Component: | mythtv | Version: | head |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
Currently, IR symbols are translated by LIRC to IR key presses, which MythTV translates to character key presses, which are then translated to actions.
This patch removes one of these steps. It converts IR key presses directly into actions. It does this internally by mapping them to pseudo key numbers. Externally, IR keys are called "remoteFoo", where Foo is the description of the key in lircd.conf.
What are the advantages? 1) simplified configuration: .mythtv/lircrc not required (although it's the only place that repeat and delay commands can currently be specified) 2) easier configuration: user can think in terms of IR keys instead of having to remember IR key => key mapping 3) increased flexibility: IR keys can map arbitrary to actions without affecting keyboard mappings, IR keys on different remotes can easily map to different actions (if they have different names)
Disadvantages: Although the initial setup get a user basic functionality: arrow keys, enter, etc., this is not always the case due to different names on different remotes. When this happens, the current interface, even with mythcontrols, not great.
This change is compatible with old systems. Any IR key presses not understood are reconsidered as the key to which they correspond in lircrc.
Attachments (1)
Change History (7)
Changed 18 years ago by
Attachment: | remotekey.patch added |
---|
comment:1 Changed 18 years ago by
Not sure I like the addition of the 'remoteBlah' to all the keybindings.
comment:2 Changed 18 years ago by
This patch is really something that has been on my wishlist. It would also be cool if one could have one "global" config and several independent configs for different parts of myth. For example, let one button do something in TV mode and something else in the weather browser mode.
comment:3 Changed 18 years ago by
Milestone: | → 0.20 |
---|---|
Version: | → head |
comment:4 Changed 17 years ago by
Milestone: | 0.20 → unknown |
---|
comment:5 Changed 17 years ago by
Milestone: | unknown → 0.21 |
---|---|
Owner: | changed from Isaac Richards to stuartm |
proposed patch