5#include "flutter/shell/platform/linux/fl_key_event.h"
8 g_return_val_if_fail(
event !=
nullptr,
nullptr);
9 GdkEventType
type = gdk_event_get_event_type(
event);
10 g_return_val_if_fail(
type == GDK_KEY_PRESS ||
type == GDK_KEY_RELEASE,
15 gdk_event_get_keycode(
event, &keycode);
17 gdk_event_get_keyval(
event, &keyval);
18 GdkModifierType
state =
static_cast<GdkModifierType
>(0);
26 result->group =
event->key.group;
FlKeyEvent * fl_key_event_clone(const FlKeyEvent *event)
void fl_key_event_dispose(FlKeyEvent *event)
FlKeyEvent * fl_key_event_new_from_gdk_event(GdkEvent *event)