aboutsummaryrefslogtreecommitdiff
path: root/system/peripherals.xml
AgeCommit message (Collapse)Author
2013-10-27Add proper "<?xml ..." declaration to most .xml filesKarlson2k
2013-04-08Add support for new libcec method, PowerOnScreensaverJavier Marcet
2013-03-05[cec] make the 'missing libCEC support' warning show up againLars Op den Kamp
2013-02-28[cec] get the CEC devices that are connected to the system from libCEC, ↵Lars Op den Kamp
rather than getting them from usb device scanning (or other methods). this way all adapters that libCEC supports are automatically supported by XBMC, without the need for specific device scanning code. bumped libCEC to 2.1.0
2013-01-14[cec] physical address override was hidden on the pi. made it visible againLars Op den Kamp
2013-01-08moved nyxboard power and user button from peripheral config to keyboard.xmlLars Op den Kamp
2012-12-11[Peripheral] Use per-device iMON setting instead of system-wide setting.Karlson2k
2012-10-09[cec] added hidden setting to configure the double tap prevention timeoutLars Op den Kamp
2012-10-09[cec] simplify 'wake_devices' and 'standby_devices' settings by showing an ↵Lars Op den Kamp
enum instead of a string with logical addresses
2012-10-09[cec] simplify settings - use an enum instead of logical addresses for the ↵Lars Op den Kamp
'connected_device' setting
2012-10-03[Peripheral] Add iMON to peripherals.xmlKarlson2k
2012-09-19also match device id 2548:1002 (new firmware version)Lars Op den Kamp
2012-09-18[cec] default value for sending devices to standby when the screensaver is ↵Lars Op den Kamp
activated set to false
2012-08-10[rbp] cec: added support for the Raspberry Pi. needs libCEC v1.8.0+. other ↵gimli
targets are still supported by libCEC 1.7.0
2012-07-31cec: optionally pause playback when switching to another source, and resume ↵Lars Op den Kamp
playback when switching back to XBMC
2012-07-02nyxboard: map the 'power' button on the nyxboardLars Op den Kamp
2012-07-02cec: libCEC 1.7.1 support and fixes. libCEC 1.6.1+ is needed when using ↵Lars Op den Kamp
firmware v2 on the CEC adapter, which adds wake over CEC * added a new setting to control whether to put the TV in standby when the player is put in standby. * added some button mappings: all menu related buttons -> menu, previous channel -> teletext, added support for the channels list on samsung, mapped next fav -> menu (when available) * display the firmware version and firmware revision date in the peripheral manager (if available) * handle the new CEC alert callback (libCEC 1.6+) * replaced 'Put this PC in standby mode when the TV is switched off' with an enum that allows the user to chose between 'Ignore', 'Suspend' and 'Shutdown' * display a warning if the port cannot be opened because of permission problems or when the port is busy * map NEXT_FAVORITE, DOT and AN_RETURN to XINPUT_IR_REMOTE_TITLE (context menu) * added libCEC 1.7.0 support, which adds physical address autodetection for AMD graphics cards, and some nVidia cards on Linux. when the address is autodetected, then the 'HDMI port number' and 'connected to HDMI device' settings will be hidden * fixed - crash when changing settings without libCEC started. * fixed - range of wake and power-off devices * fixed - update the correct standby device setting ('standby_devices' not 'wake_devices') * fixed - don't get the settings from the eeprom, but always use the settings provided in xbmc * fixed - ignore OnScreensaverDeactivated message if it was triggered by a shutdown/suspend command. If the screensaver is activated and hence the tv is in standby, a shutdown command will first deactivate the screensaver and then start the shutdown. The tv will be turned on but immediately send a standby command which may be ignored if it is still powering on. * fixed - don't crash when XBMC was compiled with libCEC support, but libcec.dll/.so/.dylib can't be loaded. display a kaitoast warning instead. * fixed - re-check the menu language and audiosystem status after the user changes settings * fixed - keypress handling. handle diagonal buttons properly * fixed - include system.h in Peripheral.h, or HAVE_LIBCEC may not be defined * fixed - don't reinit the connection when libCEC detected that the connection was lost, but just display a warning message. the OS will detect that the device has been removed and will already close the connection * fixed - ensure that the callbacks are reset to NULL before setting them * win32 - pthreadVC2.dll is no longer needed and not included in the zip anymore, so don't try to copy it
2012-03-27cec: added an option to configure whether or not to send an 'inactive ↵Lars Op den Kamp
source' message. bugzid: 439
2012-03-27cec: updated to libCEC 1.5. uses struct libcec_configuration to get and set ↵Lars Op den Kamp
the config in libCEC.
2012-03-27peripherals: change the 'keymap_enabled' setting for HID devices into ↵Lars Op den Kamp
'do_not_use_custom_keymap', and hide the setting when the keymap is not configurable
2012-03-27peripherals: added an optional order to settingsLars Op den Kamp
2012-03-27cec: removed the cec_debug_logging setting. always show cec debug logging ↵Lars Op den Kamp
when debugging in XBMC is enabled
2012-03-27cec: set the HDMI port and the device to which the CEC adapter was ↵Lars Op den Kamp
connected, to be able to determine the correct physical address. this is needed for people who have connected XBMC to something else than the TV
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.