Lines Matching +full:0 +full:xff

23 	FLAG_SCROLL_LOCK	= 1 << 0,
29 KEY_MASK = 0xfff,
33 * These takes map key codes to ASCII. 0xff means no key, or special key.
39 0xff, 0x1b, '1', '2', '3', '4', '5', '6',
40 '7', '8', '9', '0', '-', '=', '\b', '\t', /* 0x00 - 0x0f */
42 'o', 'p', '[', ']', '\r', 0xff, 'a', 's', /* 0x10 - 0x1f */
44 '\'', '`', 0xff, '\\', 'z', 'x', 'c', 'v', /* 0x20 - 0x2f */
45 'b', 'n', 'm', ',' , '.', '/', 0xff, 0xff, 0xff,
46 ' ', 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, /* 0x30 - 0x3f */
47 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, '7',
48 '8', '9', '-', '4', '5', '6', '+', '1', /* 0x40 - 0x4f */
49 '2', '3', '0', '.', 0xff, 0xff, 0xff, 0xff,
50 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, /* 0x50 - 0x5F */
51 '\r', 0xff, '/', '*',
55 0xff, 0x1b, '!', '@', '#', '$', '%', '^',
56 '&', '*', '(', ')', '_', '+', '\b', '\t', /* 0x00 - 0x0f */
58 'O', 'P', '{', '}', '\r', 0xff, 'A', 'S', /* 0x10 - 0x1f */
60 '"', '~', 0xff, '|', 'Z', 'X', 'C', 'V', /* 0x20 - 0x2f */
61 'B', 'N', 'M', '<', '>', '?', 0xff, 0xff, 0xff,
62 ' ', 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, /* 0x30 - 0x3f */
63 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, '7',
64 '8', '9', '-', '4', '5', '6', '+', '1', /* 0x40 - 0x4f */
65 '2', '3', '0', '.', 0xff, 0xff, 0xff, 0xff, 0xff,
66 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, /* 0x50 - 0x5F */
67 '\r', 0xff, '/', '*',
71 0xff, 0x1b, '1', 0x00, '3', '4', '5', 0x1E,
72 '7', '8', '9', '0', 0x1F, '=', '\b', '\t', /* 0x00 - 0x0f */
73 0x11, 0x17, 0x05, 0x12, 0x14, 0x19, 0x15, 0x09,
74 0x0f, 0x10, 0x1b, 0x1d, '\n', 0xff, 0x01, 0x13, /* 0x10 - 0x1f */
75 0x04, 0x06, 0x08, 0x09, 0x0a, 0x0b, 0x0c, ';',
76 '\'', '~', 0x00, 0x1c, 0x1a, 0x18, 0x03, 0x16, /* 0x20 - 0x2f */
77 0x02, 0x0e, 0x0d, '<', '>', '?', 0xff, 0xff,
78 0xff, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, /* 0x30 - 0x3f */
79 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, '7',
80 '8', '9', '-', '4', '5', '6', '+', '1', /* 0x40 - 0x4f */
81 '2', '3', '0', '.', 0xff, 0xff, 0xff, 0xff,
82 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, /* 0x50 - 0x5F */
83 '\r', 0xff, '/', '*',
87 0xff, 0x1b, '1', '2', '3', '4', '5', '6', /* scan 00-07 */
88 '7', '8', '9', '0', 0xe1, '\'', 0x08, '\t', /* scan 08-0F */
90 'o', 'p', 0x81, '+', '\r', 0xff, 'a', 's', /* scan 18-1F */
91 'd', 'f', 'g', 'h', 'j', 'k', 'l', 0x94, /* scan 20-27 */
92 0x84, '^', 0xff, '#', 'y', 'x', 'c', 'v', /* scan 28-2F */
93 'b', 'n', 'm', ',', '.', '-', 0xff, '*', /* scan 30-37 */
94 ' ', ' ', 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, /* scan 38-3F */
95 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, '7', /* scan 40-47 */
97 '2', '3', '0', ',', 0xff, 0xff, '<', 0xff, /* scan 50-57 */
98 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, /* scan 58-5F */
99 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, /* scan 60-67 */
100 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, /* scan 68-6F */
101 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, /* scan 70-77 */
102 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, /* scan 78-7F */
103 '\r', 0xff, '/', '*',
107 0xff, 0x1b, '!', '"', 0x15, '$', '%', '&', /* scan 00-07 */
108 '/', '(', ')', '=', '?', '`', 0x08, '\t', /* scan 08-0F */
110 'O', 'P', 0x9a, '*', '\r', 0xff, 'A', 'S', /* scan 18-1F */
111 'D', 'F', 'G', 'H', 'J', 'K', 'L', 0x99, /* scan 20-27 */
112 0x8e, 0xf8, 0xff, '\'', 'Y', 'X', 'C', 'V', /* scan 28-2F */
113 'B', 'N', 'M', ';', ':', '_', 0xff, '*', /* scan 30-37 */
114 ' ', ' ', 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, /* scan 38-3F */
115 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, '7', /* scan 40-47 */
117 '2', '3', '0', ',', 0xff, 0xff, '>', 0xff, /* scan 50-57 */
118 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, /* scan 58-5F */
119 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, /* scan 60-67 */
120 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, /* scan 68-6F */
121 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, /* scan 70-77 */
122 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, /* scan 78-7F */
123 '\r', 0xff, '/', '*',
127 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, /* scan 00-07 */
128 '{', '[', ']', '}', '\\', 0xff, 0xff, 0xff, /* scan 08-0F */
129 '@', 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, /* scan 10-17 */
130 0xff, 0xff, 0xff, '~', 0xff, 0xff, 0xff, 0xff, /* scan 18-1F */
131 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, /* scan 20-27 */
132 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, /* scan 28-2F */
133 0xff, 0xff, 0xe6, 0xff, 0xff, 0xff, 0xff, 0xff, /* scan 30-37 */
134 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, /* scan 38-3F */
135 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, /* scan 40-47 */
136 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, /* scan 48-4F */
137 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, '|', 0xff, /* scan 50-57 */
141 KBD_ENGLISH = 1 << 0,
191 config->fifo_in = 0; in input_queue_ascii()
200 return 0; in input_queue_ascii()
207 return 0; in input_tstc()
214 int err = 0; in input_getc()
224 config->fifo_out = 0; in input_getc()
237 * @param release 0 if a press, 1 if a release
251 assert(config->num_tables > 0); in process_modifier()
252 table = &config->table[0]; in process_modifier()
277 int leds = 0; in process_modifier()
313 for (i = 0; i < count; i++) { in array_search()
345 dest_count = 0; in sort_array_by_ordering()
348 for (i = 0; i < ocount; i++) { in sort_array_by_ordering()
355 for (i = 0; i < count; i++) { in sort_array_by_ordering()
402 * @return number of characters output, if the key was converted, otherwise 0.
413 for (i = ch_count = 0; i < ARRAY_SIZE(kbd_to_ansi364); i++) { in input_keycode_to_ansi364()
424 return 0; in input_keycode_to_ansi364()
454 int ch_count = 0; in input_keycodes_to_ascii()
457 table = &config->table[0]; in input_keycodes_to_ascii()
460 for (i = 0; i < num_keycodes; i++) { in input_keycodes_to_ascii()
463 if (key >= table->num_entries || table->xlate[key] == 0xff) { in input_keycodes_to_ascii()
487 ch = 0xff; in input_keycodes_to_ascii()
489 if (ch_count < max_chars && ch != 0xff) in input_keycodes_to_ascii()
511 int count, i, same = 0; in _input_send_keycodes()
512 int is_repeat = 0; in _input_send_keycodes()
515 config->modifiers = 0; in _input_send_keycodes()
526 (int)get_timer(config->next_repeat_ms) >= 0); in _input_send_keycodes()
528 return 0; in _input_send_keycodes()
532 ch, sizeof(ch), is_repeat ? 0 : same); in _input_send_keycodes()
534 for (i = 0; i < count; i++) in _input_send_keycodes()
541 config->next_repeat_ms = get_timer(0) + delay_ms; in _input_send_keycodes()
559 for (i = 0, count = 0; i < config->num_prev_keycodes; i++) { in input_add_keycode()
573 for (i = 0; i < count; i++) in input_add_keycode()
597 return 0; in input_add_table()
637 return 0; in input_add_tables()
642 memset(config, '\0', sizeof(*config)); in input_init()
645 return 0; in input_init()
655 if (!error && strcmp(env_get("stdin"), dev->name) == 0) { in input_stdio_register()
665 return 0; in input_stdio_register()