diff options
author | 2007-05-08 20:38:20 +0000 | |
---|---|---|
committer | 2007-05-08 20:38:20 +0000 | |
commit | 7de31552fbc7029e6d4bb34a42ec94fa213c423c (patch) | |
tree | 515509049402a1535236852903ec6dd26e40abdc | |
parent | put more foo_detach() routines where they are used (diff) | |
download | wireguard-openbsd-7de31552fbc7029e6d4bb34a42ec94fa213c423c.tar.xz wireguard-openbsd-7de31552fbc7029e6d4bb34a42ec94fa213c423c.zip |
add swapxy, resx and resy to struct wsmouse_calibcoords,
so we can store these values here; ok miod@
-rw-r--r-- | sys/dev/wscons/wsconsio.h | 4 |
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 { |