Annotation of sys/dev/pckbc/pmsreg.h, Revision 1.1
1.1 ! nbrk 1: /* $OpenBSD: pmsreg.h,v 1.1 2007/08/01 12:16:59 kettenis Exp $ */
! 2: /* $NetBSD: psmreg.h,v 1.1 1998/03/22 15:41:28 drochner Exp $ */
! 3:
! 4: /* mouse commands */
! 5: #define PMS_SET_SCALE11 0xe6 /* set scaling 1:1 */
! 6: #define PMS_SET_SCALE21 0xe7 /* set scaling 2:1 */
! 7: #define PMS_SET_RES 0xe8 /* set resolution (0..3) */
! 8: #define PMS_GET_SCALE 0xe9 /* get scaling factor */
! 9: #define PMS_SEND_DEV_STATUS 0xe9
! 10: #define PMS_SET_STREAM 0xea /* set streaming mode */
! 11: #define PMS_SEND_DEV_DATA 0xeb
! 12: #define PMS_SET_REMOTE_MODE 0xf0
! 13: #define PMS_SEND_DEV_ID 0xf2
! 14: #define PMS_SET_SAMPLE 0xf3 /* set sampling rate */
! 15: #define PMS_DEV_ENABLE 0xf4 /* mouse on */
! 16: #define PMS_DEV_DISABLE 0xf5 /* mouse off */
! 17: #define PMS_SET_DEFAULTS 0xf6
! 18: #define PMS_RESET 0xff /* reset */
! 19:
! 20: #define PMS_RSTDONE 0xaa
CVSweb