5#ifndef FLUTTER_SHELL_PLATFORM_GLFW_KEY_EVENT_HANDLER_H_
6#define FLUTTER_SHELL_PLATFORM_GLFW_KEY_EVENT_HANDLER_H_
10#include "flutter/shell/platform/common/client_wrapper/include/flutter/basic_message_channel.h"
11#include "flutter/shell/platform/common/client_wrapper/include/flutter/binary_messenger.h"
12#include "flutter/shell/platform/glfw/keyboard_hook_handler.h"
13#include "flutter/shell/platform/glfw/public/flutter_glfw.h"
14#include "rapidjson/document.h"
35 void CharHook(GLFWwindow*
window,
unsigned int code_point)
override;
39 std::unique_ptr<flutter::BasicMessageChannel<rapidjson::Document>> channel_;
virtual ~KeyEventHandler()
KeyEventHandler(flutter::BinaryMessenger *messenger)
void CharHook(GLFWwindow *window, unsigned int code_point) override
void KeyboardHook(GLFWwindow *window, int key, int scancode, int action, int mods) override