diff options
author | Aaron Campbell <aaron@cvs.openbsd.org> | 2000-11-13 20:12:36 +0000 |
---|---|---|
committer | Aaron Campbell <aaron@cvs.openbsd.org> | 2000-11-13 20:12:36 +0000 |
commit | 5decade5820d7f183afb0a430a532e9a7d3f1f4f (patch) | |
tree | 1e7d2ea1a0b62f19ab3c53c60452f689c5b6767e /sys/dev/pckbc/psmreg.h | |
parent | 4ed7a6ea0cda68c22c6f200de280d1ad59df1459 (diff) |
Machine-independent PC-like keyboard driver; from NetBSD. XXX - Not used
anywhere quite yet, but useful to have these files in the tree while we work
towards wscons for i386 and alpha.
Diffstat (limited to 'sys/dev/pckbc/psmreg.h')
-rw-r--r-- | sys/dev/pckbc/psmreg.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/sys/dev/pckbc/psmreg.h b/sys/dev/pckbc/psmreg.h new file mode 100644 index 00000000000..c6da5dbf969 --- /dev/null +++ b/sys/dev/pckbc/psmreg.h @@ -0,0 +1,19 @@ +/* $NetBSD: psmreg.h,v 1.1 1998/03/22 15:41:28 drochner Exp $ */ + +/* mouse commands */ +#define PMS_SET_SCALE11 0xe6 /* set scaling 1:1 */ +#define PMS_SET_SCALE21 0xe7 /* set scaling 2:1 */ +#define PMS_SET_RES 0xe8 /* set resolution (0..3) */ +#define PMS_GET_SCALE 0xe9 /* get scaling factor */ +#define PMS_SEND_DEV_STATUS 0xe9 +#define PMS_SET_STREAM 0xea /* set streaming mode */ +#define PMS_SEND_DEV_DATA 0xeb +#define PMS_SET_REMOTE_MODE 0xf0 +#define PMS_SEND_DEV_ID 0xf2 +#define PMS_SET_SAMPLE 0xf3 /* set sampling rate */ +#define PMS_DEV_ENABLE 0xf4 /* mouse on */ +#define PMS_DEV_DISABLE 0xf5 /* mouse off */ +#define PMS_SET_DEFAULTS 0xf6 +#define PMS_RESET 0xff /* reset */ + +#define PMS_RSTDONE 0xaa |