From e1c82117f9a8e3f013773a7c7a30a7f25ac3e04a Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Wed, 23 Mar 2022 03:21:34 -0500 Subject: [PATCH] [nostalgia/core] Fix GBA input --- src/nostalgia/core/input.hpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/nostalgia/core/input.hpp b/src/nostalgia/core/input.hpp index e5489e32..8db7fb17 100644 --- a/src/nostalgia/core/input.hpp +++ b/src/nostalgia/core/input.hpp @@ -4,11 +4,13 @@ #pragma once +#include + namespace nostalgia::core { enum Key { // GBA implementation currently relies on GamePad entry order - GamePad_A = 1, + GamePad_A = 0, GamePad_B, GamePad_Select, GamePad_Start, @@ -57,7 +59,9 @@ enum Key { Alpha_Y, Alpha_Z, + Mod_Alt, Mod_Ctrl, + Mod_Super, Mod_Shift, End