fix: pad 0 signed in when keyboard focused (KBM without gamepad)
This commit is contained in:
1 parent
1ba5902026
commit
6195bd193d
4 files changed
+15
-2
No files matched your search
@@ -344,6 +344,11 @@ bool C_4JInput::IsMouseCaptured() const
|
||||
return InternalKeyboard.IsMouseCaptured();
|
||||
}
|
||||
|
||||
bool C_4JInput::IsWindowFocused() const
|
||||
{
|
||||
return InternalKeyboard.IsWindowFocused();
|
||||
}
|
||||
|
||||
void C_4JInput::SetMousePos(int x, int y)
|
||||
{
|
||||
InternalKeyboard.SetMousePos(x, y);
|
||||
|
||||
@@ -90,6 +90,7 @@ public:
|
||||
void SetMouseCaptured(bool captured);
|
||||
void SetWindowFocused(bool focused);
|
||||
bool IsMouseCaptured() const { return m_mouseCaptured; }
|
||||
bool IsWindowFocused() const { return m_windowFocused; }
|
||||
|
||||
void SetMousePos(int x, int y) { m_mouseX = x; m_mouseY = y; }
|
||||
|
||||
|
||||
Reference in new issue
Block a user