diff --git a/profiles/input/hog.c b/profiles/input/hog.c
index 3753343..491f933 100644
--- a/profiles/input/hog.c
+++ b/profiles/input/hog.c
size = ev->u.output.size;
}
- switch (ev->type) {
- case UHID_OUTPUT:
- type = HOG_REPORT_TYPE_OUTPUT;
- break;
- case UHID_FEATURE:
- type = HOG_REPORT_TYPE_FEATURE;
- break;
- default:
+ if (ev->type != UHID_OUTPUT)
return;
- }
+
+ type = HOG_REPORT_TYPE_OUTPUT;
l = g_slist_find_custom(hogdev->reports, GUINT_TO_POINTER(type),
report_type_cmp);
}
bt_uhid_register(hogdev->uhid, UHID_OUTPUT, forward_report, hogdev);
- bt_uhid_register(hogdev->uhid, UHID_FEATURE, forward_report, hogdev);
}
static void info_read_cb(guint8 status, const guint8 *pdu, guint16 plen,