summaryrefslogtreecommitdiffstats
path: root/keyboards/kinesis/alvicstep
diff options
context:
space:
mode:
authornoroadsleft <18669334+noroadsleft@users.noreply.github.com>2018-06-27 19:24:08 -0700
committerDrashna Jaelre <drashna@live.com>2018-06-27 19:24:08 -0700
commitf1344d1f1e8738f2bbb447a7609f9c82035467cc (patch)
treebb903c8b689b2ecc2a0572e85553bcdf90ebf136 /keyboards/kinesis/alvicstep
parent3d831f3550c301d9e84099768135a4347c14b44d (diff)
Kinesis refactor and Configurator update (#3245)
* Matrix refactor * Keymap refactor * Configurator support * Stapelberg readme formatting fix (missing grave accent)
Diffstat (limited to 'keyboards/kinesis/alvicstep')
-rw-r--r--keyboards/kinesis/alvicstep/alvicstep.h138
1 files changed, 86 insertions, 52 deletions
diff --git a/keyboards/kinesis/alvicstep/alvicstep.h b/keyboards/kinesis/alvicstep/alvicstep.h
index f91a523148..169012faf5 100644
--- a/keyboards/kinesis/alvicstep/alvicstep.h
+++ b/keyboards/kinesis/alvicstep/alvicstep.h
@@ -3,65 +3,99 @@
#include "../kinesis.h"
+#define ___ KC_NO
-#define KEYMAP( \
- k02,k22,k12,k01,k21,k11,k00,k20,k10, \
- k80,k70,k60,k50,k40,k30, \
- k81,k71,k61,k51,k41,k31, \
- k82,k72,k62,k52,k42,k32, \
- k83,k73,k63,k53,k43,k33, \
- k74,k64,k54,k34, \
- k36,k35, \
- k55, \
- k56,k46,k75, \
- k03,k23,k13,k04,k24,k14,k05,k85,k84, \
- k94,kA4,kB4,kD4,kE4,kF4, \
- k95,kA5,kB5,kD5,kE5,kF5, \
- k96,kA6,kB6,kD6,kE6,kF6, \
- k97,kA7,kB7,kD7,kE7,kF7, \
- k93,kB3,kD3,kE3, \
- k47,k66, \
- k67, \
- k87,k76,k86 \
-) { \
- { k00, k01, k02, k03, k04, k05, KC_NO, KC_NO }, \
- { k10, k11, k12, k13, k14, KC_NO, KC_NO, KC_NO }, \
- { k20, k21, k22, k23, k24, KC_NO, KC_NO, KC_NO }, \
- { k30, k31, k32, k33, k34, k35, k36, KC_NO }, \
- { k40, k41, k42, k43, KC_NO, KC_NO, k46, k47 }, \
- { k50, k51, k52, k53, k54, k55, k56, KC_NO }, \
- { k60, k61, k62, k63, k64, KC_NO, k66, k67 }, \
- { k70, k71, k72, k73, k74, k75, k76, KC_NO }, \
- { k80, k81, k82, k83, k84, k85, k86, k87}, \
- { KC_NO, KC_NO ,KC_NO ,k93, k94, k95, k96, k97}, \
- { KC_NO, KC_NO ,KC_NO ,KC_NO, kA4, kA5, kA6, kA7}, \
- { KC_NO, KC_NO ,KC_NO ,kB3, kB4, kB5, kB6, kB7}, \
- { KC_NO, KC_NO ,KC_NO ,KC_NO, KC_NO, KC_NO, KC_NO, KC_NO}, \
- { KC_NO, KC_NO ,KC_NO ,kD3, kD4, kD5, kD6, kD7}, \
- { KC_NO, KC_NO ,KC_NO ,kE3, kE4, kE5, kE6, kE7}, \
- { KC_NO, KC_NO ,KC_NO ,KC_NO, kF4, kF5, kF6, kF7} \
+#define LAYOUT( \
+ k02, k22, k12, k01, k21, k11, k00, k20, k10, \
+ k80, k70, k60, k50, k40, k30, \
+ k81, k71, k61, k51, k41, k31, \
+ k82, k72, k62, k52, k42, k32, \
+ k83, k73, k63, k53, k43, k33, \
+ k74, k64, k54, k34, \
+ k36, k35, \
+ k55, \
+ k56, k46, k75, \
+ \
+ k03, k23, k13, k04, k24, k14, k05, k85, k84, \
+ k94, kA4, kB4, kD4, kE4, kF4, \
+ k95, kA5, kB5, kD5, kE5, kF5, \
+ k96, kA6, kB6, kD6, kE6, kF6, \
+ k97, kA7, kB7, kD7, kE7, kF7, \
+ k93, kB3, kD3, kE3, \
+ k47, k66, \
+ k67, \
+ k87, k76, k86 \
+) { \
+ { k00, k01, k02, k03, k04, k05, ___, ___ }, \
+ { k10, k11, k12, k13, k14, ___, ___, ___ }, \
+ { k20, k21, k22, k23, k24, ___, ___, ___ }, \
+ { k30, k31, k32, k33, k34, k35, k36, ___ }, \
+ { k40, k41, k42, k43, ___, ___, k46, k47 }, \
+ { k50, k51, k52, k53, k54, k55, k56, ___ }, \
+ { k60, k61, k62, k63, k64, ___, k66, k67 }, \
+ { k70, k71, k72, k73, k74, k75, k76, ___ }, \
+ { k80, k81, k82, k83, k84, k85, k86, k87 }, \
+ { ___, ___, ___, k93, k94, k95, k96, k97 }, \
+ { ___, ___, ___, ___, kA4, kA5, kA6, kA7 }, \
+ { ___, ___, ___, kB3, kB4, kB5, kB6, kB7 }, \
+ { ___, ___, ___, ___, ___, ___, ___, ___ }, \
+ { ___, ___, ___, kD3, kD4, kD5, kD6, kD7 }, \
+ { ___, ___, ___, kE3, kE4, kE5, kE6, kE7 }, \
+ { ___, ___, ___, ___, kF4, kF5, kF6, kF7 } \
+}
+
+/* ---------------- LEFT HAND ----------------- ---------------- RIGHT HAND ---------------- */
+#define LAYOUT_pretty( \
+ k02, k22, k12, k01, k21, k11, k00, k20, k10, k03, k23, k13, k04, k24, k14, k05, k85, k84, \
+ k80, k70, k60, k50, k40, k30, k94, kA4, kB4, kD4, kE4, kF4, \
+ k81, k71, k61, k51, k41, k31, k95, kA5, kB5, kD5, kE5, kF5, \
+ k82, k72, k62, k52, k42, k32, k96, kA6, kB6, kD6, kE6, kF6, \
+ k83, k73, k63, k53, k43, k33, k97, kA7, kB7, kD7, kE7, kF7, \
+ k74, k64, k54, k34, k93, kB3, kD3, kE3, \
+ k36, k35, k47, k66, \
+ k55, k67, \
+ k56, k46, k75, k87, k76, k86 \
+) { \
+ { k00, k01, k02, k03, k04, k05, ___, ___ }, \
+ { k10, k11, k12, k13, k14, ___, ___, ___ }, \
+ { k20, k21, k22, k23, k24, ___, ___, ___ }, \
+ { k30, k31, k32, k33, k34, k35, k36, ___ }, \
+ { k40, k41, k42, k43, ___, ___, k46, k47 }, \
+ { k50, k51, k52, k53, k54, k55, k56, ___ }, \
+ { k60, k61, k62, k63, k64, ___, k66, k67 }, \
+ { k70, k71, k72, k73, k74, k75, k76, ___ }, \
+ { k80, k81, k82, k83, k84, k85, k86, k87 }, \
+ { ___, ___, ___, k93, k94, k95, k96, k97 }, \
+ { ___, ___, ___, ___, kA4, kA5, kA6, kA7 }, \
+ { ___, ___, ___, kB3, kB4, kB5, kB6, kB7 }, \
+ { ___, ___, ___, ___, ___, ___, ___, ___ }, \
+ { ___, ___, ___, kD3, kD4, kD5, kD6, kD7 }, \
+ { ___, ___, ___, kE3, kE4, kE5, kE6, kE7 }, \
+ { ___, ___, ___, ___, kF4, kF5, kF6, kF7 } \
}
-/* Row pin configuration
-PF0 A
-PF1 B
-PF2 C
-PF3 G 0 = U4, 1 = U5
+/*
+ Row pin configuration
-
- r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 rA rB rC rD rE rF
-PB0 c0| f6 f8 f7 5 4 3 2 1 =+
-PB1 c1| f3 f5 f4 t r e w q TAB
-PB2 c2| ESC f2 f1 g f d s a CL
-PB3 c3| f9 f11 f10 b v c x z LS UP DN [{ ]}
-PB4 c4| f12 SL PS RT LT §± `~ 6 7 8 9 0 -_
-PB5 c5| PB PGM KPD y u i o p \
-PB6 c6| LC DL BS RC EN SP h j k l ;: '"
-PB7 c7| RA PU PD n m ,< .> /? RS
- */
+ PF0 A
+ PF1 B
+ PF2 C
+ PF3 G 0 = U4, 1 = U5
+ Matrix Map (US QWERTY keyboard layout shown)
+ | row 0 | row 1 | row 2 | row 3 | row 4 | row 5 | row 6 | row 7 | row 8 | row 9 | row A | row B | row C | row D | row E | row F
+ ----------------------------------------------------------------------------------------------------------------------------------------------------
+ PB0 col0 | F6 | F8 | F7 | 5% | 4$ | 3# | 2@ | 1! | =+ | | | | | | |
+ PB1 col1 | F3 | F5 | F4 | T | R | E | W | Q | Tab | | | | | | |
+ PB2 col2 | Esc | F2 | F1 | G | F | D | S | A | CapsLk | | | | | | |
+ PB3 col3 | F9 | F11 | F10 | B | V | C | X | Z | LShift | Up | | Down | | [{ | ]} |
+ PB4 col4 | F12 | ScrLk | PrtSc | Right | | Left | Insert | `~ | 1! | 6^ | 7& | 8* | | 9( | 0) | -_
+ PB5 col5 | Pause | | | LAlt | | Home | | End | Fn | Y | U | I | | O | P | \|
+ PB6 col6 | | | | LCtrl | Delete | Bksp | RCtrl | Enter | Space | H | J | K | | L | ;: | '"
+ PB7 col7 | | | | | RGUI | | PageUp | | PageDn | N | M | ,< | | .> | /? | RShift
+*/
#endif