hid_locate
int hid_locate(report_desc_t d, unsigned int usage, enum hid_kind k, hid_item_t *h, int id);
hid_locate(desc, dlen, HID_USAGE2(HUP_LEDS, HUD_LED_NUM_LOCK),
hid_locate(desc, dlen, HID_USAGE2(HUP_LEDS, HUD_LED_CAPS_LOCK),
hid_locate(desc, dlen, HID_USAGE2(HUP_LEDS, HUD_LED_SCROLL_LOCK),
hl = hid_locate(ba->ba_desc,
hl = hid_locate(ba->ba_desc,
hl = hid_locate(ba->ba_desc,
hl = hid_locate(ba->ba_desc,
hl = hid_locate(ba->ba_desc,
hl = hid_locate(ba->ba_desc,
int hid_locate(const void *, int, uint32_t, uint8_t, enum hid_kind,
hid_locate(desc, dlen, HID_USAGE2(HUP_LEDS, HUD_LED_NUM_LOCK),
hid_locate(desc, dlen, HID_USAGE2(HUP_LEDS, HUD_LED_CAPS_LOCK),
hid_locate(desc, dlen, HID_USAGE2(HUP_LEDS, HUD_LED_SCROLL_LOCK),
hid_locate(desc, dlen, HID_USAGE2(HUP_LEDS, HUD_LED_COMPOSE),
if (!hid_locate(desc, size, HID_USAGE2(HUP_GENERIC_DESKTOP, HUG_Y),
hl = hid_locate(desc,
hl = hid_locate(desc,
hl = hid_locate(desc,
if (!hid_locate(desc, size, HID_USAGE2(HUP_BUTTON, i),
if (hid_locate(desc, size, HID_USAGE2(HUP_DIGITIZERS,
if (!hid_locate(desc, size, HID_USAGE2(HUP_GENERIC_DESKTOP, HUG_X),
hid_locate(desc, size, HID_USAGE2(HUP_LEDS, HUD_LED_NUM_LOCK),
hid_locate(desc, size, HID_USAGE2(HUP_LEDS, HUD_LED_CAPS_LOCK),
hid_locate(desc, size, HID_USAGE2(HUP_LEDS, HUD_LED_SCROLL_LOCK),
hid_locate(desc, size, HID_USAGE2(HUP_LEDS, HUD_LED_COMPOSE),
if (!hid_locate(desc, size, HID_USAGE2(HUP_GENERIC_DESKTOP, HUG_X),
if (!hid_locate(desc, size, HID_USAGE2(HUP_GENERIC_DESKTOP, HUG_Y),
if (!hid_locate(desc, size, HID_USAGE2(HUP_DIGITIZERS, HUD_TIP_SWITCH),
if (!hid_locate(desc, size, HID_USAGE2(HUP_DIGITIZERS, HUD_IN_RANGE),
ATF_REQUIRE(hid_locate(hrd, 0xff000001U, hid_input, &hi,
ATF_REQUIRE(hid_locate(hrd, 0xff000002U, hid_input, &hi,
ATF_REQUIRE(hid_locate(hrd, 0xff000003U, hid_input, &hi,
ATF_REQUIRE(hid_locate(hrd, 0xff000011U, hid_input, &hi,
ATF_REQUIRE(hid_locate(hrd, 0xff000012U, hid_input, &hi,
ATF_REQUIRE(hid_locate(hrd, 0xff000013U, hid_input, &hi,
ATF_REQUIRE(hid_locate(hrd, 0xff000001U, hid_input, &hi,
ATF_REQUIRE(hid_locate(hrd, 0xff000002U, hid_input, &hi,
ATF_REQUIRE(hid_locate(hrd, 0xff000003U, hid_input, &hi,
ATF_REQUIRE(hid_locate(hrd, 0xff000011U, hid_input, &hi,
ATF_REQUIRE(hid_locate(hrd, 0xff000012U, hid_input, &hi,
ATF_REQUIRE(hid_locate(hrd, 0xff000013U, hid_input, &hi,
ATF_REQUIRE(hid_locate(hrd, 0xff000001U, hid_input, &hi,
ATF_REQUIRE(hid_locate(hrd, 0xff000002U, hid_input, &hi,
ATF_REQUIRE(hid_locate(hrd, 0xff000003U, hid_input, &hi,
ATF_REQUIRE(hid_locate(hrd, 0xff000011U, hid_input, &hi,
ATF_REQUIRE(hid_locate(hrd, 0xff000012U, hid_input, &hi,
ATF_REQUIRE(hid_locate(hrd, 0xff000013U, hid_input, &hi,
ATF_REQUIRE(hid_locate(hrd, 0xff000001U, hid_input, &hi,
ATF_REQUIRE(hid_locate(hrd, 0xff000002U, hid_input, &hi,
ATF_REQUIRE(hid_locate(hrd, 0xff000003U, hid_input, &hi,
ATF_REQUIRE(hid_locate(hrd, 0xff000011U, hid_input, &hi,
ATF_REQUIRE(hid_locate(hrd, 0xff000012U, hid_input, &hi,
ATF_REQUIRE(hid_locate(hrd, 0xff000013U, hid_input, &hi,