Searched refs:udraw (Results 1 – 2 of 2) sorted by relevance
/drivers/hid/ |
D | hid-udraw-ps3.c | 68 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 …]
|
D | Makefile | 125 obj-$(CONFIG_HID_UDRAW_PS3) += hid-udraw-ps3.o
|