mirror of
https://github.com/glfw/glfw.git
synced 2024-11-12 17:51:48 +00:00
Formatting pass (no code changes).
This commit is contained in:
parent
a4d888c2f5
commit
61cc652a2f
@ -102,13 +102,16 @@ void _glfwInitJoysticks(void)
|
|||||||
switch (k)
|
switch (k)
|
||||||
{
|
{
|
||||||
case 0:
|
case 0:
|
||||||
joy_base_name = "/dev/input/js"; // USB sticks
|
// USB joysticks
|
||||||
|
joy_base_name = "/dev/input/js";
|
||||||
break;
|
break;
|
||||||
case 1:
|
case 1:
|
||||||
joy_base_name = "/dev/js"; // "Legacy" sticks
|
// "Legacy" joysticks
|
||||||
|
joy_base_name = "/dev/js";
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
continue; // (should never happen)
|
// This should never happen
|
||||||
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Try to open a few of these sticks
|
// Try to open a few of these sticks
|
||||||
|
Loading…
Reference in New Issue
Block a user