Please sign in to comment.
Add libCEC support.
This adds initial support for CEC HDMI devices which allow bidirectional communication and control between CEC capable devices. There is a lot going on here, so I'll add a wiki page at some point. - will turn the display device on and switch to MythTV's HDMI input when MythTV is started (configurable). - the HDMI input is identified as 'MythTV'. - will turn the display off when exiting (configurable). - 'advanced' selection of HDMI port (physical address), CEC logical address and libCEC device (all default to 'auto'). - there is no settings UI. I will wait and see if we get new, libmythui settings pages before 0.25 (otherwise I'll add some old style settings pages). - added 2 new actions for powering the display on and off. - incoming keypresses from the display's remote control are mapped to standard keypresses. Certain functions are unmpapped (no obvious meaning in a MythTV context) and others have slightly unusual mappings to ensure each button has a unique keypress (and hence maximise the potential for customisation - but does limit 'out of the box' functionality). There is still some limited overlap (e.g. M) but most map to conventional, default MythTV bindings. Use the Key Editor to tweak. - no CEC commands (e.g. display telling MythTV to power off) are currently handled - either because there is no obvious way to handle them (menu language, power off) or I haven't seen them. There is a lot of potential for additional functionality, both within MythTV and libCEC itself, so this will no doubt be a moving feast for a while. The usefulness of CEC will largely depend on how much individual manufacturers have 'tailored' their CEC implementations. For me, with a Toshiba display (Regza-Link = CEC), Playstation3 and VESA mounted Ion box, everything is pretty seemless and largely 'just works'. N.B. The keymapping code may change depending on other changes in libmythui (and I may yet tweak the default keybindings).
- Loading branch information...
Showing with 846 additions and 2 deletions.
- +26 −0 mythtv/configure
- +717 −0 mythtv/libs/libmythui/cecadapter.cpp
- +39 −0 mythtv/libs/libmythui/cecadapter.h
- +6 −0 mythtv/libs/libmythui/libmythui.pro
- +50 −0 mythtv/libs/libmythui/mythmainwindow.cpp
- +1 −0 mythtv/libs/libmythui/mythmainwindow.h
- +4 −2 mythtv/libs/libmythui/mythscreentype.cpp
- +3 −0 mythtv/libs/libmythui/mythuiactions.h
Oops, something went wrong.