Home
last modified time | relevance | path

Searched refs:pressed_keys (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.6/drivers/hid/
Dhid-picolcd_core.c131 for (j = 0; j < sizeof(data->pressed_keys); j++) in picolcd_raw_keypad()
132 if (data->pressed_keys[j] == raw_data[i]) in picolcd_raw_keypad()
134 for (j = 0; j < sizeof(data->pressed_keys); j++) in picolcd_raw_keypad()
135 if (data->pressed_keys[j] == 0) { in picolcd_raw_keypad()
136 data->pressed_keys[j] = raw_data[i]; in picolcd_raw_keypad()
155 for (j = 0; j < sizeof(data->pressed_keys); j++) { in picolcd_raw_keypad()
157 if (data->pressed_keys[j] == 0) in picolcd_raw_keypad()
160 if (data->pressed_keys[j] == raw_data[i]) in picolcd_raw_keypad()
162 input_event(data->input_keys, EV_MSC, MSC_SCAN, data->pressed_keys[j]); in picolcd_raw_keypad()
163 if (data->pressed_keys[j] < PICOLCD_KEYS) in picolcd_raw_keypad()
[all …]
Dhid-picolcd.h76 u8 pressed_keys[2]; member