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:
@@ -0,0 +1,19 @@
|
||||
#ifndef LOGID_HIDPP20_DEVICE_H
|
||||
#define LOGID_HIDPP20_DEVICE_H
|
||||
|
||||
#include "../hidpp/Device.h"
|
||||
#include <cstdint>
|
||||
|
||||
namespace logid {
|
||||
namespace backend {
|
||||
namespace hidpp20 {
|
||||
class Device : public hidpp::Device
|
||||
{
|
||||
public:
|
||||
std::vector<uint8_t> callFunction(uint8_t feature_index,
|
||||
uint8_t function,
|
||||
std::vector<uint8_t>& params);
|
||||
};
|
||||
}}}
|
||||
|
||||
#endif //LOGID_HIDPP20_DEVICE_H
|
||||
Reference in New Issue
Block a user