added tab keyboard button handler

This commit is contained in:
Turánszki János
2024-07-16 08:48:32 +02:00
parent b3cb7e30f9
commit fd0ae0bced
4 changed files with 7 additions and 1 deletions
+3
View File
@@ -582,6 +582,9 @@ namespace wi::input
case KEYBOARD_BUTTON_DIVIDE:
keycode = VK_DIVIDE;
break;
case KEYBOARD_BUTTON_TAB:
keycode = VK_TAB;
break;
#endif // _WIN32
default: break;
}
+1
View File
@@ -60,6 +60,7 @@ namespace wi::input
KEYBOARD_BUTTON_SUBTRACT,
KEYBOARD_BUTTON_DECIMAL,
KEYBOARD_BUTTON_DIVIDE,
KEYBOARD_BUTTON_TAB,
CHARACTER_RANGE_START = 65, // letter A
+2
View File
@@ -307,6 +307,8 @@ namespace wi::input::sdlinput
return wi::input::KEYBOARD_BUTTON_DECIMAL;
case SDL_SCANCODE_KP_DIVIDE:
return wi::input::KEYBOARD_BUTTON_DIVIDE;
case SDL_SCANCODE_TAB:
return wi::input::KEYBOARD_BUTTON_TAB;
}
+1 -1
View File
@@ -9,7 +9,7 @@ namespace wi::version
// minor features, major updates, breaking compatibility changes
const int minor = 71;
// minor bug fixes, alterations, refactors, updates
const int revision = 514;
const int revision = 515;
const std::string version_string = std::to_string(major) + "." + std::to_string(minor) + "." + std::to_string(revision);