KeyEvents This example demonstrates the use of key events. Sources KeyEvents.cpp CMakeLists.txt Generate and build To build this project, open "Console" and type following lines: mkdir build && cd build cmake .. start KeyEvents.sln Select "KeyEvents" project and type Ctrl+F5 to build and run it. Output