diff options
author | Mats O Jansson <maja@cvs.openbsd.org> | 1999-08-21 20:31:40 +0000 |
---|---|---|
committer | Mats O Jansson <maja@cvs.openbsd.org> | 1999-08-21 20:31:40 +0000 |
commit | b5480d4ef059644de7f17a7e71322d54ed241c0e (patch) | |
tree | 659d5821b80d886690e308fa4b60f6021024cc16 | |
parent | f38c3ca2c9b88293c5269d175b96b0fea5f6d2e4 (diff) |
definitions needed by sbin/kbd/kbd_sparc.c
-rw-r--r-- | sys/arch/sparc/include/kbd.h | 40 |
1 files changed, 39 insertions, 1 deletions
diff --git a/sys/arch/sparc/include/kbd.h b/sys/arch/sparc/include/kbd.h index 8515b0e5942..f957a62d815 100644 --- a/sys/arch/sparc/include/kbd.h +++ b/sys/arch/sparc/include/kbd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: kbd.h,v 1.6 1999/07/20 07:38:33 maja Exp $ */ +/* $OpenBSD: kbd.h,v 1.7 1999/08/21 20:31:39 maja Exp $ */ /* $NetBSD: kbd.h,v 1.6 1996/03/31 22:21:35 pk Exp $ */ /* @@ -121,6 +121,44 @@ #define FA_GRAVE 0x405 #define FA_CLASS_LAST 0x405 +#define STRING 0x500 +#define KTAB_STRLEN 10 +#define HOMEARROW 0x00 +#define UPARROW 0x01 +#define DOWNARROW 0x02 +#define LEFTARROW 0x03 +#define RIGHTARROR 0x04 + +#define FUNCKEYS 0x600 +#define LEFTFUNC 0x600 +#define RIGHTFUNC 0x610 +#define TOPFUNC 0x620 +#define BOTTOMFUNC 0x630 +#define LF(n) (LEFTFUNC+(n)-1) +#define RF(n) (RIGHTFUNC+(n)-1) +#define TF(n) (TOPFUNC+(n)-1) +#define BF(n) (BOTTOMFUNC+(n)-1) + +#define PADKEYS 0x700 +#define PADEQUAL 0x700 +#define PADSLASH 0x701 +#define PADSTAR 0x702 +#define PADMINUS 0x703 +#define PADSEP 0x704 +#define PAD7 0x705 +#define PAD8 0x706 +#define PAD9 0x707 +#define PADPLUS 0x708 +#define PAD4 0x709 +#define PAD5 0x70A +#define PAD6 0x70B +#define PAD1 0x70C +#define PAD2 0x70D +#define PAD3 0x70E +#define PAD0 0x70F +#define PADDOT 0x710 +#define PADENTER 0x711 + #ifdef _KERNEL void kbd_serial __P((struct tty *, void (*)(struct tty *), void (*)(struct tty *))); |