{"head":"f4bb961a86f7a5ebe23bfa8d7da1b6893fc26662","size":3,"push_id":44507806,"shas":[["034236bf690119b2a82be1133ff328bccbdc4411","3318dc5ce3e4fb7c28a0b841b6801c884e1d0896@opdenkamp.eu","Squashed original peripherals PR #383\n\n    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.\n\n        It works as follows:\n        - CPeripherals contains one or more CPeripheralBus instances.\n        - CPeripheralBus contains the device scanning implementations for the different platforms we support.\n        - The implementations for the devices can be found in peripheral/devices and all devices inherit from CPeripheral.\n        - 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.\n        - 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\"\n        - 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.\n        - 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.\n\n        TODO:\n        - keep separate configs when the same device is found more than once\n        - general review of this code.","Lars Op den Kamp"],["1ac45d82a5983538bcc8cde252ad5a9b1325a4da","3318dc5ce3e4fb7c28a0b841b6801c884e1d0896@opdenkamp.eu","cec: added support for the Pulse-Eight CEC Adaptor. split up linux/PeripheralBusUSB into PeripheralBusUSBLibUdev and PeripheralBusUSBLibUSB. fixed automake files","Lars Op den Kamp"],["f4bb961a86f7a5ebe23bfa8d7da1b6893fc26662","48181acd22b3edaebc8a447868a7df7ce629920a@xbmc.org","Merge pull request #383 from Pulse-Eight/peripherals-pr\n\nnew peripherals manager","bobo1on1"]],"ref":"refs/heads/master"}