diff --git a/profiles/input/hog_device.c b/profiles/input/hog_device.c
index a873eac..06dab6d 100644
--- a/profiles/input/hog_device.c
+++ b/profiles/input/hog_device.c
struct gatt_primary *hog_primary;
GSList *reports;
int uhid_fd;
- gboolean prepend_id;
+ gboolean has_report_id;
guint uhid_watch_id;
uint16_t bcdhid;
uint8_t bcountrycode;
ev.u.input.size = MIN(report_size, UHID_DATA_MAX);
buf = ev.u.input.data;
- if (hogdev->prepend_id) {
+ if (hogdev->has_report_id) {
*buf = report->id;
buf++;
ev.u.input.size++;
case 0x85:
case 0x86:
case 0x87:
- hogdev->prepend_id = TRUE;
+ hogdev->has_report_id = TRUE;
}
if (i % 2 == 0) {
int size;
guint type;
- if (hogdev->prepend_id) {
+ if (hogdev->has_report_id) {
data = ev->u.output.data + 1;
size = ev->u.output.size - 1;
} else {