Skip to content

Commit

Permalink
fixed status message for keyboard
Browse files Browse the repository at this point in the history
  • Loading branch information
talkkonnect committed Aug 22, 2021
1 parent d297250 commit 09379be
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions client.go
Original file line number Diff line number Diff line change
Expand Up @@ -563,8 +563,8 @@ keyPressListenerLoop:
case "volumedown":
b.cmdVolumeDown()
case "setcomment":
CommentMessageOff = TTYKeyMap[ev.Ch].ParamName
CommentMessageOn = TTYKeyMap[ev.Ch].ParamName
log.Println("info: Set Commment ",TTYKeyMap[ev.Ch].ParamName)
b.Client.Self.SetComment(TTYKeyMap[ev.Ch].ParamName)
case "transmitstart":
b.cmdStartTransmitting()
case "transmitstop":
Expand Down
5 changes: 2 additions & 3 deletions usbkeyboard.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,8 @@ func (b *Talkkonnect) USBKeyboard() {
case "volumedown":
b.cmdVolumeDown()
case "setcomment":
CommentMessageOff = USBKeyMap[rune(ke.Scancode)].ParamName
CommentMessageOn = USBKeyMap[rune(ke.Scancode)].ParamName
log.Println("info: User Status Set to Message ", USBKeyMap[rune(ke.Scancode)].ParamName)
log.Println("info: Set Commment ",USBKeyMap[rune(ke.Scancode)].ParamName)
b.Client.Self.SetComment(USBKeyMap[rune(ke.Scancode)].ParamName)
case "transmitstart":
b.cmdStartTransmitting()
case "transmitstop":
Expand Down
2 changes: 1 addition & 1 deletion xmlparser.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ import (

//version and release date
const (
talkkonnectVersion string = "1.67.12"
talkkonnectVersion string = "1.67.13"
talkkonnectReleased string = "Aug 22 2021"
)

Expand Down

0 comments on commit 09379be

Please sign in to comment.