Closed asdkant closed 8 months ago
Probably has to do with an incorrect swipetype.
You mean the SwipeDirection.BOTTOM_LEFT
thing? But that's correct:
// lower case
SwipeDirection.BOTTOM_LEFT to
KeyC(
display = KeyDisplay.TextDisplay("@"),
action = KeyAction.CommitText("@"),
color = ColorVariant.MUTED,
),
// upper case
SwipeDirection.BOTTOM_LEFT to
KeyC(
display = KeyDisplay.TextDisplay("@"),
action = KeyAction.CommitText("@"),
color = ColorVariant.MUTED,
),
// numeric
SwipeDirection.BOTTOM_LEFT to
KeyC(
display = KeyDisplay.TextDisplay("@"),
action = KeyAction.CommitText("@")
),
How can I properly debug this issue?
This is incorrect, it needs to be fixed by removing that line (so it uses the default all swipe directions) https://github.com/dessalines/thumb-key/blob/main/app/src/main/java/com/dessalines/thumbkey/keyboards/ESMessageEase.kt#L206
Ohh, ok, I get it now. I'm working on some changes to this keybard (a rework on the placement of ¿
and ¡
mostly, I've been test driving it for a few days) so I'll include it there and do the PR later today if nobody fixes it before
Steps to reproduce
@
character (bottom-left swipe from "R") on lower or upper case alphabetic layersExpected behavior
@
is detectedActual behavior
Either nothing is detected, or the tap symbol (
R
orr
) is detected. The symbol on the numeric layer works fine.version of the program
2.6.18
Android version
14 (OneUI 6.0)
Device
Samsung Galaxy S21 FE
Other details
This looks like thumb-key is not parsing the layer definition correctly. I checked the code and the layout definition seems correct:
Also tested and reproduced on:
So it doesn't seem to be device-specific.
Acknowledgements