Closed not-a-user closed 3 years ago
Oh yes, when I wrote that I remember thinking: "This is not portable..." but later I forget about it. :(
The patch is correct but I would rather use macros from glib.
Can you confirm if this works?
joy->id = g_strdup_printf ("0x%016"G_GINT64_MODIFIER"x%04x%04x%08x", GetBVPV (number), num_axes, num_buttons, 0);
Confirmed working, PR updated.
Merged. Thanks very much!
The compiler warned about this: