mirror of
https://github.com/qmk/qmk_firmware
synced 2024-12-22 08:26:21 +00:00
Remove requirement for keymap_steno.h
include in keymaps (#22423)
* Remove requirement for `keymap_steno.h` include in keymaps * Add back keymap_steno.h with a note for the time being
This commit is contained in:
parent
87d69aebbb
commit
786ebf8760
@ -104,7 +104,7 @@ After enabling stenography and optionally selecting a protocol, you may also nee
|
||||
|
||||
!> If you had *explicitly* set `VIRSTER_ENABLE = no`, none of the serial stenography protocols (GeminiPR, TX Bolt) will work properly. You are expected to either set it to `yes`, remove the line from your `rules.mk` or send the steno chords yourself in an alternative way using the [provided interceptable hooks](#interfacing-with-the-code).
|
||||
|
||||
In your keymap, create a new layer for Plover, that you can fill in with the [steno keycodes](#keycode-reference) (you will need to include `keymap_steno.h`, see `planck/keymaps/steno/keymap.c` for an example). Remember to create a key to switch to the layer as well as a key for exiting the layer.
|
||||
In your keymap, create a new layer for Plover, that you can fill in with the [steno keycodes](#keycode-reference). Remember to create a key to switch to the layer as well as a key for exiting the layer.
|
||||
|
||||
Once you have your keyboard flashed, launch Plover. Click the 'Configure...' button. In the 'Machine' tab, select the Stenotype Machine that corresponds to your desired protocol. Click the 'Configure...' button on this tab and enter the serial port or click 'Scan'. Baud rate is fine at 9600 (although you should be able to set as high as 115200 with no issues). Use the default settings for everything else (Data Bits: 8, Stop Bits: 1, Parity: N, no flow control).
|
||||
|
||||
@ -149,8 +149,6 @@ At the end of this scenario given as an example, `chord` would have five bits se
|
||||
|
||||
## Keycode Reference :id=keycode-reference
|
||||
|
||||
You must include `keymap_steno.h` to your `keymap.c` with `#include "keymap_steno.h"` before you can use these keycodes
|
||||
|
||||
> Note: TX Bolt does not support the full set of keys. The TX Bolt implementation in QMK will map the GeminiPR keys to the nearest TX Bolt key so that one key map will work for both.
|
||||
|
||||
|GeminiPR|TX Bolt|Steno Key|
|
||||
@ -198,7 +196,7 @@ You must include `keymap_steno.h` to your `keymap.c` with `#include "keymap_sten
|
||||
|`STN_RES2`||(Reset 2)|
|
||||
|`STN_PWR`||(Power)|
|
||||
|
||||
If you do not want to hit two keys with one finger combined keycodes can be used. These are also defined in `keymap_steno.h`, and causes both keys to be reported as pressed or released. To use these keycodes define `STENO_COMBINEDMAP` in your `config.h` file.
|
||||
If you do not want to hit two keys with one finger combined keycodes can be used. These cause both keys to be reported as pressed or released. To use these keycodes define `STENO_COMBINEDMAP` in your `config.h` file.
|
||||
|
||||
|Combined key | Key1 | Key 2 |
|
||||
|---------------|--------|----------|
|
||||
|
@ -87,6 +87,5 @@ There are also a few which are not quite language-specific, but useful if you ar
|
||||
|Norman |`keymap_norman.h` |`sendstring_norman.h` |
|
||||
|Plover |`keymap_plover.h` | |
|
||||
|Plover (Dvorak) |`keymap_plover_dvorak.h` | |
|
||||
|Steno |`keymap_steno.h` | |
|
||||
|Workman |`keymap_workman.h` |`sendstring_workman.h` |
|
||||
|Workman (ZXCVM) |`keymap_workman_zxcvm.h` |`sendstring_workman_zxcvm.h` |
|
||||
|
@ -1,5 +1,4 @@
|
||||
#include QMK_KEYBOARD_H
|
||||
#include "keymap_steno.h"
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
LAYOUT_ortho_3x10(
|
||||
|
@ -1,5 +1,4 @@
|
||||
#include QMK_KEYBOARD_H
|
||||
#include "keymap_steno.h"
|
||||
|
||||
#define ST_BOLT QK_STENO_BOLT
|
||||
#define ST_GEM QK_STENO_GEMINI
|
||||
|
@ -2,7 +2,6 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
#include "keymap_steno.h"
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
[0] = LAYOUT(
|
||||
|
@ -1,7 +1,4 @@
|
||||
#include QMK_KEYBOARD_H
|
||||
#include "debug.h"
|
||||
#include "action_layer.h"
|
||||
#include "keymap_steno.h"
|
||||
|
||||
#define BASE 0 // default layer
|
||||
#define SYMB 1 // symbols
|
||||
|
@ -14,7 +14,6 @@
|
||||
*/
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
#include "keymap_steno.h"
|
||||
#include "g/keymap_combo.h"
|
||||
|
||||
|
||||
|
@ -8,7 +8,6 @@
|
||||
#pragma once
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
#include "keymap_steno.h"
|
||||
|
||||
extern size_t keymapsCount; // Total keymaps
|
||||
extern uint32_t cChord; // Current Chord
|
||||
|
@ -12,7 +12,6 @@
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
#include "sten.h"
|
||||
#include "keymap_steno.h"
|
||||
|
||||
// Steno Layers
|
||||
#define FUNCT ( LSD | LK | LP | LH )
|
||||
|
@ -12,7 +12,6 @@
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
#include "sten.h"
|
||||
#include "keymap_steno.h"
|
||||
|
||||
// Proper Layers
|
||||
#define FUNCT (LSD | LK | LP | LH)
|
||||
|
@ -12,7 +12,6 @@
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
#include "sten.h"
|
||||
#include "keymap_steno.h"
|
||||
|
||||
// Proper Layers
|
||||
#define FUNCT (LSD | LK | LP | LH)
|
||||
|
@ -12,7 +12,6 @@
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
#include "sten.h"
|
||||
#include "keymap_steno.h"
|
||||
|
||||
// Proper Layers
|
||||
#define FUNCT (LSD | LK | LP | LH)
|
||||
|
@ -12,7 +12,6 @@
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
#include "sten.h"
|
||||
#include "keymap_steno.h"
|
||||
|
||||
// Proper Layers
|
||||
#define FUNCT (LSD | LK | LP | LH)
|
||||
|
@ -7,7 +7,6 @@
|
||||
#pragma once
|
||||
|
||||
#include "georgi.h"
|
||||
#include "keymap_steno.h"
|
||||
|
||||
extern size_t keymapsCount; // Total keymaps
|
||||
extern uint32_t cChord; // Current Chord
|
||||
|
@ -15,7 +15,6 @@
|
||||
*/
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
#include "keymap_steno.h"
|
||||
|
||||
// clang-format off
|
||||
|
||||
|
@ -1,8 +1,5 @@
|
||||
#include QMK_KEYBOARD_H
|
||||
#include "debug.h"
|
||||
#include "action_layer.h"
|
||||
#include "version.h"
|
||||
#include "keymap_steno.h"
|
||||
#ifndef MIDI_ENABLE
|
||||
#error "Midi is not enabled"
|
||||
#endif
|
||||
|
@ -11,7 +11,6 @@ typedef union {
|
||||
user_config_t user_config;
|
||||
|
||||
#ifdef STENO_ENABLE
|
||||
#include "keymap_steno.h"
|
||||
#endif // STENO_ENABLE
|
||||
|
||||
|
||||
|
@ -1,6 +1,5 @@
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
#include "keymap_steno.h"
|
||||
|
||||
enum layers {
|
||||
_BA, // Base (Balance Twelve mirror variant)
|
||||
|
@ -1,7 +1,5 @@
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
#include "keymap_steno.h"
|
||||
|
||||
// Custom Keycodes and Combinations Used
|
||||
#define DEL_SHF SFT_T(KC_DEL)
|
||||
#define QUAKE LCTL(KC_GRV)
|
||||
|
@ -1,5 +1,4 @@
|
||||
#include QMK_KEYBOARD_H
|
||||
#include "keymap_steno.h"
|
||||
|
||||
extern keymap_config_t keymap_config;
|
||||
|
||||
|
@ -1,7 +1,6 @@
|
||||
#include QMK_KEYBOARD_H
|
||||
#include "narze.h"
|
||||
#include "keymap_colemak.h"
|
||||
#include "keymap_steno.h"
|
||||
|
||||
|
||||
#ifdef RGBLIGHT_ENABLE
|
||||
|
@ -2,7 +2,6 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
#include "keymap_steno.h"
|
||||
|
||||
// Defines names for use in layer keycodes and the keymap
|
||||
enum layer_names {
|
||||
|
@ -2,7 +2,6 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
#include "keymap_steno.h"
|
||||
|
||||
// Defines names for use in layer keycodes and the keymap
|
||||
enum layer_names {
|
||||
|
@ -67,9 +67,6 @@
|
||||
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
#ifdef STENO_ENABLE
|
||||
#include "keymap_steno.h"
|
||||
#endif
|
||||
|
||||
extern keymap_config_t keymap_config;
|
||||
|
||||
|
@ -15,7 +15,6 @@
|
||||
*/
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
#include "keymap_steno.h"
|
||||
#include "g/keymap_combo.h"
|
||||
#include "muse.h"
|
||||
|
||||
|
@ -15,7 +15,6 @@
|
||||
*/
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
#include "keymap_steno.h"
|
||||
|
||||
// Custom Keycodes and Combinations Used
|
||||
#define DEL_SHF SFT_T(KC_DEL)
|
||||
|
@ -1,6 +1,5 @@
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
#include "keymap_steno.h"
|
||||
#include "version.h"
|
||||
|
||||
extern keymap_config_t keymap_config;
|
||||
|
@ -67,9 +67,6 @@
|
||||
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
#ifdef STENO_ENABLE
|
||||
#include "keymap_steno.h"
|
||||
#endif
|
||||
|
||||
extern keymap_config_t keymap_config;
|
||||
|
||||
|
@ -67,9 +67,6 @@
|
||||
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
#ifdef STENO_ENABLE
|
||||
#include "keymap_steno.h"
|
||||
#endif
|
||||
|
||||
extern keymap_config_t keymap_config;
|
||||
|
||||
|
@ -67,9 +67,6 @@
|
||||
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
#ifdef STENO_ENABLE
|
||||
#include "keymap_steno.h"
|
||||
#endif
|
||||
|
||||
extern keymap_config_t keymap_config;
|
||||
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user