Searched refs:lpad_touched (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-6.6/drivers/hid/ |
H A D | hid-steam.c | 1083 bool lpad_touched, lpad_and_joy; in steam_do_input_event() local 1096 * lpad_touched tells whether X/Y are to be read as lpad coord or in steam_do_input_event() 1098 * (lpad_touched || lpad_and_joy) tells if the lpad is really touched. in steam_do_input_event() 1100 lpad_touched = b10 & BIT(3); in steam_do_input_event() 1105 input_report_abs(input, lpad_touched ? ABS_HAT0X : ABS_X, x); in steam_do_input_event() 1106 input_report_abs(input, lpad_touched ? ABS_HAT0Y : ABS_Y, y); in steam_do_input_event() 1108 if (lpad_touched && !lpad_and_joy) { in steam_do_input_event() 1113 if (!(lpad_touched || lpad_and_joy)) { in steam_do_input_event() 1136 input_event(input, EV_KEY, BTN_THUMB, lpad_touched || lpad_and_joy); in steam_do_input_event() 1248 bool lpad_touched, rpad_touche in steam_do_deck_input_event() local [all...] |
/kernel/linux/linux-5.10/drivers/hid/ |
H A D | hid-steam.c | 933 bool lpad_touched, lpad_and_joy; in steam_do_input_event() local 946 * lpad_touched tells whether X/Y are to be read as lpad coord or in steam_do_input_event() 948 * (lpad_touched || lpad_and_joy) tells if the lpad is really touched. in steam_do_input_event() 950 lpad_touched = b10 & BIT(3); in steam_do_input_event() 955 input_report_abs(input, lpad_touched ? ABS_HAT0X : ABS_X, x); in steam_do_input_event() 956 input_report_abs(input, lpad_touched ? ABS_HAT0Y : ABS_Y, y); in steam_do_input_event() 958 if (lpad_touched && !lpad_and_joy) { in steam_do_input_event() 963 if (!(lpad_touched || lpad_and_joy)) { in steam_do_input_event() 986 input_event(input, EV_KEY, BTN_THUMB, lpad_touched || lpad_and_joy); in steam_do_input_event()
|
Completed in 4 milliseconds