Hey guys, I'm playing with DirectInput, and I'm stuck because of a macro.
#define MAKEDIPROP(prop) (*(const GUID *)(prop))
#define DIPROP_BUFFERSIZE MAKEDIPROP(1)
I'm trying something like that:
const key = @as(*win32.zig.Guid, @ptrFromInt(@as(usize, 1)));
but got:
error: pointer type '*win32.zig.Guid' requires aligned address