mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-12-23 09:59:53 +00:00
6fcc6538c7
* Correct configurator info.json * Refactor to support ortho_4x4 * Refactor to support ortho_4x4 - remove commented out code
35 lines
705 B
C
35 lines
705 B
C
#include QMK_KEYBOARD_H
|
|
|
|
|
|
#define _QWERTY 0
|
|
|
|
|
|
enum custom_keycodes {
|
|
QWERTY = SAFE_RANGE,
|
|
};
|
|
|
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|
/* Qwerty
|
|
* ,---------------------------.
|
|
* | A | B | C | D |
|
|
* +------+------+------+------|
|
|
* | E | F | G | H |
|
|
* +------+------+------+------|
|
|
* | I | J | K | L |
|
|
* +------+------+------+------|
|
|
* | M | N | O | P |
|
|
* ----------------------------'
|
|
*/
|
|
[_QWERTY] = LAYOUT_ortho_4x4( \
|
|
KC_A, KC_B, KC_C, KC_D, \
|
|
KC_E, KC_F, KC_G, KC_H, \
|
|
KC_I, KC_J, KC_K, KC_L, \
|
|
KC_M, KC_N, KC_O, KC_P \
|
|
),
|
|
};
|
|
|
|
// Loop
|
|
void matrix_scan_user(void) {
|
|
// Empty
|
|
};
|