]> git.tdb.fi Git - libs/gui.git/blobdiff - source/keyboard.cpp
Add input hub
[libs/gui.git] / source / keyboard.cpp
index 4bc586ca3ff5deb0c61cccd4208e42aa8ac3e240..45ef0920448a12889a2ad9b1b7387c7b4c4987f3 100644 (file)
@@ -16,6 +16,7 @@ Keyboard::Keyboard(Window &window)
        buttons.resize(256, false);
 
        window.signal_key_press.connect(sigc::mem_fun(this, &Keyboard::key_press));
+       window.signal_key_release.connect(sigc::mem_fun(this, &Keyboard::key_release));
 }
 
 void Keyboard::key_press(unsigned key, unsigned, unsigned)