Home | History | Annotate | Line # | Download | only in pckbport
      1 /* $NetBSD: pmsreg.h,v 1.3 2011/02/08 07:32:47 cegger Exp $ */
      2 
      3 /* mouse commands */
      4 #define	PMS_SET_SCALE11		0xe6	/* set scaling 1:1 */
      5 #define	PMS_SET_SCALE21		0xe7	/* set scaling 2:1 */
      6 #define	PMS_SET_RES		0xe8	/* set resolution (0..3) */
      7 #define	PMS_GET_SCALE		0xe9	/* get scaling factor */
      8 #define	PMS_SEND_DEV_STATUS	0xe9	/* status request */
      9 #define	PMS_SET_STREAM		0xea	/* set streaming mode */
     10 #define	PMS_SEND_DEV_DATA	0xeb	/* read data */
     11 #define	PMS_RESET_WRAP_MODE	0xec
     12 #define	PMS_SET_WRAP_MODE	0xed
     13 #define	PMS_SET_REMOTE_MODE	0xf0
     14 #define	PMS_SEND_DEV_ID		0xf2	/* read device type */
     15 #define	PMS_SET_SAMPLE		0xf3	/* set sampling rate */
     16 #define	PMS_DEV_ENABLE		0xf4	/* mouse on */
     17 #define	PMS_DEV_DISABLE		0xf5	/* mouse off */
     18 #define	PMS_SET_DEFAULTS	0xf6
     19 #define	PMS_ACK			0xfa
     20 #define	PMS_ERROR		0xfc
     21 #define	PMS_RESEND		0xfe
     22 #define	PMS_RESET		0xff	/* reset */
     23 
     24 #define	PMS_RSTDONE		0xaa
     25