What I am saying is, that there is nothing in Windows that stops you from writing amazing fast so…
At the end of day 29 we divide handmade.h into two header files, handmade.h & handmade_platfo…
You can control vibration by sending HID page stuff back to joystick.
I have PS4 controller, and …
The reason I don't think raw input is an option is because I don't know of any way to send vibrat…
I think it is not true that nobody is able to do better, because Microsoft themselves used to be …
This was not working for me on Windows 8.1 x64.
I needed to change CompareMemory function to be …
You and your caches :)
While Windows works fine with me (with a lot of help from FAR Manager + C…
Few people have bashed microsoft as badly as I have done. In private. I have literally hated wind…
Thanks guys for holding my hand through all that. I feel reasonably incompetent. But glad I've go…
Another option would be to use Raw Input API to read Joystick info and not use DirectInput and XI…
*EDIT* Oh... this ended up much longer than I initially thought ^^; sorry.. manages to say very l…
If you have define like this:
1#define Pi32 = 3.14159265359f;
Then following code:
1tSine += 2.…
Yes, if you want to support XBox controllers you pretty much have to use XInput - DirectInput doe…
So i removed all the other files from the project, and just built with Win32Handmade.cpp. And it …
Yes, there is. Click right mouse button on file, choose Properties and then select "Yes" for "Exc…
Ok, thanks guys for helping out, I think I AM fighting VS :( That sounds like what's happening, b…
I don't use VisualStudio but it is fairly typical that .cpp files will be compiled separately and…
When you get errors, which file are you compiling? Win32Handmade.cpp?
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
3…
But is Win32Handmade.cpp included in this file you are showing? Or is this file included in Win32…
I have the typedef's in Win32Handmade.cpp. I just notices a VS2013 settings file in the hh source…
no, not me. i am not even saying i agree. i just told you what i think HE meant.
ps. you don't n…
Bah, I can't read :) stdint.h with uint32_t is not the problem! oliholli explained correctly what…
I guess you still haven't typedef'd uint32, uint64, etc. The compiler is looking at uint32 above …
Oh, you want to overload every single operator/function also? In this case operator +=. I don't t…
My nickname, "Pseudonym", was chosen 25 years ago when I was reading GEB as an impressionable tee…
This error means that "uint32_t" is unknown to compiler. Have you included <stdint.h> somew…
Are you using a single translation unit? Maybe some of your includes are not in proper order?
no, that wouldn't help, since you are actually adding the .Value members (that are all floats). m…
Ok, so the first error is
Error 1 error C2146: syntax error : missing ';' before identifier 'Sa…