Memset
This line does what I believe it does?
memset(&jinfo,0,sizeof(JOYINFOEX));
Set all bytes of "jinfo" to zeros?
memset(&jinfo,0,sizeof(JOYINFOEX));
Set all bytes of "jinfo" to zeros?
I'd highly recommend purchasing a book on C or google around to find an explanation of common C functions.
Only a few people around here have any knowledge of C, so posting C-specific questions to the forum is almost a lost cause.
I mean, if you have a question about how the heck DinkC Command Parsing is done, that'd be a much better fit for this forum, as there isn't anywhere else on the internet that has that information.
But anyway, yeah, that command will set all of the bytes in jinfo to 0.
Only a few people around here have any knowledge of C, so posting C-specific questions to the forum is almost a lost cause.
I mean, if you have a question about how the heck DinkC Command Parsing is done, that'd be a much better fit for this forum, as there isn't anywhere else on the internet that has that information.
But anyway, yeah, that command will set all of the bytes in jinfo to 0.