Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[keymap] ninjonas keymap for crkbd & ninjonas userspace updates #6797

Merged
merged 31 commits into from
Sep 26, 2019
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
d0c24c6
[keymap(crkbd)] introducing crkbd keymap on ninjonas profile
Sep 15, 2019
0824844
Merge branch 'master' of https://github.com/qmk/qmk_firmware into key…
Sep 15, 2019
ed70936
[keymap(crkbd)] introducing crkbd keymap on ninjonas profile
Sep 15, 2019
2fc40c7
[refactor(crkbd)] reducing file size by selecting RGB animations
ninjonas Sep 15, 2019
f3a0ede
[refactor(crkbd)] added shiftit key
ninjonas Sep 15, 2019
a395886
[refactor(crkbd)] added shiftit key
ninjonas Sep 15, 2019
da6a51f
[chore(crkbd)] adding SLEEP_LED_ENABLE on rules.mk
ninjonas Sep 16, 2019
91e5597
[refactor(crkbd)] added keylog & removed static rainbow RGB
Sep 16, 2019
dfc69eb
[feat(crkbd)] introduced em-dash '—' keymap
Sep 16, 2019
6b605dc
[feat(crkbd)] added screenshot functionality
Sep 16, 2019
86c59ba
[refactor(lily58,pinky3)] moving media keys
ninjonas Sep 20, 2019
86bf8c6
[refactor(lily58)] Added emdash key
Sep 23, 2019
fd06b86
[chore] removing NUMBERS & FUNCTIONS layers as they're useless
Sep 23, 2019
7bc6483
[chore] removing NUMBERS & FUNCTIONS layers as they're useless
Sep 23, 2019
30cdff0
[chore(crkbd,lily48)] Updating README.md
Sep 24, 2019
6930ce0
[feat] added K_LAPP & K_RAPP to mimic command + tab
Sep 24, 2019
05a1386
[feat] added K_LAPP & K_RAPP to mimic command + tab
Sep 24, 2019
6e0c035
Merge branch 'master' of https://github.com/qmk/qmk_firmware into key…
Sep 24, 2019
e90a6ef
[fix(#6797)] resolving changes requested by @drashna
ninjonas Sep 24, 2019
a576ee4
[fix(#6797)] first cut on using QMK OLED Driver
ninjonas Sep 25, 2019
bcdf03e
[fix(#6797)] cleaning up rules.mk
ninjonas Sep 25, 2019
8106dd5
[fix(#6797)] making scrolling logo work
ninjonas Sep 25, 2019
9ce235b
[fix(#6797)] Using OLED Driver for Lily58
ninjonas Sep 25, 2019
0978a2e
[fix(#6797)] Moved OLED driver implementation to ninjonas userspace
ninjonas Sep 25, 2019
f8de504
[fix(#6797)] Bringing back crkbd & lily58 logos
ninjonas Sep 25, 2019
717f2e6
[fix(#6797)] Turning off OLED based off @drashna's workaround in #5982
ninjonas Sep 25, 2019
26e8d3b
[fix(#6797)] whoops! forgot to checkin crkbd/config.h
ninjonas Sep 25, 2019
118f20f
[fix(#6797)] fixing issue with OLED randomly turning on
ninjonas Sep 25, 2019
7b24bae
[fix(#6797)] using default glcdfont.c for lily58 & crkbd
ninjonas Sep 25, 2019
013a52f
[fix(#6797)] Using LINK_TIME_OPTIMIZATION_ENABLE rather than EXTRAFLA…
Sep 25, 2019
5767d8c
[fix(#6797)] updating M_MALL macro as per code review by @fauxpark
Sep 25, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[chore] removing NUMBERS & FUNCTIONS layers as they're useless
  • Loading branch information
Jonas Avellana committed Sep 23, 2019
commit fd06b8661056fd3f905f3f7d2c51df5635c0cfc0
2 changes: 1 addition & 1 deletion keyboards/lily58/keymaps/ninjonas/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ More information about the Lily58 pro keyboard can be found [here](https://yuchi
* ,------------------------------------------. ,------------------------------------------.
* | F11 | F1 | F2 | F3 | F4 | F5 | | F6 | F7 | F8 | F9 | F10 | F12 |
* |------+------+------+-------+------+------| |------+------+------+------+-------+------|
* | | | |KC_BRIU| Play | Mute | | PgUp | Home | Up | End | | |
* | | | |KC_BRIU| Play | Mute | | PgUp | Home | Up | End | |K_MDSH|
* |------+------+------+-------+------+------| |------+------+------+------+-------+------|
* | | | |KC_BRID| Next |VolUp |-------. ,-------| PgDn | Left | Down |Right |K_LOCK | |
* |------+------+------+-------+------+------| | | |------+------+------+------+-------+------|
Expand Down
37 changes: 4 additions & 33 deletions keyboards/pinky/3/keymaps/ninjonas/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ More information about the Pinky3 keyboard can be found [here](https://github.co
```c
/*
,---------------------------------------------------------------------. ,---------------------------------------------------------------------.
| | | | BriUp| Play| Mute| K_CSCN| | | PgUp| Home| Up| End| | |
| | | | BriUp| Play| Mute| K_CSCN| | | PgUp| Home| Up| End| | K_MDSH|
|---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------|
| | | | BriDn| Next| VolUp| | | | PgDn| Left| Down| Right| K_LOCK| |
|---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------|
Expand All @@ -69,11 +69,11 @@ More information about the Pinky3 keyboard can be found [here](https://github.co
```c
/*
,---------------------------------------------------------------------. ,---------------------------------------------------------------------.
| | | MS_1| MS_U| MS_2| WH_U| | | | | | | | | |
| `| 1| 2| 3| 4| 5| | | | 6| 7| 8| 9| 0| -|
|---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------|
| | | MS_L| MS_D| MS_R| WH_D| | | | | | | | | |
| ~| !| @| #| $| %| | | | ^| &| *| (| )| _|
|---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------|
| | | | | | | | | | | | | | | |
| F11| F2| F3| F4| F4| F5| | | | F6| F7| F8| F9| F10| F12|
`---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------'
| | | | | | | | | |
`---------------------------------------' `---------------------------------------'
Expand All @@ -95,35 +95,6 @@ More information about the Pinky3 keyboard can be found [here](https://github.co
*/
```

### NUMBERS
```c
/*
,---------------------------------------------------------------------. ,---------------------------------------------------------------------.
| `| 1| 2| 3| 4| 5| | | | 6| 7| 8| 9| 0| -|
|---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------|
| ~| !| @| #| $| %| | | | ^| &| *| (| )| _|
|---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------|
| | | | | | | | | | | | | | | |
`---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------'
| | | | | | | | | |
`---------------------------------------' `---------------------------------------'
*/
```

### FUNCTIONS
```c
/*
,---------------------------------------------------------------------. ,---------------------------------------------------------------------.
| F11| F2| F3| F4| F4| F5| | | | F6| F7| F8| F9| F10| F12|
|---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------|
| | | | | | | | | | | | | | | |
|---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------|
| | | | | | | | | | | | | | | |
`---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------'
| | | | | | | | | |
`---------------------------------------' `---------------------------------------'
*/
```
<!--
### TEMPLATE
```c
Expand Down
28 changes: 8 additions & 20 deletions keyboards/pinky/3/keymaps/ninjonas/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include QMK_KEYBOARD_H
#include "ninjonas.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.
Expand All @@ -29,7 +29,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
//|---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------|
_____________________QWERTY_L2______________________, T_LBRC, T_RBRC, _____________________QWERTY_R2______________________,\
//|---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------|
_____________________QWERTY_L3______________________, LT_NUM, LT_LOW, _____________________QWERTY_R3______________________,\
_____________________QWERTY_L3______________________, LT_RAI, LT_LOW, _____________________QWERTY_R3______________________,\
//|---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------|
________MOD_LEFT_________, LT_RAI, LT_LOW, ________MOD_RIGHT________ \
//`---------------------------------------' `---------------------------------------'
Expand All @@ -41,7 +41,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
//|---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------|
_____________________DVORAK_L2______________________, T_LBRC, T_RBRC, _____________________DVORAK_R2______________________,\
//|---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------|
_____________________DVORAK_L3______________________, LT_NUM, LT_LOW, _____________________DVORAK_R3______________________,\
_____________________DVORAK_L3______________________, LT_RAI, LT_LOW, _____________________DVORAK_R3______________________,\
//|---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------|
________MOD_LEFT_________, LT_RAI, LT_LOW, ________MOD_RIGHT________ \
//`---------------------------------------' `---------------------------------------'
Expand All @@ -53,15 +53,15 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
//|---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------|
_____________________COLEMAK_L2_____________________, T_LBRC, T_RBRC, _____________________COLEMAK_R2_____________________,\
//|---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------|
_____________________COLEMAK_L3_____________________, LT_NUM, LT_LOW, _____________________COLEMAK_R3_____________________,\
_____________________COLEMAK_L3_____________________, LT_RAI, LT_LOW, _____________________COLEMAK_R3_____________________,\
//|---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------|
________MOD_LEFT_________, LT_RAI, LT_LOW, ________MOD_RIGHT________ \
//`---------------------------------------' `---------------------------------------'
),

[_LOWER] = LAYOUT_wrapper( \
//,---------------------------------------------------------------------. ,---------------------------------------------------------------------.
XXXXXXX, XXXXXXX, _________MEDIA_1_________, XXXXXXX, K_CSCN, XXXXXXX, _______________NAV_1______________, XXXXXXX, XXXXXXX,\
XXXXXXX, XXXXXXX, _________MEDIA_1_________, XXXXXXX, K_CSCN, XXXXXXX, _______________NAV_1______________, XXXXXXX, K_MDSH,\
//|---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------|
XXXXXXX, XXXXXXX, _________MEDIA_2_________, XXXXXXX, XXXXXXX, XXXXXXX, _______________NAV_2______________, K_LOCK, XXXXXXX,\
//|---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------|
Expand All @@ -73,11 +73,11 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {

[_RAISE] = LAYOUT_wrapper( \
//,---------------------------------------------------------------------. ,---------------------------------------------------------------------.
XXXXXXX, XXXXXXX, _____________MOUSE_1______________, XXXXXXX, XXXXXXX, _____________________XXXXXXX________________________,\
_____________________NUM_LEFT_______________________, XXXXXXX, XXXXXXX, _____________________NUM_RIGHT______________________,\
//|---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------|
XXXXXXX, XXXXXXX, _____________MOUSE_2______________, XXXXXXX, XXXXXXX, _____________________XXXXXXX________________________,\
_____________________SYM_LEFT_______________________, XXXXXXX, XXXXXXX, _____________________SYM_RIGHT______________________,\
//|---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------|
_____________________XXXXXXX________________________, _______, _______, _____________________XXXXXXX________________________,\
_____________________FUNC_LEFT______________________, _______, _______, _____________________FUNC_RIGHT_____________________,\
//|---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------|
__________________________________, __________________________________ \
//`---------------------------------------' `---------------------------------------'
Expand All @@ -95,18 +95,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
//`---------------------------------------' `---------------------------------------'
),

[_NUMBERS] = LAYOUT_wrapper( \
//,---------------------------------------------------------------------. ,---------------------------------------------------------------------.
_____________________NUM_LEFT_______________________, XXXXXXX, XXXXXXX, _____________________NUM_RIGHT______________________,\
//|---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------|
_____________________SYM_LEFT_______________________, XXXXXXX, XXXXXXX, _____________________SYM_RIGHT______________________,\
//|---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------|
_____________________FUNC_LEFT______________________, _______, _______, _____________________FUNC_RIGHT_____________________,\
//|---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------|
__________________________________, __________________________________ \
//`---------------------------------------' `---------------------------------------'
),

/*
[_TEMPLATE] = LAYOUT( \
//,---------------------------------------------------------------------. ,---------------------------------------------------------------------.
Expand Down
4 changes: 1 addition & 3 deletions users/ninjonas/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,11 @@ See: https://docs.qmk.fm/#/feature_userspace
|Code | Description |
|---|---|
|LT_LOW | Tap for ENTER, hold for RAISE |
|LT_FUNC | Tap for ENTER, hold for FUNCTIONS |
|LT_RAI | Tap for SPACE, hold for LOWER |
|LT_NUM | Tap for SPACE, hold for NUMBERS |
|LT_LOW + LT_RAI | Hold for ADJUST |
|L_LOWER | Dedicated key to momentarily toggle to use LOWER layer |

### [Layout Blocks](ninjonas.h#L58)
### [Layout Blocks](ninjonas.h#L56)
Predefined keyboard layout templates to speed up configuring split keyboards

|Code | Description |
Expand Down
8 changes: 0 additions & 8 deletions users/ninjonas/ninjonas.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,6 @@
#define _LOWER 3
#define _RAISE 4
#define _ADJUST 5
#ifdef KEYBOARD_pinky_3
#define _NUMBERS 6
#define _FUNCTIONS 7
#endif

// Shortcut Keys
#define K_LOCK LGUI(LCTL(KC_Q)) // Locks screen on MacOS
Expand All @@ -50,10 +46,6 @@
#define L_LOWER MO(_LOWER)
#define LT_LOW LT(_LOWER, KC_ENT)
#define LT_RAI LT(_RAISE, KC_SPC)
#ifdef KEYBOARD_pinky_3
#define LT_NUM LT(_NUMBERS, KC_SPC)
#define LT_FUNC LT(_FUNCTIONS, KC_ENT)
#endif

// Layout blocks
#define _____________________QWERTY_L1______________________ T_TAB, T_Q, T_W, KC_E, KC_R, KC_T
Expand Down
6 changes: 0 additions & 6 deletions users/ninjonas/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,6 @@ MOUSEKEY_ENABLE = yes # Mouse keys(+4700)
EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
TAP_DANCE_ENABLE = yes # Enable Tap Dance.

Link_Time_Optimization = no # if firmware size over limit, try this option

ifeq ($(strip $(Link_Time_Optimization)),yes)
EXTRAFLAGS += -flto -DUSE_Link_Time_Optimization
endif

SRC += ninjonas.c \
process_records.c \
tap_dances.c
Expand Down