diff options
author | yokota <yokota@FreeBSD.org> | 1999-12-13 09:31:43 +0000 |
---|---|---|
committer | yokota <yokota@FreeBSD.org> | 1999-12-13 09:31:43 +0000 |
commit | 20a1c0bf0c5e1385c134b541dbaeb056b0a8d177 (patch) | |
tree | 25e4e2a032a570d199ab4ce9f28afa76f905a1d5 /sys/sys/kbio.h | |
parent | 2f637bd7450f1ada3de59b0fc86789ea72fef86b (diff) | |
download | FreeBSD-src-20a1c0bf0c5e1385c134b541dbaeb056b0a8d177.zip FreeBSD-src-20a1c0bf0c5e1385c134b541dbaeb056b0a8d177.tar.gz |
- Remember the keyboard repeat delay and rate.
- Add a new ioctl, KDGETREPEAT, to retrieve the keyboard repeat rate.
- Delete unnecessary #include.
Diffstat (limited to 'sys/sys/kbio.h')
-rw-r--r-- | sys/sys/kbio.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/sys/kbio.h b/sys/sys/kbio.h index c8eb6d22..a6f2b48 100644 --- a/sys/sys/kbio.h +++ b/sys/sys/kbio.h @@ -77,12 +77,13 @@ struct keyboard_info { typedef struct keyboard_info keyboard_info_t; #define KDGKBINFO _IOR('K', 101, keyboard_info_t) -/* set keyboard repeat rate (new interface) */ +/* set/get keyboard repeat rate (new interface) */ struct keyboard_repeat { int kb_repeat[2]; }; typedef struct keyboard_repeat keyboard_repeat_t; #define KDSETREPEAT _IOW('K', 102, keyboard_repeat_t) +#define KDGETREPEAT _IOR('K', 103, keyboard_repeat_t) /* get/set key map/accent map/function key strings */ |