mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
hmt(4): Do not ignore constant usages in HID report descriptor parser
This fixes hmt to work with MELF0411 1FD2:7012 touchscreen
Obtained from: sysutils/iichid
(cherry picked from commit cb910670ac)
This commit is contained in:
parent
a711310d2d
commit
6c8f2d24d4
1 changed files with 2 additions and 2 deletions
|
|
@ -676,8 +676,8 @@ hmt_hid_parse(struct hmt_softc *sc, const void *d_ptr, hid_size_t d_len,
|
|||
bool scan_time_found = false;
|
||||
bool has_int_button = false;
|
||||
|
||||
#define HMT_HI_ABSOLUTE(hi) \
|
||||
(((hi).flags & (HIO_CONST|HIO_VARIABLE|HIO_RELATIVE)) == HIO_VARIABLE)
|
||||
#define HMT_HI_ABSOLUTE(hi) ((hi).nusages != 0 && \
|
||||
((hi).flags & (HIO_VARIABLE | HIO_RELATIVE)) == HIO_VARIABLE)
|
||||
#define HUMS_THQA_CERT 0xC5
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue