diff options
Diffstat (limited to 'config/x11-input.fdi')
-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> |