mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-12-19 16:13:23 +00:00
a677d8a00d
* Refactor for AMJ Pad * Configurator update for AMJ Pad * Add hardware agnostic layouts numpad_6x4 and ortho_6x4 * Add agnostic layouts to rules.mk * Refactor AMJ Pad to use new hardware agnostic layouts
22 lines
624 B
C
22 lines
624 B
C
#include QMK_KEYBOARD_H
|
|
|
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|
[0] = LAYOUT_numpad_6x4(
|
|
KC_ESC, KC_TAB, MO(1), KC_BSPC, \
|
|
KC_NLCK, KC_PSLS, KC_PAST, KC_PMNS, \
|
|
KC_P7, KC_P8, KC_P9, \
|
|
KC_P4, KC_P5, KC_P6, KC_PPLS, \
|
|
KC_P1, KC_P2, KC_P3, \
|
|
KC_P0, KC_PDOT, KC_PENT \
|
|
),
|
|
|
|
[1] = LAYOUT_numpad_6x4(
|
|
RESET, KC_TAB, KC_TRNS, KC_PEQL, \
|
|
KC_NLCK, KC_PSLS, KC_PAST, KC_PMNS, \
|
|
KC_HOME, KC_UP, KC_PGUP, \
|
|
KC_LEFT, KC_NO, KC_RGHT, KC_PPLS, \
|
|
KC_END, KC_DOWN, KC_PGDN, \
|
|
KC_INS, KC_DEL, KC_PENT \
|
|
),
|
|
};
|