From 42fbe7d89c8ef9fc986936a774b606378b1948b8 Mon Sep 17 00:00:00 2001 From: Byoungwook Park Date: Wed, 13 Sep 2023 13:15:37 +0900 Subject: [PATCH] feat: add GetKeys() --- keybd_event.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/keybd_event.go b/keybd_event.go index d1b6714..beef6cb 100644 --- a/keybd_event.go +++ b/keybd_event.go @@ -55,6 +55,11 @@ func (k *KeyBonding) RemoveKey(key int) { } } +//GetKeys get keys +func (k *KeyBonding) GetKeys() []int { + return k.keys +} + //HasALT If key ALT pressed func (k *KeyBonding) HasALT(b bool) { k.hasALT = b