Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/hid/
Dhid-udraw-ps3.c69 struct input_dev *joy_input_dev; member
121 input_report_key(udraw->joy_input_dev, BTN_WEST, data[0] & 1); in udraw_raw_event()
122 input_report_key(udraw->joy_input_dev, BTN_SOUTH, !!(data[0] & 2)); in udraw_raw_event()
123 input_report_key(udraw->joy_input_dev, BTN_EAST, !!(data[0] & 4)); in udraw_raw_event()
124 input_report_key(udraw->joy_input_dev, BTN_NORTH, !!(data[0] & 8)); in udraw_raw_event()
126 input_report_key(udraw->joy_input_dev, BTN_SELECT, !!(data[1] & 1)); in udraw_raw_event()
127 input_report_key(udraw->joy_input_dev, BTN_START, !!(data[1] & 2)); in udraw_raw_event()
128 input_report_key(udraw->joy_input_dev, BTN_MODE, !!(data[1] & 16)); in udraw_raw_event()
164 input_report_abs(udraw->joy_input_dev, ABS_X, x); in udraw_raw_event()
165 input_report_abs(udraw->joy_input_dev, ABS_Y, y); in udraw_raw_event()
[all …]