From ee176f2b270b39209753253eb75afc363fb4c403 Mon Sep 17 00:00:00 2001 From: deadencryption <36646687+deadencryption@users.noreply.github.com> Date: Fri, 23 Feb 2018 12:13:09 -0600 Subject: [PATCH] Adds dead encryption keymap --- .../v32u4/keymaps/dead_encryption/config.h | 1 + .../v32u4/keymaps/dead_encryption/keymap.c | 35 +++++++++++++++++++ .../v32u4/keymaps/dead_encryption/readme.md | 10 ++++++ 3 files changed, 46 insertions(+) create mode 100644 keyboards/jc65/v32u4/keymaps/dead_encryption/config.h create mode 100644 keyboards/jc65/v32u4/keymaps/dead_encryption/keymap.c create mode 100644 keyboards/jc65/v32u4/keymaps/dead_encryption/readme.md diff --git a/keyboards/jc65/v32u4/keymaps/dead_encryption/config.h b/keyboards/jc65/v32u4/keymaps/dead_encryption/config.h new file mode 100644 index 000000000..a5568e400 --- /dev/null +++ b/keyboards/jc65/v32u4/keymaps/dead_encryption/config.h @@ -0,0 +1 @@ +#include "../../config.h" diff --git a/keyboards/jc65/v32u4/keymaps/dead_encryption/keymap.c b/keyboards/jc65/v32u4/keymaps/dead_encryption/keymap.c new file mode 100644 index 000000000..df5bdae00 --- /dev/null +++ b/keyboards/jc65/v32u4/keymaps/dead_encryption/keymap.c @@ -0,0 +1,35 @@ +#include "v32u4.h" +// How long (in ms) to wait between animation steps for the breathing mode +const uint8_t RGBLED_BREATHING_INTERVALS[] PROGMEM = {30, 20, 10, 5}; + +// How long (in ms) to wait between animation steps for the rainbow mode +const uint8_t RGBLED_RAINBOW_MOOD_INTERVALS[] PROGMEM = {120, 60, 30}; + +// How long (in ms) to wait between animation steps for the swirl mode +const uint8_t RGBLED_RAINBOW_SWIRL_INTERVALS[] PROGMEM = {30, 20, 3}; + +// How long (in ms) to wait between animation steps for the snake mode +const uint8_t RGBLED_SNAKE_INTERVALS[] PROGMEM = {100, 50, 20}; + +// How long (in ms) to wait between animation steps for the knight modes +const uint8_t RGBLED_KNIGHT_INTERVALS[] PROGMEM = {127, 63, 31}; + +// These control which colors are selected for the gradient mode +const uint16_t RGBLED_GRADIENT_RANGES[] PROGMEM = {360, 240, 180, 120, 90}; + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [0] = KEYMAP( + KC_GESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_GRV, KC_PSCR, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSPC, KC_PGUP, + KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGDN, + KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_DEL, + KC_LCTL, KC_LGUI, KC_LALT, KC_SPACE, KC_SPACE, KC_SPACE, KC_RALT, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT + ), + [1] = KEYMAP( + RESET, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_INS, KC_PAUS, KC_TRNS, + KC_TRNS, RGB_TOG, RGB_M_P, RGB_M_B, RGB_M_R, RGB_M_SW, RGB_M_SN, RGB_M_K, RGB_M_X, RGB_M_G, RGB_MOD, KC_VOLU, KC_VOLD, KC_MUTE, KC_TRNS, + KC_TRNS, RGB_HUI, RGB_SAI, RGB_VAI, RGB_HUD, RGB_SAD, RGB_VAD, KC_DOWN, KC_HOME, KC_PGUP, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, BL_TOGG, BL_STEP, BL_INC, BL_DEC, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_END, KC_PGDN, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_MPRV, KC_MPLY, KC_MPLY, KC_MPLY, KC_MNXT, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ), +}; diff --git a/keyboards/jc65/v32u4/keymaps/dead_encryption/readme.md b/keyboards/jc65/v32u4/keymaps/dead_encryption/readme.md new file mode 100644 index 000000000..b48075db9 --- /dev/null +++ b/keyboards/jc65/v32u4/keymaps/dead_encryption/readme.md @@ -0,0 +1,10 @@ +Dead's Keymap +=== + +Split backspace, 6.25u space, 2 Function Layers, reset + rgb controls on layer(2) + +Intended usage: This is my daily driver keymap + +=== + +Encryption Complete \ No newline at end of file