Print version number of device 1 on each raw dev.
Only works on HID++ >=2.0 so far. Also solves a race condition where the wrong response can be sent to a request.
This commit is contained in:
20
src/logid/backend/dj/defs.h
Normal file
20
src/logid/backend/dj/defs.h
Normal file
@@ -0,0 +1,20 @@
|
||||
#ifndef LOGID_BACKEND_DJ_DEFS_H
|
||||
#define LOGID_BACKEND_DJ_DEFS_H
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
namespace logid {
|
||||
namespace backend {
|
||||
namespace dj
|
||||
{
|
||||
namespace ReportType
|
||||
{
|
||||
enum ReportType : uint8_t
|
||||
{
|
||||
Short = 0x20,
|
||||
Long = 0x21
|
||||
};
|
||||
}
|
||||
}}}
|
||||
|
||||
#endif //LOGID_BACKEND_DJ_DEFS_H
|
Reference in New Issue
Block a user