// Copyright (C) 2017 Jérôme Leclercq // This file is part of the "Nazara Engine - Platform module" // For conditions of distribution and use, see copyright notice in Config.hpp #pragma once #ifndef NAZARA_SDL2_HELPER_HPP #define NAZARA_SDL2_HELPER_HPP #include #include #include namespace Nz { class SDLHelper { public: static Keyboard::Scancode FromSDL(SDL_Scancode scancode); static Keyboard::VKey FromSDL(SDL_Keycode keycode); static SDL_Scancode ToSDL(Keyboard::Scancode scancode); static SDL_Keycode ToSDL(Keyboard::VKey keycode); }; } #endif // NAZARA_SDL2_HELPER_HPP