]> git.tdb.fi Git - libs/gui.git/blobdiff - source/input/keyboard.cpp
Correctly sort inactive monitors on X11
[libs/gui.git] / source / input / keyboard.cpp
index 159e5ee41b9e304adfb777e649251aa2c274887c..a79f0041c615b73250ca6a0b864188426d88f611 100644 (file)
@@ -1,11 +1,12 @@
-#include <msp/graphics/window.h>
 #include "keyboard.h"
+#include <msp/graphics/window.h>
 #include "keys.h"
 
 namespace Msp {
 namespace Input {
 
 Keyboard::Keyboard(Graphics::Window &w):
+       Device(KEYBOARD),
        window(w)
 {
        name = "Keyboard";
@@ -15,5 +16,8 @@ Keyboard::Keyboard(Graphics::Window &w):
        window.signal_input_event.connect(sigc::mem_fun(this, &Keyboard::input_event));
 }
 
+Keyboard::~Keyboard()
+{ }
+
 } // namespace Input
 } // namespace Msp