Remove empty_basemap as vector already starts empty
This commit is contained in:
parent
28333888fd
commit
0572238e95
1 changed files with 1 additions and 8 deletions
|
|
@ -86,13 +86,6 @@ typedef struct
|
||||||
key_set remove;
|
key_set remove;
|
||||||
} keyboard_keymap_overlay_values;
|
} keyboard_keymap_overlay_values;
|
||||||
|
|
||||||
static const std::vector<keyboard_led> empty_basemap =
|
|
||||||
{
|
|
||||||
/*---------------------------------------------------------------------*\
|
|
||||||
| Zone, Row, Column, Index, Key |
|
|
||||||
\*---------------------------------------------------------------------*/
|
|
||||||
};
|
|
||||||
|
|
||||||
class KeyboardLayoutManager
|
class KeyboardLayoutManager
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
@ -133,6 +126,6 @@ private:
|
||||||
std::string name = KLM_CLASS_NAME;
|
std::string name = KLM_CLASS_NAME;
|
||||||
uint8_t rows = 0;
|
uint8_t rows = 0;
|
||||||
uint8_t cols = 0;
|
uint8_t cols = 0;
|
||||||
std::vector<keyboard_led> keymap = empty_basemap;
|
std::vector<keyboard_led> keymap;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue