diff --git a/sample_profiles/keys_v_gradiant_fr_ch-latin1 b/sample_profiles/keys_v_gradiant_fr_ch-latin1 index 11314d8..0a56625 100644 --- a/sample_profiles/keys_v_gradiant_fr_ch-latin1 +++ b/sample_profiles/keys_v_gradiant_fr_ch-latin1 @@ -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 diff --git a/src/classes/Keyboard.cpp b/src/classes/Keyboard.cpp index 5ee7a14..cf28fc0 100644 --- a/src/classes/Keyboard.cpp +++ b/src/classes/Keyboard.cpp @@ -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;