Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/hid/
Dhid-udraw-ps3.c68 struct udraw { struct
104 struct udraw *udraw = hid_get_drvdata(hdev); in udraw_raw_event() argument
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()
[all …]
DMakefile119 obj-$(CONFIG_HID_UDRAW_PS3) += hid-udraw-ps3.o
/Linux-v5.4/
DMAINTAINERS16626 F: drivers/hid/hid-udraw-ps3.c