From 1a199349160a648468922faba63558f56aa479a6 Mon Sep 17 00:00:00 2001 From: zilmar Date: Wed, 1 Jul 2020 10:24:29 +0930 Subject: [PATCH] Project64-input: Add device to button --- Source/Project64-input/Button.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Source/Project64-input/Button.h b/Source/Project64-input/Button.h index 4977657aa..b42929e46 100644 --- a/Source/Project64-input/Button.h +++ b/Source/Project64-input/Button.h @@ -1,5 +1,6 @@ #pragma once #include +#include enum BtnType { @@ -19,9 +20,11 @@ enum BtnType BTNTYPE_MOUSEAXE = 7, }; -typedef struct +typedef struct _BUTTON { uint8_t Offset; uint8_t AxisID; BtnType BtnType; + GUID DeviceGuid; + void * Device; } BUTTON;