Ticket #2239 (closed enhancement: wontfix)
Opened 6 years ago
Last modified 3 years ago
Patch to accept remote buttons as logical identifiers.
| Reported by: | navahogunleg@… | Owned by: | ijr |
|---|---|---|---|
| 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
Change History
comment:1 Changed 6 years ago by mythtv@…
comment:3 Changed 6 years ago by stuartm
Changed 6 years ago by navahogunleg@…
- 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:5 Changed 4 years ago by stuartm
- Owner changed from stuartm to ijr
- Status changed from new to assigned
Changed 4 years ago by navahogunleg@…
- 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 4 years ago by navahogunleg@…
- Attachment myth_lirc_latest.diff.libmythtv added
See comment above.
Changed 4 years ago by navahogunleg@…
- Attachment mythkeysequence.h added
New mythkeysequence.h & .cpp using Qt4, and using QStringList in stead of own (buggy) parsing routine.
Changed 4 years ago by navahogunleg@…
- Attachment mythkeysequence.cpp added
See comment above (mythkeysequence.* files should reside in libmyth/).
comment:6 Changed 3 years ago by danielk
- Status changed from assigned to closed
- Resolution set to wontfix
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...
