Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Attributes | List of all members
FlKeyEmbedderCheckedKey Struct Reference

#include <fl_key_embedder_responder_private.h>

Public Attributes

uint64_t primary_physical_key
 
uint64_t primary_logical_key
 
uint64_t secondary_logical_key
 
bool is_caps_lock
 

Detailed Description

FlKeyEmbedderCheckedKey:

The information for a key that #FlKeyEmbedderResponder should keep state synchronous on. For every record of FlKeyEmbedderCheckedKey, the responder will check the #GdkEvent::state and the internal state, and synchronize events if they don't match.

FlKeyEmbedderCheckedKey can synchronize pressing states (such as whether ControlLeft is pressed) or lock states (such as whether CapsLock is enabled).

FlKeyEmbedderCheckedKey has a "primary key". For pressing states, the primary key is the left of the modifiers. For lock states, the primary key is the key.

FlKeyEmbedderCheckedKey may also have a "secondary key". It is only available to pressing states, which is the right of the modifiers.

Definition at line 34 of file fl_key_embedder_responder_private.h.

Member Data Documentation

◆ is_caps_lock

bool FlKeyEmbedderCheckedKey::is_caps_lock

Definition at line 43 of file fl_key_embedder_responder_private.h.

◆ primary_logical_key

uint64_t FlKeyEmbedderCheckedKey::primary_logical_key

Definition at line 38 of file fl_key_embedder_responder_private.h.

◆ primary_physical_key

uint64_t FlKeyEmbedderCheckedKey::primary_physical_key

Definition at line 36 of file fl_key_embedder_responder_private.h.

◆ secondary_logical_key

uint64_t FlKeyEmbedderCheckedKey::secondary_logical_key

Definition at line 40 of file fl_key_embedder_responder_private.h.


The documentation for this struct was generated from the following file: