Skip to content

Commit

Permalink
Add missing arrow key mapping for mobile devices
Browse files Browse the repository at this point in the history
  • Loading branch information
andydotxyz committed Nov 20, 2024
1 parent 9476f0f commit b529a32
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions internal/driver/mobile/driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,11 @@ var keyCodeMap = map[key.Code]fyne.KeyName{
key.CodeHome: fyne.KeyHome,
key.CodeEnd: fyne.KeyEnd,

key.CodeLeftArrow: fyne.KeyLeft,
key.CodeRightArrow: fyne.KeyRight,
key.CodeUpArrow: fyne.KeyUp,
key.CodeDownArrow: fyne.KeyDown,

key.CodeF1: fyne.KeyF1,
key.CodeF2: fyne.KeyF2,
key.CodeF3: fyne.KeyF3,
Expand Down

0 comments on commit b529a32

Please sign in to comment.