Skip to content

Commit 767c10d

Browse files
authored
fix: Set correct types and annotations for KeyModifiers (#195)
1 parent 808cf42 commit 767c10d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

api/typedefs/typedefs.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,10 @@ type SceneItem struct {
7474
type InputAudioTracks map[string]bool
7575

7676
type KeyModifiers struct {
77-
Shift string `json:"face"`
78-
Control int `json:"flags"`
79-
Alt int `json:"size"`
80-
Command string `json:"style"`
77+
Shift bool `json:"shift"`
78+
Control bool `json:"control"`
79+
Alt bool `json:"alt"`
80+
Command bool `json:"command"`
8181
}
8282

8383
type Monitor struct {

0 commit comments

Comments
 (0)