Key codegen for Hardware Keyboard: Linux (GTK) #82962
This commit is contained in:
@@ -7,8 +7,6 @@
|
||||
#include <glib.h>
|
||||
#include <map>
|
||||
|
||||
#include "flutter/shell/platform/linux/fl_key_embedder_responder_private.h"
|
||||
|
||||
// DO NOT EDIT -- DO NOT EDIT -- DO NOT EDIT
|
||||
// This file is generated by
|
||||
// flutter/flutter@dev/tools/gen_keycodes/bin/gen_keycodes.dart and should not
|
||||
@@ -25,13 +23,13 @@ static bool insert_record(GHashTable* table, guint64 xkb, guint64 fl_key) {
|
||||
uint64_to_gpointer(fl_key));
|
||||
}
|
||||
|
||||
void initialize_xkb_to_physical_key(GHashTable* table) {
|
||||
std::map<uint64_t, uint64_t> xkb_to_physical_key_map = {
|
||||
@@@XKB_SCAN_CODE_MAP@@@
|
||||
}
|
||||
};
|
||||
|
||||
void initialize_gtk_keyval_to_logical_key(GHashTable* table) {
|
||||
std::map<uint64_t, uint64_t> gtk_keyval_to_logical_key_map = {
|
||||
@@@GTK_KEYVAL_CODE_MAP@@@
|
||||
}
|
||||
};
|
||||
|
||||
void initialize_modifier_bit_to_checked_keys(GHashTable* table) {
|
||||
FlKeyEmbedderCheckedKey* data;
|
||||
|
||||
Reference in New Issue
Block a user