summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhsu <hsu@FreeBSD.org>1996-03-11 02:15:32 +0000
committerhsu <hsu@FreeBSD.org>1996-03-11 02:15:32 +0000
commit0383f3291a390e825fdf7f8e852ab8af8084f44e (patch)
treef175ab565f8cb3d191f9012117cc98d60eda6006
parent5f3df55ac522ed955dbdaca8b9f3e8a09ae9b5b7 (diff)
downloadFreeBSD-src-0383f3291a390e825fdf7f8e852ab8af8084f44e.zip
FreeBSD-src-0383f3291a390e825fdf7f8e852ab8af8084f44e.tar.gz
Merge in Lite2: use fixed-width types.
Reviewed by: davidg & bde
-rw-r--r--sys/sys/tablet.h29
1 files changed, 14 insertions, 15 deletions
diff --git a/sys/sys/tablet.h b/sys/sys/tablet.h
index f9aefc0..eb66705 100644
--- a/sys/sys/tablet.h
+++ b/sys/sys/tablet.h
@@ -30,14 +30,13 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * @(#)tablet.h 8.3 (Berkeley) 1/4/94
- * $Id$
+ * @(#)tablet.h 8.4 (Berkeley) 7/10/94
+ * $Id: tablet.h,v 1.3 1996/02/24 11:21:19 hsu Exp $
*/
#ifndef _SYS_TABLET_H_
#define _SYS_TABLET_H_
-/*
* Tablet line discipline.
*/
#include <sys/ioctl.h>
@@ -50,25 +49,25 @@
* the information.
*/
struct tbpos {
- int xpos, ypos; /* raw x-y coordinates */
- short status; /* buttons/pen down */
+ int32_t xpos, ypos; /* raw x-y coordinates */
+ int16_t status; /* buttons/pen down */
#define TBINPROX 0100000 /* pen in proximity of tablet */
- short scount; /* sample count */
+ int16_t scount; /* sample count */
};
struct gtcopos {
- int xpos, ypos; /* raw x-y coordinates */
- short status; /* as above */
- short scount; /* sample count */
- short xtilt, ytilt; /* raw tilt */
- short pressure;
- short pad; /* pad to longword boundary */
+ int32_t xpos, ypos; /* raw x-y coordinates */
+ int16_t status; /* as above */
+ int16_t scount; /* sample count */
+ int16_t xtilt, ytilt; /* raw tilt */
+ int16_t pressure;
+ int16_t pad; /* pad to longword boundary */
};
struct polpos {
- short p_x, p_y, p_z; /* raw 3-space coordinates */
- short p_azi, p_pit, p_rol; /* azimuth, pitch, and roll */
- short p_stat; /* status, as above */
+ int16_t p_x, p_y, p_z; /* raw 3-space coordinates */
+ int16_t p_azi, p_pit, p_rol; /* azimuth, pitch, and roll */
+ int16_t p_stat; /* status, as above */
char p_key; /* calculator input keyboard */
};
OpenPOWER on IntegriCloud