mirror of
https://github.com/SFML/SFML.git
synced 2025-01-31 13:45:13 +08:00
parent
62a2a39650
commit
662830e90a
@ -309,8 +309,8 @@ JoystickState JoystickImpl::JoystickImpl::update()
|
|||||||
if (!data)
|
if (!data)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
int buttonIndex = 0;
|
std::size_t buttonIndex = 0;
|
||||||
hid_item_t item;
|
hid_item_t item;
|
||||||
|
|
||||||
while (hid_get_item(data, &item))
|
while (hid_get_item(data, &item))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user