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