Elaztek Developer Hub
Blamite Game Engine - blam!  00406.12.10.23.1457.blamite
The core library for the Blamite Game Engine.
keyboard.h File Reference
#include <Windows.h>
#include <sdl2/SDL_keyboard.h>
#include <sdl2/SDL_mouse.h>
+ Include dependency graph for keyboard.h:
+ This graph shows which files directly or indirectly include this file:

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...
 

Macro Definition Documentation

◆ BLAM

#define BLAM