1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-11-22 18:28:52 -05:00

Formatting pass (no code changes).

This commit is contained in:
Camilla Berglund 2010-09-08 16:02:02 +02:00
parent a4d888c2f5
commit 61cc652a2f

View File

@ -102,13 +102,16 @@ void _glfwInitJoysticks(void)
switch (k)
{
case 0:
joy_base_name = "/dev/input/js"; // USB sticks
// USB joysticks
joy_base_name = "/dev/input/js";
break;
case 1:
joy_base_name = "/dev/js"; // "Legacy" sticks
// "Legacy" joysticks
joy_base_name = "/dev/js";
break;
default:
continue; // (should never happen)
// This should never happen
continue;
}
// Try to open a few of these sticks