Ivan Safrin пре 9 година
родитељ
комит
b89d179f6b

+ 1 - 0
build/windows/universal/PolycodeCore/PolycodeCore.vcxproj

@@ -181,6 +181,7 @@
     <ClCompile Include="..\..\..\..\src\core\PolyVector4.cpp" />
     <ClCompile Include="..\..\..\..\src\core\PolyXAudio2AudioInterface.cpp" />
     <ClCompile Include="..\..\..\..\src\core\rgbe.cpp" />
+    <ClCompile Include="..\..\..\..\src\core\stb_vorbis.cpp" />
     <ClCompile Include="..\..\..\..\src\core\tinystr.cpp" />
     <ClCompile Include="..\..\..\..\src\core\tinyxml.cpp" />
     <ClCompile Include="..\..\..\..\src\core\tinyxmlerror.cpp" />

+ 3 - 0
build/windows/universal/PolycodeCore/PolycodeCore.vcxproj.filters

@@ -482,5 +482,8 @@
     <ClCompile Include="..\..\..\..\src\bindings\javascript\PolycodeJS.cpp">
       <Filter>Source</Filter>
     </ClCompile>
+    <ClCompile Include="..\..\..\..\src\core\stb_vorbis.cpp">
+      <Filter>Source</Filter>
+    </ClCompile>
   </ItemGroup>
 </Project>

+ 2 - 2
src/core/PolyUWPCore.cpp

@@ -119,10 +119,10 @@ void UWPCore::checkEvents() {
 				break;
 			case InputEvent::EVENT_KEYDOWN:
 				if (!checkSpecialKeyEvents(event.keyCode))
-					input->setKeyState(event.keyCode, event.unicodeChar, true, getTicks());
+					input->setKeyState(event.keyCode, true, getTicks());
 				break;
 			case InputEvent::EVENT_KEYUP:
-				input->setKeyState(event.keyCode, event.unicodeChar, false, getTicks());
+				input->setKeyState(event.keyCode, false, getTicks());
 				break;
 			case InputEvent::EVENT_TOUCHES_BEGAN:
 				input->touchesBegan(event.touch, event.touches, getTicks());