forked from talkkonnect/talkkonnect
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cafdff3
commit 90c2a1a
Showing
8 changed files
with
118 additions
and
112 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,33 @@ | ||
/* | ||
* talkkonnect headless mumble client/gateway with lcd screen and channel control | ||
* Copyright (C) 2018-2019, Suvir Kumar <[email protected]> | ||
* | ||
* This Source Code Form is subject to the terms of the Mozilla Public | ||
* License, v. 2.0. If a copy of the MPL was not distributed with this | ||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. | ||
* | ||
* Software distributed under the License is distributed on an "AS IS" basis, | ||
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License | ||
* for the specific language governing rights and limitations under the | ||
* License. | ||
* | ||
* talkkonnect is the based on talkiepi and barnard by Daniel Chote and Tim Cooper | ||
* | ||
* The Initial Developer of the Original Code is | ||
* Suvir Kumar <[email protected]> | ||
* Portions created by the Initial Developer are Copyright (C) Suvir Kumar. All Rights Reserved. | ||
* | ||
* Contributor(s): | ||
* | ||
* Suvir Kumar <[email protected]> | ||
* Library golang-evdev Copyright (c) 2016 Georgi Valkov. All rights reserved. See Copyright Message in Library source code. | ||
* | ||
* My Blog is at www.talkkonnect.com | ||
* The source code is hosted at github.com/talkkonnect | ||
* | ||
* usbkeyboard.go -> function in talkkonnect for reading from external usb keyboard | ||
*/ | ||
|
||
package talkkonnect | ||
|
||
import ( | ||
|
@@ -56,6 +86,7 @@ func (b *Talkkonnect) USBKeyboard() { | |
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) | ||
case "transmitstart": | ||
b.cmdStartTransmitting() | ||
case "transmitstop": | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters