summaryrefslogtreecommitdiff
path: root/fdi/11-x11-vmmouse.fdi
diff options
context:
space:
mode:
authorPhilip Langdale <philipl@fido2.homeip.net>2008-10-23 21:54:44 -0700
committerPhilip Langdale <philipl@fido2.homeip.net>2008-10-23 21:54:44 -0700
commiteb03e96c1974a3fbe1c48c56974ff32bc886c8f7 (patch)
treea0a671aa85dc18d54dcda82ab738ac3e332888a0 /fdi/11-x11-vmmouse.fdi
parent223afd09500672a7fe8a1ab5fc221001863a8bec (diff)
Add HAL integration to support input hot plug.
* vmmouse_detect: A simple program that detects whether a vmmouse device is present. * hal-probe-vmmouse: A HAL callout script that uses vmmouse_detect and overrides input.x11_driver. * 11-x11-vmmouse.fdi: fdi descriptor that adds the callout for PS/2 mice. Additional 'configure' variables have been added to allow for overriding HAL paths, although this shouldn't usually be necessary.
Diffstat (limited to 'fdi/11-x11-vmmouse.fdi')
-rw-r--r--fdi/11-x11-vmmouse.fdi10
1 files changed, 10 insertions, 0 deletions
diff --git a/fdi/11-x11-vmmouse.fdi b/fdi/11-x11-vmmouse.fdi
new file mode 100644
index 0000000..e725f9a
--- /dev/null
+++ b/fdi/11-x11-vmmouse.fdi
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<deviceinfo version="0.2">
+ <device>
+ <match key="info.capabilities" contains="input.mouse">
+ <match key="input.originating_device" contains="i8042_AUX_port">
+ <append key="info.callouts.add" type="strlist">hal-probe-vmmouse</append>
+ </match>
+ </match>
+ </device>
+</deviceinfo>