Compare commits
8 Commits
0.6.3
...
readme-upd
Author | SHA1 | Date | |
---|---|---|---|
|
e46b70ea8d | ||
|
011039afca | ||
|
6cc9d59ee8 | ||
|
f281f7dc3a | ||
|
ba2cab1a89 | ||
|
738588618b | ||
|
67268db576 | ||
|
c25f0e6983 |
@@ -20,11 +20,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
/* USB Device descriptor parameter */
|
||||
#define VENDOR_ID 0xFEED
|
||||
#define PRODUCT_ID 0x6464
|
||||
#define VENDOR_ID 0x1c11
|
||||
#define PRODUCT_ID 0xb04d
|
||||
#define DEVICE_VER 0x0001
|
||||
#define MANUFACTURER Input Club
|
||||
#define PRODUCT Ergodox Infinity (QMK)
|
||||
#define PRODUCT Infinity_Ergodox/QMK
|
||||
|
||||
#define MOUSEKEY_INTERVAL 20
|
||||
#define MOUSEKEY_DELAY 0
|
||||
|
@@ -25,10 +25,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#define DEVICE_VER 0x0001
|
||||
/* in python2: list(u"whatever".encode('utf-16-le')) */
|
||||
/* at most 32 characters or the ugly hack in usb_main.c borks */
|
||||
#define MANUFACTURER "TMK"
|
||||
#define USBSTR_MANUFACTURER 'T', '\x00', 'M', '\x00', 'K', '\x00', ' ', '\x00'
|
||||
#define PRODUCT "Infinity keyboard/TMK"
|
||||
#define USBSTR_PRODUCT 'I', '\x00', 'n', '\x00', 'f', '\x00', 'i', '\x00', 'n', '\x00', 'i', '\x00', 't', '\x00', 'y', '\x00', ' ', '\x00', 'k', '\x00', 'e', '\x00', 'y', '\x00', 'b', '\x00', 'o', '\x00', 'a', '\x00', 'r', '\x00', 'd', '\x00', '/', '\x00', 'T', '\x00', 'M', '\x00', 'K', '\x00'
|
||||
#define MANUFACTURER "QMK"
|
||||
#define PRODUCT "Infinity keyboard/QMK"
|
||||
|
||||
#define MOUSEKEY_INTERVAL 20
|
||||
#define MOUSEKEY_DELAY 0
|
||||
|
@@ -21,13 +21,13 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#define PREVENT_STUCK_MODIFIERS
|
||||
|
||||
/* USB Device descriptor parameter */
|
||||
#define VENDOR_ID 0xFEED
|
||||
#define PRODUCT_ID 0x6464
|
||||
#define VENDOR_ID 0x1c11
|
||||
#define PRODUCT_ID 0xb04d
|
||||
#define DEVICE_VER 0x0001
|
||||
/* in python2: list(u"whatever".encode('utf-16-le')) */
|
||||
/* at most 32 characters or the ugly hack in usb_main.c borks */
|
||||
#define MANUFACTURER Input Club
|
||||
#define PRODUCT Infinity 60% keyboard (QMK)
|
||||
#define PRODUCT Infinity_60%/QMK
|
||||
/* key matrix size */
|
||||
#define MATRIX_ROWS 9
|
||||
#define MATRIX_COLS 7
|
||||
|
55
keyboards/jj40/keymaps/waples/README.md
Normal file
55
keyboards/jj40/keymaps/waples/README.md
Normal file
@@ -0,0 +1,55 @@
|
||||
# Waples jj40 keymap
|
||||
> based heavily on my lets split
|
||||
[Waples](https://www.github.com/Waples)
|
||||
|
||||
### Layers
|
||||
I currently have the following layers in my keymap:
|
||||
* Qwerty (as default)
|
||||
* Dvorak (still learning this type of layout, so not really used much)
|
||||
* Gaming (WIP! I tried some I found, but didn't like them, so I'm in the progress of making my own)
|
||||
* Lefty (lower)
|
||||
* Righty (raise)
|
||||
* Dual (adjust)
|
||||
|
||||
#### QWERTY
|
||||
| Tab | Q | W | E | R | T | Y | U | I | O | P | Bsp |
|
||||
|C_Esc| A | S | D | F | G | H | J | K | L | ; |S_Ent|
|
||||
| Sft | Z | X | C | V | B | N | M | , | . | / | " |
|
||||
|P_SCR| GUI | Alt | Cps | ^L^ | Bsp | Spc | ^R^ | Lft | Dwn | Up! | Rgt |
|
||||
|
||||
|
||||
#### DVORAK
|
||||
| Tab | " | , | . | P | Y | F | G | C | R | L | Bsp |
|
||||
|C_Esc| A | O | E | U | I | D | H | T | N | S |S_Ent|
|
||||
| Sft | ; | Q | J | K | X | B | M | W | V | Z | / |
|
||||
|P_SCR| GUI | Alt | Cps | ^L^ | Bsp | Spc | ^R^ | Lft | Dwn | Up! | Rgt |
|
||||
|
||||
|
||||
#### GAMING
|
||||
| Tab | Q | W | E | R | T | | | | | |QWERT|
|
||||
| Esc | A | S | D | F | G | | | | | | |
|
||||
| Sft | Z | X | C | V | B | | | | | | |
|
||||
| Ctl | 1 | 2 | 3 | ^L^ | Spc | Bsp | ^R^ | Lft | Dwn | Up | Rgt |
|
||||
|
||||
|
||||
#### LEFTY (lower)
|
||||
| ~ | ! | @ | # | $ | % | ^ | & | * | ( | ) | Bsp |
|
||||
| Del | | | | | | | ( | ) | [ | ] | |
|
||||
| | | | | | | | | | | | |
|
||||
| | | | | | | Ins | | Hme | PgD | PgU | End |
|
||||
|
||||
|
||||
#### RIGHTY (raise)
|
||||
| ` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | Bsp |
|
||||
| Del | F1 | F2 | F3 | F4 | | = | - | \ | / | | |
|
||||
| | F5 | F6 | F7 | F8 | | | | | | | |
|
||||
| | F9 | F10 | F11 | | | | | | | | |
|
||||
|
||||
|
||||
#### DUAL
|
||||
|Reset| | | | |QWERT| GAME| | | | |Reset|
|
||||
| | Prv | Stp | Tog | Nxt | Nrm | Swp | | | | | |
|
||||
| | | Mte | Vol-| Vol+| | NKRO| | | | | |
|
||||
| | | | | | |DVORK| | | | | |
|
||||
|
||||
|
9
keyboards/jj40/keymaps/waples/config.h
Normal file
9
keyboards/jj40/keymaps/waples/config.h
Normal file
@@ -0,0 +1,9 @@
|
||||
#ifndef CONFIG_USER_H
|
||||
#define CONFIG_USER_H
|
||||
|
||||
#include "../../config.h"
|
||||
|
||||
#define PREVENT_STUCK_MODIFIERS
|
||||
#define TAPPING_TERM 300
|
||||
|
||||
#endif
|
70
keyboards/jj40/keymaps/waples/jj40.h
Normal file
70
keyboards/jj40/keymaps/waples/jj40.h
Normal file
@@ -0,0 +1,70 @@
|
||||
/*
|
||||
Copyright 2017 Luiz Ribeiro <luizribeiro@gmail.com>
|
||||
|
||||
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/>.
|
||||
*/
|
||||
|
||||
#ifndef KEYMAP_COMMON_H
|
||||
#define KEYMAP_COMMON_H
|
||||
|
||||
#include "quantum.h"
|
||||
// #include "keycode.h"
|
||||
// #include "action.h"
|
||||
|
||||
#define KEYMAP_GRID( \
|
||||
K01, K02, K03, K04, K05, K06, K07, K08, K09, K010, K011, K012, \
|
||||
K11, K12, K13, K14, K15, K16, K17, K18, K19, K110, K111, K112, \
|
||||
K21, K22, K23, K24, K25, K26, K27, K28, K29, K210, K211, K212, \
|
||||
K31, K32, K33, K34, K35, K36, K37, K38, K39, K310, K311, K312 \
|
||||
) \
|
||||
{ \
|
||||
{ K012, K011, K010, K09, K05, K06, K07, K08, K04, K03, K02, K01 }, \
|
||||
{ K112, K111, K110, K19, K15, K16, K17, K18, K14, K13, K12, K11 }, \
|
||||
{ KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO }, \
|
||||
{ K212, K211, K210, K29, K25, K26, K27, K28, K24, K23, K22, K21 }, \
|
||||
{ K312, K311, K310, K39, K35, K36, K37, K38, K34, K33, K32, K31 } \
|
||||
}
|
||||
|
||||
#define KEYMAP_MIT( \
|
||||
K01, K02, K03, K04, K05, K06, K07, K08, K09, K010, K011, K012, \
|
||||
K11, K12, K13, K14, K15, K16, K17, K18, K19, K110, K111, K112, \
|
||||
K21, K22, K23, K24, K25, K26, K27, K28, K29, K210, K211, K212, \
|
||||
K31, K32, K33, K34, K35, K3X, K38, K39, K310, K311, K312 \
|
||||
) \
|
||||
{ \
|
||||
{ K012, K011, K010, K09, K05, K06, K07, K08, K04, K03, K02, K01 }, \
|
||||
{ K112, K111, K110, K19, K15, K16, K17, K18, K14, K13, K12, K11 }, \
|
||||
{ KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO }, \
|
||||
{ K212, K211, K210, K29, K25, K26, K27, K28, K24, K23, K22, K21 }, \
|
||||
{ K312, K311, K310, K39, K35, K3X, KC_NO, K38, K34, K33, K32, K31 } \
|
||||
}
|
||||
|
||||
#define KEYMAP_OFFSET( \
|
||||
K01, K02, K03, K04, K05, K06, K07, K08, K09, K010, K011, K012, \
|
||||
K11, K12, K13, K14, K15, K16, K17, K18, K19, K110, K111, K112, \
|
||||
K21, K22, K23, K24, K25, K26, K27, K28, K29, K210, K211, K212, \
|
||||
K31, K32, K33, K34, K35, K36, K3X, K39, K310, K311, K312 \
|
||||
) \
|
||||
{ \
|
||||
{ K012, K011, K010, K09, K05, K06, K07, K08, K04, K03, K02, K01 }, \
|
||||
{ K112, K111, K110, K19, K15, K16, K17, K18, K14, K13, K12, K11 }, \
|
||||
{ KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO }, \
|
||||
{ K212, K211, K210, K29, K25, K26, K27, K28, K24, K23, K22, K21 }, \
|
||||
{ K312, K311, K310, K39, K35, K36, K3X, KC_NO, K34, K33, K32, K31 } \
|
||||
}
|
||||
|
||||
#define KEYMAP KEYMAP_GRID
|
||||
#define LAYOUT_ortho_4x12 LAYOUT_planck_grid
|
||||
|
||||
#endif
|
134
keyboards/jj40/keymaps/waples/keymap.c
Normal file
134
keyboards/jj40/keymaps/waples/keymap.c
Normal file
@@ -0,0 +1,134 @@
|
||||
#include "jj40.h"
|
||||
#include "action_layer.h"
|
||||
#include "eeconfig.h"
|
||||
|
||||
extern keymap_config_t keymap_config;
|
||||
|
||||
#define _QWERTY 0
|
||||
#define _DVORAK 1
|
||||
#define _GAME 2
|
||||
#define _LEFTY 3
|
||||
#define _RIGHTY 4
|
||||
#define _DUAL 5
|
||||
|
||||
enum jj40_keycodes {
|
||||
QWERTY = SAFE_RANGE,
|
||||
DVORAK,
|
||||
GAME,
|
||||
LEFTY,
|
||||
RIGHTY,
|
||||
DUAL,
|
||||
};
|
||||
|
||||
#define TG_NKRO MAGIC_TOGGLE_NKRO // Toggle NKRO
|
||||
#define CTLESC MT(MOD_LCTL, KC_ESC) // Hold for left Ctrl, tap for Esc
|
||||
#define SHFTENT MT(MOD_RSFT, KC_ENT) // Hold for right Shift, tap for Enter
|
||||
#define _______ KC_TRNS
|
||||
#define XXXXXXX KC_NO
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
|
||||
[_QWERTY] = KEYMAP( \
|
||||
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, \
|
||||
CTLESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, SHFTENT, \
|
||||
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_QUOT, \
|
||||
KC_PSCR, KC_BSPC, KC_LALT, _______, LEFTY, KC_LGUI, KC_SPC, RIGHTY, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT \
|
||||
),
|
||||
|
||||
[_DVORAK] = KEYMAP( \
|
||||
KC_TAB, KC_QUOT, KC_COMM, KC_DOT, KC_P, KC_Y, KC_F, KC_G, KC_C, KC_R, KC_L, KC_BSPC, \
|
||||
CTLESC, KC_A, KC_O, KC_E, KC_U, KC_I, KC_D, KC_H, KC_T, KC_N, KC_S, SHFTENT, \
|
||||
KC_LSFT, KC_SCLN, KC_Q, KC_J, KC_K, KC_X, KC_B, KC_M, KC_W, KC_V, KC_Z, KC_SLSH, \
|
||||
KC_PSCR, KC_LGUI, KC_LALT, KC_CAPS, LEFTY, KC_BSPC, KC_SPC, RIGHTY, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT \
|
||||
),
|
||||
|
||||
[_GAME] = KEYMAP( \
|
||||
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, _______, _______, _______, _______, _______, QWERTY, \
|
||||
CTLESC, KC_A, KC_S, KC_D, KC_F, KC_G, _______, _______, _______, _______, _______, _______, \
|
||||
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, _______, _______, _______, _______, _______, _______, \
|
||||
KC_LCTL, KC_1, KC_2, KC_3, LEFTY, KC_SPC, KC_BSPC, RIGHTY, KC_LEFT, KC_DOWN, KC_UP, KC_RIGHT \
|
||||
),
|
||||
|
||||
[_LEFTY] = KEYMAP( \
|
||||
KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_BSPC, \
|
||||
KC_DEL, _______, _______, _______, _______, _______, _______, KC_LPRN, KC_RPRN, KC_LBRC, KC_RBRC, _______, \
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, \
|
||||
_______, _______, _______, _______, _______, _______, KC_INS, _______, KC_HOME, KC_PGDN, KC_PGUP, KC_END \
|
||||
),
|
||||
|
||||
[_RIGHTY] = KEYMAP( \
|
||||
KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, \
|
||||
KC_DEL, KC_F1, KC_F2, KC_F3, KC_F4, _______, KC_EQL, KC_MINS, KC_BSLS, KC_SLSH, _______, _______, \
|
||||
_______, KC_F5, KC_F6, KC_F7, KC_F8, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, KC_F9, KC_F10, KC_F11, _______, _______, _______, _______, _______, _______, _______, _______ \
|
||||
),
|
||||
|
||||
[_DUAL] = KEYMAP( \
|
||||
RESET, _______, _______, _______, _______, QWERTY, GAME, _______, _______, _______, BL_BRTG, RESET, \
|
||||
_______, KC_MPRV, KC_MSTP, KC_MPLY, KC_MNXT, AG_NORM, AG_SWAP, _______, _______, _______, BL_TOGG, _______, \
|
||||
_______, _______, KC_MUTE, KC_VOLD, KC_VOLU, _______, TG_NKRO, _______, _______, _______, _______, _______, \
|
||||
_______, _______, _______, _______, _______, _______, DVORAK, _______, _______, _______, _______, _______ \
|
||||
)
|
||||
};
|
||||
|
||||
void persistent_default_layer_set(uint16_t default_layer) {
|
||||
eeconfig_update_default_layer(default_layer);
|
||||
default_layer_set(default_layer);
|
||||
}
|
||||
|
||||
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
||||
switch (keycode) {
|
||||
case QWERTY:
|
||||
if (record->event.pressed) {
|
||||
persistent_default_layer_set(1UL<<_QWERTY);
|
||||
}
|
||||
return false;
|
||||
break;
|
||||
case DVORAK:
|
||||
if (record->event.pressed) {
|
||||
persistent_default_layer_set(1UL<<_DVORAK);
|
||||
}
|
||||
return false;
|
||||
break;
|
||||
case GAME:
|
||||
if (record->event.pressed) {
|
||||
persistent_default_layer_set(1UL<<_GAME);
|
||||
}
|
||||
return false;
|
||||
break;
|
||||
case LEFTY:
|
||||
if (record->event.pressed) {
|
||||
layer_on(_LEFTY);
|
||||
update_tri_layer(_LEFTY, _RIGHTY, _DUAL);
|
||||
} else {
|
||||
layer_off(_LEFTY);
|
||||
update_tri_layer(_LEFTY, _RIGHTY, _DUAL);
|
||||
}
|
||||
return false;
|
||||
break;
|
||||
case RIGHTY:
|
||||
if (record->event.pressed) {
|
||||
layer_on(_RIGHTY);
|
||||
update_tri_layer(_LEFTY, _RIGHTY, _DUAL);
|
||||
} else {
|
||||
layer_off(_RIGHTY);
|
||||
update_tri_layer(_LEFTY, _RIGHTY, _DUAL);
|
||||
}
|
||||
return false;
|
||||
break;
|
||||
case DUAL:
|
||||
if (record->event.pressed) {
|
||||
layer_on(_DUAL);
|
||||
} else {
|
||||
layer_off(_DUAL);
|
||||
}
|
||||
return false;
|
||||
break;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
// Loop
|
||||
void matrix_scan_user(void) {
|
||||
// Empty
|
||||
};
|
11
keyboards/jj40/keymaps/waples/rules.mk
Normal file
11
keyboards/jj40/keymaps/waples/rules.mk
Normal file
@@ -0,0 +1,11 @@
|
||||
# build options
|
||||
BOOTMAGIC_ENABLE = yes
|
||||
MOUSEKEY_ENABLE = no
|
||||
EXTRAKEY_ENABLE = yes
|
||||
CONSOLE_ENABLE = no
|
||||
COMMAND_ENABLE = yes
|
||||
BACKLIGHT_ENABLE = yes
|
||||
BACKLIGHT_CUSTOM_DRIVER = yes
|
||||
RGBLIGHT_ENABLE = yes
|
||||
RGBLIGHT_CUSTOM_DRIVER = yes
|
||||
KEY_LOCK_ENABLE = yes
|
@@ -23,13 +23,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
/* USB Device descriptor parameter */
|
||||
#define VENDOR_ID 0x1c11
|
||||
#define PRODUCT_ID 0xb04d
|
||||
#define DEVICE_VER 673
|
||||
#define DEVICE_VER 0x0001
|
||||
/* in python2: list(u"whatever".encode('utf-16-le')) */
|
||||
/* at most 32 characters or the ugly hack in usb_main.c borks */
|
||||
#define MANUFACTURER "Input Club"
|
||||
#define USBSTR_MANUFACTURER 'I', '\x00', 'n', '\x00', 'p', '\x00', 'u', '\x00', 't', '\x00', ' ', '\x00', 'C', '\x00', 'l', '\x00', 'u', '\x00', 'b', '\x00'
|
||||
#define PRODUCT "K-Type/QMK"
|
||||
#define USBSTR_PRODUCT 'K', '\x00', '-', '\x00', 'T', '\x00', 'y', '\x00', 'p', '\x00', 'e', '\x00', '/', '\x00', 'Q', '\x00', 'M', '\x00', 'K', '\x00'
|
||||
#define MANUFACTURER Input Club
|
||||
#define PRODUCT K-Type/QMK
|
||||
/* key matrix size */
|
||||
#define MATRIX_ROWS 10
|
||||
#define MATRIX_COLS 10
|
||||
|
74
keyboards/mf68/keymaps/factory/keymap.c
Normal file
74
keyboards/mf68/keymaps/factory/keymap.c
Normal file
@@ -0,0 +1,74 @@
|
||||
#include "mf68.h"
|
||||
|
||||
#define _QWERTY 0
|
||||
#define _FN1 1
|
||||
#define _FN2 2
|
||||
#define KC_ KC_TRNS
|
||||
#define KC_X0 LT(_FN2, KC_GRV)
|
||||
#define KC_X1 MO(_FN1)
|
||||
#define KC_X2 BL_STEP
|
||||
#define KC_X3 BL_BRTG
|
||||
#define KC_X4 BL_TOGG
|
||||
#define KC_X5 BL_INC
|
||||
#define KC_X6 BL_DEC
|
||||
|
||||
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
[_QWERTY] = KC_KEYMAP(
|
||||
/*,----+----+----+----+----+----+----+----+----+----+----+----+----+--------. ,----+----. */
|
||||
ESC , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 0 ,MINS,EQL , BSPC , INS ,PGUP,
|
||||
/*|----`----`----`----`----`----`----`----`----`----`----`----`----`--------| |----`----| */
|
||||
TAB , Q , W , E , R , T , Y , U , I , O , P ,LBRC,RBRC, BSLS , DEL ,PGDN,
|
||||
/*|------`----`----`----`----`----`----`----`----`----`----`----`----`------| `----`----' */
|
||||
X0 , A , S , D , F , G , H , J , K , L ,SCLN,QUOT, ENTER ,
|
||||
/*|-------`----`----`----`----`----`----`----`----`----`----`----`----------| ,----. */
|
||||
LSFT , Z , X , C , V , B , N , M ,COMM,DOT ,SLSH, RSFT , UP ,
|
||||
/*|---------`----`----`----`----`----`----`----`----`----`----`-------------.--|----|----. */
|
||||
LCTL ,LGUI ,LALT , SPACE , X1 ,RALT ,RCTL , LEFT,DOWN,RGHT
|
||||
/*`-----+-----+-----+------------------------------+------+-----+-----' `----+----+----' */
|
||||
),
|
||||
|
||||
[_FN1] = KC_KEYMAP(
|
||||
/*,----+----+----+----+----+----+----+----+----+----+----+----+----+--------. ,----+----. */
|
||||
GRV , F1 , F2 , F3 , F4 , F5 , F6 , F7 , F8 , F9 ,F10 ,F11 ,F12 , BSPC , ,HOME,
|
||||
/*|esc-`-1--`-2--`-3--`-4--`-5--`-6--`-7--`-8--`-9--`-0--`mnus`plus`--bksp--| |ins-`pgup| */
|
||||
, , UP , , , , , , ,PSCR,SLCK,PAUS, X2 , , ,END,
|
||||
/*|tab---`-q--`-w--`-e--`-r--`-t--`-y--`-u--`-i--`-o--`-p--`-{--`-}--`--|---| `del-`pgdn' */
|
||||
CAPS ,LEFT,DOWN,RGHT, , X6 , X5 , X4 , X3 , X2 ,HOME, , ,
|
||||
/*|caps---`-a--`-s--`-d--`-f--`-g--`-h--`-j--`-k--`-l--`-;--`-'--`----enter-| ,----. */
|
||||
, ,MPLY,MSTP,MPRV,MNXT,VOLD,VOLU,MUTE, ,END , , ,
|
||||
/*|shift----`-z--`-x--`-c--`-v--`-b--`-n--`-m--`-,--`-.--`-/--`-------shift-.--|-up-|----. */
|
||||
, , , , , , , , ,
|
||||
/*`ctrl-+-gui-+-alt-+----------space---------------+-fn---+-alt-+ctrl-' `left+down+rght' */
|
||||
),
|
||||
|
||||
[_FN2] = KC_KEYMAP(
|
||||
/*,----+----+----+----+----+----+----+----+----+----+----+----+----+--------. ,----+----. */
|
||||
GRV , F1 , F2 , F3 , F4 , F5 , F6 , F7 , F8 , F9 ,F10 ,F11 ,F12 , BSPC , VOLU,HOME,
|
||||
/*|esc-`-1--`-2--`-3--`-4--`-5--`-6--`-7--`-8--`-9--`-0--`mnus`plus`--bksp--| |ins-`pgup| */
|
||||
, , , UP , , , , 7 , 8 , 9 , , , , , VOLD,END,
|
||||
/*|tab---`-q--`-w--`-e--`-r--`-t--`-y--`-u--`-i--`-o--`-p--`-{--`-}--`--|---| `del-`pgdn' */
|
||||
, ,LEFT,DOWN,RGHT, , , 4 , 5 , 6 , , , ,
|
||||
/*|caps---`-a--`-s--`-d--`-f--`-g--`-h--`-j--`-k--`-l--`-;--`-'--`----enter-| ,----. */
|
||||
, , , , , , 0 , 1 , 2 , 3 , , , MUTE,
|
||||
/*|shift----`-z--`-x--`-c--`-v--`-b--`-n--`-m--`-,--`-.--`-/--`-------shift-.--|-up-|----. */
|
||||
, , , , , , , MPRV,MPLY,MNXT
|
||||
/*`ctrl-+-gui-+-alt-+----------space---------------+-fn---+-alt-+ctrl-' `left+down+rght' */
|
||||
)
|
||||
};
|
||||
|
||||
const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
|
||||
{
|
||||
// MACRODOWN only works in this function
|
||||
switch(id) {
|
||||
case 0:
|
||||
if (record->event.pressed) {
|
||||
register_code(KC_RSFT);
|
||||
} else {
|
||||
unregister_code(KC_RSFT);
|
||||
}
|
||||
break;
|
||||
}
|
||||
return MACRO_NONE;
|
||||
};
|
@@ -25,7 +25,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#define VENDOR_ID 0xFEED
|
||||
#define PRODUCT_ID 0x6060
|
||||
#define DEVICE_VER 0x0001
|
||||
#define MANUFACTURER unknown
|
||||
#define MANUFACTURER Unknown
|
||||
#define PRODUCT Mitosis
|
||||
#define DESCRIPTION q.m.k. keyboard firmware for Mitosis
|
||||
|
||||
|
210
keyboards/mitosis/keymaps/nzen/keymap.c
Normal file
210
keyboards/mitosis/keymaps/nzen/keymap.c
Normal file
@@ -0,0 +1,210 @@
|
||||
|
||||
|
||||
#include "mitosis.h"
|
||||
|
||||
enum mitosis_layers
|
||||
{
|
||||
_QWERTY,
|
||||
_WORKMAN,
|
||||
_NUMBERS,
|
||||
_PUNCT,
|
||||
_MOUSE,
|
||||
_LAYERS,
|
||||
_GAMING,
|
||||
_UNICODE,
|
||||
_NUMPAD
|
||||
};
|
||||
|
||||
|
||||
//Mousekeys
|
||||
#define MOUSEKEY_DELAY 300
|
||||
#define MOUSEKEY_INTERNAL 50
|
||||
#define MOUSEKEY_MAX_SPEED 20
|
||||
#define MOUSEKEY_TIME_TO_MAX 30
|
||||
#define MOUSEKEY_WHEEL_MAX_SPEED 8
|
||||
#define MOUSEKEY_WHEEL_TIME_TO_MAX 40
|
||||
|
||||
// Fillers to make layering more clear
|
||||
#define ___ KC_TRNS
|
||||
#define XXX KC_NO
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
// https://github.com/nhou7/qmk_firmware_amj40/blob/master/doc/keycode.txt
|
||||
/* QWERTY
|
||||
['Q', 'W', 'E', 'R', 'T',// 'Y', 'U', 'I', 'O', 'P' ],
|
||||
['A', 'S', 'D', 'F', 'G',// 'H', 'J', 'K', 'L', '; :' ],
|
||||
['Z', 'X', 'C', 'V', 'B',// 'N', 'M', ', <', '. >', '\' "' ],
|
||||
[ 'back', 'del', 'ctrl', 'L_n',// 'L_p', 'ctrl', 'ent', 'back', ],
|
||||
[ 'alt', '0', 'shif', 'spac',// 'spac', 'shif', 'cap', 'alt', ]
|
||||
*/
|
||||
[_QWERTY] = {
|
||||
{KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P},
|
||||
{KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCOLON},
|
||||
{KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_QUOTE},
|
||||
{XXX, KC_BSPACE, KC_DELETE, KC_LCTRL, TG( 2 ), TG( 3 ), KC_RCTRL, KC_ENTER, KC_BSPACE, XXX},
|
||||
{XXX, KC_LALT, KC_0, KC_LSHIFT, KC_SPACE, KC_SPACE, KC_RSHIFT, KC_CAPSLOCK, KC_RALT, XXX}
|
||||
},
|
||||
/*
|
||||
['Q', 'D', 'R', 'W', 'B',/ ** / 'J', 'F', 'U', 'P', '; :' ],
|
||||
['A', 'S', 'H', 'T', 'G',/ ** / 'Y', 'N', 'E', 'O', 'I' ],
|
||||
['Z', 'X', 'M', 'C', 'V',/ ** / 'K', 'L', ', <', '. >', '\' "' ],
|
||||
[ '', '', '', '',/ ** / '', '', '', '', ],
|
||||
[ '', '4', '', '',/ ** / '', '', '', '', ]
|
||||
*/
|
||||
[_WORKMAN] = {
|
||||
{KC_Q, KC_D, KC_R, KC_W, KC_B, KC_J, KC_F, KC_U, KC_P, KC_SCOLON},
|
||||
{KC_A, KC_S, KC_H, KC_T, KC_G, KC_Y, KC_N, KC_E, KC_O, KC_I},
|
||||
{KC_Z, KC_X, KC_M, KC_C, KC_V, KC_K, KC_L, KC_COMMA, KC_DOT, KC_QUOTE},
|
||||
{XXX, ___, ___, ___, ___, ___, ___, ___, ___, XXX},
|
||||
{XXX, ___, KC_1, ___, ___, ___, ___, ___, ___, XXX}
|
||||
},
|
||||
/*
|
||||
['9', '8', '7', '6', '5',/ ** / 'F2', 'pDn', *up* /, '*tab* /, 'pUp' ],
|
||||
[' 4', ' 3', ' 2', ' 1', ' 0',/ ** / 'home', *lf* /, '*dn* /, *rt* /, 'end' ],
|
||||
['undo', 'cut', 'copy', 'paste', 'os',/ ** / 'D', '_', ',', '-', '.' ],
|
||||
// --
|
||||
[ '', '', '', 'L_=6',/ ** / 'L_7', '', '', '', ],
|
||||
[ '', '6', '', '',/ ** / '', '', '', '', ]
|
||||
*/
|
||||
[_NUMBERS] = {
|
||||
{KC_9, KC_8, KC_7, KC_6, KC_5, KC_F2, KC_PGDOWN, KC_UP, KC_TAB, KC_PGUP},
|
||||
{KC_4, KC_3, KC_2, KC_1, KC_0, KC_HOME, KC_LEFT, KC_DOWN, KC_RIGHT, KC_END},
|
||||
{LCTL(KC_Z), LCTL(KC_X), LCTL(KC_C), LCTL(KC_V), KC_LGUI, KC_D, KC_UNDERSCORE, KC_COMMA, KC_MINUS, KC_DOT},
|
||||
{XXX, ___, ___, ___, TG( 2 ), TG( 3 ), ___, ___, ___, XXX},
|
||||
{XXX, ___, KC_2, ___, ___, ___, ___, ___, ___, XXX}
|
||||
},
|
||||
/*
|
||||
[ '#', '@', '&', '.', ';',/ ** / '_', ',', '|', '^', '%' ],
|
||||
[ '*', '+', '{', '(', ':',/ ** / '"', ')', '}', '-', '=' ],
|
||||
[ '\\', '?', '<', '[', '$',/ ** / '~', ']', '>', '!', '/' ],
|
||||
// --
|
||||
['', '', '', 'L_8',/ ** / 'L_=7', '', '', '', ],
|
||||
['', '7', '', '',/ ** / '', '', '', '', ]
|
||||
*/
|
||||
[_PUNCT] = {
|
||||
{KC_HASH, KC_AT, KC_AMPERSAND, KC_DOT, KC_SCOLON, KC_UNDERSCORE, KC_COMMA, KC_PIPE, KC_CIRCUMFLEX, KC_PERCENT},
|
||||
{KC_ASTERISK, KC_PLUS, KC_LCBR, KC_LPRN, KC_COLON, KC_DQUO, KC_RPRN, KC_RCBR, KC_MINUS, KC_EQUAL},
|
||||
{KC_BSLASH, KC_QUESTION, KC_LT, KC_LBRACKET, KC_DOLLAR, KC_TILDE, KC_RBRACKET, KC_GT, KC_EXCLAIM, KC_SLASH},
|
||||
{XXX, ___, ___, ___, TG( 4 ), TG( 3 ), ___, ___, ___, XXX},
|
||||
{XXX, ___, KC_3, ___, ___, ___, ___, ___, ___, XXX}
|
||||
},
|
||||
/*
|
||||
['F6', 'F7', 'F8', 'F9', 'F10',/ ** / 'app', 'mb1', 'mmU', 'mb2', 'mwU' ],
|
||||
['F1', 'F2', 'F3', 'F4', 'F5',/ ** / 'mnu', 'mmL', 'mmD', 'mmR', 'mwD' ],
|
||||
['F11', 'F12', '`', 'mute', 'ESC',/ ** / 'prtSc', 'scrLk', 'mwL', 'mwR', 'mb3' ],
|
||||
// --
|
||||
[ '', '', '', 'L_=8',/ ** / 'L_9', '', '', '', ],
|
||||
[ '', '8', '', '',/ ** / '', '', '', '', ]
|
||||
*/
|
||||
[_MOUSE] = {
|
||||
{KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_MENU, KC_MS_BTN1, KC_MS_UP, KC_MS_BTN2, KC_MS_WH_UP},
|
||||
{KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_MENU, KC_MS_LEFT, KC_MS_DOWN, KC_MS_RIGHT, KC_MS_WH_DOWN},
|
||||
{KC_F11, KC_F12, KC_GRAVE, KC__MUTE, KC_ESCAPE, KC_PSCREEN, KC_SLCK, KC_MS_WH_LEFT, KC_MS_WH_RIGHT, KC_MS_BTN3},
|
||||
{XXX, ___, ___, ___, TG( 4 ), TG( 5 ), ___, ___, ___, XXX},
|
||||
{XXX, ___, KC_4, ___, ___, ___, ___, ___, ___, XXX}
|
||||
},
|
||||
/*
|
||||
['L_ma1', '!', 'L_dv2', '!', 'L_cl3',/ ** / 'L_wk4', '!', 'L_ar5', '!', '!' ],
|
||||
['!', '!', '!', '!', '!',/ ** / '!', '!', '!', '!', '!' ],
|
||||
['L_gmA', '!', 'L_ucB', '!', 'L_npC',/ ** / '!', '!', '!', '!', '!' ],
|
||||
// --
|
||||
[ '', '', '', 'L_=9',/ ** / 'L_=9', '', '', '', ],
|
||||
[ '', '9', '', '',/ ** / '', '', '', '', ]
|
||||
*/
|
||||
[_LAYERS] = {
|
||||
{KC_EXCLAIM, KC_EXCLAIM, KC_EXCLAIM, KC_EXCLAIM, KC_EXCLAIM, TG( 1 ), KC_EXCLAIM, KC_EXCLAIM, KC_EXCLAIM, KC_EXCLAIM},
|
||||
{KC_EXCLAIM, KC_EXCLAIM, KC_EXCLAIM, KC_EXCLAIM, KC_EXCLAIM, KC_EXCLAIM, KC_EXCLAIM, KC_EXCLAIM, KC_EXCLAIM, KC_EXCLAIM},
|
||||
{TG( 6 ), KC_EXCLAIM, TG( 7 ), KC_EXCLAIM, TG( 8 ), KC_EXCLAIM, KC_EXCLAIM, KC_EXCLAIM, KC_EXCLAIM, KC_EXCLAIM},
|
||||
{XXX, ___, ___, ___, TG( 5 ), TG( 5 ), ___, ___, ___, XXX},
|
||||
{XXX, ___, KC_5, ___, ___, ___, ___, ___, ___, XXX}
|
||||
},
|
||||
/*
|
||||
['Q', 'W', 'E', 'R', 'T',/ ** / 'P', 'Y', '\u2191'*up* /, 'K', '1' ],
|
||||
['A', 'S', 'D', 'F', 'G',/ ** / 'H', '\u2190'*lf* /, '\u2193'*dn* /, '\u2192'*rt* /, '2' ],
|
||||
['Z', 'X', 'C', 'V', 'B',/ ** / 'M', '*', '*', '*', '3' ],
|
||||
// --
|
||||
[ '', '', '', 'L_=A',/ ** / 'A', '', '', '', ],
|
||||
[ '', 'A', '', '',/ ** / '', '', '', '', ]
|
||||
*/
|
||||
[_GAMING] = {
|
||||
{KC_Q, KC_W, KC_E, KC_R, KC_T, KC_P, KC_Y, KC_UP, KC_K, KC_1},
|
||||
{KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_LEFT, KC_DOWN, KC_RIGHT, KC_2},
|
||||
{KC_Z, KC_X, KC_C, KC_V, KC_B, KC_M, KC_ASTERISK, KC_ASTERISK, KC_ASTERISK, KC_3},
|
||||
{XXX, ___, ___, ___, TG( 6 ), KC_6, ___, ___, ___, XXX},
|
||||
{XXX, ___, KC_6, ___, ___, ___, ___, ___, ___, XXX}
|
||||
},
|
||||
/*
|
||||
['\u00a2'cent* /, '\u00bc'1/4* /, '\u00bd'1/2* /, '\u03a3'sum* /, '\u00d8'Oslash* /,/ ** / '\u250f'box ul* /, '\u2533'box um* /, '\u2513'box ur* /, '\u03bb'lambda* /, '\u2018'sm'dn* / ],
|
||||
['\u00F1'n~* /, '\u00a9'©* /, '\u00b0'degrees* /, '\u00b1'+-* /, '\u2b0f'arrow up* /,/ ** / '\u2523'box ml* /, '\u254B'box mm* /, '\u252B'box mr* /, '\u0394'delta* /, '\u2019'sm'up* / ],
|
||||
['\u00a1'down !* /, '\u00bf'down ?* /, '\u00d7'mult x* /, '\u00f7'div/ * /, '\u03c0'pi* /,/ ** / '\u2517'box ll* /, '\u253b'bos lm* /, '\u251b'box lr* /, '\u201c'sm"dn* /, '\u201d'sm"up* / ],
|
||||
// --
|
||||
[ '', '', '', 'L_=B',/ ** / 'B', '', '', '', ],
|
||||
[ '', 'B', '', '',/ ** / '', '', '', '', ]
|
||||
*/
|
||||
[_UNICODE] = {
|
||||
{UC(0x00A2), UC(0x00BC), UC(0x00BD), UC(0x03A3), UC(0x00D8), UC(0x250F), UC(0x2533), UC(0x2513), UC(0x03BB), UC(0x2018)},
|
||||
{UC(0x00F1), UC(0x00A9), UC(0x00B0), UC(0x00B1), UC(0x2B0F), UC(0x2523), UC(0x254B), UC(0x252B), UC(0x0394), UC(0x2019)},
|
||||
{UC(0x00A1), UC(0x00BF), UC(0x00D7), UC(0x00F7), UC(0x03C0), UC(0x2517), UC(0x253B), UC(0x251B), UC(0x201C), UC(0x201D)},
|
||||
{XXX, ___, ___, ___, TG( 7 ), KC_7, ___, ___, ___, XXX},
|
||||
{XXX, ___, KC_7, ___, ___, ___, ___, ___, ___, XXX}
|
||||
},
|
||||
/*
|
||||
['n-.', 'n-7', 'n-8', 'n-9', 'n--',/ ** / 'n-=', 'volU', 'volD', 'volU', 'volD' ],
|
||||
['n-0', 'n-4', 'n-5', 'n-6', 'n-+',/ ** / 'N-lck', 'BACK', 'MUTE', 'RGUI', 'paus' ],
|
||||
['n -*', 'n-1', 'n-2', 'n-3', 'n-/',/ ** / 'n-ent', 'PLAY', 'PREV', 'NEXT', 'insr' ],
|
||||
// --
|
||||
[ '', '', '', 'L_=C',/ ** / 'C', '', '', '', ],
|
||||
[ '', 'C', '', '',/ ** / '', '', '', '', ]
|
||||
*/
|
||||
[_NUMPAD] = {
|
||||
{KC_KP_DOT, KC_KP_7, KC_KP_8, KC_KP_9, KC_KP_MINUS, KC_KP_EQUAL, KC_AUDIO_VOL_UP, KC_AUDIO_VOL_DOWN, KC__VOLUP, KC__VOLDOWN/*sic on double underscore here*/},
|
||||
{KC_KP_0, KC_KP_4, KC_KP_5, KC_KP_6, KC_KP_PLUS, KC_NUMLOCK, KC_WWW_BACK, KC_AUDIO_MUTE, KC_RGUI, KC_PAUSE},
|
||||
{KC_KP_ASTERISK, KC_KP_1, KC_KP_2, KC_KP_3, KC_KP_SLASH, KC_KP_ENTER, KC_MEDIA_PLAY_PAUSE, KC_MEDIA_PREV_TRACK, KC_MEDIA_NEXT_TRACK, KC_INSERT},
|
||||
{XXX, ___, ___, ___, TG( 8 ), KC_8, ___, ___, ___, XXX},
|
||||
{XXX, ___, KC_8, ___, ___, ___, ___, ___, ___, XXX}
|
||||
}// ,
|
||||
/*
|
||||
* /
|
||||
[_] = {
|
||||
{, , , , , , , , ,},
|
||||
{, , , , , , , , ,},
|
||||
{, , , , , , , , ,},
|
||||
{XXX, ___, ___, ___, TG( ), TG( ), ___, ___, ___, XXX},
|
||||
{XXX, ___, KC_, ___, ___, ___, ___, ___, ___, XXX}
|
||||
}
|
||||
*/
|
||||
};
|
||||
|
||||
void matrix_scan_user(void) {
|
||||
uint8_t layer = biton32(layer_state);
|
||||
|
||||
switch (layer) {
|
||||
case _QWERTY:
|
||||
case _WORKMAN:
|
||||
set_led_off;
|
||||
break;
|
||||
case _NUMBERS:
|
||||
set_led_blue;
|
||||
break;
|
||||
case _PUNCT:
|
||||
set_led_red;
|
||||
break;
|
||||
case _MOUSE:
|
||||
set_led_green;
|
||||
break;
|
||||
case _LAYERS:
|
||||
set_led_yellow;
|
||||
break;
|
||||
case _UNICODE:
|
||||
set_led_cyan;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
};
|
||||
|
||||
void matrix_init_user(void) {
|
||||
set_unicode_input_mode(UC_LNX); // or UC_WINC
|
||||
};
|
||||
|
||||
|
75
keyboards/mitosis/keymaps/nzen/readme.md
Normal file
75
keyboards/mitosis/keymaps/nzen/readme.md
Normal file
@@ -0,0 +1,75 @@
|
||||
|
||||
### personal layout: Nzen
|
||||
|
||||
Levels
|
||||
|
||||
* Qwerty, with quotes in place of slash question.
|
||||
* Workman
|
||||
* Numbers and navigation, left and right hands respectively
|
||||
* Punctuation, mostly symmetric
|
||||
* Function and mouse, l/r respectively
|
||||
* Layer hub, to reach workman or upper layers
|
||||
* Gaming, qwert and arrows
|
||||
* Unicode, some numerics and one of the box styles
|
||||
* Numpad and media, l/r respectively
|
||||
|
||||
Bottom cluster is the same on all levels and mostly symmetric. The 'ring fingers' differ between the two sides. N is a number corresponding to the current layer. Toggle layer will be one down and one up.
|
||||
|
||||
* back del/enter ctrl toggle-layer
|
||||
* alt N/caps shift space
|
||||
|
||||
You can preview the layout by cloning [https://gitlab.com/Nzen/impatient-broth-nenem](this webpage). The page imitates qmk's fallthrough.
|
||||
|
||||
['Q', 'W', 'E', 'R', 'T',// 'Y', 'U', 'I', 'O', 'P'
|
||||
['A', 'S', 'D', 'F', 'G',// 'H', 'J', 'K', 'L', '; :'
|
||||
['Z', 'X', 'C', 'V', 'B',// 'N', 'M', ', <', '. >', '\' "'
|
||||
[ 'back', 'del', 'ctrl', 'L_n',// 'L_p', 'ctrl', 'ent', 'back',
|
||||
[ 'alt', '0', 'shif', 'spac',// 'spac', 'shif', 'cap', 'alt',
|
||||
|
||||
['Q', 'D', 'R', 'W', 'B',/ ** / 'J', 'F', 'U', 'P', '; :'
|
||||
['A', 'S', 'H', 'T', 'G',/ ** / 'Y', 'N', 'E', 'O', 'I'
|
||||
['Z', 'X', 'M', 'C', 'V',/ ** / 'K', 'L', ', <', '. >', '\' "'
|
||||
[ '', '', '', '',/ ** / '', '', '', '',
|
||||
[ '', '4', '', '',/ ** / '', '', '', '',
|
||||
|
||||
['9', '8', '7', '6', '5',/ ** / 'F2', 'pDn', *up* /, '*tab* /, 'pUp'
|
||||
[' 4', ' 3', ' 2', ' 1', ' 0',/ ** / 'home', *lf* /, '*dn* /, *rt* /, 'end'
|
||||
['undo', 'cut', 'copy', 'paste', 'os',/ ** / 'D', '_', ',', '-', '.'
|
||||
[ '', '', '', 'L_=6',/ ** / 'L_7', '', '', '',
|
||||
[ '', '6', '', '',/ ** / '', '', '', '',
|
||||
|
||||
[ '#', '@', '&', '.', ';',/ ** / '_', ',', '|', '^', '%'
|
||||
[ '*', '+', '{', '(', ':',/ ** / '"', ')', '}', '-', '='
|
||||
[ '\\', '?', '<', '[', '$',/ ** / '~', ']', '>', '!', '/'
|
||||
['', '', '', 'L_8',/ ** / 'L_=7', '', '', '',
|
||||
['', '7', '', '',/ ** / '', '', '', '',
|
||||
|
||||
['F6', 'F7', 'F8', 'F9', 'F10',/ ** / 'app', 'mb1', 'mmU', 'mb2', 'mwU'
|
||||
['F1', 'F2', 'F3', 'F4', 'F5',/ ** / 'mnu', 'mmL', 'mmD', 'mmR', 'mwD'
|
||||
['F11', 'F12', '`', 'mute', 'ESC',/ ** / 'prtSc', 'scrLk', 'mwL', 'mwR', 'mb3'
|
||||
[ '', '', '', 'L_=8',/ ** / 'L_9', '', '', '',
|
||||
[ '', '8', '', '',/ ** / '', '', '', '',
|
||||
|
||||
['L_ma1', '!', 'L_dv2', '!', 'L_cl3',/ ** / 'L_wk4', '!', 'L_ar5', '!', '!'
|
||||
['!', '!', '!', '!', '!',/ ** / '!', '!', '!', '!', '!'
|
||||
['L_gmA', '!', 'L_ucB', '!', 'L_npC',/ ** / '!', '!', '!', '!', '!'
|
||||
[ '', '', '', 'L_=9',/ ** / 'L_=9', '', '', '',
|
||||
[ '', '9', '', '',/ ** / '', '', '', '',
|
||||
|
||||
['Q', 'W', 'E', 'R', 'T',/ ** / 'P', 'Y', '\u2191'*up* /, 'K', '1'
|
||||
['A', 'S', 'D', 'F', 'G',/ ** / 'H', '\u2190'*lf* /, '\u2193'*dn* /, '\u2192'*rt* /, '2'
|
||||
['Z', 'X', 'C', 'V', 'B',/ ** / 'M', '*', '*', '*', '3'
|
||||
[ '', '', '', 'L_=A',/ ** / 'A', '', '', '',
|
||||
[ '', 'A', '', '',/ ** / '', '', '', '',
|
||||
|
||||
['\u00a2'cent* /, '\u00bc'1/4* /, '\u00bd'1/2* /, '\u03a3'sum* /, '\u00d8'Oslash* /,/ ** / '\u250f'box ul* /, '\u2533'box um* /, '\u2513'box ur* /, '\u03bb'lambda* /, '\u2018'sm'dn* / ],
|
||||
['\u00F1'n~* /, '\u00a9'©* /, '\u00b0'degrees* /, '\u00b1'+-* /, '\u2b0f'arrow up* /,/ ** / '\u2523'box ml* /, '\u254B'box mm* /, '\u252B'box mr* /, '\u0394'delta* /, '\u2019'sm'up* / ],
|
||||
['\u00a1'down !* /, '\u00bf'down ?* /, '\u00d7'mult x* /, '\u00f7'div/ * /, '\u03c0'pi* /,/ ** / '\u2517'box ll* /, '\u253b'bos lm* /, '\u251b'box lr* /, '\u201c'sm"dn* /, '\u201d'sm"up* /
|
||||
[ '', '', '', 'L_=B',/ ** / 'B', '', '', '',
|
||||
[ '', 'B', '', '',/ ** / '', '', '', '',
|
||||
|
||||
['n-.', 'n-7', 'n-8', 'n-9', 'n--',/ ** / 'n-=', 'volU', 'volD', 'volU', 'volD'
|
||||
['n-0', 'n-4', 'n-5', 'n-6', 'n-+',/ ** / 'N-lck', 'BACK', 'MUTE', 'RGUI', 'paus'
|
||||
['n -*', 'n-1', 'n-2', 'n-3', 'n-/',/ ** / 'n-ent', 'PLAY', 'PREV', 'NEXT', 'insr'
|
||||
[ '', '', '', 'L_=C',/ ** / 'C', '', '', '',
|
||||
[ '', 'C', '', '',/ ** / '', '', '', '',
|
8
keyboards/mitosis/keymaps/nzen/rules.mk
Normal file
8
keyboards/mitosis/keymaps/nzen/rules.mk
Normal file
@@ -0,0 +1,8 @@
|
||||
|
||||
|
||||
# Build Options
|
||||
# change to "no" to disable the options, or define them in the Makefile in
|
||||
# the appropriate keymap folder that will get included automatically
|
||||
#
|
||||
CONSOLE_ENABLE = no # Console for debug(+400)
|
||||
COMMAND_ENABLE = no # Commands for debug and configuration
|
@@ -47,7 +47,7 @@
|
||||
*/
|
||||
|
||||
// This a shortcut to help you visually see your layout.
|
||||
// The first section contains all of the arguements
|
||||
// The first section contains all of the arguments
|
||||
// The second converts the arguments into a two-dimensional array
|
||||
#define KEYMAP( \
|
||||
k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, \
|
||||
@@ -60,8 +60,8 @@
|
||||
{ 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 }, \
|
||||
{ KC_NO, k31, k32, k33, k34, k35, k36, k37, k38, KC_NO } \
|
||||
{ KC_NO, k41, k42, k43, k44, k45, k46, k47, k48, KC_NO }, \
|
||||
{ KC_NO, k31, k32, k33, k34, k35, k36, k37, k38, KC_NO }, \
|
||||
{ KC_NO, k41, k42, k43, k44, k45, k46, k47, k48, KC_NO } \
|
||||
}
|
||||
|
||||
#endif
|
||||
|
@@ -65,8 +65,8 @@ CUSTOM_MATRIX = yes # Remote matrix from the wireless bridge
|
||||
# SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend
|
||||
NKRO_ENABLE = yes # USB Nkey Rollover - not yet supported in LUFA
|
||||
# BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
|
||||
# MIDI_ENABLE = YES # MIDI controls
|
||||
UNICODE_ENABLE = YES # Unicode
|
||||
# MIDI_ENABLE = yes # MIDI controls
|
||||
UNICODE_ENABLE = yes # Unicode
|
||||
# BLUETOOTH_ENABLE = yes # Enable Bluetooth with the Adafruit EZ-Key HID
|
||||
|
||||
USB = /dev/ttyACM0
|
||||
|
@@ -1,4 +1,4 @@
|
||||
S60-x
|
||||
S60-x
|
||||
=====
|
||||
DIY compact keyboard designed by VinnyCordeiro for Sentraq. Most of the keymaps are based on GH60 code. This is a port from TMK to QMK based on the [original S60-X Repo](https://github.com/VinnyCordeiro/tmk_keyboard).
|
||||
|
||||
@@ -6,8 +6,14 @@ Keyboard Maintainer: QMK Community
|
||||
Hardware Supported: S60-x PCB
|
||||
Hardware Availability: https://www.massdrop.com/buy/sentraq-60-diy-keyboard-kit?mode=guest_open
|
||||
|
||||
There are two versions of this keyboard, an RGB and a non RGB one.
|
||||
|
||||
Make example for this keyboard (after setting up your build environment):
|
||||
|
||||
make s60_x:default
|
||||
|
||||
Make example for rgb version of this keyboard:
|
||||
|
||||
make s60_x/rgb:default
|
||||
|
||||
See [build environment setup](https://docs.qmk.fm/build_environment_setup.html) then the [make instructions](https://docs.qmk.fm/make_instructions.html) for more information.
|
||||
|
@@ -21,13 +21,13 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#define PREVENT_STUCK_MODIFIERS
|
||||
|
||||
/* USB Device descriptor parameter */
|
||||
#define VENDOR_ID 0xFEED
|
||||
#define PRODUCT_ID 0x0F0F
|
||||
#define VENDOR_ID 0x1c11
|
||||
#define PRODUCT_ID 0xb04d
|
||||
#define DEVICE_VER 0x0001
|
||||
/* in python2: list(u"whatever".encode('utf-16-le')) */
|
||||
/* at most 32 characters or the ugly hack in usb_main.c borks */
|
||||
#define MANUFACTURER Input Club
|
||||
#define PRODUCT WhiteFox (QMK)
|
||||
#define PRODUCT WhiteFox/QMK
|
||||
|
||||
/* key matrix size */
|
||||
#define MATRIX_ROWS 9
|
||||
|
@@ -6,7 +6,7 @@
|
||||
#define SYMB 1 // symbols
|
||||
#define MDIA 2 // media keys
|
||||
|
||||
// Best viewed in Xcode in Menlo Regular.
|
||||
// Best viewed in Xcode in Menlo Regular or SF Mono.
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
/* Keymap 0: Basic layer
|
||||
@@ -20,13 +20,13 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
* |--------+------+------+------+------+------| L⌘ | | R⌘ |------+------+------+------+------+--------|
|
||||
* | L⇧ | Z | X | C | V | B | | | | N | M | , | . | / /R⌥| R⇧ |
|
||||
* `--------+------+------+------+------+-------------' `-------------+------+------+------+------+--------'
|
||||
* | L⌃ | L⌥ | L⌘ | ← | → | | ↑ | ↓ | [ | ] | |
|
||||
* | L⌃ | L⌥ | L⌘ | ← | → | | ↑ | ↓ | [ | ] | ↩︎ |
|
||||
* `----------------------------------' `----------------------------------'
|
||||
* ,-------------. ,---------------.
|
||||
* | `~ | '" | | ⎋ | ⌫ |
|
||||
* ,------|------|------| |------+--------+------.
|
||||
* | | | PgUp | | PgDn | | |
|
||||
* | | ⇥ |------| |------| ⇥ |Enter |
|
||||
* | ↩︎ | ⇥ |------| |------| ⇥ | |
|
||||
* | | | R⌥ | | R⌃ | | |
|
||||
* `--------------------' `----------------------'
|
||||
*/
|
||||
@@ -41,16 +41,16 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
KC_LCTL, KC_LALT, KC_LGUI,KC_LEFT,KC_RGHT,
|
||||
KC_GRV, KC_QUOT,
|
||||
KC_PGUP,
|
||||
KC_SPC,KC_TAB ,KC_RALT,
|
||||
KC_ENT ,KC_TAB ,KC_RALT,
|
||||
// right hand
|
||||
TG(SYMB), KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS,
|
||||
MO(SYMB), KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSLS,
|
||||
KC_H, KC_J, KC_K, KC_L, LT(MDIA, KC_SCLN),RGUI_T(KC_QUOT),
|
||||
KC_RGUI, KC_N, KC_M, KC_COMM,KC_DOT, RALT_T(KC_SLSH), KC_RSFT,
|
||||
KC_UP, KC_DOWN,KC_LBRC,KC_RBRC, KC_SPC ,
|
||||
KC_UP, KC_DOWN,KC_LBRC,KC_RBRC, KC_ENT ,
|
||||
KC_ESC, KC_BSPC,
|
||||
KC_PGDN,
|
||||
KC_RCTL, KC_TAB, KC_ENT
|
||||
KC_RCTL, KC_TAB, KC_SPC
|
||||
),
|
||||
/* Keymap 1: Symbol Layer
|
||||
*
|
||||
|
12
readme.md
12
readme.md
@@ -7,11 +7,13 @@
|
||||
[](https://github.com/qmk/qmk_firmware/pulse/monthly)
|
||||
[](https://github.com/qmk/qmk_firmware/)
|
||||
|
||||
This is a keyboard firmware based on the [tmk\_keyboard firmware](http://github.com/tmk/tmk_keyboard) with some useful features for Atmel AVR and ARM controllers, and more specifically, the [OLKB product line](http://olkb.com), the [ErgoDox EZ](http://www.ergodox-ez.com) keyboard, and the [Clueboard product line](http://clueboard.co/).
|
||||
This is a keyboard firmware based on the [tmk\_keyboard firmware](http://github.com/tmk/tmk_keyboard) with some useful features for Atmel AVR and ARM controllers, and more specifically, the [OLKB product line](https://olkb.com), the [ErgoDox EZ](http://www.ergodox-ez.com) keyboard, and the [Clueboard product line](http://clueboard.co/).
|
||||
|
||||
## Official website
|
||||
## Documentation
|
||||
|
||||
[http://qmk.fm](http://qmk.fm) is the official website of QMK, where you can find links to this page, the documentation, and the keyboards supported by QMK.
|
||||
* [See the official documentation on docs.qmk.fm](https://docs.qmk.fm)
|
||||
|
||||
The docs are hosted on [Gitbook](https://www.gitbook.com/book/qmk/firmware/details) and [GitHub](/docs/) (they are synced). You can request changes by making a fork and [pull request](https://github.com/qmk/qmk_firmware/pulls), or by clicking the "suggest an edit" link on any page of the docs.
|
||||
|
||||
## Supported Keyboards
|
||||
|
||||
@@ -27,6 +29,6 @@ The project also includes community support for [lots of other keyboards](/keybo
|
||||
|
||||
QMK is developed and maintained by Jack Humbert of OLKB with contributions from the community, and of course, [Hasu](https://github.com/tmk). The OLKB product firmwares are maintained by [Jack Humbert](https://github.com/jackhumbert), the Ergodox EZ by [Erez Zukerman](https://github.com/ezuk), and the Clueboard by [Zach White](https://github.com/skullydazed).
|
||||
|
||||
## Documentation
|
||||
## Official website
|
||||
|
||||
[https://docs.qmk.fm](https://docs.qmk.fm) is hosted on [Gitbook](https://www.gitbook.com/book/qmk/firmware/details) and [GitHub](/docs/) (they are synced). You can request changes by making a fork and [pull request](https://github.com/qmk/qmk_firmware/pulls), or by clicking the "suggest an edit" link on any page of the Docs.
|
||||
[http://qmk.fm](http://qmk.fm) is the official website of QMK, where you can find links to this page, the documentation, and the keyboards supported by QMK.
|
||||
|
Reference in New Issue
Block a user