Made type more specific
This commit is contained in:
parent
5a4c3949b0
commit
cdc8fedfeb
2 changed files with 2 additions and 2 deletions
|
@ -11,7 +11,7 @@ ButtonConfig ButtonConfigFactory::fromKey(sf::Keyboard::Key key)
|
|||
return {};
|
||||
}
|
||||
|
||||
ButtonConfig ButtonConfigFactory::fromGamepadButton(int button)
|
||||
ButtonConfig ButtonConfigFactory::fromGamepadButton(unsigned int button)
|
||||
{
|
||||
if (GAMEPAD_BUTTON_CONFIGS.find(button) != GAMEPAD_BUTTON_CONFIGS.end())
|
||||
{
|
||||
|
|
|
@ -10,7 +10,7 @@ class ButtonConfigFactory
|
|||
public:
|
||||
static ButtonConfig fromKey(sf::Keyboard::Key key);
|
||||
|
||||
static ButtonConfig fromGamepadButton(int button);
|
||||
static ButtonConfig fromGamepadButton(unsigned int button);
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue