Lines Matching defs:hkbd_softc
129 struct hkbd_softc { struct
130 device_t sc_dev;
132 keyboard_t sc_kbd;
133 keymap_t sc_keymap;
134 accentmap_t sc_accmap;
135 fkeytab_t sc_fkeymap[HKBD_NFKEY];
137 struct hid_location sc_loc_apple_eject;
138 struct hid_location sc_loc_apple_fn;
139 struct hid_location sc_loc_key[HKBD_NKEYCODE];
140 struct hid_location sc_loc_numlock;
141 struct hid_location sc_loc_capslock;
142 struct hid_location sc_loc_scrolllock;
143 struct mtx sc_mtx;
144 struct task sc_task;
145 struct callout sc_callout;
153 struct thread *sc_poll_thread;
155 struct evdev_dev *sc_evdev;
158 sbintime_t sc_co_basetime;
159 int sc_delay;
160 uint32_t sc_repeat_time;
161 uint32_t sc_input[HKBD_IN_BUF_SIZE]; /* input buffer */
162 uint32_t sc_time_ms;
163 uint32_t sc_composed_char; /* composed char code, if non-zero */
165 uint32_t sc_buffered_char[2];
167 uint32_t sc_flags; /* flags */
181 int sc_mode; /* input mode (K_XLATE,K_RAW,K_CODE) */
182 int sc_state; /* shift/lock key state */
183 int sc_accents; /* accent key index (> 0) */
184 int sc_polling; /* polling recursion count */
185 int sc_led_size;
186 int sc_kbd_size;
188 uint32_t sc_inputhead;
189 uint32_t sc_inputtail;
191 uint8_t sc_iface_index;
192 uint8_t sc_iface_no;
193 uint8_t sc_id_apple_eject;
194 uint8_t sc_id_apple_fn;
195 uint8_t sc_id_loc_key[HKBD_NKEYCODE];
196 uint8_t sc_id_leds;
197 uint8_t sc_kbd_id;
198 uint8_t sc_repeat_key;
200 uint8_t sc_buffer[HKBD_BUFFER_SIZE];