neoGFX
Cross-platform C++ app/game engine
Loading...
Searching...
No Matches
neogfx::keyboard_grabber Class Reference

#include <keyboard.hpp>

Inheritance diagram for neogfx::keyboard_grabber:
neogfx::i_keyboard_handler

Public Member Functions

 keyboard_grabber (keyboard &aKeyboard)
 
bool key_pressed (scan_code_e aScanCode, key_code_e aKeyCode, key_modifiers_e aKeyModifiers) override
 
bool key_released (scan_code_e aScanCode, key_code_e aKeyCode, key_modifiers_e aKeyModifiers) override
 
bool text_input (i_string const &aText) override
 
bool sys_text_input (i_string const &aText) override
 

Detailed Description

Definition at line 31 of file keyboard.hpp.

Constructor & Destructor Documentation

◆ keyboard_grabber()

neogfx::keyboard_grabber::keyboard_grabber ( keyboard aKeyboard)

Member Function Documentation

◆ key_pressed()

bool neogfx::keyboard_grabber::key_pressed ( scan_code_e  aScanCode,
key_code_e  aKeyCode,
key_modifiers_e  aKeyModifiers 
)
overridevirtual

◆ key_released()

bool neogfx::keyboard_grabber::key_released ( scan_code_e  aScanCode,
key_code_e  aKeyCode,
key_modifiers_e  aKeyModifiers 
)
overridevirtual

◆ sys_text_input()

bool neogfx::keyboard_grabber::sys_text_input ( i_string const &  aText)
overridevirtual

◆ text_input()

bool neogfx::keyboard_grabber::text_input ( i_string const &  aText)
overridevirtual

The documentation for this class was generated from the following file: