QSFML
keyconverter.hpp
Go to the documentation of this file.
1 /* =========================================================== *
2  * QSFML (c) Kamil Koczurek | koczurekk@gmail.com *
3  * GNU GPL v3 License http://www.gnu.org/licenses/gpl-3.0.html *
4  * =========================================================== */
7 
8 #ifndef KEYCONVERTER_HPP
9 #define KEYCONVERTER_HPP
10 
11 #include <SFML/Window/Keyboard.hpp>
12 #include <QKeyEvent>
13 
14 namespace qsf {
20  sf::Keyboard::Key QtKeyToSFML(int QtKey);
21 }
22 #endif // KEYCONVERTER_HPP
23 
sf::Keyboard::Key QtKeyToSFML(int QtKey)
Function converting Qt key code to SFML&#39;s one.
Definition: keyconverter.cpp:12
Namespace containing all qsf classes and methods.
Definition: Image.cpp:3