summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorRobert Nagy <robert@cvs.openbsd.org>2007-05-08 20:38:21 +0000
committerRobert Nagy <robert@cvs.openbsd.org>2007-05-08 20:38:21 +0000
commitbfb8d33073f1def18a887dd4edb529f97e36c49f (patch)
tree944172cc7a6d168a1fd7d8f116e2e3ada246eebf /sys
parent67e72c3378f0d327f4e61685dbd9415d4c0731a2 (diff)
add swapxy, resx and resy to struct wsmouse_calibcoords,
so we can store these values here; ok miod@
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/wscons/wsconsio.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/wscons/wsconsio.h b/sys/dev/wscons/wsconsio.h
index 1bf7ad94f7b..7bd7c4d95b6 100644
--- a/sys/dev/wscons/wsconsio.h
+++ b/sys/dev/wscons/wsconsio.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: wsconsio.h,v 1.44 2007/04/10 22:37:17 miod Exp $ */
+/* $OpenBSD: wsconsio.h,v 1.45 2007/05/08 20:38:20 robert Exp $ */
/* $NetBSD: wsconsio.h,v 1.74 2005/04/28 07:15:44 martin Exp $ */
/*
@@ -225,6 +225,8 @@ struct wskbd_map_data {
struct wsmouse_calibcoords {
int minx, miny; /* minimum value of X/Y */
int maxx, maxy; /* maximum value of X/Y */
+ int swapxy; /* swap X/Y axis */
+ int resx, resy; /* X/Y resolution */
int samplelen; /* number of samples available or
WSMOUSE_CALIBCOORDS_RESET for raw mode */
struct wsmouse_calibcoord {