mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-02-16 20:15:38 +00:00
Two small changes to the application startup logging.
This commit is contained in:
parent
9eb1cfd66a
commit
e2b3ca55be
|
@ -89,7 +89,7 @@ void ViewController::goToStart()
|
||||||
// configuration has been performed.
|
// configuration has been performed.
|
||||||
if (InputManager::getInstance()->
|
if (InputManager::getInstance()->
|
||||||
getInputConfigByDevice(DEVICE_KEYBOARD)->getDefaultConfigFlag()) {
|
getInputConfigByDevice(DEVICE_KEYBOARD)->getDefaultConfigFlag()) {
|
||||||
LOG(LogInfo) << "Applying default keyboard mappings";
|
LOG(LogInfo) << "Applying default keyboard mappings...";
|
||||||
|
|
||||||
if (Settings::getInstance()->getBool("ShowDefaultKeyboardWarning")) {
|
if (Settings::getInstance()->getBool("ShowDefaultKeyboardWarning")) {
|
||||||
std::string message = "NO KEYBOARD CONFIGURATION COULD BE\n"
|
std::string message = "NO KEYBOARD CONFIGURATION COULD BE\n"
|
||||||
|
|
|
@ -335,7 +335,7 @@ bool InputManager::loadInputConfig(InputConfig* config)
|
||||||
std::string path = getConfigPath();
|
std::string path = getConfigPath();
|
||||||
if (!Utils::FileSystem::exists(path)) {
|
if (!Utils::FileSystem::exists(path)) {
|
||||||
if (config->getDeviceName() == "Keyboard") {
|
if (config->getDeviceName() == "Keyboard") {
|
||||||
LOG(LogDebug) << "InputManager::loadInputConfig(): Assigning default keyboard "
|
LOG(LogDebug) << "InputManager::loadInputConfig(): Will assign default keyboard "
|
||||||
"mappings as there is no es_input.cfg configuration file";
|
"mappings as there is no es_input.cfg configuration file";
|
||||||
loadDefaultKBConfig();
|
loadDefaultKBConfig();
|
||||||
config->setDefaultConfigFlag();
|
config->setDefaultConfigFlag();
|
||||||
|
|
Loading…
Reference in a new issue