Searched refs:keycode (Results 1 - 8 of 8) sorted by relevance

/fuchsia/zircon/system/ulib/hid/include/hid/
H A Dhid.h32 // keys should be hid_keys_t*, keycode should be uint8_t
33 #define hid_for_every_key(keys, keycode) \
34 for (keycode = hid_kbd_next_key(keys); keycode; keycode = hid_kbd_next_key(keys))
/fuchsia/zircon/system/core/virtcon/
H A Dkeyboard-vt100.h12 // Converts the given HID keycode into an equivalent VT100/ANSI byte
15 uint32_t hid_key_to_vt100_code(uint8_t keycode, int modifiers,
H A Dkeyboard-vt100.cpp10 uint32_t hid_key_to_vt100_code(uint8_t keycode, int modifiers, argument
16 uint8_t ch = hid_map_key(keycode, modifiers & MOD_SHIFT, keymap);
39 switch (keycode) {
H A Dkeyboard.cpp24 static int modifiers_from_keycode(uint8_t keycode) { argument
25 switch (keycode) {
87 uint8_t keycode; local
93 hid_for_every_key(&keys, keycode) {
94 vi->modifiers |= modifiers_from_keycode(keycode);
95 if (keycode == HID_USAGE_KEY_CAPSLOCK) {
99 vi->handler(keycode, vi->modifiers);
104 hid_for_every_key(&keys, keycode) {
105 vi->modifiers &= ~modifiers_from_keycode(keycode);
H A Dvc-input.cpp25 static bool vc_handle_control_keys(uint8_t keycode, int modifiers) { argument
26 switch (keycode) {
29 vc_set_active(keycode - HID_USAGE_KEY_F1, NULL);
96 static bool vc_handle_device_control_keys(uint8_t keycode, int modifiers) { argument
97 switch (keycode) {
207 void handle_key_press(uint8_t keycode, int modifiers) { argument
209 if (vc_handle_device_control_keys(keycode, modifiers))
217 if (vc_handle_control_keys(keycode, modifiers))
223 keycode, modifiers, vc->keymap, output, sizeof(output));
H A Dkeyboard-test.cpp19 void keypress_handler(uint8_t keycode, int modifiers) { argument
20 g_keycode = keycode;
H A Dvc.h30 typedef void (*keypress_handler_t)(uint8_t keycode, int modifiers);
162 void handle_key_press(uint8_t keycode, int modifiers);
/fuchsia/zircon/kernel/platform/pc/
H A Dkeyboard.cpp225 LTRACEF("scancode 0x%x, keyup %d, multi %d: keycode 0x%x\n", scode, !!key_up, multi, key_code);

Completed in 100 milliseconds