mirror of
https://github.com/openstenoproject/qmk
synced 2024-11-10 18:49:08 +00:00
Felix: Refactor, Rules, and Configurator Support (#3160)
* Refactor * Configurator support * Add LAYOUTS = ortho_5x4 to rules.mk
This commit is contained in:
parent
08210b3aa4
commit
769854b8a2
4 changed files with 27 additions and 11 deletions
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
#include "quantum.h"
|
#include "quantum.h"
|
||||||
|
|
||||||
#define KEYMAP( \
|
#define LAYOUT_ortho_5x4( \
|
||||||
K000, K001, K002, K003, \
|
K000, K001, K002, K003, \
|
||||||
K100, K101, K102, K103, \
|
K100, K101, K102, K103, \
|
||||||
K200, K201, K202, K203, \
|
K200, K201, K202, K203, \
|
||||||
|
@ -17,4 +17,6 @@
|
||||||
{ K400, K401, K402, K403 } \
|
{ K400, K401, K402, K403 } \
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#define LAYOUT LAYOUT_ortho_5x4
|
||||||
|
|
||||||
#endif
|
#endif
|
12
keyboards/felix/info.json
Normal file
12
keyboards/felix/info.json
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
{
|
||||||
|
"keyboard_name": "Felix",
|
||||||
|
"url": "",
|
||||||
|
"maintainer": "qmk",
|
||||||
|
"width": 4,
|
||||||
|
"height": 5,
|
||||||
|
"layouts": {
|
||||||
|
"LAYOUT": {
|
||||||
|
"layout": [{"label":"K000", "x":0, "y":0}, {"label":"K001", "x":1, "y":0}, {"label":"K002", "x":2, "y":0}, {"label":"K003", "x":3, "y":0}, {"label":"K100", "x":0, "y":1}, {"label":"K101", "x":1, "y":1}, {"label":"K102", "x":2, "y":1}, {"label":"K103", "x":3, "y":1}, {"label":"K200", "x":0, "y":2}, {"label":"K201", "x":1, "y":2}, {"label":"K202", "x":2, "y":2}, {"label":"K203", "x":3, "y":2}, {"label":"K300", "x":0, "y":3}, {"label":"K301", "x":1, "y":3}, {"label":"K302", "x":2, "y":3}, {"label":"K303", "x":3, "y":3}, {"label":"K400", "x":0, "y":4}, {"label":"K401", "x":1, "y":4}, {"label":"K402", "x":2, "y":4}, {"label":"K403", "x":3, "y":4}]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -1,14 +1,14 @@
|
||||||
#include "felix.h"
|
#include QMK_KEYBOARD_H
|
||||||
#include "action_layer.h"
|
|
||||||
|
|
||||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
|
|
||||||
KEYMAP(
|
LAYOUT(
|
||||||
KC_NLCK, KC_PSLS, KC_PAST, KC_PMNS,
|
KC_NLCK, KC_PSLS, KC_PAST, KC_PMNS,
|
||||||
KC_P7, KC_P8, KC_P9, KC_PPLS,
|
KC_P7, KC_P8, KC_P9, KC_PPLS,
|
||||||
KC_P4, KC_P5, KC_P6, KC_HOME,
|
KC_P4, KC_P5, KC_P6, KC_HOME,
|
||||||
KC_P1, KC_P2, KC_P3, KC_END,
|
KC_P1, KC_P2, KC_P3, KC_END,
|
||||||
KC_P0, KC_PEQL, KC_PDOT, KC_PENT),
|
KC_P0, KC_PEQL, KC_PDOT, KC_PENT
|
||||||
|
),
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -54,3 +54,5 @@ NKRO_ENABLE = yes # USB Nkey Rollover - if this doesn't work, see here: https:/
|
||||||
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
|
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
|
||||||
AUDIO_ENABLE = no
|
AUDIO_ENABLE = no
|
||||||
RGBLIGHT_ENABLE = no
|
RGBLIGHT_ENABLE = no
|
||||||
|
|
||||||
|
LAYOUTS = ortho_5x4
|
||||||
|
|
Loading…
Reference in a new issue