Flutter Engine
The Flutter Engine
|
#include <keyboard_key_embedder_handler.h>
Public Types | |
using | SendEventHandler = std::function< void(const FlutterKeyEvent &, FlutterKeyEventCallback, void *)> |
using | GetKeyStateHandler = std::function< SHORT(int)> |
using | MapVirtualKeyToScanCode = std::function< SHORT(UINT, bool)> |
Public Member Functions | |
KeyboardKeyEmbedderHandler (SendEventHandler send_event, GetKeyStateHandler get_key_state, MapVirtualKeyToScanCode map_vk_to_scan) | |
virtual | ~KeyboardKeyEmbedderHandler () |
void | KeyboardHook (int key, int scancode, int action, char32_t character, bool extended, bool was_down, std::function< void(bool)> callback) override |
void | SyncModifiersIfNeeded (int modifiers_state) override |
std::map< uint64_t, uint64_t > | GetPressedState () override |
Public Member Functions inherited from flutter::KeyboardKeyHandler::KeyboardKeyHandlerDelegate | |
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 |
virtual | ~KeyboardKeyHandlerDelegate () |
Definition at line 34 of file keyboard_key_embedder_handler.h.
Definition at line 41 of file keyboard_key_embedder_handler.h.
using flutter::KeyboardKeyEmbedderHandler::MapVirtualKeyToScanCode = std::function<SHORT(UINT , bool )> |
Definition at line 42 of file keyboard_key_embedder_handler.h.
using flutter::KeyboardKeyEmbedderHandler::SendEventHandler = std::function<void(const FlutterKeyEvent& , FlutterKeyEventCallback , void* )> |
Definition at line 37 of file keyboard_key_embedder_handler.h.
|
explicit |
Definition at line 59 of file keyboard_key_embedder_handler.cc.
|
virtualdefault |
|
overridevirtual |
Implements flutter::KeyboardKeyHandler::KeyboardKeyHandlerDelegate.
Definition at line 353 of file keyboard_key_embedder_handler.cc.
|
overridevirtual |
Implements flutter::KeyboardKeyHandler::KeyboardKeyHandlerDelegate.
Definition at line 325 of file keyboard_key_embedder_handler.cc.
|
overridevirtual |
Implements flutter::KeyboardKeyHandler::KeyboardKeyHandlerDelegate.
Definition at line 500 of file keyboard_key_embedder_handler.cc.