Home
last modified time | relevance | path

Searched refs:ABS_HAT0X (Results 1 – 25 of 29) sorted by relevance

12

/linux-6.1.9/drivers/input/joystick/
Dmaplecontrol.c39 input_report_abs(dev, ABS_HAT0X, in dc_pad_callback()
92 -1, -1, -1, -1, ABS_HAT0Y, ABS_HAT0Y, ABS_HAT0X, ABS_HAT0X, in probe_maple_controller()
136 for (i = ABS_HAT0X; i <= ABS_HAT3Y; i++) in probe_maple_controller()
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, …
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)); in grip_poll()
228 input_report_abs(dev, ABS_HAT0X, ((data[2] >> 1) & 1) - ( data[2] & 1)); in grip_poll()
250 input_report_abs(dev, ABS_HAT0X, ((data[2] >> 1) & 1) - ( data[2] & 1)); in grip_poll()
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); in sw_parse()
344 input_report_abs(dev, ABS_HAT0X, sw_hat_to_axis[hat].x); in sw_parse()
364 input_report_abs(dev, ABS_HAT0X, sw_hat_to_axis[hat].x); in sw_parse()
Dwarrior.c65 input_report_abs(dev, ABS_HAT0X, (data[3] & 2 ? 1 : 0) - (data[3] & 1 ? 1 : 0)); in warrior_process_packet()
151 input_set_abs_params(input_dev, ABS_HAT0X, -1, 1, 0, 0); in warrior_connect()
Da3d.c138 input_report_abs(dev, ABS_HAT0X, ( data[5] & 1) - ((data[5] >> 2) & 1)); in a3d_read()
312 BIT_MASK(ABS_HAT0X) | BIT_MASK(ABS_HAT0Y) | in a3d_connect()
329 input_set_abs_params(input_dev, ABS_HAT0X + i, -1, 1, 0, 0); in a3d_connect()
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_HAT1…
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_H…
Dguillemot.c120 input_report_abs(dev, ABS_HAT0X, guillemot_hat_to_axis[data[4] >> 4].x); in guillemot_poll()
225 input_set_abs_params(input_dev, ABS_HAT0X, -1, 1, 0, 0); in guillemot_connect()
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)); in tmdc_parse_packet()
198 input_report_abs(port->dev, ABS_HAT0X, tmdc_hat_to_axis[(data[i] - 141) / 25].x); in tmdc_parse_packet()
Dgf2k.c169 input_report_abs(dev, ABS_HAT0X + i, gf2k_hat_to_axis[t][i]); in gf2k_read()
302 input_set_abs_params(input_dev, ABS_HAT0X + i, -1, 1, 0, 0); in gf2k_connect()
Dfsia6b.c39 ABS_HAT0X, ABS_HAT0Y,
Dgamecon.c233 input_report_abs(dev, ABS_HAT0X, in gc_n64_process_packet()
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); in gc_setup_pad()
Dxpad.c414 ABS_HAT0X, ABS_HAT0Y, /* d-pad axes */
760 input_report_abs(dev, ABS_HAT0X, in xpad_process_packet()
823 input_report_abs(dev, ABS_HAT0X, in xpad360_process_packet()
1021 input_report_abs(dev, ABS_HAT0X, in xpadone_process_packet()
1805 case ABS_HAT0X: in xpad_set_up_abs()
Dinteract.c45 { ABS_RX, ABS_RY, ABS_X, ABS_Y, ABS_HAT0X, ABS_HAT0Y, -1 };
Danalog.c82 static short analog_hats[] = { ABS_HAT0X, ABS_HAT0Y, ABS_HAT1X, ABS_HAT1Y, ABS_HAT2X, ABS_HAT2Y };
Ddb9.c100 static const short db9_abs[] = { ABS_X, ABS_Y, ABS_RX, ABS_RY, ABS_RZ, ABS_Z, ABS_HAT0X, ABS_HAT0Y,…
/linux-6.1.9/drivers/input/joystick/iforce/
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: in iforce_init_device()
Diforce-packets.c124 input_report_abs(dev, ABS_HAT0X, iforce_hat_to_axis[data[6] >> 4].x); in iforce_report_hats_buttons()
/linux-6.1.9/sound/usb/caiaq/
Dinput.c118 #define KONTROLS4_ABS(X) ((X) + ABS_HAT0X)
218 snd_caiaq_input_report_abs(cdev, ABS_HAT0X, buf, 4); in snd_caiaq_input_read_analog()
247 input_report_abs(input_dev, ABS_HAT0X, i); in snd_caiaq_input_read_erp()
267 input_report_abs(input_dev, ABS_HAT0X, decode_erp(buf[21], buf[20])); in snd_caiaq_input_read_erp()
644 input->absbit[0] = BIT_MASK(ABS_HAT0X) | BIT_MASK(ABS_HAT0Y) | in snd_usb_caiaq_input_init()
654 input_set_abs_params(input, ABS_HAT0X, 0, 999, 0, 10); in snd_usb_caiaq_input_init()
670 input->absbit[0] = BIT_MASK(ABS_HAT0X) | BIT_MASK(ABS_HAT0Y) | in snd_usb_caiaq_input_init()
683 input_set_abs_params(input, ABS_HAT0X, 0, 4096, 0, 10); in snd_usb_caiaq_input_init()
760 input->absbit[0] = BIT_MASK(ABS_HAT0X) | BIT_MASK(ABS_HAT0Y) | in snd_usb_caiaq_input_init()
776 input_set_abs_params(input, ABS_HAT0X, 0, 999, 0, 10); in snd_usb_caiaq_input_init()
/linux-6.1.9/drivers/hid/
Dhid-wiimote-modules.c562 xid = ABS_HAT0X; in wiimod_ir_in_ir()
753 set_bit(ABS_HAT0X, wdata->ir->absbit); in wiimod_ir_probe()
761 input_set_abs_params(wdata->ir, ABS_HAT0X, 0, 1023, 2, 4); in wiimod_ir_probe()
878 input_report_abs(wdata->extension.input, ABS_HAT0X, bx); in wiimod_nunchuk_in_ext()
953 set_bit(ABS_HAT0X, wdata->extension.input->absbit); in wiimod_nunchuk_probe()
956 ABS_HAT0X, -120, 120, 2, 4); in wiimod_nunchuk_probe()
1382 input_report_abs(wdata->extension.input, ABS_HAT0X, val[0]); in wiimod_bboard_in_ext()
1523 set_bit(ABS_HAT0X, wdata->extension.input->absbit); in wiimod_bboard_probe()
1528 ABS_HAT0X, 0, 65535, 2, 4); in wiimod_bboard_probe()
2055 ABS_HAT0X, 0x19); in wiimod_drums_in_ext()
[all …]
Dhid-steam.c456 input_set_abs_params(input, ABS_HAT0X, -32767, 32767, in steam_input_register()
464 input_abs_set_res(input, ABS_HAT0X, STEAM_PAD_RESOLUTION); in steam_input_register()
955 input_report_abs(input, lpad_touched ? ABS_HAT0X : ABS_X, x); in steam_do_input_event()
964 input_report_abs(input, ABS_HAT0X, 0); in steam_do_input_event()
Dhid-playstation.c497 input_set_abs_params(gamepad, ABS_HAT0X, -1, 1, 0, 0); in ps_gamepad_create()
1088 input_report_abs(ds->gamepad, ABS_HAT0X, ps_gamepad_hat_mapping[value].x); in dualsense_parse_report()
/linux-6.1.9/arch/arm/boot/dts/
Dsun4i-a10-inet9f-rev03.dts132 linux,code = <ABS_HAT0X>;
140 linux,code = <ABS_HAT0X>;
/linux-6.1.9/include/uapi/linux/
Dinput-event-codes.h850 #define ABS_HAT0X 0x10 macro
/linux-6.1.9/include/dt-bindings/input/
Dlinux-event-codes.h850 #define ABS_HAT0X 0x10 macro
/linux-6.1.9/Documentation/input/
Dgamepad.rst144 ABS_HAT0X and ABS_HAT0Y

12