InputCommon now builds in unicode

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3922 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
LPFaint99 committed 2009-08-01 19:11:05 +00:00
1 parent 1e9bb4ed9a
commit 5b735361e8
5 files changed
+14 -12

No files matched your search

@@ -240,7 +240,8 @@ std::string VKToString(int keycode)
#ifdef _WIN32
// Default value
char KeyStr[64] = {0};
GetKeyNameText(MapVirtualKey(keycode, MAPVK_VK_TO_VSC) << 16, KeyStr, 64);
// TODO: Switch to unicode GetKeyNameText?
GetKeyNameTextA(MapVirtualKey(keycode, MAPVK_VK_TO_VSC) << 16, KeyStr, 64);
std::string KeyString = KeyStr;
switch(keycode)