| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | /* $NetBSD: wsconsio.h,v 1.123 2019/05/24 14:28:48 nonaka Exp $ */ | | 1 | /* $NetBSD: wsconsio.h,v 1.124 2020/10/29 09:08:35 nia Exp $ */ |
2 | | | 2 | |
3 | /* | | 3 | /* |
4 | * Copyright (c) 1996, 1997 Christopher G. Demetriou. All rights reserved. | | 4 | * Copyright (c) 1996, 1997 Christopher G. Demetriou. All rights reserved. |
5 | * | | 5 | * |
6 | * Redistribution and use in source and binary forms, with or without | | 6 | * Redistribution and use in source and binary forms, with or without |
7 | * modification, are permitted provided that the following conditions | | 7 | * modification, are permitted provided that the following conditions |
8 | * are met: | | 8 | * are met: |
9 | * 1. Redistributions of source code must retain the above copyright | | 9 | * 1. Redistributions of source code must retain the above copyright |
10 | * notice, this list of conditions and the following disclaimer. | | 10 | * notice, this list of conditions and the following disclaimer. |
11 | * 2. Redistributions in binary form must reproduce the above copyright | | 11 | * 2. Redistributions in binary form must reproduce the above copyright |
12 | * notice, this list of conditions and the following disclaimer in the | | 12 | * notice, this list of conditions and the following disclaimer in the |
13 | * documentation and/or other materials provided with the distribution. | | 13 | * documentation and/or other materials provided with the distribution. |
14 | * 3. All advertising materials mentioning features or use of this software | | 14 | * 3. All advertising materials mentioning features or use of this software |
| @@ -77,27 +77,27 @@ struct wscons_event { | | | @@ -77,27 +77,27 @@ struct wscons_event { |
77 | #define WSCONS_EVENT_MOUSE_DELTA_W 14 /* W delta amount */ | | 77 | #define WSCONS_EVENT_MOUSE_DELTA_W 14 /* W delta amount */ |
78 | #define WSCONS_EVENT_MOUSE_ABSOLUTE_W 15 /* W location */ | | 78 | #define WSCONS_EVENT_MOUSE_ABSOLUTE_W 15 /* W location */ |
79 | | | 79 | |
80 | | | 80 | |
81 | /* | | 81 | /* |
82 | * Keyboard ioctls (0 - 31) | | 82 | * Keyboard ioctls (0 - 31) |
83 | */ | | 83 | */ |
84 | | | 84 | |
85 | /* Get keyboard type. */ | | 85 | /* Get keyboard type. */ |
86 | #define WSKBDIO_GTYPE _IOR('W', 0, u_int) | | 86 | #define WSKBDIO_GTYPE _IOR('W', 0, u_int) |
87 | #define WSKBD_TYPE_LK201 1 /* lk-201 */ | | 87 | #define WSKBD_TYPE_LK201 1 /* lk-201 */ |
88 | #define WSKBD_TYPE_LK401 2 /* lk-401 */ | | 88 | #define WSKBD_TYPE_LK401 2 /* lk-401 */ |
89 | #define WSKBD_TYPE_PC_XT 3 /* PC-ish, XT scancode */ | | 89 | #define WSKBD_TYPE_PC_XT 3 /* PC-ish, XT scancode */ |
90 | #define WSKBD_TYPE_PC_AT 4 /* PC-ish, AT scancode */ | | 90 | #define WSKBD_TYPE_PC_AT 4 /* PC-ish, AT scancode, not used by modern kernels */ |
91 | #define WSKBD_TYPE_USB 5 /* USB, XT scancode */ | | 91 | #define WSKBD_TYPE_USB 5 /* USB, XT scancode */ |
92 | #define WSKBD_TYPE_NEXT 6 /* NeXT keyboard */ | | 92 | #define WSKBD_TYPE_NEXT 6 /* NeXT keyboard */ |
93 | #define WSKBD_TYPE_HPC_KBD 7 /* HPC bultin keyboard */ | | 93 | #define WSKBD_TYPE_HPC_KBD 7 /* HPC bultin keyboard */ |
94 | #define WSKBD_TYPE_HPC_BTN 8 /* HPC/PsPC buttons */ | | 94 | #define WSKBD_TYPE_HPC_BTN 8 /* HPC/PsPC buttons */ |
95 | #define WSKBD_TYPE_ARCHIMEDES 9 /* Archimedes keyboard */ | | 95 | #define WSKBD_TYPE_ARCHIMEDES 9 /* Archimedes keyboard */ |
96 | #define WSKBD_TYPE_RISCPC 10 /* RiscPC keyboard, resembling AT codes */ | | 96 | #define WSKBD_TYPE_RISCPC 10 /* RiscPC keyboard, resembling AT codes */ |
97 | #define WSKBD_TYPE_ADB 11 /* ADB */ | | 97 | #define WSKBD_TYPE_ADB 11 /* ADB */ |
98 | #define WSKBD_TYPE_HIL 12 /* HIL keyboard */ | | 98 | #define WSKBD_TYPE_HIL 12 /* HIL keyboard */ |
99 | #define WSKBD_TYPE_AMIGA 13 /* Amiga keyboard */ | | 99 | #define WSKBD_TYPE_AMIGA 13 /* Amiga keyboard */ |
100 | #define WSKBD_TYPE_MAPLE 14 /* Dreamcast Maple keyboard */ | | 100 | #define WSKBD_TYPE_MAPLE 14 /* Dreamcast Maple keyboard */ |
101 | #define WSKBD_TYPE_ATARI 15 /* Atari keyboard */ | | 101 | #define WSKBD_TYPE_ATARI 15 /* Atari keyboard */ |
102 | #define WSKBD_TYPE_SUN 16 /* Sun Type3/4 */ | | 102 | #define WSKBD_TYPE_SUN 16 /* Sun Type3/4 */ |
103 | #define WSKBD_TYPE_SUN5 17 /* Sun Type5 */ | | 103 | #define WSKBD_TYPE_SUN5 17 /* Sun Type5 */ |