mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Fix some more joystick issues (#10624)
This commit is contained in:
parent
5066fe7583
commit
af22dd86e3
7 changed files with 55 additions and 50 deletions
|
@ -3139,8 +3139,8 @@ void Game::processPlayerInteraction(f32 dtime, bool show_hud, bool show_debug)
|
|||
wasKeyDown(KeyType::DIG);
|
||||
wasKeyDown(KeyType::PLACE);
|
||||
|
||||
input->joystick.clearWasKeyDown(KeyType::DIG);
|
||||
input->joystick.clearWasKeyDown(KeyType::PLACE);
|
||||
input->joystick.clearWasKeyPressed(KeyType::DIG);
|
||||
input->joystick.clearWasKeyPressed(KeyType::PLACE);
|
||||
|
||||
input->joystick.clearWasKeyReleased(KeyType::DIG);
|
||||
input->joystick.clearWasKeyReleased(KeyType::PLACE);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue