add advanced tooltips, F3+H combo, and handle settings (#1389)

This commit is contained in:
Sylvessa 2026-03-23 17:54:46 -05:00 committed by GitHub
parent 77433dbd86
commit 127465b0eb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 68 additions and 26 deletions

View file

@ -234,6 +234,13 @@ bool KeyboardMouseInput::IsKeyReleased(int vkCode) const
return false;
}
int KeyboardMouseInput::GetPressedKey() const
{
for (int i = 0; i < MAX_KEYS; ++i)
if (m_keyPressed[i]) return i;
return 0;
}
bool KeyboardMouseInput::IsMouseButtonDown(int button) const
{
if (button >= 0 && button < MAX_MOUSE_BUTTONS)