Skip to content

Commit

Permalink
feat: add support for keys with different height
Browse files Browse the repository at this point in the history
  • Loading branch information
MrMarble committed Jan 25, 2022
1 parent 179f2e5 commit 66ee46b
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions pkg/keyboard/keyboard.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,11 @@ import (
)

type Key struct {
X float64 `json:"x"`
Y float64 `json:"y"`
W float64 `json:"w"`
Label string `json:"label"`
X float64 `json:"x"`
Y float64 `json:"y"`
W float64 `json:"w"`
H *float64 `json:"h"`
Label string `json:"label"`
}

type Layout struct {
Expand Down

0 comments on commit 66ee46b

Please sign in to comment.