X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fkeyboard.cpp;h=45ef0920448a12889a2ad9b1b7387c7b4c4987f3;hb=4d297f94791ef51e574c1345e8dcc5a15aee2149;hp=4bc586ca3ff5deb0c61cccd4208e42aa8ac3e240;hpb=d39a783c839c08be8ac36a040f4f8b2ee0da8d56;p=libs%2Fgui.git diff --git a/source/keyboard.cpp b/source/keyboard.cpp index 4bc586c..45ef092 100644 --- a/source/keyboard.cpp +++ b/source/keyboard.cpp @@ -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)