mirror of
https://github.com/glfw/glfw.git
synced 2024-11-10 00:51:47 +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)
|
||||
{
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user