Blamite Game Engine - blam!  00272.10.26.20.0001.blamite
The core library for the Blamite Game Engine.
Blam::Input Namespace Reference

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

Function Documentation

◆ FireCharacterInput()

void Blam::Input::FireCharacterInput ( char  character)

Fires a character input event.

Parameters
character- The character that was pressed.

◆ FireKeyPress()

void Blam::Input::FireKeyPress ( SDL_Keycode  key)

Fires a key press event.

Parameters
key- The virtual key code that was pressed.

◆ HandleCharacterInput()

int Blam::Input::HandleCharacterInput ( WPARAM  wParam)

Handles character based input.

Recieved from the WM_CHAR message.

Deprecated:
No longer in use due to SDL being used instead of Win32 for window creation. Will be removed.
Todo:
Remove.
Parameters
wParam- The wParam from the Main window procedure, contains the character that was pressed.
Returns
0

◆ HandleKeyPress()

int Blam::Input::HandleKeyPress ( WPARAM  wParam)

Handles virtual key based input.

Recieved from the WM_KEYDOWN message.

Deprecated:
No longer in use due to SDL being used instead of Win32 for window creation. Will be removed.
Todo:
Remove.
Parameters
wParam- The wParam from the Main window procedure, contains the virtual key code of the pressed key.
Returns
0