summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-09-14 18:33:19 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-09-14 18:33:19 +0200
commitba960bad6766cc8315c62b460ed4f2c88274a629 (patch)
tree7b0582a01df3c4bb96b33f4a4a916e6eaa1882e8 /facetracknoir
parent924620c03eb640fd11ecceabc867a0d30a4d504b (diff)
Unbreak Windows partially
Diffstat (limited to 'facetracknoir')
-rw-r--r--facetracknoir/shortcuts.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/facetracknoir/shortcuts.cpp b/facetracknoir/shortcuts.cpp
index 57f64998..c2778806 100644
--- a/facetracknoir/shortcuts.cpp
+++ b/facetracknoir/shortcuts.cpp
@@ -128,7 +128,7 @@ void KeyboardShortcutDialog::save() {
#if defined(__WIN32) || defined(_WIN32)
#include <windows.h>
-KeybindingWorkerDummy::~KeybindingWorkerDummy() {
+KeybindingWorkerImpl::~KeybindingWorkerImpl() {
if (dinkeyboard) {
dinkeyboard->Unacquire();
dinkeyboard->Release();
@@ -137,7 +137,7 @@ KeybindingWorkerDummy::~KeybindingWorkerDummy() {
din->Release();
}
-KeybindingWorkerDummy::KeybindingWorkerDummy(FaceTrackNoIR& w, Key keyCenter)
+KeybindingWorkerImpl::KeybindingWorkerImpl(FaceTrackNoIR& w, Key keyCenter)
: kCenter(keyCenter), window(w), should_quit(true), din(0), dinkeyboard(0)
{
if (DirectInput8Create(GetModuleHandle(NULL), DIRECTINPUT_VERSION, IID_IDirectInput8, (void**)&din, NULL) != DI_OK) {
@@ -208,7 +208,7 @@ static bool isKeyPressed( const Key *key, const BYTE *keystate ) {
return false;
}
-void KeybindingWorkerDummy::run() {
+void KeybindingWorkerImpl::run() {
BYTE keystate[256];
while (!should_quit)
{