diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2007-04-10 22:37:18 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2007-04-10 22:37:18 +0000 |
commit | 4395ebb5d960c7e79e0751653ed70652bb5c750e (patch) | |
tree | f3fbbc3ee965b802ffcc2ec46881747e95afdf75 /usr.sbin/wsmoused/mouse_protocols.h | |
parent | b50c42daab6dfe37e18820055d043474e3fa21f7 (diff) |
Add support for a fourth axis on wsmouse devices, e.g. on the Apple Might
Mouse. Currently limited to USB mice.
Adapted from a diff from Gareth <garf@loveandnature.co.za> on tech@
Diffstat (limited to 'usr.sbin/wsmoused/mouse_protocols.h')
-rw-r--r-- | usr.sbin/wsmoused/mouse_protocols.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/wsmoused/mouse_protocols.h b/usr.sbin/wsmoused/mouse_protocols.h index f14f55bee20..14a2ab64451 100644 --- a/usr.sbin/wsmoused/mouse_protocols.h +++ b/usr.sbin/wsmoused/mouse_protocols.h @@ -1,4 +1,4 @@ -/* $OpenBSD: mouse_protocols.h,v 1.4 2003/11/08 19:17:30 jmc Exp $ */ +/* $OpenBSD: mouse_protocols.h,v 1.5 2007/04/10 22:37:17 miod Exp $ */ /* * Copyright (c) 2001 Jean-Baptiste Marchand, Julien Montagne and Jerome Verdon @@ -193,6 +193,7 @@ typedef struct mousestatus { int dx; /* x movement */ int dy; /* y movement */ int dz; /* z movement */ + int dw; /* w movement */ } mousestatus_t; /* Prototypes */ |