up and down keys (escape sequences)
This commit is contained in:
parent
ad002344fd
commit
5fd8ee9517
|
@ -110,6 +110,11 @@ val MESSAGEEASE_EN_SYMBOLS_MAIN = KeyboardC(
|
|||
color = ColorVariant.PRIMARY,
|
||||
),
|
||||
swipes = mapOf(
|
||||
SwipeDirection.TOP to KeyC(
|
||||
display = KeyDisplay.TextDisplay("↑"),
|
||||
action = KeyAction.CommitText("\u001b[A"),
|
||||
color = ColorVariant.MUTED,
|
||||
),
|
||||
SwipeDirection.BOTTOM_LEFT to KeyC(
|
||||
display = KeyDisplay.TextDisplay("x"),
|
||||
action = KeyAction.CommitText("x"),
|
||||
|
@ -382,6 +387,11 @@ val MESSAGEEASE_EN_SYMBOLS_MAIN = KeyboardC(
|
|||
action = KeyAction.CommitText(";"),
|
||||
color = ColorVariant.MUTED,
|
||||
),
|
||||
SwipeDirection.BOTTOM to KeyC(
|
||||
display = KeyDisplay.TextDisplay("↓"),
|
||||
action = KeyAction.CommitText("\u001b[B"),
|
||||
color = ColorVariant.MUTED,
|
||||
),
|
||||
SwipeDirection.LEFT to KeyC(
|
||||
display = KeyDisplay.TextDisplay("#"),
|
||||
action = KeyAction.CommitText("#"),
|
||||
|
@ -492,6 +502,11 @@ val MESSAGEEASE_EN_SYMBOLS_SHIFTED = KeyboardC(
|
|||
color = ColorVariant.PRIMARY,
|
||||
),
|
||||
swipes = mapOf(
|
||||
SwipeDirection.TOP to KeyC(
|
||||
display = KeyDisplay.TextDisplay("↑"),
|
||||
action = KeyAction.CommitText("\u001b[A"),
|
||||
color = ColorVariant.MUTED,
|
||||
),
|
||||
SwipeDirection.BOTTOM_LEFT to KeyC(
|
||||
display = KeyDisplay.TextDisplay("X"),
|
||||
action = KeyAction.CommitText("X"),
|
||||
|
@ -766,6 +781,11 @@ val MESSAGEEASE_EN_SYMBOLS_SHIFTED = KeyboardC(
|
|||
action = KeyAction.CommitText(";"),
|
||||
color = ColorVariant.MUTED,
|
||||
),
|
||||
SwipeDirection.BOTTOM to KeyC(
|
||||
display = KeyDisplay.TextDisplay("↓"),
|
||||
action = KeyAction.CommitText("\u001b[B"),
|
||||
color = ColorVariant.MUTED,
|
||||
),
|
||||
SwipeDirection.LEFT to KeyC(
|
||||
display = KeyDisplay.TextDisplay("#"),
|
||||
action = KeyAction.CommitText("#"),
|
||||
|
|
|
@ -78,6 +78,11 @@ val NUMERIC_KEYBOARD = KeyboardC(
|
|||
color = ColorVariant.PRIMARY,
|
||||
),
|
||||
swipes = mapOf(
|
||||
SwipeDirection.TOP to KeyC(
|
||||
display = KeyDisplay.TextDisplay("↑"),
|
||||
action = KeyAction.CommitText("\u001b[A"),
|
||||
color = ColorVariant.MUTED,
|
||||
),
|
||||
SwipeDirection.LEFT to KeyC(
|
||||
display = KeyDisplay.TextDisplay("?"),
|
||||
action = KeyAction.CommitText("?"),
|
||||
|
@ -262,6 +267,11 @@ val NUMERIC_KEYBOARD = KeyboardC(
|
|||
display = KeyDisplay.TextDisplay(";"),
|
||||
action = KeyAction.CommitText(";"),
|
||||
),
|
||||
SwipeDirection.BOTTOM to KeyC(
|
||||
display = KeyDisplay.TextDisplay("↓"),
|
||||
action = KeyAction.CommitText("\u001b[B"),
|
||||
color = ColorVariant.MUTED,
|
||||
),
|
||||
SwipeDirection.LEFT to KeyC(
|
||||
display = KeyDisplay.TextDisplay("#"),
|
||||
action = KeyAction.CommitText("#"),
|
||||
|
|
Loading…
Reference in New Issue