fixed build
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9012 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -32,8 +32,9 @@
|
|||||||
|
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <udb/USB_hid.h>
|
#include <SupportDefs.h>
|
||||||
#include "hidparse.h"
|
#include "hidparse.h"
|
||||||
|
#include <usb/USB_hid.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
decompose report descriptor into array of uniform structure
|
decompose report descriptor into array of uniform structure
|
||||||
@@ -396,7 +397,7 @@ count_controls(report_insn *insns, size_t num_insns,
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case USAGE_PAGE_BUTTONS:
|
case USAGE_PAGE_BUTTON:
|
||||||
if (insn->num_bits == 1) {
|
if (insn->num_bits == 1) {
|
||||||
buttons++;
|
buttons++;
|
||||||
insn->ctrl_type = TYPE_BUTTON;
|
insn->ctrl_type = TYPE_BUTTON;
|
||||||
|
|||||||
Reference in New Issue
Block a user