diff --git a/src/backend_evdev.c b/src/backend_evdev.c index 5f34394..231bc2d 100644 --- a/src/backend_evdev.c +++ b/src/backend_evdev.c @@ -176,9 +176,9 @@ jstkOpenDevice_evdev(JoystickDevPtr joystick) if (ioctl(joystick->fd, EVIOCGUNIQ(sizeof(uniq)), uniq) == -1) strcpy(uniq, "No name"); - xf86Msg(X_INFO, "Joystick: %s. %d axes, %d buttons.\n", name, axes, buttons); - xf86Msg(X_INFO, "Joystick: bus 0x%x vendor 0x%x product 0x%x version 0x%x\n", - id.bustype, id.vendor, id.product, id.version); + xf86Msg(X_INFO, "Joystick: %s. bus 0x%x vendor 0x%x product 0x%x version 0x%x\n", + name, id.bustype, id.vendor, id.product, id.version); + xf86Msg(X_INFO, "Joystick: found %d axes, %d buttons\n", axes, buttons); joystick->read_proc = jstkReadData_evdev; joystick->close_proc = jstkCloseDevice_evdev;