Searched refs:ABS_HAT0X (Results 1 - 25 of 27) sorted by relevance

12

/linux-master/drivers/input/joystick/
H A Dmaplecontrol.c39 input_report_abs(dev, ABS_HAT0X,
92 -1, -1, -1, -1, ABS_HAT0Y, ABS_HAT0Y, ABS_HAT0X, ABS_HAT0X,
136 for (i = ABS_HAT0X; i <= ABS_HAT3Y; i++)
H A Dgrip.c50 static int grip_abs_bd[] = { ABS_X, ABS_Y, ABS_THROTTLE, ABS_HAT0X, ABS_HAT0Y, -1 };
51 static int grip_abs_xt[] = { ABS_X, ABS_Y, ABS_BRAKE, ABS_GAS, ABS_THROTTLE, ABS_HAT0X, ABS_HAT0Y, ABS_HAT1X, ABS_HAT1Y, -1 };
52 static int grip_abs_dc[] = { ABS_X, ABS_Y, ABS_RX, ABS_RY, ABS_THROTTLE, ABS_HAT0X, ABS_HAT0Y, -1 };
207 input_report_abs(dev, ABS_HAT0X, ((data[2] >> 1) & 1) - ( data[2] & 1));
228 input_report_abs(dev, ABS_HAT0X, ((data[2] >> 1) & 1) - ( data[2] & 1));
250 input_report_abs(dev, ABS_HAT0X, ((data[2] >> 1) & 1) - ( data[2] & 1));
H A Dwarrior.c65 input_report_abs(dev, ABS_HAT0X, (data[3] & 2 ? 1 : 0) - (data[3] & 1 ? 1 : 0));
151 input_set_abs_params(input_dev, ABS_HAT0X, -1, 1, 0, 0);
H A Dguillemot.c120 input_report_abs(dev, ABS_HAT0X, guillemot_hat_to_axis[data[4] >> 4].x);
225 input_set_abs_params(input_dev, ABS_HAT0X, -1, 1, 0, 0);
H A Dsidewinder.c67 { ABS_X, ABS_Y, ABS_RZ, ABS_THROTTLE, ABS_HAT0X, ABS_HAT0Y },
69 { ABS_X, ABS_Y, ABS_RZ, ABS_THROTTLE, ABS_HAT0X, ABS_HAT0Y },
70 { ABS_X, ABS_Y, ABS_RZ, ABS_THROTTLE, ABS_HAT0X, ABS_HAT0Y },
71 { ABS_X, ABS_Y, ABS_THROTTLE, ABS_HAT0X, ABS_HAT0Y },
301 input_report_abs(dev, ABS_HAT0X, sw_hat_to_axis[hat].x);
344 input_report_abs(dev, ABS_HAT0X, sw_hat_to_axis[hat].x);
364 input_report_abs(dev, ABS_HAT0X, sw_hat_to_axis[hat].x);
H A Da3d.c138 input_report_abs(dev, ABS_HAT0X, ( data[5] & 1) - ((data[5] >> 2) & 1));
312 BIT_MASK(ABS_HAT0X) | BIT_MASK(ABS_HAT0Y) |
329 input_set_abs_params(input_dev, ABS_HAT0X + i, -1, 1, 0, 0);
H A Dtmdc.c51 { ABS_HAT0X, ABS_HAT0Y, ABS_HAT1X, ABS_HAT1Y };
191 input_report_abs(port->dev, ABS_HAT0X, ((data[i] >> 3) & 1) - ((data[i] >> 1) & 1));
198 input_report_abs(port->dev, ABS_HAT0X, tmdc_hat_to_axis[(data[i] - 141) / 25].x);
H A Dadi.c59 static char adi_wmgpe_abs[] = { ABS_X, ABS_Y, ABS_HAT0X, ABS_HAT0Y };
60 static char adi_wmi_abs[] = { ABS_X, ABS_Y, ABS_THROTTLE, ABS_HAT0X, ABS_HAT0Y, ABS_HAT1X, ABS_HAT1Y, ABS_HAT2X, ABS_HAT2Y };
61 static char adi_wmed3d_abs[] = { ABS_X, ABS_Y, ABS_THROTTLE, ABS_RZ, ABS_HAT0X, ABS_HAT0Y };
63 static char adi_wmf_abs[] = { ABS_WHEEL, ABS_GAS, ABS_BRAKE, ABS_HAT0X, ABS_HAT0Y, ABS_HAT1X, ABS_HAT1Y, ABS_HAT2X, ABS_HAT2Y };
H A Dgf2k.c169 input_report_abs(dev, ABS_HAT0X + i, gf2k_hat_to_axis[t][i]);
302 input_set_abs_params(input_dev, ABS_HAT0X + i, -1, 1, 0, 0);
H A Dfsia6b.c39 ABS_HAT0X, ABS_HAT0Y,
H A Dinteract.c45 { ABS_RX, ABS_RY, ABS_X, ABS_Y, ABS_HAT0X, ABS_HAT0Y, -1 };
H A Dgamecon.c233 input_report_abs(dev, ABS_HAT0X,
534 ABS_X, ABS_Y, ABS_RX, ABS_RY, ABS_HAT0X, ABS_HAT0Y
850 input_set_abs_params(input_dev, ABS_HAT0X + i, -1, 1, 0, 0);
H A Dxpad.c427 ABS_HAT0X, ABS_HAT0Y, /* d-pad axes */
790 input_report_abs(dev, ABS_HAT0X,
850 input_report_abs(dev, ABS_HAT0X,
1048 input_report_abs(dev, ABS_HAT0X,
1872 case ABS_HAT0X:
H A Danalog.c82 static short analog_hats[] = { ABS_HAT0X, ABS_HAT0Y, ABS_HAT1X, ABS_HAT1Y, ABS_HAT2X, ABS_HAT2Y };
H A Ddb9.c100 static const short db9_abs[] = { ABS_X, ABS_Y, ABS_RX, ABS_RY, ABS_RZ, ABS_Z, ABS_HAT0X, ABS_HAT0Y, ABS_HAT1X, ABS_HAT1Y };
/linux-master/drivers/input/joystick/iforce/
H A Diforce-main.c30 { ABS_X, ABS_Y, ABS_THROTTLE, ABS_HAT0X, ABS_HAT0Y, -1 };
33 { ABS_X, ABS_Y, ABS_THROTTLE, ABS_RUDDER, ABS_HAT0X, ABS_HAT0Y, -1 };
36 { ABS_X, ABS_Y, ABS_THROTTLE, ABS_RUDDER, ABS_HAT0X, ABS_HAT0Y,
40 { ABS_WHEEL, ABS_GAS, ABS_BRAKE, ABS_HAT0X, ABS_HAT0Y, -1 };
361 case ABS_HAT0X:
H A Diforce-packets.c124 input_report_abs(dev, ABS_HAT0X, iforce_hat_to_axis[data[6] >> 4].x);
/linux-master/sound/usb/caiaq/
H A Dinput.c118 #define KONTROLS4_ABS(X) ((X) + ABS_HAT0X)
218 snd_caiaq_input_report_abs(cdev, ABS_HAT0X, buf, 4);
247 input_report_abs(input_dev, ABS_HAT0X, i);
267 input_report_abs(input_dev, ABS_HAT0X, decode_erp(buf[21], buf[20]));
644 input->absbit[0] = BIT_MASK(ABS_HAT0X) | BIT_MASK(ABS_HAT0Y) |
654 input_set_abs_params(input, ABS_HAT0X, 0, 999, 0, 10);
670 input->absbit[0] = BIT_MASK(ABS_HAT0X) | BIT_MASK(ABS_HAT0Y) |
683 input_set_abs_params(input, ABS_HAT0X, 0, 4096, 0, 10);
760 input->absbit[0] = BIT_MASK(ABS_HAT0X) | BIT_MASK(ABS_HAT0Y) |
776 input_set_abs_params(input, ABS_HAT0X,
[all...]
/linux-master/drivers/hid/
H A Dhid-steam.c763 input_set_abs_params(input, ABS_HAT0X, -32767, 32767,
804 input_abs_set_res(input, ABS_HAT0X, STEAM_PAD_RESOLUTION);
1249 * 16-17 | s16 | ABS_X/ABS_HAT0X | X value
1331 input_report_abs(input, lpad_touched ? ABS_HAT0X : ABS_X, x);
1340 input_report_abs(input, ABS_HAT0X, 0);
1379 * 16-17 | s16 | ABS_HAT0X | left-pad X value
1498 input_report_abs(input, ABS_HAT0X, steam_le16(data + 16));
1501 input_report_abs(input, ABS_HAT0X, 0);
H A Dhid-wiimote-modules.c562 xid = ABS_HAT0X;
753 set_bit(ABS_HAT0X, wdata->ir->absbit);
761 input_set_abs_params(wdata->ir, ABS_HAT0X, 0, 1023, 2, 4);
878 input_report_abs(wdata->extension.input, ABS_HAT0X, bx);
953 set_bit(ABS_HAT0X, wdata->extension.input->absbit);
956 ABS_HAT0X, -120, 120, 2, 4);
1382 input_report_abs(wdata->extension.input, ABS_HAT0X, val[0]);
1523 set_bit(ABS_HAT0X, wdata->extension.input->absbit);
1528 ABS_HAT0X, 0, 65535, 2, 4);
2055 ABS_HAT0X,
[all...]
H A Dhid-playstation.c721 input_set_abs_params(gamepad, ABS_HAT0X, -1, 1, 0, 0);
1355 input_report_abs(ds->gamepad, ABS_HAT0X, ps_gamepad_hat_mapping[value].x);
2227 input_report_abs(ds4->gamepad, ABS_HAT0X, ps_gamepad_hat_mapping[value].x);
H A Dhid-input.c873 map_abs(ABS_HAT0X);
905 map_abs(ABS_HAT0X);
/linux-master/include/uapi/linux/
H A Dinput-event-codes.h854 #define ABS_HAT0X 0x10 macro
/linux-master/scripts/dtc/include-prefixes/dt-bindings/input/
H A Dlinux-event-codes.h854 #define ABS_HAT0X 0x10 macro
/linux-master/include/dt-bindings/input/
H A Dlinux-event-codes.h854 #define ABS_HAT0X 0x10 macro

Completed in 211 milliseconds

12