Home
last modified time | relevance | path

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

/openbmc/linux/drivers/hid/
H A 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()
127 input_report_key(udraw->joy_input_dev, BTN_START, !!(data[1] & 2)); 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()
167 input_sync(udraw->joy_input_dev); in udraw_raw_event()
402 udraw->joy_input_dev = input_dev; in udraw_setup_joypad()
[all …]