Multiple keys pressed at the same time / key mashing support? #1264
Unanswered
silverbucket
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all, I'm using Bubbletea and Lipgloss to render a table. The user can use the arrow keys to navigate around the table cells.
I would like to be able to either navigate diagonal when two direction buttons are pressed at the same time, or alternatively just detect that two buttons are being pressed (and held) and then move diagonally. Either a one-time thing, or a press and hold thing.
It seems whichever key was the last to get pressed is the only event that comes through in the Update method. I expect that the user will be wanting to press the keys quickly, hold to move fast across this 2d plane generated table.
Beta Was this translation helpful? Give feedback.
All reactions