diff options
author | marha <marha@users.sourceforge.net> | 2010-01-08 13:59:32 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2010-01-08 13:59:32 +0000 |
commit | 1ae1f3dee798a8468a415eaa8f1da78e9d3fbae8 (patch) | |
tree | 5ff2d27dc0c94b02beedeb4551f677691e606352 /xorg-server/hw/kdrive/linux/ms.c | |
parent | d5ac51b006c039894e4e35102a8e182d21a52efc (diff) | |
parent | 91a30d5622174febaa2107b010effcf2fb5b9a2e (diff) | |
download | vcxsrv-1ae1f3dee798a8468a415eaa8f1da78e9d3fbae8.tar.gz vcxsrv-1ae1f3dee798a8468a415eaa8f1da78e9d3fbae8.tar.bz2 vcxsrv-1ae1f3dee798a8468a415eaa8f1da78e9d3fbae8.zip |
svn merge ^/branches/released
Diffstat (limited to 'xorg-server/hw/kdrive/linux/ms.c')
-rw-r--r-- | xorg-server/hw/kdrive/linux/ms.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xorg-server/hw/kdrive/linux/ms.c b/xorg-server/hw/kdrive/linux/ms.c index 5786ed170..b6151cd90 100644 --- a/xorg-server/hw/kdrive/linux/ms.c +++ b/xorg-server/hw/kdrive/linux/ms.c @@ -83,7 +83,7 @@ MsRead (int port, void *closure) flags |= KD_BUTTON_1; if (b[0] & 0x10) flags |= KD_BUTTON_3; - + dx = (char)(((b[0] & 0x03) << 6) | (b[1] & 0x3F)); dy = (char)(((b[0] & 0x0C) << 4) | (b[2] & 0x3F)); n -= 3; @@ -103,8 +103,8 @@ MsInit (KdPointerInfo *pi) pi->path = strdup("/dev/mouse"); if (!pi->name) pi->name = strdup("Microsoft protocol mouse"); - - return Success; + + return Success; } static Status |