Keyboard: Add Catch 22 Hotswap Macropad to QMK (#3576)
* Initial Commit of catch22 macropad by rockydbull * Add configurator info.json * Use macros * Use pragma once * Use CA22 as product id * Clean up readme * Use the layer define value * Feedback from @drashna
This commit is contained in:
parent
2b0f5d3bea
commit
16d6fd6e8e
7 changed files with 225 additions and 0 deletions
31
keyboards/catch22/keymaps/default/keymap.c
Normal file
31
keyboards/catch22/keymaps/default/keymap.c
Normal file
|
@ -0,0 +1,31 @@
|
|||
#include QMK_KEYBOARD_H
|
||||
|
||||
#define _BASE 0
|
||||
#define _FN 1
|
||||
|
||||
#define _______ KC_TRNS
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
[_BASE] = LAYOUT( /* Base */
|
||||
KC_A, KC_B, KC_C, KC_D, \
|
||||
KC_E, KC_F, KC_G, KC_H, \
|
||||
MO(_FN), KC_I, KC_J, KC_K, KC_L, \
|
||||
KC_1, KC_M, KC_N, KC_O, KC_P, \
|
||||
KC_Q, KC_R, KC_S, KC_T \
|
||||
),
|
||||
[_FN] = LAYOUT(
|
||||
RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUI, \
|
||||
_______, _______, _______, _______, \
|
||||
_______, _______, _______, _______, _______, \
|
||||
KC_2, _______, _______, _______, _______, \
|
||||
_______, _______, _______, _______ \
|
||||
),
|
||||
};
|
||||
|
||||
const uint16_t PROGMEM fn_actions[] = {
|
||||
};
|
||||
|
||||
const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) // MACRODOWN only works in this function
|
||||
{
|
||||
return MACRO_NONE;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue