![]() |
Blamite Game Engine - blam!
00272.10.26.20.0001.blamite
The core library for the Blamite Game Engine.
|
Functions | |
BLAM int | HandleCharacterInput (WPARAM wParam) |
Handles character based input. More... | |
BLAM int | HandleKeyPress (WPARAM wParam) |
Handles virtual key based input. More... | |
BLAM void | FireKeyPress (SDL_Keycode key) |
Fires a key press event. More... | |
BLAM void | FireCharacterInput (char character) |
Fires a character input event. More... | |
void Blam::Input::FireCharacterInput | ( | char | character | ) |
Fires a character input event.
character | - The character that was pressed. |
void Blam::Input::FireKeyPress | ( | SDL_Keycode | key | ) |
Fires a key press event.
key | - The virtual key code that was pressed. |
int Blam::Input::HandleCharacterInput | ( | WPARAM | wParam | ) |
Handles character based input.
Recieved from the WM_CHAR
message.
wParam | - The wParam from the Main window procedure, contains the character that was pressed. |
0
int Blam::Input::HandleKeyPress | ( | WPARAM | wParam | ) |
Handles virtual key based input.
Recieved from the WM_KEYDOWN
message.
wParam | - The wParam from the Main window procedure, contains the virtual key code of the pressed key. |
0