summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2009-02-26 10:50:55 +0000
committerRichard Hughes <richard@hughsie.com>2009-02-26 10:50:55 +0000
commite6b033c932cc4c09d05521f7d84037366d4755cc (patch)
treebd87b9106a9c370a10cd250370d886e50eb58b0e
parentff8ca64b6f5ceadf01296f52491892fb16f962c6 (diff)
add x11_driver for KVM graphics tablet
-rw-r--r--fdi/policy/10osvendor/10-x11-input.fdi6
1 files changed, 6 insertions, 0 deletions
diff --git a/fdi/policy/10osvendor/10-x11-input.fdi b/fdi/policy/10osvendor/10-x11-input.fdi
index 6bd8e765..769f75b9 100644
--- a/fdi/policy/10osvendor/10-x11-input.fdi
+++ b/fdi/policy/10osvendor/10-x11-input.fdi
@@ -1,6 +1,12 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<deviceinfo version="0.2">
<device>
+
+ <!-- KVM emulates a USB graphics tablet which works in absolute coordinate mode -->
+ <match key="input.product" contains="QEMU USB Tablet">
+ <merge key="input.x11_driver" type="string">evdev</merge>
+ </match>
+
<!-- FIXME: Support tablets too. -->
<match key="info.capabilities" contains="input.mouse">
<merge key="input.x11_driver" type="string">mouse</merge>