Home
last modified time | relevance | path

Searched refs:ABS_HAT0Y (Results 1 – 25 of 26) sorted by relevance

12

/linux-6.12.1/drivers/input/joystick/
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 };
208 input_report_abs(dev, ABS_HAT0Y, ((data[2] >> 2) & 1) - ((data[2] >> 3) & 1)); in grip_poll()
229 input_report_abs(dev, ABS_HAT0Y, ((data[2] >> 2) & 1) - ((data[2] >> 3) & 1)); in grip_poll()
251 input_report_abs(dev, ABS_HAT0Y, ((data[2] >> 2) & 1) - ((data[2] >> 3) & 1)); in grip_poll()
Dmaplecontrol.c37 input_report_abs(dev, ABS_HAT0Y, in dc_pad_callback()
92 -1, -1, -1, -1, ABS_HAT0Y, ABS_HAT0Y, ABS_HAT0X, ABS_HAT0X, in probe_maple_controller()
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 },
302 input_report_abs(dev, ABS_HAT0Y, sw_hat_to_axis[hat].y); in sw_parse()
345 input_report_abs(dev, ABS_HAT0Y, sw_hat_to_axis[hat].y); in sw_parse()
365 input_report_abs(dev, ABS_HAT0Y, sw_hat_to_axis[hat].y); in sw_parse()
Dwarrior.c66 input_report_abs(dev, ABS_HAT0Y, (data[3] & 8 ? 1 : 0) - (data[3] & 4 ? 1 : 0)); in warrior_process_packet()
152 input_set_abs_params(input_dev, ABS_HAT0Y, -1, 1, 0, 0); in warrior_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…
Dtmdc.c51 { ABS_HAT0X, ABS_HAT0Y, ABS_HAT1X, ABS_HAT1Y };
192 input_report_abs(port->dev, ABS_HAT0Y, ((data[i] >> 2) & 1) - ( data[i] & 1)); in tmdc_parse_packet()
199 input_report_abs(port->dev, ABS_HAT0Y, tmdc_hat_to_axis[(data[i] - 141) / 25].y); in tmdc_parse_packet()
Dguillemot.c121 input_report_abs(dev, ABS_HAT0Y, guillemot_hat_to_axis[data[4] >> 4].y); in guillemot_poll()
226 input_set_abs_params(input_dev, ABS_HAT0Y, -1, 1, 0, 0); in guillemot_connect()
Dinteract.c45 { ABS_RX, ABS_RY, ABS_X, ABS_Y, ABS_HAT0X, ABS_HAT0Y, -1 };
133 input_report_abs(dev, ABS_HAT0Y - i, in interact_poll()
Da3d.c139 input_report_abs(dev, ABS_HAT0Y, ((data[5] >> 1) & 1) - ((data[6] >> 2) & 1)); in a3d_read()
312 BIT_MASK(ABS_HAT0X) | BIT_MASK(ABS_HAT0Y) | in a3d_connect()
Dfsia6b.c39 ABS_HAT0X, ABS_HAT0Y,
Dxpad.c432 ABS_HAT0X, ABS_HAT0Y, /* d-pad axes */
800 input_report_abs(dev, ABS_HAT0Y, in xpad_process_packet()
860 input_report_abs(dev, ABS_HAT0Y, in xpad360_process_packet()
1058 input_report_abs(dev, ABS_HAT0Y, in xpadone_process_packet()
1881 case ABS_HAT0Y: /* the d-pad (only if dpad is mapped to axes */ in xpad_set_up_abs()
Dgamecon.c235 input_report_abs(dev, ABS_HAT0Y, in gc_n64_process_packet()
534 ABS_X, ABS_Y, ABS_RX, ABS_RY, ABS_HAT0X, ABS_HAT0Y
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.12.1/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 };
362 case ABS_HAT0Y: in iforce_init_device()
Diforce-packets.c125 input_report_abs(dev, ABS_HAT0Y, iforce_hat_to_axis[data[6] >> 4].y); in iforce_report_hats_buttons()
/linux-6.12.1/sound/usb/caiaq/
Dinput.c219 snd_caiaq_input_report_abs(cdev, ABS_HAT0Y, buf, 2); in snd_caiaq_input_read_analog()
249 input_report_abs(input_dev, ABS_HAT0Y, i); in snd_caiaq_input_read_erp()
268 input_report_abs(input_dev, ABS_HAT0Y, decode_erp(buf[15], buf[14])); in snd_caiaq_input_read_erp()
644 input->absbit[0] = BIT_MASK(ABS_HAT0X) | BIT_MASK(ABS_HAT0Y) | in snd_usb_caiaq_input_init()
655 input_set_abs_params(input, ABS_HAT0Y, 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()
684 input_set_abs_params(input, ABS_HAT0Y, 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()
777 input_set_abs_params(input, ABS_HAT0Y, 0, 999, 0, 10); in snd_usb_caiaq_input_init()
/linux-6.12.1/drivers/hid/
Dhid-wiimote-modules.c563 yid = ABS_HAT0Y; in wiimod_ir_in_ir()
754 set_bit(ABS_HAT0Y, wdata->ir->absbit); in wiimod_ir_probe()
762 input_set_abs_params(wdata->ir, ABS_HAT0Y, 0, 767, 2, 4); in wiimod_ir_probe()
879 input_report_abs(wdata->extension.input, ABS_HAT0Y, by); in wiimod_nunchuk_in_ext()
954 set_bit(ABS_HAT0Y, wdata->extension.input->absbit); in wiimod_nunchuk_probe()
958 ABS_HAT0Y, -120, 120, 2, 4); in wiimod_nunchuk_probe()
1383 input_report_abs(wdata->extension.input, ABS_HAT0Y, val[1]); in wiimod_bboard_in_ext()
1524 set_bit(ABS_HAT0Y, wdata->extension.input->absbit); in wiimod_bboard_probe()
1530 ABS_HAT0Y, 0, 65535, 2, 4); in wiimod_bboard_probe()
2064 ABS_HAT0Y, 0x0f); in wiimod_drums_in_ext()
[all …]
Dhid-steam.c776 input_set_abs_params(input, ABS_HAT0Y, -32767, 32767, in steam_input_register()
816 input_abs_set_res(input, ABS_HAT0Y, STEAM_PAD_RESOLUTION); in steam_input_register()
1442 input_report_abs(input, lpad_touched ? ABS_HAT0Y : ABS_Y, y); in steam_do_input_event()
1451 input_report_abs(input, ABS_HAT0Y, 0); in steam_do_input_event()
1609 input_report_abs(input, ABS_HAT0Y, steam_le16(data + 18)); in steam_do_deck_input_event()
1612 input_report_abs(input, ABS_HAT0Y, 0); in steam_do_deck_input_event()
Dhid-playstation.c729 input_set_abs_params(gamepad, ABS_HAT0Y, -1, 1, 0, 0); in ps_gamepad_create()
1363 input_report_abs(ds->gamepad, ABS_HAT0Y, ps_gamepad_hat_mapping[value].y); in dualsense_parse_report()
2286 input_report_abs(ds4->gamepad, ABS_HAT0Y, ps_gamepad_hat_mapping[value].y); in dualshock4_parse_report()
Dhid-debug.c3508 [ABS_HAT0Y] = "Hat0Y", [ABS_HAT1X] = "Hat1X",
/linux-6.12.1/arch/arm/boot/dts/allwinner/
Dsun4i-a10-inet9f-rev03.dts148 linux,code = <ABS_HAT0Y>;
156 linux,code = <ABS_HAT0Y>;
/linux-6.12.1/include/uapi/linux/
Dinput-event-codes.h857 #define ABS_HAT0Y 0x11 macro
/linux-6.12.1/include/dt-bindings/input/
Dlinux-event-codes.h857 #define ABS_HAT0Y 0x11 macro
/linux-6.12.1/Documentation/input/
Dgamepad.rst144 ABS_HAT0X and ABS_HAT0Y

12