summaryrefslogtreecommitdiff
path: root/keyboards/dz60/keymaps
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/dz60/keymaps')
-rw-r--r--keyboards/dz60/keymaps/default_abnt2/keymap.c2
-rw-r--r--keyboards/dz60/keymaps/marianas/customLogic.c36
-rw-r--r--keyboards/dz60/keymaps/marianas/customLogic.h2
-rw-r--r--keyboards/dz60/keymaps/xtonhasvim/keymap.c2
4 files changed, 21 insertions, 21 deletions
diff --git a/keyboards/dz60/keymaps/default_abnt2/keymap.c b/keyboards/dz60/keymaps/default_abnt2/keymap.c
index d6273780f1..3ed1484bd7 100644
--- a/keyboards/dz60/keymaps/default_abnt2/keymap.c
+++ b/keyboards/dz60/keymaps/default_abnt2/keymap.c
@@ -45,7 +45,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[_BL] = LAYOUT_60_abnt2(
KC_GESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC,
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, BR_ACUT, BR_LBRC,
- KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, BR_CCDL, BR_TILD, BR_RBRC, KC_ENT,
+ KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, BR_CCED, BR_TILD, BR_RBRC, KC_ENT,
KC_LSFT, BR_BSLS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, BR_SCLN, BR_SLSH, KC_RSFT,
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, MO(_FL), KC_RCTL),
diff --git a/keyboards/dz60/keymaps/marianas/customLogic.c b/keyboards/dz60/keymaps/marianas/customLogic.c
index b7dbcac95b..f22bd882e9 100644
--- a/keyboards/dz60/keymaps/marianas/customLogic.c
+++ b/keyboards/dz60/keymaps/marianas/customLogic.c
@@ -9,7 +9,7 @@ static int16_t fnTimer = 0;
-uint32_t layer_state_set_user(uint32_t state)
+layer_state_t layer_state_set_user(layer_state_t state)
{
switch (biton32(state))
{
@@ -40,34 +40,34 @@ bool printSqlVerbs(uint16_t keycode, keyrecord_t *record)
{
switch (keycode)
{
- case S_LFTJN:
- SEND_STRING("LEFT JOIN");
+ case S_LFTJN:
+ SEND_STRING("LEFT JOIN");
activateRelativity();
return false;
- case S_INRJN:
- SEND_STRING("INNER JOIN ");
+ case S_INRJN:
+ SEND_STRING("INNER JOIN ");
activateRelativity();
return false;
- case S_SLCT:
- SEND_STRING("SELECT "); return
+ case S_SLCT:
+ SEND_STRING("SELECT "); return
false;
- case S_FROM:
- SEND_STRING("FROM "); return
+ case S_FROM:
+ SEND_STRING("FROM "); return
false;
- case S_DSNCT:
- SEND_STRING("DISTINCT "); return
+ case S_DSNCT:
+ SEND_STRING("DISTINCT "); return
false;
- case S_ORDER:
- SEND_STRING("ORDER BY "); return
+ case S_ORDER:
+ SEND_STRING("ORDER BY "); return
false;
- case S_WHERE:
- SEND_STRING("WHERE "); return
+ case S_WHERE:
+ SEND_STRING("WHERE "); return
false;
- case S_ALTER:
+ case S_ALTER:
SEND_STRING("ALTER SESSION SET CURRENT_SCHEMA = SUPPLY;"); return false;
- case S_ASTRK:
+ case S_ASTRK:
SEND_STRING("* "); return false;
-
+
}
}
return true;
diff --git a/keyboards/dz60/keymaps/marianas/customLogic.h b/keyboards/dz60/keymaps/marianas/customLogic.h
index f0e6ecdcac..29198d60b2 100644
--- a/keyboards/dz60/keymaps/marianas/customLogic.h
+++ b/keyboards/dz60/keymaps/marianas/customLogic.h
@@ -1,7 +1,7 @@
#define fnTimeout 500
-uint32_t layer_state_set_user(uint32_t state);
+layer_state_t layer_state_set_user(layer_state_t state);
bool printSqlVerbs(uint16_t keycode, keyrecord_t *record);
diff --git a/keyboards/dz60/keymaps/xtonhasvim/keymap.c b/keyboards/dz60/keymaps/xtonhasvim/keymap.c
index 34b724aaad..9a482686d8 100644
--- a/keyboards/dz60/keymaps/xtonhasvim/keymap.c
+++ b/keyboards/dz60/keymaps/xtonhasvim/keymap.c
@@ -69,7 +69,7 @@ void matrix_init_user(void) {
user_led_off();
}
-uint32_t layer_state_set_user(uint32_t state) {
+layer_state_t layer_state_set_user(layer_state_t state) {
static uint32_t last_state = 0;
if(last_state != state) {