Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Namespaces | Variables
key_event_handler.cc File Reference
#include "flutter/shell/platform/glfw/key_event_handler.h"
#include <iostream>
#include "flutter/shell/platform/common/json_message_codec.h"

Go to the source code of this file.

Namespaces

namespace  flutter
 

Variables

static constexpr char kChannelName [] = "flutter/keyevent"
 
static constexpr char kKeyCodeKey [] = "keyCode"
 
static constexpr char kKeyMapKey [] = "keymap"
 
static constexpr char kScanCodeKey [] = "scanCode"
 
static constexpr char kModifiersKey [] = "modifiers"
 
static constexpr char kTypeKey [] = "type"
 
static constexpr char kToolkitKey [] = "toolkit"
 
static constexpr char kUnicodeScalarValues [] = "unicodeScalarValues"
 
static constexpr char kLinuxKeyMap [] = "linux"
 
static constexpr char kGLFWKey [] = "glfw"
 
static constexpr char kKeyUp [] = "keyup"
 
static constexpr char kKeyDown [] = "keydown"
 
static constexpr int kTwoByteMask = 0xC0
 
static constexpr int kThreeByteMask = 0xE0
 
static constexpr int kFourByteMask = 0xF0
 

Variable Documentation

◆ first_byte_mask

int first_byte_mask

Definition at line 39 of file key_event_handler.cc.

◆ kChannelName

constexpr char kChannelName[] = "flutter/keyevent"
staticconstexpr

Definition at line 11 of file key_event_handler.cc.

◆ kFourByteMask

constexpr int kFourByteMask = 0xF0
staticconstexpr

Definition at line 30 of file key_event_handler.cc.

◆ kGLFWKey

constexpr char kGLFWKey[] = "glfw"
staticconstexpr

Definition at line 22 of file key_event_handler.cc.

◆ kKeyCodeKey

constexpr char kKeyCodeKey[] = "keyCode"
staticconstexpr

Definition at line 13 of file key_event_handler.cc.

◆ kKeyDown

constexpr char kKeyDown[] = "keydown"
staticconstexpr

Definition at line 25 of file key_event_handler.cc.

◆ kKeyMapKey

constexpr char kKeyMapKey[] = "keymap"
staticconstexpr

Definition at line 14 of file key_event_handler.cc.

◆ kKeyUp

constexpr char kKeyUp[] = "keyup"
staticconstexpr

Definition at line 24 of file key_event_handler.cc.

◆ kLinuxKeyMap

constexpr char kLinuxKeyMap[] = "linux"
staticconstexpr

Definition at line 21 of file key_event_handler.cc.

◆ kModifiersKey

constexpr char kModifiersKey[] = "modifiers"
staticconstexpr

Definition at line 16 of file key_event_handler.cc.

◆ kScanCodeKey

constexpr char kScanCodeKey[] = "scanCode"
staticconstexpr

Definition at line 15 of file key_event_handler.cc.

◆ kThreeByteMask

constexpr int kThreeByteMask = 0xE0
staticconstexpr

Definition at line 29 of file key_event_handler.cc.

◆ kToolkitKey

constexpr char kToolkitKey[] = "toolkit"
staticconstexpr

Definition at line 18 of file key_event_handler.cc.

◆ kTwoByteMask

constexpr int kTwoByteMask = 0xC0
staticconstexpr

Definition at line 28 of file key_event_handler.cc.

◆ kTypeKey

constexpr char kTypeKey[] = "type"
staticconstexpr

Definition at line 17 of file key_event_handler.cc.

◆ kUnicodeScalarValues

constexpr char kUnicodeScalarValues[] = "unicodeScalarValues"
staticconstexpr

Definition at line 19 of file key_event_handler.cc.

◆ length

size_t length

Definition at line 41 of file key_event_handler.cc.