summaryrefslogtreecommitdiff
path: root/keyboards/dz60
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/dz60')
-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
3 files changed, 20 insertions, 20 deletions
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) {