Opened 19 years ago
Closed 16 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)
Changed 19 years ago by
Attachment: | mythtv-lirc-20060824.diff added |
---|
Changed 19 years ago by
Attachment: | mythcontrols-20060824.diff added |
---|
comment:1 Changed 19 years ago by
comment:2 Changed 19 years ago by
Milestone: | → 0.21 |
---|---|
Owner: | changed from Isaac Richards to stuartm |
comment:3 Changed 19 years ago by
Changed 19 years ago by
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 Changed 17 years ago by
Milestone: | 0.21 → 0.22 |
---|---|
Version: | → head |
comment:5 Changed 17 years ago by
Owner: | changed from stuartm to Isaac Richards |
---|---|
Status: | new → assigned |
Changed 17 years ago by
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]
Changed 17 years ago by
Attachment: | mythkeysequence.h added |
---|
New mythkeysequence.h & .cpp using Qt4, and using QStringList in stead of own (buggy) parsing routine.
Changed 17 years ago by
Attachment: | mythkeysequence.cpp added |
---|
See comment above (mythkeysequence.* files should reside in libmyth/).
comment:6 Changed 16 years ago by
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).