Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/hid/
Dhid-input.c49 } hid_hat_to_axis[] = {{ 0, 0}, { 0,-1}, { 1,-1}, { 1, 0}, { 1, 1}, { 0, 1}, {-1, 1}, {-1, 0}, {-1… variable
1551 input_event(input, usage->type, usage->code , hid_hat_to_axis[hat_dir].x); in hidinput_hid_event()
1552 input_event(input, usage->type, usage->code + 1, hid_hat_to_axis[hat_dir].y); in hidinput_hid_event()