Opened 19 years ago
Closed 17 years ago
#2239 closed enhancement (wontfix)
Patch to accept remote buttons as logical identifiers.
| Reported by: | Owned by: | Isaac Richards | |
|---|---|---|---|
| Priority: | minor | Milestone: | 0.22 |
| Component: | mythtv | Version: | head |
| Severity: | medium | Keywords: | |
| Cc: | Ticket locked: | no |
Description
This patch allows MythTV to accept remote buttons (coming from LIRC) as logical identifiers. So in stead of configuring LIRC to map a button to a 'keypress', this patch will make the configured identifier to be correctly interpreted by Myth. ( As discussed in this thread: http://www.gossamer-threads.com/lists/mythtv/dev/207002#207002 )
Old way: begin prog = mythtv button = TV repeat = 3 config = X this keypress would reach Myth end
New way: begin prog = mythtv button = TV repeat = 3 config = remoteTV end
I wrote it so that if, in lircrc, a single character is found, this will still be interpreted as a keypress (i.e. it's downwards compatible).
(There's a known problem however, when Myth requests user input in an editbox, one hits a remote button, the text-identifier of that button will be inserted in that edit-box.)
Supplied is also the patch to recognise these in MythControls so one can actually configure remote keypresses.
Attachments (7)
Change History (13)
by , 19 years ago
| Attachment: | mythtv-lirc-20060824.diff added |
|---|
by , 19 years ago
| Attachment: | mythcontrols-20060824.diff added |
|---|
comment:1 by , 19 years ago
comment:2 by , 19 years ago
| Milestone: | → 0.21 |
|---|---|
| Owner: | changed from to |
comment:3 by , 19 years ago
by , 19 years ago
| Attachment: | mythcontrols-20060910.diff added |
|---|
Updated, bugfixed version: I noticed today MythControls wasn't accepting regular keys now due to a wrongly placed 'else'. :]
comment:4 by , 18 years ago
| Milestone: | 0.21 → 0.22 |
|---|---|
| Version: | → head |
comment:5 by , 18 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
by , 18 years ago
| Attachment: | myth_lirc_latest.diff.libmyth added |
|---|
Patch to make remoteXXXX identifiers work again in SVN version (using Qt4) [patch split up into files because of too many local changes]
by , 18 years ago
| Attachment: | mythkeysequence.h added |
|---|
New mythkeysequence.h & .cpp using Qt4, and using QStringList in stead of own (buggy) parsing routine.
by , 18 years ago
| Attachment: | mythkeysequence.cpp added |
|---|
See comment above (mythkeysequence.* files should reside in libmyth/).
comment:6 by , 17 years ago
| Resolution: | → wontfix |
|---|---|
| Status: | assigned → closed |
Stuart M may use some ideas from this, but this will not be committed as is. See very old discussions on mailing list as to why...

See ticket #757 for an implementation of a very similar idea. Certainly, if this patch is accepted, #757 should be closed (and vice-versa, although the other ticket is old enough that I do not expect #757 to be accepted).