1
0
mirror of https://github.com/MatMoul/g810-led.git synced 2026-03-14 04:16:55 +00:00

Expose SupportedKeyboards var in LedKeyboard class

This commit is contained in:
2017-05-07 04:02:34 +02:00
parent 2e5519260f
commit ac8ce20fff
3 changed files with 14 additions and 25 deletions

View File

@@ -21,15 +21,6 @@ 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;