From 80b3079b9fe485a2a1542e110bbaa51131cc904a Mon Sep 17 00:00:00 2001 From: Kevin Paulisse Date: Thu, 13 Mar 2025 02:50:39 -0500 Subject: [PATCH] fix: Set correct types and annotations for KeyModifiers --- api/typedefs/typedefs.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/api/typedefs/typedefs.go b/api/typedefs/typedefs.go index 91d12719..f2466949 100644 --- a/api/typedefs/typedefs.go +++ b/api/typedefs/typedefs.go @@ -74,10 +74,10 @@ type SceneItem struct { type InputAudioTracks map[string]bool type KeyModifiers struct { - Shift string `json:"face"` - Control int `json:"flags"` - Alt int `json:"size"` - Command string `json:"style"` + Shift bool `json:"shift"` + Control bool `json:"control"` + Alt bool `json:"alt"` + Command bool `json:"command"` } type Monitor struct {