Merge pull request #62 from fstreun/master
Fix DeviceConfig default initialization
This commit is contained in:
commit
1d7683237b
|
@ -29,6 +29,7 @@ To install, run `sudo make install` after building. You can set the daemon to st
|
||||||
| Device | Compatible? |
|
| Device | Compatible? |
|
||||||
|:---------:|:-----------:|
|
|:---------:|:-----------:|
|
||||||
| MX Master | Yes |
|
| MX Master | Yes |
|
||||||
|
|MX Vertical| Yes |
|
||||||
| T400 | Yes |
|
| T400 | Yes |
|
||||||
| K400r | Untested |
|
| K400r | Untested |
|
||||||
| K350 | Untested |
|
| K350 | Untested |
|
||||||
|
|
|
@ -20,7 +20,7 @@ namespace logid
|
||||||
DeviceConfig(DeviceConfig* dc, Device* dev);
|
DeviceConfig(DeviceConfig* dc, Device* dev);
|
||||||
DeviceConfig(const libconfig::Setting& root);
|
DeviceConfig(const libconfig::Setting& root);
|
||||||
const int* dpi = nullptr;
|
const int* dpi = nullptr;
|
||||||
HIDPP20::ISmartShift::SmartshiftStatus* smartshift;
|
HIDPP20::ISmartShift::SmartshiftStatus* smartshift = nullptr;
|
||||||
const uint8_t* hiresscroll = nullptr;
|
const uint8_t* hiresscroll = nullptr;
|
||||||
std::map<uint16_t, ButtonAction*> actions;
|
std::map<uint16_t, ButtonAction*> actions;
|
||||||
const bool baseConfig = true;
|
const bool baseConfig = true;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user