Age | Commit message (Collapse) | Author |
|
linux/ubuntu readme
|
|
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.
|
|
|
|
|
|
|
|
|
|
updated READMEs
|
|
(this also removes the related build dependency libxtst-dev)
|
|
|
|
|
|
|
|
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@35279 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
|
|
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@34859 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
|
|
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@34839 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
|
|
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@32768 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
|
|
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@32695 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
|
|
pysqlite. thanks to giftie
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@32639 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
|
|
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@30155 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
|
|
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@30133 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
|
|
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@29202 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
|
|
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@28884 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
|
|
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@28584 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
|
|
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@27887 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
|
|
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@27875 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
|
|
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@27859 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
|
|
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@27771 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
|
|
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@27227 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
|
|
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@27221 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
|
|
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@27192 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
|
|
attention on windows)
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@24548 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
|
|
fixed: [LINUX/OSX] don't use internal cdio headers
updated: README's to reflect above (debian splits cdio into multiple pkgs)
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@23900 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
|
|
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@23516 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
|
|
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@23508 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
|
|
required library. Without it things go wrong :S
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@23432 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
|
|
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@23376 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
|
|
brings mpc8 support
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@23307 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
|
|
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@23199 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
|
|
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@23099 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
|
|
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@23097 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
|