Project64-input: Add device to button
This commit is contained in:
parent
f78e292796
commit
1a19934916
|
@ -1,5 +1,6 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
#include <Common\stdtypes.h>
|
#include <Common\stdtypes.h>
|
||||||
|
#include <guiddef.h>
|
||||||
|
|
||||||
enum BtnType
|
enum BtnType
|
||||||
{
|
{
|
||||||
|
@ -19,9 +20,11 @@ enum BtnType
|
||||||
BTNTYPE_MOUSEAXE = 7,
|
BTNTYPE_MOUSEAXE = 7,
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef struct
|
typedef struct _BUTTON
|
||||||
{
|
{
|
||||||
uint8_t Offset;
|
uint8_t Offset;
|
||||||
uint8_t AxisID;
|
uint8_t AxisID;
|
||||||
BtnType BtnType;
|
BtnType BtnType;
|
||||||
|
GUID DeviceGuid;
|
||||||
|
void * Device;
|
||||||
} BUTTON;
|
} BUTTON;
|
||||||
|
|
Loading…
Reference in New Issue