Minor OCD fix;].

This commit is contained in:
LunaMoo committed 2017-04-29 16:24:01 +02:00
1 parent 14e6667f3a
commit 5fd6d4aab6
3 files changed
+3 -6

No files matched your search

+1 -4
View File
@@ -245,7 +245,7 @@ namespace WindowsRawInput {
NativeTouch(touch);
if (MouseInWindow(hWnd)) {
if (!mouseDown[i]) {
// This means they were focused outside, and left clicked inside.
// This means they were focused outside, and clicked inside.
// Seems intentional, so send a down first.
key.flags = KEY_DOWN;
NativeKey(key);
@@ -259,9 +259,6 @@ namespace WindowsRawInput {
}
}
}
// TODO : Smooth and translate to an axis every frame.
// NativeAxis()
}
void ProcessHID(RAWINPUT *raw, bool foreground) {