Package io.flutter.embedding.android
Class KeyboardMap.TogglingGoal
java.lang.Object
io.flutter.embedding.android.KeyboardMap.TogglingGoal
- Enclosing class:
- KeyboardMap
A configuration item that defines how to synchronize toggling modifiers (such as CapsLock), so
that the
KeyEmbedderResponder must synthesize events until the enabling state of the
key matches the true meta state masked by mask.
The objects of this class are mutable. The enabled field will be used to store the
current enabling state.
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanUsed byKeyEmbedderResponderto store the current enabling state of this modifier.final longfinal intfinal long -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
mask
public final int mask -
physicalKey
public final long physicalKey -
logicalKey
public final long logicalKey -
enabled
public boolean enabledUsed byKeyEmbedderResponderto store the current enabling state of this modifier.Initialized as false.
-
-
Constructor Details
-
TogglingGoal
public TogglingGoal(int mask, long physicalKey, long logicalKey)
-