diff options
Diffstat (limited to 'include/asm-sparc/kbio.h')
-rw-r--r-- | include/asm-sparc/kbio.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/asm-sparc/kbio.h b/include/asm-sparc/kbio.h index 7382d396f..3cf496bdf 100644 --- a/include/asm-sparc/kbio.h +++ b/include/asm-sparc/kbio.h @@ -32,6 +32,18 @@ enum { /* Get keyboard leds */ #define KIOCGLED _IOR('k', 15, unsigned char) +/* Used by KIOC[GS]RATE */ +struct kbd_rate { + unsigned char delay; /* Delay in Hz before first repeat. */ + unsigned char rate; /* In characters per second (0..50). */ +}; + +/* Set keyboard rate */ +#define KIOCSRATE _IOW('k', 40, struct kbd_rate) + +/* Get keyboard rate */ +#define KIOCGRATE _IOW('k', 41, struct kbd_rate) + /* Top bit records if the key is up or down */ #define KBD_UP 0x80 |