xbmc/xbmc — pull request #493 by opdenkamp (2011-10-14 17:23:02+00:00)
Title: peripherals + cec fixes

definite fix for trac 12043, some fixes and additions to the CEC adapter code and the general peripherals code:
- updated to use the v0.7 name of the libcec headers (CECExports.h -> cec.h)
- fixed: with both the options to put the TV in standby when the screensaver is activated and the option to put the pc in standby when the TV is put in standby or switched off, it would put the pc in standby a few seconds after the screensaver becomes active. fixed by adding a timeout to ignore standby commands of the TV, default 10 seconds
- fixed: don't store the com port in peripheralsettings when it was autodetected, or it won't be picked up when it's assigned another port number
- add setting 'HDMI port'
- fixed: peripherals - set default step to 1 and default max to 255 of int settings
- move set GUI language code to GUISettings and add SetGUILanguage() to applicationmessenger
- set XBMC's GUI language to match the language set up in the tv
- display a message on the TV when XBMC is connected (not supported by all tvs)
- handle key presses and key releases properly. fixes 500ms keypress delay and some keypresses not being handled
- spiff's patch: disable the peripherals dialog if no peripherals are registered