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

Adds Keymap for Iris/blucky #6449

Merged
merged 4 commits into from
Aug 1, 2019
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
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
34 changes: 34 additions & 0 deletions keyboards/keebio/iris/keymaps/blucky/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
/*
Copyright 2019 Brian Luckenbill

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 C6_AUDIO

#undef RGBLED_NUM
#define RGBLED_NUM 12
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
#define RGBLIGHT_VAL_STEP 8
#define RGBLIGHT_ANIMATIONS

#define MOUSEKEY_DELAY 300
#define MOUSEKEY_INTERVAL 50
#define MOUSEKEY_MAX_SPEED 10
#define MOUSEKEY_TIME_TO_MAX 20
#define MOUSEKEY_WHEEL_MAX_SPEED 8
#define MOUSEKEY_WHEEL_TIME_TO_MAX 40
88 changes: 88 additions & 0 deletions keyboards/keebio/iris/keymaps/blucky/keymap.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
#include QMK_KEYBOARD_H

enum layer_names {
_QWERTY,
_LAYER1,
_LAYER2,
_LAYER3
};

#define WM_0 LGUI(KC_ENT)
#define WM_1 LGUI(KC_BSPC)
#define WM_2 LGUI(KC_DEL)
#define WM_3 SGUI(KC_ENT)
#define WM_4 SGUI(KC_BSPC)
#define WM_5 SGUI(KC_DEL)
#define WM_6 SGUI(KC_TAB)

#define LAYER1 TT(_LAYER1)
#define LAYER2 TT(_LAYER2)

#define CS_U C(S(KC_UP))
#define CS_D C(S(KC_DOWN))
#define CS_SPC C(S(KC_SPC))

#define NONE KC_NO
Blucky87 marked this conversation as resolved.
Show resolved Hide resolved

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {

[_QWERTY] = LAYOUT(
//┌────────┬────────┬────────┬────────┬────────┬────────┐ ┌────────┬────────┬────────┬────────┬────────┬────────┐
KC_GESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_EQL,
//├────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┤
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC,
//├────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┤
LAYER1, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT,
//├────────┼────────┼────────┼────────┼────────┼────────┼────────┐ ┌────────┼────────┼────────┼────────┼────────┼────────┼────────┤
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_LGUI, KC_RGUI, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, LAYER2,
//└────────┴────────┴────────┴───┬────┴───┬────┴───┬────┴───┬────┘ └───┬────┴───┬────┴───┬────┴───┬────┴────────┴────────┴────────┘
KC_LCTL, KC_LALT, KC_SPC, KC_ENT, KC_RGUI, WM_0
// └────────┴────────┴────────┘ └────────┴────────┴────────┘
),


[_LAYER1] = LAYOUT(
//┌────────┬────────┬────────┬────────┬────────┬────────┐ ┌────────┬────────┬────────┬────────┬────────┬────────┐
KC_CAPS, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_MINS,
//├────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┤
KC_SLCK, KC_PSCR, NONE, NONE, NONE, NONE, KC_PGUP, KC_PGDN, KC_HOME, KC_END, NONE, KC_DEL,
//├────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┤
NONE, NONE, C(KC_LEFT), NONE, C(KC_RGHT), NONE, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, NONE, KC_INS,
//├────────┼────────┼────────┼────────┼────────┼────────┼────────┐ ┌────────┼────────┼────────┼────────┼────────┼────────┼────────┤
KC_RSFT, NONE, WM_5, WM_4, WM_3, WM_2, MU_TOG, AU_TOG, NONE, NONE, KC_LBRC, KC_RBRC, KC_BSLS, NONE,
//└────────┴────────┴────────┴───┬────┴───┬────┴───┬────┴───┬────┘ └───┬────┴───┬────┴───┬────┴───┬────┴────────┴────────┴────────┘
WM_1, KC_LGUI, KC_PIPE, KC_UNDS, KC_RCTL, KC_RALT
// └────────┴────────┴────────┘ └────────┴────────┴────────┘
),


[_LAYER2] = LAYOUT(
//┌────────┬────────┬────────┬────────┬────────┬────────┐ ┌────────┬────────┬────────┬────────┬────────┬────────┐
KC_ESC, KC_F11, KC_F12, KC_F13, KC_F14, KC_F15, KC_F16, KC_F17, KC_F18, KC_F19, KC_F20, NONE,
//├────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┤
NONE, NONE, NONE, CS_SPC, CS_U, S(KC_PGUP), RGB_VAI, RGB_HUI, RGB_SAI, RGB_M_SW,RGB_M_R, NONE,
//├────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┤
NONE, NONE, NONE, NONE, CS_D, S(KC_PGDN), RGB_VAD, RGB_HUD, RGB_SAD, NONE, NONE, NONE,
//├────────┼────────┼────────┼────────┼────────┼────────┼────────┐ ┌────────┼────────┼────────┼────────┼────────┼────────┼────────┤
KC_LSFT, KC_VOLD, KC_VOLU, KC_MUTE, KC_BRID, KC_BRIU, MU_MOD, AU_OFF, KC_RCTL, KC_LCTL, KC_RALT, KC_LALT, KC_DEL, NONE,
//└────────┴────────┴────────┴───┬────┴───┬────┴───┬────┴───┬────┘ └───┬────┴───┬────┴───┬────┴───┬────┴────────┴────────┴────────┘
WM_6, VLK_TOG, RGB_MOD, RGB_TOG, BL_TOGG, BL_STEP
// └────────┴────────┴────────┘ └────────┴────────┴────────┘
),


[_LAYER3] = LAYOUT(
//┌────────┬────────┬────────┬────────┬────────┬────────┐ ┌────────┬────────┬────────┬────────┬────────┬────────┐
NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE,
//├────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┤
NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE,
//├────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┤
NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE,
//├────────┼────────┼────────┼────────┼────────┼────────┼────────┐ ┌────────┼────────┼────────┼────────┼────────┼────────┼────────┤
NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE, NONE,
//└────────┴────────┴────────┴───┬────┴───┬────┴───┬────┴───┬────┘ └───┬────┴───┬────┴───┬────┴───┬────┴────────┴────────┴────────┘
NONE, NONE, NONE, NONE, NONE, NONE
// └────────┴────────┴────────┘ └────────┴────────┴────────┘
)

};
7 changes: 7 additions & 0 deletions keyboards/keebio/iris/keymaps/blucky/rules.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# blucky's keymap for iris rev 2 w/ speaker, backlight and RGB and rev 3

```shell
make keebio/iris/rev2:blucky

make keebio/iris/rev3:blucky
```
5 changes: 5 additions & 0 deletions keyboards/keebio/iris/keymaps/blucky/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
RGBLIGHT_ENABLE = yes
BACKLIGHT_ENABLE = yes
VELOCIKEY_ENABLE = yes
MOUSEKEY_ENABLE = yes
AUDIO_ENABLE = no