diff options
author | takashicompany <t@kashi.company> | 2022-05-14 01:53:43 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-13 09:53:43 -0700 |
commit | 82828c3205848ff0e5c1400c2da7018f6c260a0f (patch) | |
tree | d5ea26ed088789f0bc774ba34c124a6f1b1ea902 /keyboards/takashicompany/spreadwriter/keymaps/via/config.h | |
parent | 3a80275fa1720aabf95eedb5e2c644d81a764a01 (diff) |
[Keyboard] Add keyboard "Spreadwriter" (#17031)
Co-authored-by: Joel Challis <git@zvecr.com>
Co-authored-by: Drashna Jaelre <drashna@live.com>
Diffstat (limited to 'keyboards/takashicompany/spreadwriter/keymaps/via/config.h')
-rw-r--r-- | keyboards/takashicompany/spreadwriter/keymaps/via/config.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/keyboards/takashicompany/spreadwriter/keymaps/via/config.h b/keyboards/takashicompany/spreadwriter/keymaps/via/config.h new file mode 100644 index 0000000000..adbbc6ce83 --- /dev/null +++ b/keyboards/takashicompany/spreadwriter/keymaps/via/config.h @@ -0,0 +1,20 @@ +// Copyright 2022 takashicompany (@takashicompany) +// SPDX-License-Identifier: GPL-2.0-or-later + +#pragma once + +#define DYNAMIC_KEYMAP_LAYER_COUNT 7 + +//------------------------------------------------------------------------------ +// Rotary Encoder +//------------------------------------------------------------------------------ +// Encoder triggers specific key matrix position, +// when turn knob clockwise or counterclockwise. +// This is handy to assign key codes by VIA. + +// Number of endoder +#define ENCODERS 1 + +// Mappings of encoder rotation to key position in key matrix. +#define ENCODERS_CW_KEY { { 0, 4 }} +#define ENCODERS_CCW_KEY { { 6, 0 }}
\ No newline at end of file |