Formatting pass (no code changes).

master
Camilla Berglund ago%!(EXTRA string=15 years)
parent a4d888c2f5
commit 61cc652a2f
  1. 9
      lib/x11/x11_joystick.c

@ -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…
Cancel
Save