Open EvoLandEco opened 2 years ago
@richelbilderbeek suggests we can use a look-up std::map to improve the currently clumsy and incomplete function to_sfml_key() which is located in key_action_map.cpp
std::map
to_sfml_key()
https://github.com/Bromeon/Thor/blob/master/src/InputNames.cpp The library Thor has already implemented similar functions. I put the link here as a reference
Thor
@richelbilderbeek suggests we can use a look-up
std::map
to improve the currently clumsy and incomplete functionto_sfml_key()
which is located in key_action_map.cpp