Update example
This commit is contained in:
parent
dacbfc8810
commit
d32cf0107f
|
|
@ -56,7 +56,7 @@ int main(void)
|
||||||
}
|
}
|
||||||
for (int button = 0; button < 32; button++)
|
for (int button = 0; button < 32; button++)
|
||||||
{
|
{
|
||||||
DrawText(TextFormat("\tButton %d = %d", button, IsGamepadButtonPressed(i, button)), 10, y, 20, BLACK);
|
DrawText(TextFormat("\tButton %d = %d", button, IsGamepadButtonDown(i, button)), 10, y, 20, BLACK);
|
||||||
y += 30;
|
y += 30;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user