pull/256/merge
DoodlingTurtle 3 years ago committed by GitHub
commit c8e514ece6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      olcPixelGameEngine.h

@ -598,7 +598,7 @@ namespace olc
NP_MUL, NP_DIV, NP_ADD, NP_SUB, NP_DECIMAL, PERIOD,
EQUALS, COMMA, MINUS,
OEM_1, OEM_2, OEM_3, OEM_4, OEM_5, OEM_6, OEM_7, OEM_8,
CAPS_LOCK, ENUM_END
CAPS_LOCK, ENUM_END, ALT
};
namespace Mouse
@ -5023,6 +5023,7 @@ namespace olc
mapKeys[VK_OEM_MINUS] = Key::MINUS; // the minus key on any keyboard
mapKeys[VK_OEM_PERIOD] = Key::PERIOD; // the period key on any keyboard
mapKeys[VK_CAPITAL] = Key::CAPS_LOCK;
mapKeys[VK_MENU] = Key::ALT;
return olc::OK;
}

Loading…
Cancel
Save