mirror of
https://github.com/MiSTer-devel/InputTest_MiSTer.git
synced 2026-04-26 03:04:18 +00:00
24 lines
361 B
C++
24 lines
361 B
C++
#pragma once
|
|
#ifndef _MSC_VER
|
|
#else
|
|
#define WIN32
|
|
#pragma comment(lib, "dinput8.lib")
|
|
#pragma comment(lib, "dxguid.lib")
|
|
#endif
|
|
#include <vector>
|
|
|
|
struct SimInput {
|
|
public:
|
|
|
|
int inputCount = 0;
|
|
bool inputs[16];
|
|
int mappings[16];
|
|
|
|
void Read();
|
|
int Initialise();
|
|
void CleanUp();
|
|
void SetMapping(int index, int code);
|
|
SimInput(int count);
|
|
~SimInput();
|
|
};
|