Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
enum instead of a string with logical addresses
|
|
'connected_device' setting
|
|
|
|
|
|
activated set to false
|
|
targets are still supported by libCEC 1.7.0
|
|
playback when switching back to XBMC
|
|
|
|
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
|
|
source' message. bugzid: 439
|
|
the config in libCEC.
|
|
'do_not_use_custom_keymap', and hide the setting when the keymap is not configurable
|
|
|
|
when debugging in XBMC is enabled
|
|
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
|
|
- 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.
|
|
|
|
|
|
|
|
settings.
|
|
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
|
|
|
|
on some (windows?) installations.
|
|
linux/PeripheralBusUSB into PeripheralBusUSBLibUdev and PeripheralBusUSBLibUSB. fixed automake files
|
|
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.
|