-
-
Notifications
You must be signed in to change notification settings - Fork 38.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #677 from SmackleFunky/master
Virtual Serial Port - and a Layout that uses that virtual serial port for Plover
- Loading branch information
Showing
9 changed files
with
695 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
VIRTSER_ENABLE = yes | ||
# Not enough interupts, so something has to go | ||
MOUSEKEY_ENABLE = no |
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,92 @@ | ||
# ErgoDox EZ Steno Configuration | ||
|
||
This layout has a layer that uses the TxBolt Stenograph protocol over a Virtual Serial port. It requires something like Plover in order to function. | ||
|
||
In Plover, you can select TX Bolt as the Stenotype Machine, and find the COM port that was assigned. In this way, your regular keyboard will still function normally, and you can switch back and forth between the Steno and Keyboard layers. | ||
|
||
<pre><code> | ||
/* Keymap 0: Basic layer | ||
* | ||
* ,--------------------------------------------------. ,--------------------------------------------------. | ||
* | = | 1 | 2 | 3 | 4 | 5 | LEFT | | RIGHT| 6 | 7 | 8 | 9 | 0 | - | | ||
* |--------+------+------+------+------+-------------| |------+------+------+------+------+------+--------| | ||
* | Del | Q | W | E | R | T | L1 | | TX | Y | U | I | O | P | \ | | ||
* |--------+------+------+------+------+------| | | BOLT |------+------+------+------+------+--------| | ||
* | BkSp | A | S | D | F | G |------| |------| H | J | K | L |; / L2|' / Cmd | | ||
* |--------+------+------+------+------+------| Hyper| | Meh |------+------+------+------+------+--------| | ||
* | LShift |Z/Ctrl| X | C | V | B | | | | N | M | , | . |//Ctrl| RShift | | ||
* `--------+------+------+------+------+-------------' `-------------+------+------+------+------+--------' | ||
* |Grv/L1| '" |AltShf| Left | Right| | Up | Down | [ | ] | ~L1 | | ||
* `----------------------------------' `----------------------------------' | ||
* ,-------------. ,-------------. | ||
* | App | LGui | | Alt |Ctrl/Esc| | ||
* ,------|------|------| |------+--------+------. | ||
* | | | Home | | PgUp | | | | ||
* | Space|Backsp|------| |------| Tab |Enter | | ||
* | |ace | End | | PgDn | | | | ||
* `--------------------' `----------------------' | ||
*/ | ||
/* Keymap 1: Symbol Layer | ||
* | ||
* ,--------------------------------------------------. ,--------------------------------------------------. | ||
* |Version | F1 | F2 | F3 | F4 | F5 | | | | F6 | F7 | F8 | F9 | F10 | F11 | | ||
* |--------+------+------+------+------+-------------| |------+------+------+------+------+------+--------| | ||
* | | ! | @ | { | } | | | | | | Up | 7 | 8 | 9 | * | F12 | | ||
* |--------+------+------+------+------+------| | | |------+------+------+------+------+--------| | ||
* | | # | $ | ( | ) | ` |------| |------| Down | 4 | 5 | 6 | + | | | ||
* |--------+------+------+------+------+------| | | |------+------+------+------+------+--------| | ||
* | | % | ^ | [ | ] | ~ | | | | & | 1 | 2 | 3 | \ | | | ||
* `--------+------+------+------+------+-------------' `-------------+------+------+------+------+--------' | ||
* | | | | | | | | . | 0 | = | | | ||
* `----------------------------------' `----------------------------------' | ||
* ,-------------. ,-------------. | ||
* | | | | | | | ||
* ,------|------|------| |------+------+------. | ||
* | | | | | | | | | ||
* | | |------| |------| | | | ||
* | | | | | | | | | ||
* `--------------------' `--------------------' | ||
*/ | ||
/* Keymap 2: Media keys | ||
* | ||
* ,--------------------------------------------------. ,--------------------------------------------------. | ||
* | RESET | | | | | | | | | | | | | | | | ||
* |--------+------+------+------+------+-------------| |------+------+------+------+------+------+--------| | ||
* | | | | | | | | | | | | | | | | | ||
* |--------+------+------+------+------+------| | | |------+------+------+------+------+--------| | ||
* | | | | | | |------| |------| | | | | | Play | | ||
* |--------+------+------+------+------+------| | | |------+------+------+------+------+--------| | ||
* | | | | | | | | | | | | Prev | Next | | | | ||
* `--------+------+------+------+------+-------------' `-------------+------+------+------+------+--------' | ||
* | | | | | | |VolUp |VolDn | Mute | | | | ||
* `----------------------------------' `----------------------------------' | ||
* ,-------------. ,-------------. | ||
* | | | | | | | ||
* ,------|------|------| |------+------+------. | ||
* | | | | | | |Brwser| | ||
* | | |------| |------| |Back | | ||
* | | | | | | | | | ||
* `--------------------' `--------------------' | ||
*/ | ||
/* Keymap 3: TxBolt (Serial) | ||
* | ||
* ,--------------------------------------------------. ,--------------------------------------------------. | ||
* | BKSPC | | | | | | | | | | | | | | | | ||
* |--------+------+------+------+------+-------------| |------+------+------+------+------+------+--------| | ||
* | | # | # | # | # | # | | | | # | # | # | # | # | # | | ||
* |--------+------+------+------+------+------| | | |------+------+------+------+------+--------| | ||
* | | S | T | P | H | * |------| |------| * | F | P | L | T | D | | ||
* |--------+------+------+------+------+------| | | |------+------+------+------+------+--------| | ||
* | | S | K | W | R | * | | | | * | R | B | G | S | Z | | ||
* `--------+------+------+------+------+-------------' `-------------+------+------+------+------+--------' | ||
* | | | | | | | | | | | | | ||
* `----------------------------------' `----------------------------------' | ||
* ,-------------. ,-------------. | ||
* | | | | | | | ||
* ,------|------|------| |------+------+------. | ||
* | | | | | | | | | ||
* | A | O |------| |------| E | U | | ||
* | | | | | | | | | ||
* `--------------------' `--------------------' | ||
*/ | ||
</code></pre> |
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#ifndef _VIRTSER_H_ | ||
#define _VIRTSER_H_ | ||
|
||
/* Define this function in your code to process incoming bytes */ | ||
void virtser_recv(const uint8_t ch); | ||
|
||
/* Call this to send a character over the Virtual Serial Device */ | ||
void virtser_send(const uint8_t byte); | ||
|
||
#endif |
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
Oops, something went wrong.