#include "dinput.h"
// DirectInput
#define SAMPLE_BUFFER_SIZE 16 // arbitrary number of buffer elements
LPDIRECTINPUT8 g_pDI = NULL;
LPDIRECTINPUTDEVICE8 g_pMouse = NULL;
Error C2146: Syntax Error: missing ";" before 'g_pDI'
Now why does it give me that error? I included dinput8.lib in the project,
and i still can't get it to work.
nvm, i found it after comparing step by step with the tutorial, some b.s.
with the project properties.