···9090 return opengloves_alpha_encoding_key_characters.find(character) != std::string::npos;
9191}
92929393-static const std::map<std::string, int> opengloves_alpha_encoding_key_string{
9393+static const std::map<std::string, int> opengloves_alpha_encoding_input_key_string{
9494 {"A", OPENGLOVES_ALPHA_ENCODING_FinThumb}, // whole thumb curl (default curl value for thumb joints)
9595 {"(AB)", OPENGLOVES_ALPHA_ENCODING_FinSplayThumb}, // whole thumb splay thumb joint 3 (doesn't exist, but keeps
9696 // consistency with the other fingers
···180180181181 // Even if the value is empty we still want to use the key, it means that we have a button that
182182 // is pressed (it only appears in the packet if it is)
183183- if (opengloves_alpha_encoding_key_string.find(key) !=
184184- opengloves_alpha_encoding_key_string.end())
185185- result.insert_or_assign(opengloves_alpha_encoding_key_string.at(key), value);
183183+ if (opengloves_alpha_encoding_input_key_string.find(key) !=
184184+ opengloves_alpha_encoding_input_key_string.end())
185185+ result.insert_or_assign(opengloves_alpha_encoding_input_key_string.at(key), value);
186186 else
187187 U_LOG_W("Unable to insert key: %s into input map as it was not found", key.c_str());
188188 } else