Flutter Engine
The Flutter Engine
|
#include <keyboard_key_handler.h>
Classes | |
class | KeyboardKeyHandlerDelegate |
Public Member Functions | |
KeyboardKeyHandler (flutter::BinaryMessenger *messenger) | |
~KeyboardKeyHandler () | |
void | InitKeyboardChannel () |
void | AddDelegate (std::unique_ptr< KeyboardKeyHandlerDelegate > delegate) |
void | SyncModifiersIfNeeded (int modifiers_state) override |
void | KeyboardHook (int key, int scancode, int action, char32_t character, bool extended, bool was_down, KeyEventCallback callback) override |
std::map< uint64_t, uint64_t > | GetPressedState () override |
Public Member Functions inherited from flutter::KeyboardHandlerBase | |
virtual | ~KeyboardHandlerBase ()=default |
virtual void | KeyboardHook (int key, int scancode, int action, char32_t character, bool extended, bool was_down, KeyEventCallback callback)=0 |
virtual void | SyncModifiersIfNeeded (int modifiers_state)=0 |
virtual std::map< uint64_t, uint64_t > | GetPressedState ()=0 |
Additional Inherited Members | |
Public Types inherited from flutter::KeyboardHandlerBase | |
using | KeyEventCallback = std::function< void(bool)> |
Definition at line 35 of file keyboard_key_handler.h.
|
explicit |
Definition at line 31 of file keyboard_key_handler.cc.
|
default |
void flutter::KeyboardKeyHandler::AddDelegate | ( | std::unique_ptr< KeyboardKeyHandlerDelegate > | delegate | ) |
Definition at line 66 of file keyboard_key_handler.cc.
|
overridevirtual |
Implements flutter::KeyboardHandlerBase.
Definition at line 77 of file keyboard_key_handler.cc.
void flutter::KeyboardKeyHandler::InitKeyboardChannel | ( | ) |
Definition at line 40 of file keyboard_key_handler.cc.
|
overridevirtual |
Implements flutter::KeyboardHandlerBase.
Definition at line 83 of file keyboard_key_handler.cc.
|
overridevirtual |
Implements flutter::KeyboardHandlerBase.
Definition at line 71 of file keyboard_key_handler.cc.