Skip to content

Commit

Permalink
Comment fix
Browse files Browse the repository at this point in the history
  • Loading branch information
micmonay committed Mar 3, 2020
1 parent af73b4c commit c464c95
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions keybd_darwin.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,15 @@ const (

func initKeyBD() error { return nil }

//Press key(s)
// Press key(s)
func (k *KeyBonding) Press() error {
for _, key := range k.keys {
k.keyPress(key)
}
return nil
}

//Release key(s)
// Release key(s)
func (k *KeyBonding) Release() error {
for _, key := range k.keys {
k.keyRelease(key)
Expand Down
4 changes: 3 additions & 1 deletion keybd_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ func getFileUInput() (string, error) {
return "", err
}

//Release key(s)
// Press key(s)
func (k *KeyBonding) Press() error {
var err error
if k.hasALT {
Expand Down Expand Up @@ -158,6 +158,8 @@ func (k *KeyBonding) Press() error {
}
return nil
}

// Release key(s)
func (k *KeyBonding) Release() error {
var err error
if k.hasALT {
Expand Down

0 comments on commit c464c95

Please sign in to comment.