/freebsd/sys/dev/hid/ |
H A D | hmt.c | 106 .usage = HID_USAGE2(HUP_DIGITIZERS, HUD_TIP_SWITCH), 112 .usage = HID_USAGE2(HUP_DIGITIZERS, HUD_WIDTH), 118 .usage = HID_USAGE2(HUP_DIGITIZERS, HUD_HEIGHT), 130 .usage = HID_USAGE2(HUP_GENERIC_DESKTOP, HUG_X), 136 .usage = HID_USAGE2(HUP_GENERIC_DESKTOP, HUG_Y), 142 .usage = HID_USAGE2(HUP_DIGITIZERS, HUD_CONTACTID), 148 .usage = HID_USAGE2(HUP_DIGITIZERS, HUD_TIP_PRESSURE), 154 .usage = HID_USAGE2(HUP_DIGITIZERS, HUD_IN_RANGE), 160 .usage = HID_USAGE2(HUP_DIGITIZERS, HUD_CONFIDENCE), 166 .usage = HID_USAGE2(HUP_GENERIC_DESKTOP, HUG_X), [all …]
|
H A D | hidmap.h | 108 .usage = HID_USAGE2((_page), (_usage)), \ 113 .usage = HID_USAGE2((_page), (_usage_from)), \ 118 .usage = HID_USAGE2((_page), (_usage)), \ 123 .usage = HID_USAGE2((_page), (_usage_from)), \
|
H A D | hpen.c | 138 HID_USAGE2(HUP_DIGITIZERS, HUD_DIGITIZER)) in hpen_final_pen_cb() 197 HID_USAGE2(HUP_DIGITIZERS, HUD_FINGER), hidbus_get_index(dev))) { in hpen_probe() 204 if (hidbus_get_usage(dev) == HID_USAGE2(HUP_DIGITIZERS, HUD_DIGITIZER)) in hpen_probe()
|
H A D | ps4dshock.c | 1221 sc->calib_data[0].usage = HID_USAGE2(HUP_GENERIC_DESKTOP, HUG_RX); in ps4dsacc_attach() 1231 sc->calib_data[1].usage = HID_USAGE2(HUP_GENERIC_DESKTOP, HUG_RY); in ps4dsacc_attach() 1241 sc->calib_data[2].usage = HID_USAGE2(HUP_GENERIC_DESKTOP, HUG_RZ); in ps4dsacc_attach() 1256 sc->calib_data[3].usage = HID_USAGE2(HUP_GENERIC_DESKTOP, HUG_X); in ps4dsacc_attach() 1265 sc->calib_data[4].usage = HID_USAGE2(HUP_GENERIC_DESKTOP, HUG_Y); in ps4dsacc_attach() 1274 sc->calib_data[5].usage = HID_USAGE2(HUP_GENERIC_DESKTOP, HUG_Z); in ps4dsacc_attach()
|
H A D | hkbd.c | 786 HID_USAGE2(HUP_CONSUMER, HUG_APPLE_EJECT), in hkbd_parse_hid() 795 HID_USAGE2(0xFFFF, 0x0003), in hkbd_parse_hid() 805 HID_USAGE2(HUP_KEYBOARD, 0x00), in hkbd_parse_hid() 819 HID_USAGE2(HUP_KEYBOARD, key), in hkbd_parse_hid() 831 HID_USAGE2(HUP_LEDS, 0x01), in hkbd_parse_hid() 839 HID_USAGE2(HUP_LEDS, 0x02), in hkbd_parse_hid() 849 HID_USAGE2(HUP_LEDS, 0x03), in hkbd_parse_hid()
|
H A D | hid.c | 920 HID_USAGE2(HUP_GENERIC_DESKTOP, HUG_MOUSE)) in hid_is_mouse() 931 HID_USAGE2(HUP_GENERIC_DESKTOP, HUG_X) && in hid_is_mouse() 935 HID_USAGE2(HUP_GENERIC_DESKTOP, HUG_Y) && in hid_is_mouse() 960 HID_USAGE2(HUP_GENERIC_DESKTOP, HUG_KEYBOARD))) in hid_is_keyboard()
|
H A D | ietp.c | 233 HID_USAGE2(HUP_DIGITIZERS, HUD_TOUCHPAD)) != NULL) { in ietp_probe() 266 if (hidbus_locate(d_ptr, d_len, HID_USAGE2(HUP_BUTTON, 3), in ietp_attach()
|
H A D | hconf.c | 215 if (!hidbus_locate(d_ptr, d_len, HID_USAGE2(HUP_DIGITIZERS, usage), in hconf_parse_feature()
|
H A D | hid.h | 164 #define HID_USAGE2(p,u) (((p) << 16) | (u)) macro
|
/freebsd/sys/dev/usb/input/ |
H A D | wmt.c | 122 .usage = HID_USAGE2(HUP_DIGITIZERS, HUD_TIP_SWITCH), 128 .usage = HID_USAGE2(HUP_DIGITIZERS, HUD_WIDTH), 134 .usage = HID_USAGE2(HUP_DIGITIZERS, HUD_HEIGHT), 146 .usage = HID_USAGE2(HUP_GENERIC_DESKTOP, HUG_X), 152 .usage = HID_USAGE2(HUP_GENERIC_DESKTOP, HUG_Y), 158 .usage = HID_USAGE2(HUP_DIGITIZERS, HUD_CONTACTID), 164 .usage = HID_USAGE2(HUP_DIGITIZERS, HUD_TIP_PRESSURE), 170 .usage = HID_USAGE2(HUP_DIGITIZERS, HUD_IN_RANGE), 176 .usage = HID_USAGE2(HUP_DIGITIZERS, HUD_CONFIDENCE), 182 .usage = HID_USAGE2(HUP_GENERIC_DESKTOP, HUG_X), [all …]
|
H A D | ums.c | 469 if (hid_locate(buf, len, HID_USAGE2(HUP_GENERIC_DESKTOP, HUG_X), in ums_hid_parse() 475 if (hid_locate(buf, len, HID_USAGE2(HUP_GENERIC_DESKTOP, HUG_Y), in ums_hid_parse() 482 if (hid_locate(buf, len, HID_USAGE2(HUP_GENERIC_DESKTOP, in ums_hid_parse() 485 hid_locate(buf, len, HID_USAGE2(HUP_GENERIC_DESKTOP, in ums_hid_parse() 495 if (hid_locate(buf, len, HID_USAGE2(HUP_GENERIC_DESKTOP, in ums_hid_parse() 502 } else if (hid_locate(buf, len, HID_USAGE2(HUP_GENERIC_DESKTOP, in ums_hid_parse() 516 if (hid_locate(buf, len, HID_USAGE2(HUP_GENERIC_DESKTOP, in ums_hid_parse() 524 } else if (hid_locate(buf, len, HID_USAGE2(HUP_CONSUMER, in ums_hid_parse() 533 if (!hid_locate(buf, len, HID_USAGE2(HUP_BUTTON, (i + 1)), in ums_hid_parse() 543 if (!hid_locate(buf, len, HID_USAGE2(HUP_MICROSOF in ums_hid_parse() [all...] |
H A D | ukbd.c | 1050 HID_USAGE2(HUP_CONSUMER, HUG_APPLE_EJECT), in ukbd_parse_hid() 1058 HID_USAGE2(0xFFFF, 0x0003), in ukbd_parse_hid() 1068 HID_USAGE2(HUP_KEYBOARD, 0x00), in ukbd_parse_hid() 1082 HID_USAGE2(HUP_KEYBOARD, key), in ukbd_parse_hid() 1098 HID_USAGE2(HUP_LEDS, 0x01), in ukbd_parse_hid() 1106 HID_USAGE2(HUP_LEDS, 0x02), in ukbd_parse_hid() 1114 HID_USAGE2(HUP_LEDS, 0x03), in ukbd_parse_hid()
|
H A D | uhid.c | 755 HID_USAGE2(HUP_DIGITIZERS, HUD_CONTACT_MAX), in uhid_probe() 758 HID_USAGE2(HUP_DIGITIZERS, HUD_CONTACTID), in uhid_probe()
|
/freebsd/usr.sbin/bluetooth/bthidd/ |
H A D | parser.y | 428 HID_USAGE2(HUP_GENERIC_DESKTOP, HUG_MOUSE)) in check_hid_device() 451 HID_USAGE2(HUP_GENERIC_DESKTOP, HUG_X) && in check_hid_device() 455 HID_USAGE2(HUP_GENERIC_DESKTOP, HUG_Y) && in check_hid_device() 459 HID_USAGE2(HUP_GENERIC_DESKTOP, HUG_WHEEL) && in check_hid_device() 463 HID_USAGE2(HUP_CONSUMER, HUC_AC_PAN) && in check_hid_device()
|
/freebsd/sys/dev/sound/usb/ |
H A D | uaudio.c | 6216 HID_USAGE2(HUP_CONSUMER, 0xE9 /* Volume Increment */), in uaudio_hid_probe() 6225 HID_USAGE2(HUP_CONSUMER, 0xEA /* Volume Decrement */), in uaudio_hid_probe() 6234 HID_USAGE2(HUP_CONSUMER, 0xE2 /* Mute */), in uaudio_hid_probe()
|