![]() |
Blamite Game Engine - blam!
00406.12.10.23.1457.blamite
The core library for the Blamite Game Engine.
|
#include <Windows.h>
#include <sdl2/SDL_keyboard.h>
#include <sdl2/SDL_mouse.h>
Go to the source code of this file.
Namespaces | |
Blam | |
Namespace surrounding all major engine components. | |
Blam::Input | |
Namespace containing functions for handling input from keyboards, mice, etc. | |
Macros | |
#define | BLAM |
Functions | |
BLAM void | Blam::Input::FireKeyPress (SDL_Keycode key) |
Fires a key press event. More... | |
BLAM void | Blam::Input::FireCharacterInput (char character) |
Fires a character input event. More... | |
BLAM void | Blam::Input::SetKeyState (SDL_Keycode key, bool down) |
Sets the pressed state of a key. More... | |
BLAM bool | Blam::Input::IsKeyDown (SDL_Keycode key) |
Checks if a given key is down. More... | |
BLAM void | Blam::Input::FireMouseClick (uint8_t button) |
Fires a MouseClickEvent. More... | |
BLAM void | Blam::Input::FireMouseMove (int x, int y) |
Fires a MouseMoveEvent. More... | |
BLAM void | Blam::Input::SetMouseButtonState (uint8_t button, bool down) |
Sets the mouse down state for a given mouse button. More... | |
BLAM bool | Blam::Input::IsMouseButtonDown (uint8_t button) |
Checks if a given mouse button is down. More... | |
#define BLAM |