This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// cl.exe xbox_test.c /link setupapi.lib user32.lib | |
#include <windows.h> | |
#include <setupapi.h> | |
#include <dbt.h> | |
#include <stdio.h> | |
/// interface | |
#define XBOX_MAX_CONTROLLERS 16 |