Add gamepad name to joysticks test
This commit is contained in:
parent
6d463d36fa
commit
07cc6e00da
@ -269,7 +269,9 @@ int main(void)
|
||||
"LT", "RT",
|
||||
};
|
||||
|
||||
nk_label(nk, "Gamepad state", NK_TEXT_LEFT);
|
||||
nk_labelf(nk, NK_TEXT_LEFT,
|
||||
"Gamepad state: %s",
|
||||
glfwGetGamepadName(joysticks[i]));
|
||||
|
||||
nk_layout_row_dynamic(nk, 30, 2);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user