diff options
author | aap <aap@papnet.eu> | 2019-06-23 01:01:21 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2019-06-23 01:01:21 +0200 |
commit | 047fa20f28890176e0d86191b3a9fd459d967785 (patch) | |
tree | 78d7ce0c5ad0546648643fb8b2c901efee74d5e5 /src/Pad.h | |
parent | Fixed little bug in Radar.cpp. (diff) | |
download | re3-047fa20f28890176e0d86191b3a9fd459d967785.tar re3-047fa20f28890176e0d86191b3a9fd459d967785.tar.gz re3-047fa20f28890176e0d86191b3a9fd459d967785.tar.bz2 re3-047fa20f28890176e0d86191b3a9fd459d967785.tar.lz re3-047fa20f28890176e0d86191b3a9fd459d967785.tar.xz re3-047fa20f28890176e0d86191b3a9fd459d967785.tar.zst re3-047fa20f28890176e0d86191b3a9fd459d967785.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Pad.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -292,7 +292,7 @@ public: // keyboard - inline bool GetCharJustDown(char c) { return !!(NewKeyState.VK_KEYS[c] && !OldKeyState.VK_KEYS[c]); } + inline bool GetCharJustDown(int32 c) { return !!(NewKeyState.VK_KEYS[c] && !OldKeyState.VK_KEYS[c]); } inline bool GetFJustDown(int32 n) { return !!(NewKeyState.F[n] && !OldKeyState.F[n]); } inline bool GetEscapeJustDown() { return !!(NewKeyState.ESC && !OldKeyState.ESC); } inline bool GetInsertJustDown() { return !!(NewKeyState.INS && !OldKeyState.INS); } |