diff options
Diffstat (limited to 'keyboards/pinky/3')
-rw-r--r-- | keyboards/pinky/3/3.h | 3 | ||||
-rw-r--r-- | keyboards/pinky/3/keymaps/default/rules.mk | 18 | ||||
-rw-r--r-- | keyboards/pinky/3/keymaps/ninjonas/README.md | 113 | ||||
-rw-r--r-- | keyboards/pinky/3/keymaps/ninjonas/config.h | 31 | ||||
-rw-r--r-- | keyboards/pinky/3/keymaps/ninjonas/keymap.c | 111 | ||||
-rw-r--r-- | keyboards/pinky/3/keymaps/ninjonas/rules.mk | 2 | ||||
-rw-r--r-- | keyboards/pinky/3/rules.mk | 1 |
7 files changed, 257 insertions, 22 deletions
diff --git a/keyboards/pinky/3/3.h b/keyboards/pinky/3/3.h index ca1109d262..8bd2d49faf 100644 --- a/keyboards/pinky/3/3.h +++ b/keyboards/pinky/3/3.h @@ -2,7 +2,6 @@ #include "../pinky.h" -//void promicro_bootloader_jmp(bool program); #include "quantum.h" #ifdef USE_I2C @@ -13,8 +12,6 @@ #endif #endif -//void promicro_bootloader_jmp(bool program); - #define LAYOUT( \ L00, L01, L02, L03, L04, L05, L06, R00, R01, R02, R03, R04, R05, R06, \ L10, L11, L12, L13, L14, L15, L16, R10, R11, R12, R13, R14, R15, R16, \ diff --git a/keyboards/pinky/3/keymaps/default/rules.mk b/keyboards/pinky/3/keymaps/default/rules.mk deleted file mode 100644 index 1768698093..0000000000 --- a/keyboards/pinky/3/keymaps/default/rules.mk +++ /dev/null @@ -1,18 +0,0 @@ - -# 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 -# -BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000) -MOUSEKEY_ENABLE = no # Mouse keys(+4700) -EXTRAKEY_ENABLE = no # Audio control and System control(+450) -CONSOLE_ENABLE = no # Console for debug(+400) -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -MIDI_ENABLE = no # MIDI controls -AUDIO_ENABLE = no # Audio output on port C6 -UNICODE_ENABLE = no # Unicode -BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID -RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. -SWAP_HANDS_ENABLE = no # Enable one-hand typing diff --git a/keyboards/pinky/3/keymaps/ninjonas/README.md b/keyboards/pinky/3/keymaps/ninjonas/README.md new file mode 100644 index 0000000000..d47fdd995b --- /dev/null +++ b/keyboards/pinky/3/keymaps/ninjonas/README.md @@ -0,0 +1,113 @@ +# ninjonas Keymap for [Pinky3](https://github.com/tamanishi/Pinky3) + +## Keymap +This keymap is designed based off my typing habits and is subject to change. Information about custom user macros and tap dances can be found [here](../../../../../users/ninjonas). + +More information about the Pinky3 keyboard can be found [here](https://github.com/tamanishi/Pinky3) + +### QWERTY +```c +/* +,---------------------------------------------------------------------. ,---------------------------------------------------------------------. +| Tab| Q| W| E| R| T| Play| | Mute| Y| U| I| O| P| \| +|---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------| +| Esc/Caps| A| S| D| F| G| [| | ]| H| J| K| L| ;| '| +|---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------| +| Shift| Z| X| C| V| B| Spc/RAI| | Ent/LOW| N| M| ,| .| /| =| +`---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------' + | ALT| | CTRL| KC_LAPP| | KC_RAPP| BckSpace| Del| LOWER| + `---------------------------------------' `---------------------------------------' +*/ +``` + +### DVORAK +```c +/* +,---------------------------------------------------------------------. ,---------------------------------------------------------------------. +| Tab| '| ,| .| P| Y| Play| | Mute| F| G| C| R| L| \| +|---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------| +| Esc/Caps| A| O| E| U| I| [| | ]| D| H| T| N| S| /| +|---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------| +| Shift| ;| Q| J| K| X| Spc/RAI| | Ent/LOW| B| M| W| V| Z| =| +`---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------' + | ALT| | CTRL| KC_LAPP| | KC_RAPP| BckSpace| Del| LOWER| + `---------------------------------------' `---------------------------------------' +*/ +``` + +### COLEMAK +```c +/* +,---------------------------------------------------------------------. ,---------------------------------------------------------------------. +| Tab| Q| W| F| P| G| Play| | Mute| J| L| U| Y| ;| \| +|---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------| +| Esc/Caps| A| R| S| T| D| [| | ]| H| N| E| I| O| '| +|---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------| +| Shift| Z| X| C| V| B| Spc/RAI| | Ent/LOW| K| M| ,| .| /| =| +`---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------' + | ALT| | CTRL| KC_LAPP| | KC_RAPP| BckSpace| Del| LOWER| + `---------------------------------------' `---------------------------------------' +*/ +``` + +### LOWER +```c +/* +,---------------------------------------------------------------------. ,---------------------------------------------------------------------. +| | | | BriUp| Play| Mute| K_CSCN| | | PgUp| Home| Up| End| | K_MDSH| +|---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------| +| | | | BriDn| Next| VolUp| | | | PgDn| Left| Down| Right| K_LOCK| | +|---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------| +| M_SHFT| | | | Prev| VolDn| | | | | | | | | M_PYNV| +`---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------' + | | | | | | | | M_CODE| | + `---------------------------------------' `---------------------------------------' +*/ +``` + +### RAISE +```c +/* +,---------------------------------------------------------------------. ,---------------------------------------------------------------------. +| `| 1| 2| 3| 4| 5| | | | 6| 7| 8| 9| 0| -| +|---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------| +| ~| !| @| #| $| %| | | | ^| &| *| (| )| _| +|---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------| +| F11| F2| F3| F4| F4| F5| | | | F6| F7| F8| F9| F10| F12| +`---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------' + | | | | | | | | | | + `---------------------------------------' `---------------------------------------' +*/ +``` + +### ADJUST +```c +/* +,---------------------------------------------------------------------. ,---------------------------------------------------------------------. +| M_MAKE| EEP_RST| | | | | | | | | | | COLEMAK| DVORAK| QWERTY| +|---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------| +| M_VRSN| | | | | | | | | | | | | | | +|---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------| +| M_FLSH| | | | | | | | | | | | | | | +`---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------' + | | | | | | | | | | + `---------------------------------------' `---------------------------------------' +*/ +``` + +<!-- +### TEMPLATE +```c +/* +,---------------------------------------------------------------------. ,---------------------------------------------------------------------. +| | | | | | | | | | | | | | | | +|---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------| +| | | | | | | | | | | | | | | | +|---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------| +| | | | | | | | | | | | | | | | +`---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------' + | | | | | | | | | | + `---------------------------------------' `---------------------------------------' +*/ +``` +-->
\ No newline at end of file diff --git a/keyboards/pinky/3/keymaps/ninjonas/config.h b/keyboards/pinky/3/keymaps/ninjonas/config.h new file mode 100644 index 0000000000..585bd8cb5d --- /dev/null +++ b/keyboards/pinky/3/keymaps/ninjonas/config.h @@ -0,0 +1,31 @@ +/* Copyright 2018 'Masayuki Sunahara' + * + * 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 USE_MATRIX_I2C + +/* Select hand configuration */ + +#define MASTER_LEFT +// #define MASTER_RIGHT +// #define EE_HANDS + +#define USE_SERIAL_PD2 + +#define TAPPING_FORCE_HOLD +#define TAPPING_TERM 200 +#define RETRO_TAPPPING
\ No newline at end of file diff --git a/keyboards/pinky/3/keymaps/ninjonas/keymap.c b/keyboards/pinky/3/keymaps/ninjonas/keymap.c new file mode 100644 index 0000000000..2b93c5aa8e --- /dev/null +++ b/keyboards/pinky/3/keymaps/ninjonas/keymap.c @@ -0,0 +1,111 @@ +/* Copyright 2019 @ninjonas + * + * 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/>. + */ +#include QMK_KEYBOARD_H +#include "ninjonas.h" + +// Each layer gets a name for readability, which is then used in the keymap matrix below. +// The underscores don't mean anything - you can have a layer called STUFF or any other name. +// Layer names don't all need to be of the same length, obviously, and you can also skip them +// entirely and just use numbers. + + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [_QWERTY] = LAYOUT_wrapper( + //,---------------------------------------------------------------------. ,---------------------------------------------------------------------. + _____________________QWERTY_L1______________________, KC_MPLY, KC_MUTE, _____________________QWERTY_R1______________________, + //|---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------| + _____________________QWERTY_L2______________________, T_LBRC, T_RBRC, _____________________QWERTY_R2______________________, + //|---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------| + _____________________QWERTY_L3______________________, LT_RAI, LT_LOW, _____________________QWERTY_R3______________________, + //|---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------| + ________MOD_LEFT_________, K_LAPP, K_RAPP, ________MOD_RIGHT________ + //`---------------------------------------' `---------------------------------------' + ), + + [_DVORAK] = LAYOUT_wrapper( + //,---------------------------------------------------------------------. ,---------------------------------------------------------------------. + _____________________DVORAK_L1______________________, KC_MPLY, KC_MUTE, _____________________DVORAK_R1______________________, + //|---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------| + _____________________DVORAK_L2______________________, T_LBRC, T_RBRC, _____________________DVORAK_R2______________________, + //|---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------| + _____________________DVORAK_L3______________________, LT_RAI, LT_LOW, _____________________DVORAK_R3______________________, + //|---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------| + ________MOD_LEFT_________, K_LAPP, K_RAPP, ________MOD_RIGHT________ + //`---------------------------------------' `---------------------------------------' + ), + + [_COLEMAK] = LAYOUT_wrapper( + //,---------------------------------------------------------------------. ,---------------------------------------------------------------------. + _____________________COLEMAK_L1_____________________, KC_MPLY, KC_MUTE, _____________________COLEMAK_R1_____________________, + //|---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------| + _____________________COLEMAK_L2_____________________, T_LBRC, T_RBRC, _____________________COLEMAK_R2_____________________, + //|---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------| + _____________________COLEMAK_L3_____________________, LT_RAI, LT_LOW, _____________________COLEMAK_R3_____________________, + //|---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------| + ________MOD_LEFT_________, K_LAPP, K_RAPP, ________MOD_RIGHT________ + //`---------------------------------------' `---------------------------------------' + ), + + [_LOWER] = LAYOUT_wrapper( + //,---------------------------------------------------------------------. ,---------------------------------------------------------------------. + _____________________LOWER_L1_______________________, K_CSCN, XXXXXXX, _____________________LOWER_R1_______________________, + //|---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------| + _____________________LOWER_L2_______________________, XXXXXXX, XXXXXXX, _____________________LOWER_R2_______________________, + //|---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------| + _____________________LOWER_L3_______________________, _______, _______, _____________________LOWER_R3_______________________, + //|---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------| + __________________________________, _______, _______, M_CODE, _______ + //`---------------------------------------' `---------------------------------------' + ), + + [_RAISE] = LAYOUT_wrapper( + //,---------------------------------------------------------------------. ,---------------------------------------------------------------------. + _____________________NUM_LEFT_______________________, XXXXXXX, XXXXXXX, _____________________NUM_RIGHT______________________, + //|---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------| + _____________________SYM_LEFT_______________________, XXXXXXX, XXXXXXX, _____________________SYM_RIGHT______________________, + //|---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------| + _____________________FUNC_LEFT______________________, _______, _______, _____________________FUNC_RIGHT_____________________, + //|---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------| + __________________________________, __________________________________ + //`---------------------------------------' `---------------------------------------' + ), + + [_ADJUST] = LAYOUT_wrapper( + //,---------------------------------------------------------------------. ,---------------------------------------------------------------------. + _____________________ADJUST_L1______________________, XXXXXXX, XXXXXXX, _____________________ADJUST_R1______________________, + //|---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------| + _____________________ADJUST_L2______________________, XXXXXXX, XXXXXXX, _____________________ADJUST_R2______________________, + //|---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------| + _____________________ADJUST_L3______________________, _______, _______, _____________________ADJUST_R3______________________, + //|---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------| + __________________________________, __________________________________ + //`---------------------------------------' `---------------------------------------' + ), + + /* + [_TEMPLATE] = LAYOUT( + //,---------------------------------------------------------------------. ,---------------------------------------------------------------------. + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + //|---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------| + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + //|---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------| + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + //|---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------| + _______, _______, _______, _______, _______, _______, _______, _______ + //`---------------------------------------' `---------------------------------------' + ) + */ +};
\ No newline at end of file diff --git a/keyboards/pinky/3/keymaps/ninjonas/rules.mk b/keyboards/pinky/3/keymaps/ninjonas/rules.mk new file mode 100644 index 0000000000..155f56ef9f --- /dev/null +++ b/keyboards/pinky/3/keymaps/ninjonas/rules.mk @@ -0,0 +1,2 @@ +MOUSEKEY_ENABLE = no +LINK_TIME_OPTIMIZATION_ENABLE = yes
\ No newline at end of file diff --git a/keyboards/pinky/3/rules.mk b/keyboards/pinky/3/rules.mk index 1bb8bf6d7f..e69de29bb2 100644 --- a/keyboards/pinky/3/rules.mk +++ b/keyboards/pinky/3/rules.mk @@ -1 +0,0 @@ -# empty |