Lines Matching refs:pressed_keys
140 for (j = 0; j < sizeof(data->pressed_keys); j++) in picolcd_raw_keypad()
141 if (data->pressed_keys[j] == raw_data[i]) in picolcd_raw_keypad()
143 for (j = 0; j < sizeof(data->pressed_keys); j++) in picolcd_raw_keypad()
144 if (data->pressed_keys[j] == 0) { in picolcd_raw_keypad()
145 data->pressed_keys[j] = raw_data[i]; in picolcd_raw_keypad()
164 for (j = 0; j < sizeof(data->pressed_keys); j++) { in picolcd_raw_keypad()
166 if (data->pressed_keys[j] == 0) in picolcd_raw_keypad()
169 if (data->pressed_keys[j] == raw_data[i]) in picolcd_raw_keypad()
171 input_event(data->input_keys, EV_MSC, MSC_SCAN, data->pressed_keys[j]); in picolcd_raw_keypad()
172 if (data->pressed_keys[j] < PICOLCD_KEYS) in picolcd_raw_keypad()
173 key_code = data->keycode[data->pressed_keys[j]]; in picolcd_raw_keypad()
178 data->pressed_keys[j], key_code); in picolcd_raw_keypad()
182 data->pressed_keys[j] = 0; in picolcd_raw_keypad()