summaryrefslogtreecommitdiff
path: root/tools/hal-probe-vmmouse.in
diff options
context:
space:
mode:
authorMichel Dänzer <daenzer@vmware.com>2010-04-01 18:35:38 +0200
committerMichel Dänzer <daenzer@vmware.com>2010-04-08 16:10:33 +0200
commit80f671233e583ae085986bce12057fc45da444aa (patch)
tree28cddb2b57583d8b59be126afd44a91ae54baede /tools/hal-probe-vmmouse.in
parentb9c3bc94ee86a72216e9738aaecede80cc1c043c (diff)
Add InputClass support.
The InputClass can match the tag "vmmouse". A sample xorg.conf.d snippet is provided to try and make sure the driver will be loaded automatically in a compatible VM also if the X server uses udev instead of HAL. The configure script tries to determine if and where it makes sense to install the udev rule and xorg.conf.d snippet but allows overriding both. Thanks to Timo Aaltonen for the udev rules file and Dan Nicholson and Simon Thum for review and suggestions for improvement.
Diffstat (limited to 'tools/hal-probe-vmmouse.in')
-rwxr-xr-xtools/hal-probe-vmmouse.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/hal-probe-vmmouse.in b/tools/hal-probe-vmmouse.in
index 1f75e25..42c9da3 100755
--- a/tools/hal-probe-vmmouse.in
+++ b/tools/hal-probe-vmmouse.in
@@ -26,5 +26,6 @@
__BIN_PREFIX__/vmmouse_detect
if [ $? -eq 0 ]; then
__HAL_BIN_PREFIX__/hal-set-property --direct --udi "$UDI" --key input.x11_driver --string "vmmouse"
+ __HAL_BIN_PREFIX__/hal-set-property --direct --udi "$UDI" --key input.tags --string "vmmouse"
fi