summaryrefslogtreecommitdiff
path: root/keyboards/the_ruler/keymaps/default/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/the_ruler/keymaps/default/keymap.c')
-rw-r--r--keyboards/the_ruler/keymaps/default/keymap.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/keyboards/the_ruler/keymaps/default/keymap.c b/keyboards/the_ruler/keymaps/default/keymap.c
index 78a7855344..e7af797b9d 100644
--- a/keyboards/the_ruler/keymaps/default/keymap.c
+++ b/keyboards/the_ruler/keymaps/default/keymap.c
@@ -1,4 +1,4 @@
-#include "the_ruler.h"
+#include QMK_KEYBOARD_H
#include "action_layer.h"
#include "eeconfig.h"
@@ -33,7 +33,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
* | FN_2 | 2 |TSKMGR |CALTDEL| ESC | FN_1 |
* `-----------------------------------------------'
*/
-[_DEFAULT] = KEYMAP( \
+[_DEFAULT] = LAYOUT( \
MO(_FN_2), KC_2, TSKMGR, CALTDEL, KC_ESC, MO(_FN_1)
),
@@ -42,7 +42,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
* |RGB_TOG|RGB_HUD|RGB_HUI|RGB_SAD|RGB_SAI| FN_1 |
* `-----------------------------------------------'
*/
-[_FN_1] = KEYMAP( \
+[_FN_1] = LAYOUT( \
RGB_TOG, RGB_HUD, RGB_HUI, RGB_SAD, RGB_SAI, _______
),
@@ -51,7 +51,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
* | FN_2 |RGB_VAD|RGB_VAI|RGB_MOD|TSKMGR | RESET |
* `-----------------------------------------------'
*/
-[_FN_2] = KEYMAP( \
+[_FN_2] = LAYOUT( \
_______, RGB_VAD, RGB_VAI, RGB_MOD, TSKMGR, RESET
)
@@ -67,4 +67,4 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
// NONE
}
return true;
-} \ No newline at end of file
+}