Skip to content

Commit

Permalink
Add voyager
Browse files Browse the repository at this point in the history
  • Loading branch information
manna-harbour committed Sep 15, 2023
1 parent e1307cc commit dbb85f0
Show file tree
Hide file tree
Showing 4 changed files with 59 additions and 0 deletions.
38 changes: 38 additions & 0 deletions keyboards/voyager/keymaps/manna-harbour_miryoku/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
// Copyright 2023 Manna Harbour
// https://github.com/manna-harbour/miryoku

// This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.

#pragma once

#define XXX KC_NO

#if defined (MIRYOKU_MAPPING_SHIFTED_ROWS)
#define LAYOUT_miryoku( \
K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \
K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \
K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, \
N30, N31, K32, K33, K34, K35, K36, K37, N38, N39 \
) \
LAYOUT_voyager( \
XXX, K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, XXX, \
XXX, K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, XXX, \
XXX, K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, XXX, \
XXX, XXX, XXX, K32, K33, K34, K35, K36, K37, XXX, XXX, XXX, \
XXX, XXX, XXX, XXX \
)
#else
#define LAYOUT_miryoku( \
K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \
K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \
K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, \
N30, N31, K32, K33, K34, K35, K36, K37, N38, N39 \
) \
LAYOUT_voyager( \
XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, \
XXX, K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, XXX, \
XXX, K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, XXX, \
XXX, K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, XXX, \
K33, K34, K35, K36 \
)
#endif
4 changes: 4 additions & 0 deletions keyboards/voyager/keymaps/manna-harbour_miryoku/keymap.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
// Copyright 2019 Manna Harbour
// https://github.com/manna-harbour/miryoku

// This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
4 changes: 4 additions & 0 deletions keyboards/voyager/keymaps/manna-harbour_miryoku/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Copyright 2023 Manna Harbour
# https://github.com/manna-harbour/miryoku

MIRYOKU_KLUDGE_THUMBCOMBOS=yes
13 changes: 13 additions & 0 deletions users/manna-harbour_miryoku/readme.org
Original file line number Diff line number Diff line change
Expand Up @@ -759,6 +759,19 @@ make torn:manna-harbour_miryoku:flash
#+END_SRC


**** voyager

[[#thumb-combos][Thumb combos]] are enabled automatically for this keyboard.

An alternative subset mapping is provided with all keys shifted up one row creating thumb keys in the original alpha area. To select this mapping, append ~MIRYOKU_MAPPING=SHIFTED_ROWS~ to the ~make~ command line when building.

Example build command lines:

#+BEGIN_SRC sh :tangle no
make voyager:manna-harbour_miryoku:flash # default
make voyager:manna-harbour_miryoku:flash MIRYOKU_MAPPING=SHIFTED_ROWS # shifted rows
#+END_SRC

** Additional and Experimental Features


Expand Down

0 comments on commit dbb85f0

Please sign in to comment.