aboutsummaryrefslogtreecommitdiff
path: root/system/peripherals.xml
AgeCommit message (Collapse)Author
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-24Allow multiple ids per USB deviceJohn Rennie
2011-11-17Minor readability improvements suggested by LarsJohn Rennie
2011-11-16Append device specific mappings to keymapJohn Rennie
2011-11-04cec: made using the TV's language optional. configurable via peripheral ↵Lars Op den Kamp
settings.
2011-10-18fixed: changed default setting of 'keymap_enabled' to disabled and made it ↵Lars Op den Kamp
visible in peripheral settings again. fixes issue which prevented other remotes from working correctly when the nyxboard was plugged in because the default keymap was changed
2011-10-14cec: add setting 'HDMI port'Lars Op den Kamp
2011-10-01peripherals: removed mapping for "Generic HID device". it was given problems ↵Lars Op den Kamp
on some (windows?) installations.
2011-09-30cec: added support for the Pulse-Eight CEC Adaptor. split up ↵Lars Op den Kamp
linux/PeripheralBusUSB into PeripheralBusUSBLibUdev and PeripheralBusUSBLibUSB. fixed automake files
2011-09-30Squashed original peripherals PR #383Lars Op den Kamp
This is a PR for a new "peripherals manager", /xbmc/peripherals, that detects devices and automatically configures them for use with XBMC. The device mappings and configurations can be defined in system/peripherals.xml. Users can modify settings via system->system->input->peripherals. It works as follows: - CPeripherals contains one or more CPeripheralBus instances. - CPeripheralBus contains the device scanning implementations for the different platforms we support. - The implementations for the devices can be found in peripheral/devices and all devices inherit from CPeripheral. - The devices that are detected are looked up in peripherals.xml, starting at the top of the file and going down. If no mapping was found for the device, an instance of one of the default classes will be created: CPeripheralHID, CPeripheralDisk or CPeripheralNIC. - in peripherals.xml, devices can be matched by vendor id (vendor="xxxx"), product id (product="xxxx"), bus type (bus="xxxx"), device class (class="xxxx") or a combination of these values. The class that will be instantiated for that device is defined in mapTo="xxxx" - the configuration for the device can be defined in peripherals.xml as well. Have a look at system/peripherals.xml, where you can find the possible settings in the demo entry at the bottom. When a device is inserted and there are any settings with configurable="true" present for that device, these settings will be added to the settings dialog, under system->system->input->peripherals. - an example of how these settings can be used can be found in CPeripheralHID, which checks for a "keymap" setting and will automatically switch the keymap XBMC uses to the one that is defined in the setting. TODO: - keep separate configs when the same device is found more than once - general review of this code.