1
0
mirror of https://github.com/MatMoul/g810-led.git synced 2024-12-23 09:16:11 +00:00

Rename num_dot to num_period

This commit is contained in:
MatMoul 2016-10-29 18:59:01 +02:00
parent 7dcbf68077
commit 21d048c4a5
2 changed files with 2 additions and 2 deletions

View File

@ -123,7 +123,7 @@ k left $raw6
k bottom $raw6
k right $raw6
k num0 $raw6
k num. $raw6
k num_period $raw6
k numenter $raw6
# Commit

View File

@ -381,7 +381,7 @@ bool Keyboard::parseKey(std::string key, KeyAddress &keyAddress) {
else if (key == "num8") parsedKey = Key::num_8;
else if (key == "num9") parsedKey = Key::num_9;
else if (key == "num0") parsedKey = Key::num_0;
else if (key == "num." || key == "num_dot" || key == "numdot") parsedKey = Key::num_dot;
else if (key == "num." || key == "num_period" || key == "numperiod") parsedKey = Key::num_dot;
//else if (key == "<" || key == ">" || key == "\\" || key == "backslash") parsedKey = Key::backslash;
else if (key == "intl_backslash") parsedKey = Key::intl_backslash;