[Gamepad] Fix comp
This commit is contained in:
parent
f0258631b2
commit
e0ea52a496
@ -1126,7 +1126,7 @@ namespace Components
|
||||
|
||||
void Gamepad::CL_GamepadButtonEvent(const int gamePadIndex, const int key, const Game::GamePadButtonEvent buttonEvent, const unsigned time)
|
||||
{
|
||||
AssertIn(gamePadInde, Game::MAX_GPAD_COUNT);
|
||||
AssertIn(gamePadIndex, Game::MAX_GPAD_COUNT);
|
||||
|
||||
const auto pressed = buttonEvent == Game::GPAD_BUTTON_PRESSED;
|
||||
const auto pressedOrUpdated = pressed || buttonEvent == Game::GPAD_BUTTON_UPDATE;
|
||||
|
Loading…
Reference in New Issue
Block a user