Home
last modified time | relevance | path

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

/drivers/macintosh/
Dadbhid.c210 struct adbhid { struct
231 static struct adbhid *adbhid[16]; argument
270 if (!adbhid[id]) { in adbhid_keyboard_input()
287 struct adbhid *ahid = adbhid[id]; in adbhid_input_keycode()
394 key = adbhid[id]->keycode[keycode]; in adbhid_input_keycode()
396 input_report_key(adbhid[id]->input, key, !up_flag); in adbhid_input_keycode()
397 input_sync(adbhid[id]->input); in adbhid_input_keycode()
409 if (!adbhid[id]) { in adbhid_mouse_input()
458 switch (adbhid[id]->mouse_kind) in adbhid_mouse_input()
488 input_report_key(adbhid[id]->input, BTN_LEFT, !((data[1] >> 7) & 1)); in adbhid_mouse_input()
[all …]
DMakefile12 obj-$(CONFIG_INPUT_ADBHID) += adbhid.o