#include <gdk/gdk.h>
#include <cinttypes>
#include <map>
#include <vector>
Go to the source code of this file.
◆ gpointer_to_uint64()
uint64_t gpointer_to_uint64 |
( |
gpointer |
pointer | ) |
|
|
inline |
Definition at line 13 of file key_mapping.h.
13 {
14 return pointer == nullptr ? 0 : reinterpret_cast<uint64_t>(pointer);
15}
◆ initialize_lock_bit_to_checked_keys()
void initialize_lock_bit_to_checked_keys |
( |
GHashTable * |
table | ) |
|
Definition at line 446 of file key_mapping.g.cc.
446 {
448
450 g_hash_table_insert(
table, GUINT_TO_POINTER(GDK_LOCK_MASK),
data);
451 data->is_caps_lock =
true;
452 data->primary_physical_key = 0x000070039;
453 data->primary_logical_key = 0x00100000104;
454
456 g_hash_table_insert(
table, GUINT_TO_POINTER(GDK_MOD2_MASK),
data);
457 data->is_caps_lock =
false;
458 data->primary_physical_key = 0x000070053;
459 data->primary_logical_key = 0x0010000010a;
460}
std::shared_ptr< const fml::Mapping > data
◆ initialize_modifier_bit_to_checked_keys()
void initialize_modifier_bit_to_checked_keys |
( |
GHashTable * |
table | ) |
|
Definition at line 414 of file key_mapping.g.cc.
414 {
416
418 g_hash_table_insert(
table, GUINT_TO_POINTER(GDK_SHIFT_MASK),
data);
419 data->is_caps_lock =
false;
420 data->primary_physical_key = 0x0000700e1;
421 data->primary_logical_key = 0x00200000102;
422 data->secondary_logical_key = 0x00200000103;
423
425 g_hash_table_insert(
table, GUINT_TO_POINTER(GDK_CONTROL_MASK),
data);
426 data->is_caps_lock =
false;
427 data->primary_physical_key = 0x0000700e0;
428 data->primary_logical_key = 0x00200000100;
429 data->secondary_logical_key = 0x00200000101;
430
432 g_hash_table_insert(
table, GUINT_TO_POINTER(GDK_MOD1_MASK),
data);
433 data->is_caps_lock =
false;
434 data->primary_physical_key = 0x0000700e2;
435 data->primary_logical_key = 0x00200000104;
436 data->secondary_logical_key = 0x00200000105;
437
439 g_hash_table_insert(
table, GUINT_TO_POINTER(GDK_META_MASK),
data);
440 data->is_caps_lock =
false;
441 data->primary_physical_key = 0x0000700e3;
442 data->primary_logical_key = 0x00200000106;
443 data->secondary_logical_key = 0x00200000107;
444}
◆ uint64_to_gpointer()
gpointer uint64_to_gpointer |
( |
uint64_t |
number | ) |
|
|
inline |
Definition at line 17 of file key_mapping.h.
17 {
18 return reinterpret_cast<gpointer>(number);
19}
◆ gtk_keyval_to_logical_key_map
std::map<uint64_t, uint64_t> gtk_keyval_to_logical_key_map |
|
extern |
◆ kGtkPlane
◆ kUnicodePlane
const uint64_t kUnicodePlane |
|
extern |
The plane value for keys which have a Unicode representation.
Definition at line 27 of file KeyCodeMap.g.mm.
◆ kValueMask
const uint64_t kValueMask |
|
extern |
Mask for the 32-bit value portion of the key code.
Definition at line 22 of file KeyCodeMap.g.mm.
◆ layout_goals
◆ xkb_to_physical_key_map
std::map<uint64_t, uint64_t> xkb_to_physical_key_map |
|
extern |