aboutsummaryrefslogtreecommitdiff
path: root/xbmc/peripherals
AgeCommit message (Collapse)Author
2012-03-27cec: added volume control on a CEC enabled amplifier when one is foundLars Op den Kamp
2012-03-26jsonrpc: refactor to simplify includesmontellese
First of all the "architecture" of Announcers has changed. - Up until now every class that would like to listen to announcements going through CAnnouncementManager has to implement ANNOUNCEMENT::IAnnouncer. Furthermore they have to include AnnouncementUtils.h to get access to the CAnnouncementUtils::AnnouncementFlagToString method. AnnouncementUtils.h has been removed and the AnnouncementFlagToString method has been moved to IAnnouncer to get rid of that extra include. - The EAnnouncementFlag enum has been renamed to AnnouncementFlag as IMO a type name containing "Flag" already indicates that it's an enum. This one causes a lot of small changes throughout the whole JSON-RPC code which is why this diff is so huge. - A IJSONRPCAnnouncer has been introduced which derives from IAnnouncer and additionally contains the protected method AnnouncementToJSONRPC which translates any announcement into a valid JSON-RPC notification. This method was previously available as a protected method in CJSONUtils which required JSON-RPC announcers to derive from CJSONUtils just to use that specific method. As an example in the new code CTCPServer only needs to derive from IJSONRPCAnnouncer and not from both IAnnouncer and CJSONUtils. The other change is splitting up CJSONUtils into CJSONUtils which provides JSON-related utility methods and CJSONRPCUtils which provides JSON-RPC-related utility methods and types, specifically JSONRPC_STATUS (which was renamed from JSON_STATUS which wasn't really a matching name), the callback/method definition for methods implementing JSON-RPC functionality, the OperationPermission enum which defines the different permissions needed by JSON-RPC methods and convenience methods to translate permissions from and to strings. The work of seperating JSON-related stuff from JSON-RPC-related stuff is not 100% done yet but this commit contains most of that work.
2012-03-13add support for a dummy entry in peripherals.xml allowing it to be more ↵Jonathan Marshall
easily skinned
2012-03-07cec: Don't put devices to standby if application is currently playing.Rafał Krypa
This prevents disruption when music is played over HDMI.
2012-02-11peripherals: call OnSettingChanged() methods after persisting the new ↵Lars Op den Kamp
settings and always persist settings directly after they've been changed in the gui. fixes the issue that settings are reset when XBMC is restarted after it crashed. closes trac 12570
2012-01-18fixed warnings - requires reviewJonathan Marshall
2011-12-31cosmetics: tabs -> spacesLars Op den Kamp
2011-12-31fixed - mem leaks in CPeripherals. map entries are not automatically deleted ↵Lars Op den Kamp
when a map is cleared
2011-12-31fixed - mem leaks in CPeripheralBusUSBLars Op den Kamp
2011-12-20cec: don't send playstate updates, but always keep the default playstate. ↵Lars Op den Kamp
fixes buttons becoming deactivated on some TVs. it also wasn't very fast, which resulted in delays when starting/stopping playback
2011-12-08cec fixes:Lars Op den Kamp
- pose as a recording device instead of a playback device on the cec bus, so the tuner related buttons on the tv's remote work too. - removed the option to mark xbmc as inactive view when stopping, but always send the command instead, as is required by the cec spec. - corrections in repeated keypress handling. display a message when the CEC adapter is connecting and when it is connected and to which devices.
2011-11-26Fix potential infinite loop in CPeripherals::LoadMappingsJohn Rennie
2011-11-24Allow multiple ids per USB deviceJohn Rennie
2011-11-23Merge pull request #540 from jhsrennie/mulhiddevJohn Rennie
Support multiple simultaneous HID device mappings
2011-11-21cec: fixed - send the power up command as first command when powering up, as ↵Lars Op den Kamp
the spec describes
2011-11-18Add support for multiple simultaneous HID device mappingsJohn Rennie
2011-11-16Append device specific mappings to keymapJohn Rennie
2011-11-14fixed: peripheral manager window never sent the message upstreamspiff
this was most noticable by no item being selected in the list on window load
2011-11-13fixed broken build on osx, undefine defined macro isset, it collides with ↵davilla
function in cectypes.h
2011-11-11cec: send deck status updates over cec when the playback state changesLars Op den Kamp
2011-11-11cec: updated to libcec 1.1. no longer using a fixed logical address.Lars Op den Kamp
2011-11-04change CBuiltins::Execute to g_application.ExecuteXBMCAction in ↵pieh
CPeripheralNyxboard this allow using both actions and builtins
2011-11-04cec: fixed - don't mark the a keypress as key release when the previous ↵Lars Op den Kamp
keypress doesn't have duration '0'
2011-11-04cec: fixed - translate 'deck control' and 'play' to keypressesLars Op den Kamp
2011-11-04cec: fixed - get the vendor id directly after connecting, because the TV ↵Lars Op den Kamp
might be using a non-standard CEC implementation
2011-11-04cec: fixed - handle 'default' in the switch statement in GetNextKey(), or ↵Lars Op den Kamp
newly added keys which aren't handled will lead to blocking all next keypresses.
2011-11-04cec: fixed - set the hdmi port after connecting. shorter sleep in the Process()Lars Op den Kamp
2011-11-04cec: made using the TV's language optional. configurable via peripheral ↵Lars Op den Kamp
settings.
2011-11-04cec: use libcec v1.0. for XBMC, this adds a new log level (CEC_LOG_TRAFFIC) ↵Lars Op den Kamp
and the ability to query some properties of connected devices. fixed reconnect when XBMC comes out of standby
2011-10-23fixed: terminate string in CPeripheralCecAdapter::ProcessNextCommand()Lars Op den Kamp
2011-10-20fix build after f1d78b33pieh
2011-10-20fixed: cec - handle the stop/pause/play buttons on the tv's remote. they're ↵Lars Op den Kamp
not sent as keypresses but as opcodes PLAY and DECK_CONTROL when XBMC is selected as active playback device
2011-10-19fixed: don't spam 'libcec not found' warnings when the CEC adapter is found ↵Lars Op den Kamp
but libcec can't be found or when support wasn't compiled in. once is enough.
2011-10-19fixed: PeripheralTypeTranslator::IntToHexString() was leaking. thanks spiffLars Op den Kamp
2011-10-18fixed/win32: HID devices were displayed twice in the peripherals window. ↵Lars Op den Kamp
fixed by scanning for RAW guid only. devices will be displayed with type 'unknown', but since the same device has a different guid when scanning the HID guid than when it's found by scanning the RAW guid and none of the other values except vendor id and product id match, this seems to be the only solution
2011-10-17cec: show a notification when the cec adapter was plugged in but libcec ↵Lars Op den Kamp
support was not compiled in and log it
2011-10-15Merge pull request #493 from Pulse-Eight/cecLars Op den Kamp
peripherals + cec fixes
2011-10-15cec: localised 'XBMC connected' messageLars Op den Kamp
2011-10-15changed: remove peripheral udev dependency on libusbJoakim Plate
2011-10-14changed: disable the peripherals dialog if no peripherals are registeredspiff
2011-10-14cec: handle key presses and key releases properly. fixes 500ms keypress ↵Lars Op den Kamp
delay and, in case the tv didn't send key release messages, unhandled keypresses
2011-10-14cec: display a message on the TV when XBMC is connected (not supported by ↵Lars Op den Kamp
all tvs)
2011-10-14cec: set XBMC's GUI language to match the language set up in the tvLars Op den Kamp
2011-10-14fixed: peripherals - set default step to 1 and default max to 255 of int ↵Lars Op den Kamp
settings
2011-10-14cec: add setting 'HDMI port'Lars Op den Kamp
2011-10-14fixed: don't store the com port in peripheralsettings when it was ↵Lars Op den Kamp
autodetected, or it won't be picked up when it's assigned another port number
2011-10-14fixed: possible deadlock when inserting or removing a peripheralLars Op den Kamp
2011-10-14fixed: with both the options to put the TV in standby when the screensaver ↵Lars Op den Kamp
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.
2011-10-14cec: name of the libcec header has been changed to something more in line ↵Lars Op den Kamp
with other libs.
2011-10-13changed libcec to be dyloaded like others, also change lib/libcec/Makefile ↵davilla
to be pure convenence make and remove the internal/external bits, libcec is a system lib. treat it that way.