Home
last modified time | relevance | path

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

/linux/drivers/hid/
H A Dhid-steam.c1436 bool lpad_touched, lpad_and_joy; in steam_do_input_event() local
1449 * lpad_touched tells whether X/Y are to be read as lpad coord or in steam_do_input_event()
1451 * (lpad_touched || lpad_and_joy) tells if the lpad is really touched. in steam_do_input_event()
1453 lpad_touched = b10 & BIT(3); in steam_do_input_event()
1458 input_report_abs(input, lpad_touched ? ABS_HAT0X : ABS_X, x); in steam_do_input_event()
1459 input_report_abs(input, lpad_touched ? ABS_HAT0Y : ABS_Y, y); in steam_do_input_event()
1461 if (lpad_touched && !lpad_and_joy) { in steam_do_input_event()
1466 if (!(lpad_touched || lpad_and_joy)) { in steam_do_input_event()
1489 input_event(input, EV_KEY, BTN_THUMB, lpad_touched || lpad_and_joy); in steam_do_input_event()
1601 bool lpad_touched, rpad_touche in steam_do_deck_input_event() local
[all...]