diff options
author | Daniel Stone <daniel@fooishbar.org> | 2007-08-01 07:01:51 +0300 |
---|---|---|
committer | Daniel Stone <daniel@fooishbar.org> | 2007-08-01 07:01:51 +0300 |
commit | 48b3034d13bbbb69072eb11f4579389cc32b0850 (patch) | |
tree | f8c002a040e794179a70b077357ac85752a3a68d /config | |
parent | 82b720cf3e09d8a6adcd40b25c4d48b34ba1ae80 (diff) |
Config: Add current FDI file
Add the FDI file we're using at the moment, until it gets into upstream HAL.
Diffstat (limited to 'config')
-rw-r--r-- | config/x11-input.fdi | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/config/x11-input.fdi b/config/x11-input.fdi new file mode 100644 index 000000000..c0e636f93 --- /dev/null +++ b/config/x11-input.fdi @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="UTF-8"?> +<deviceinfo version="0.2"> + <device> + <!-- FIXME: Support tablets too. --> + <match key="info.capabilities" contains="input.mouse"> + <merge key="input.x11_driver" type="string">mouse</merge> + <match key="/org/freedesktop/Hal/devices/computer:system.kernel.name" + string="Linux"> + <merge key="input.x11_driver" type="string">evdev</merge> + </match> + </match> + + <match key="info.capabilities" contains="input.keys"> + <merge key="input.xkb_rules" type="string">base</merge> + + <!-- If we're using Linux, we use evdev by default (falling back to + keyboard otherwise). --> + <merge key="input.x11_driver" type="string">keyboard</merge> + <merge key="input.xkb_model" type="string">keyboard</merge> + <match key="/org/freedesktop/Hal/devices/computer:system.kernel.name" + string="Linux"> + <merge key="input.x11_driver" type="string">evdev</merge> + <merge key="input.xkb_model" type="string">evdev</merge> + </match> + + <merge key="input.xkb_layout" type="string">us</merge> + + <merge key="input.xkb_variant" type="string" /> + </match> + </device> +</deviceinfo> |