Skip to content

Commit

Permalink
Add svalboard
Browse files Browse the repository at this point in the history
  • Loading branch information
manna-harbour committed Oct 16, 2023
1 parent dbb85f0 commit 0fe7a2e
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 0 deletions.
31 changes: 31 additions & 0 deletions keyboards/svalboard/keymaps/manna-harbour_miryoku/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
// 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

#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( \
/* C, N, E, S, W */ \
/* R1 */ K16, K06, XXX, K26, K15, \
/* R2 */ K17, K07, XXX, K27, K05, \
/* R3 */ K18, K08, XXX, K28, K25, \
/* R4 */ K19, K09, XXX, K29, XXX, \
\
/* L1 */ K13, K03, K14, K23, XXX, \
/* L2 */ K12, K02, K04, K22, XXX, \
/* L3 */ K11, K01, K24, K21, XXX, \
/* L4 */ K10, K00, XXX, K20, XXX, \
\
/* D, I, U, OU, OL, PT */ \
/* RT */ K36, K37, XXX, K35, XXX, XXX, \
/* LT */ K33, K32, XXX, K34, XXX, XXX \
)
4 changes: 4 additions & 0 deletions keyboards/svalboard/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/>.
11 changes: 11 additions & 0 deletions users/manna-harbour_miryoku/readme.org
Original file line number Diff line number Diff line change
Expand Up @@ -730,6 +730,17 @@ make splitkb/kyria:manna-harbour_miryoku:flash MIRYOKU_MAPPING=EXTENDED_THUMBS #
#+END_SRC


**** svalboard

The index through pinkie columns home, top, and bottom rows are mapped to the corresponding finger center, north, and south switches, respectively. The inner index columns home, top, and bottom row keys are mapped to the inner switch on the index, middle, and ring fingers, respectively. The primary, secondary, and tertiary thumb keys are mapped to the thumb push, nail, and pad switches, respectively.

To build for this keyboard,

#+BEGIN_SRC sh :tangle no
make svalboard:manna-harbour_miryoku:flash
#+END_SRC


**** takashicompany/minizone

The bottom row middle two keys are mapped to left and right mouse buttons.
Expand Down

0 comments on commit 0fe7a2e

Please sign in to comment.