Formatting pass (no code changes).

This commit is contained in:
Camilla Berglund 2010-09-08 16:02:02 +02:00
parent a4d888c2f5
commit 61cc652a2f
1 changed files with 32 additions and 29 deletions

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