mirror of
https://github.com/qmk/qmk_userspace.git
synced 2025-05-06 07:34:18 -04:00
DOIO KB30 Refactor (#21250)
* refactor keymaps - remove extra blank lines - convert tabs to spaces - use four-space indent - grid-align keycodes - use QMK-native keycode aliases * info.json: correct layout data * add readme.md * info.json: correct maintainer field Updates the value to reference the maintainer's GitHub username.
This commit is contained in:
parent
97cfdb4b5f
commit
3c15b2d227
1 changed files with 28 additions and 35 deletions
|
@ -15,10 +15,8 @@
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
|
||||
enum layer_names {
|
||||
_LAY0,
|
||||
_LAY1,
|
||||
|
@ -26,13 +24,9 @@ _LAY2,
|
|||
_LAY3
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
[_LAY0] = LAYOUT(
|
||||
KC_NUM, KC_PSLS, KC_PAST, KC_PMNS, KC_PSCR, KC_SCRL, KC_PAUSE,
|
||||
KC_NUM, KC_PSLS, KC_PAST, KC_PMNS, KC_PSCR, KC_SCRL, KC_PAUS,
|
||||
KC_P7, KC_P8, KC_P9, KC_PPLS, KC_INS, KC_HOME, KC_PGUP,
|
||||
KC_P4, KC_P5, KC_P6, KC_DEL, KC_END, KC_PGDN,
|
||||
KC_P1, KC_P2, KC_P3, LT(3,KC_PENT), KC_UP,
|
||||
|
@ -62,7 +56,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||
|
||||
};
|
||||
|
||||
|
||||
#ifdef ENCODER_MAP_ENABLE
|
||||
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
|
||||
[_LAY0] = { ENCODER_CCW_CW(KC_MPRV, KC_MNXT), ENCODER_CCW_CW(KC_PGUP, KC_PGDN), ENCODER_CCW_CW(KC_VOLU, KC_VOLD) },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue