added tab keyboard button handler
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user