Package io.flutter.embedding.android
Class KeyboardMap.TogglingGoal
- java.lang.Object
-
- io.flutter.embedding.android.KeyboardMap.TogglingGoal
-
- Enclosing class:
- KeyboardMap
public static class KeyboardMap.TogglingGoal extends Object
A configuration item that defines how to synchronize toggling modifiers (such as CapsLock), so that theKeyEmbedderRespondermust synthesize events until the enabling state of the key matches the true meta state masked bymask.The objects of this class are mutable. The
enabledfield will be used to store the current enabling state.
-
-
Field Summary
Fields Modifier and Type Field Description booleanenabledUsed byKeyEmbedderResponderto store the current enabling state of this modifier.longlogicalKeyintmasklongphysicalKey
-
Constructor Summary
Constructors Constructor Description TogglingGoal(int mask, long physicalKey, long logicalKey)
-
-
-
Field Detail
-
mask
public final int mask
-
physicalKey
public final long physicalKey
-
logicalKey
public final long logicalKey
-
enabled
public boolean enabled
Used byKeyEmbedderResponderto store the current enabling state of this modifier.Initialized as false.
-
-