]> git.tdb.fi Git - libs/gui.git/blobdiff - source/input/keyboard.cpp
Streamline iterators and loop constructs
[libs/gui.git] / source / input / keyboard.cpp
index 159e5ee41b9e304adfb777e649251aa2c274887c..30a6145618090ea75801f8cceb994ad4bb3f9a9d 100644 (file)
@@ -6,6 +6,7 @@ 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