mirror of
https://github.com/MatMoul/g810-led.git
synced 2026-03-14 04:16:55 +00:00
Add new arg -tuk for testing unsuported keyboard
This commit is contained in:
@@ -21,6 +21,15 @@ LedKeyboard::~LedKeyboard() {
|
||||
}
|
||||
|
||||
|
||||
bool LedKeyboard::overrideKeyboard(uint16_t vendorID, uint16_t productID, KeyboardModel model) {
|
||||
if(model==KeyboardModel::unknown) return false;
|
||||
SupportedKeyboards = {
|
||||
{ vendorID, productID, (u_int16_t)model }
|
||||
};
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
vector<LedKeyboard::DeviceInfo> LedKeyboard::listKeyboards() {
|
||||
vector<LedKeyboard::DeviceInfo> deviceList;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user