Lines Matching +full:0 +full:xff
22 FLAG_SCROLL_LOCK = 1 << 0,
28 KEY_MASK = 0xfff,
32 * These takes map key codes to ASCII. 0xff means no key, or special key.
38 0xff, 0x1b, '1', '2', '3', '4', '5', '6',
39 '7', '8', '9', '0', '-', '=', '\b', '\t', /* 0x00 - 0x0f */
41 'o', 'p', '[', ']', '\r', 0xff, 'a', 's', /* 0x10 - 0x1f */
43 '\'', '`', 0xff, '\\', 'z', 'x', 'c', 'v', /* 0x20 - 0x2f */
44 'b', 'n', 'm', ',' , '.', '/', 0xff, 0xff, 0xff,
45 ' ', 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, /* 0x30 - 0x3f */
46 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, '7',
47 '8', '9', '-', '4', '5', '6', '+', '1', /* 0x40 - 0x4f */
48 '2', '3', '0', '.', 0xff, 0xff, 0xff, 0xff,
49 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, /* 0x50 - 0x5F */
50 '\r', 0xff, '/', '*',
54 0xff, 0x1b, '!', '@', '#', '$', '%', '^',
55 '&', '*', '(', ')', '_', '+', '\b', '\t', /* 0x00 - 0x0f */
57 'O', 'P', '{', '}', '\r', 0xff, 'A', 'S', /* 0x10 - 0x1f */
59 '"', '~', 0xff, '|', 'Z', 'X', 'C', 'V', /* 0x20 - 0x2f */
60 'B', 'N', 'M', '<', '>', '?', 0xff, 0xff, 0xff,
61 ' ', 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, /* 0x30 - 0x3f */
62 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, '7',
63 '8', '9', '-', '4', '5', '6', '+', '1', /* 0x40 - 0x4f */
64 '2', '3', '0', '.', 0xff, 0xff, 0xff, 0xff, 0xff,
65 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, /* 0x50 - 0x5F */
66 '\r', 0xff, '/', '*',
70 0xff, 0x1b, '1', 0x00, '3', '4', '5', 0x1E,
71 '7', '8', '9', '0', 0x1F, '=', '\b', '\t', /* 0x00 - 0x0f */
72 0x11, 0x17, 0x05, 0x12, 0x14, 0x19, 0x15, 0x09,
73 0x0f, 0x10, 0x1b, 0x1d, '\n', 0xff, 0x01, 0x13, /* 0x10 - 0x1f */
74 0x04, 0x06, 0x08, 0x09, 0x0a, 0x0b, 0x0c, ';',
75 '\'', '~', 0x00, 0x1c, 0x1a, 0x18, 0x03, 0x16, /* 0x20 - 0x2f */
76 0x02, 0x0e, 0x0d, '<', '>', '?', 0xff, 0xff,
77 0xff, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, /* 0x30 - 0x3f */
78 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, '7',
79 '8', '9', '-', '4', '5', '6', '+', '1', /* 0x40 - 0x4f */
80 '2', '3', '0', '.', 0xff, 0xff, 0xff, 0xff,
81 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, /* 0x50 - 0x5F */
82 '\r', 0xff, '/', '*',
89 0xff, 0x1b, '1', '2', '3', '4', '5', '6', /* scan 00-07 */
90 '7', '8', '9', '0', 0xe1, '\'', 0x08, '\t', /* scan 08-0F */
92 'o', 'p', 0x81, '+', '\r', 0xff, 'a', 's', /* scan 18-1F */
93 'd', 'f', 'g', 'h', 'j', 'k', 'l', 0x94, /* scan 20-27 */
94 0x84, '^', 0xff, '#', 'y', 'x', 'c', 'v', /* scan 28-2F */
95 'b', 'n', 'm', ',', '.', '-', 0xff, '*', /* scan 30-37 */
96 ' ', ' ', 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, /* scan 38-3F */
97 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, '7', /* scan 40-47 */
99 '2', '3', '0', ',', 0xff, 0xff, '<', 0xff, /* scan 50-57 */
100 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, /* scan 58-5F */
101 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, /* scan 60-67 */
102 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, /* scan 68-6F */
103 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, /* scan 70-77 */
104 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, /* scan 78-7F */
105 '\r', 0xff, '/', '*',
109 0xff, 0x1b, '!', '"', 0x15, '$', '%', '&', /* scan 00-07 */
110 '/', '(', ')', '=', '?', '`', 0x08, '\t', /* scan 08-0F */
112 'O', 'P', 0x9a, '*', '\r', 0xff, 'A', 'S', /* scan 18-1F */
113 'D', 'F', 'G', 'H', 'J', 'K', 'L', 0x99, /* scan 20-27 */
114 0x8e, 0xf8, 0xff, '\'', 'Y', 'X', 'C', 'V', /* scan 28-2F */
115 'B', 'N', 'M', ';', ':', '_', 0xff, '*', /* scan 30-37 */
116 ' ', ' ', 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, /* scan 38-3F */
117 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, '7', /* scan 40-47 */
119 '2', '3', '0', ',', 0xff, 0xff, '>', 0xff, /* scan 50-57 */
120 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, /* scan 58-5F */
121 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, /* scan 60-67 */
122 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, /* scan 68-6F */
123 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, /* scan 70-77 */
124 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, /* scan 78-7F */
125 '\r', 0xff, '/', '*',
129 0xff, 0xff, 0xff, 0xfd, 0xff, 0xff, 0xff, 0xff, /* scan 00-07 */
130 '{', '[', ']', '}', '\\', 0xff, 0xff, 0xff, /* scan 08-0F */
131 '@', 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, /* scan 10-17 */
132 0xff, 0xff, 0xff, '~', 0xff, 0xff, 0xff, 0xff, /* scan 18-1F */
133 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, /* scan 20-27 */
134 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, /* scan 28-2F */
135 0xff, 0xff, 0xe6, 0xff, 0xff, 0xff, 0xff, 0xff, /* scan 30-37 */
136 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, /* scan 38-3F */
137 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, /* scan 40-47 */
138 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, /* scan 48-4F */
139 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, '|', 0xff, /* scan 50-57 */
143 KBD_ENGLISH = 1 << 0,
193 config->fifo_in = 0; in input_queue_ascii()
202 return 0; in input_queue_ascii()
209 return 0; in input_tstc()
216 int err = 0; in input_getc()
226 config->fifo_out = 0; in input_getc()
239 * @param release 0 if a press, 1 if a release
253 assert(config->num_tables > 0); in process_modifier()
254 table = &config->table[0]; in process_modifier()
279 int leds = 0; in process_modifier()
315 for (i = 0; i < count; i++) { in array_search()
347 dest_count = 0; in sort_array_by_ordering()
350 for (i = 0; i < ocount; i++) { in sort_array_by_ordering()
357 for (i = 0; i < count; i++) { in sort_array_by_ordering()
404 * @return number of characters output, if the key was converted, otherwise 0.
415 for (i = ch_count = 0; i < ARRAY_SIZE(kbd_to_ansi364); i++) { in input_keycode_to_ansi364()
426 return 0; in input_keycode_to_ansi364()
456 int ch_count = 0; in input_keycodes_to_ascii()
459 table = &config->table[0]; in input_keycodes_to_ascii()
462 for (i = 0; i < num_keycodes; i++) { in input_keycodes_to_ascii()
465 if (key >= table->num_entries || table->xlate[key] == 0xff) { in input_keycodes_to_ascii()
489 ch = 0xff; in input_keycodes_to_ascii()
491 if (ch_count < max_chars && ch != 0xff) in input_keycodes_to_ascii()
513 int count, i, same = 0; in _input_send_keycodes()
514 int is_repeat = 0; in _input_send_keycodes()
517 config->modifiers = 0; in _input_send_keycodes()
528 (int)get_timer(config->next_repeat_ms) >= 0); in _input_send_keycodes()
530 return 0; in _input_send_keycodes()
534 ch, sizeof(ch), is_repeat ? 0 : same); in _input_send_keycodes()
536 for (i = 0; i < count; i++) in _input_send_keycodes()
543 config->next_repeat_ms = get_timer(0) + delay_ms; in _input_send_keycodes()
561 for (i = 0, count = 0; i < config->num_prev_keycodes; i++) { in input_add_keycode()
575 for (i = 0; i < count; i++) in input_add_keycode()
599 return 0; in input_add_table()
639 return 0; in input_add_tables()
644 memset(config, '\0', sizeof(*config)); in input_init()
647 return 0; in input_init()
657 if (!error && strcmp(env_get("stdin"), dev->name) == 0) { in input_stdio_register()
667 return 0; in input_stdio_register()