Skip to content

Commit

Permalink
feat: add GetKeys()
Browse files Browse the repository at this point in the history
  • Loading branch information
yowpark committed Sep 13, 2023
1 parent 28ae6d6 commit 42fbe7d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions keybd_event.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 42fbe7d

Please sign in to comment.