5#ifndef FLUTTER_SHELL_PLATFORM_LINUX_FL_KEY_EMBEDDER_RESPONDER_H_
6#define FLUTTER_SHELL_PLATFORM_LINUX_FL_KEY_EMBEDDER_RESPONDER_H_
11#include "flutter/shell/platform/linux/fl_key_responder.h"
12#include "flutter/shell/platform/linux/fl_keyboard_manager.h"
13#include "flutter/shell/platform/linux/public/flutter_linux/fl_binary_messenger.h"
14#include "flutter/shell/platform/linux/public/flutter_linux/fl_value.h"
31 void* callback_user_data,
32 void* send_key_event_user_data);
36#define FL_TYPE_KEY_EMBEDDER_RESPONDER fl_key_embedder_responder_get_type()
38 fl_key_embedder_responder,
40 KEY_EMBEDDER_RESPONDER,
67 void* send_key_event_user_data);
79 FlKeyEmbedderResponder* responder,
91 FlKeyEmbedderResponder* responder);
void(* FlutterKeyEventCallback)(bool, void *)
FlKeyEvent uint64_t FlKeyResponderAsyncCallback callback
constexpr int kMaxConvertedKeyData
G_DECLARE_FINAL_TYPE(FlKeyEmbedderResponder, fl_key_embedder_responder, FL, KEY_EMBEDDER_RESPONDER, GObject)
FlKeyEmbedderResponder * fl_key_embedder_responder_new(EmbedderSendKeyEvent send_key_event, void *send_key_event_user_data)
void(* EmbedderSendKeyEvent)(const FlutterKeyEvent *event, FlutterKeyEventCallback callback, void *callback_user_data, void *send_key_event_user_data)
void fl_key_embedder_responder_sync_modifiers_if_needed(FlKeyEmbedderResponder *responder, guint state, double event_time)
GHashTable * fl_key_embedder_responder_get_pressed_state(FlKeyEmbedderResponder *responder)
static void send_key_event(FlTextInputPlugin *plugin, gint keyval, gint state=0)