summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--keyboards/halokeys/elemental75/chconf.h21
-rw-r--r--keyboards/halokeys/elemental75/config.h66
-rw-r--r--keyboards/halokeys/elemental75/elemental75.c35
-rw-r--r--keyboards/halokeys/elemental75/elemental75.h34
-rw-r--r--keyboards/halokeys/elemental75/info.json97
-rw-r--r--keyboards/halokeys/elemental75/keymaps/default/keymap.c82
-rw-r--r--keyboards/halokeys/elemental75/keymaps/default/rules.mk1
-rw-r--r--keyboards/halokeys/elemental75/keymaps/via/keymap.c97
-rw-r--r--keyboards/halokeys/elemental75/keymaps/via/rules.mk2
-rw-r--r--keyboards/halokeys/elemental75/readme.md21
-rw-r--r--keyboards/halokeys/elemental75/rules.mk20
11 files changed, 476 insertions, 0 deletions
diff --git a/keyboards/halokeys/elemental75/chconf.h b/keyboards/halokeys/elemental75/chconf.h
new file mode 100644
index 0000000000..b780a0e77b
--- /dev/null
+++ b/keyboards/halokeys/elemental75/chconf.h
@@ -0,0 +1,21 @@
+/* Copyright 2022 Halokeys
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+#pragma once
+// Need to override the SysTick timer to use TIM3 -- this is a 16-bit timer on F303
+// so we need to change resolution and frequency to match.
+#define CH_CFG_ST_RESOLUTION 16
+#define CH_CFG_ST_FREQUENCY 10000
+#include_next "chconf.h"
diff --git a/keyboards/halokeys/elemental75/config.h b/keyboards/halokeys/elemental75/config.h
new file mode 100644
index 0000000000..f5f6a95380
--- /dev/null
+++ b/keyboards/halokeys/elemental75/config.h
@@ -0,0 +1,66 @@
+ /* Copyright 2022 Halokeys
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+#pragma once
+#include "config_common.h"
+
+/* USB Device descriptor parameter */
+#define VENDOR_ID 0xEA0B
+#define PRODUCT_ID 0xEA75
+#define DEVICE_VER 0x0001
+#define MANUFACTURER Halokeys
+#define PRODUCT Elemental75
+
+
+/* key matrix size */
+#define MATRIX_ROWS 6
+#define MATRIX_COLS 15
+
+#define MATRIX_ROW_PINS { A2, A3, A4, A5, A6, A7 }
+#define MATRIX_COL_PINS { B2, B1, B0, B10, B11, B13, B14, B15, A8, A9, A14, A15, B3, B4, B7 }
+#define DIODE_DIRECTION COL2ROW
+#define DEBOUNCE 5
+
+#define ENCODERS_PAD_A { B6 }
+#define ENCODERS_PAD_B { B5 }
+#define TAP_CODE_DELAY 10 // tap_code function delay for register and unregister
+
+#define RGB_DI_PIN A10
+#define RGBLED_NUM 22
+#define RGBLIGHT_LIMIT_VAL 225 // value set lower than 255 since current draw is too high
+#define RGBLIGHT_SLEEP
+
+/* animations enabled */
+#define RGBLIGHT_EFFECT_BREATHING
+#define RGBLIGHT_EFFECT_RAINBOW_MOOD
+#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
+#define RGBLIGHT_EFFECT_SNAKE
+#define RGBLIGHT_EFFECT_KNIGHT
+#define RGBLIGHT_EFFECT_CHRISTMAS
+#define RGBLIGHT_EFFECT_STATIC_GRADIENT
+#define RGBLIGHT_EFFECT_RGB_TEST
+#define RGBLIGHT_EFFECT_ALTERNATING
+#define RGBLIGHT_EFFECT_TWINKLE
+
+//#define RGBLIGHT_DISABLE_KEYCODES
+
+// Tap dance term declaration
+#define TAPPING_TERM 300
+
+/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
+#define LOCKING_SUPPORT_ENABLE
+
+/* Locking resynchronize hack */
+#define LOCKING_RESYNC_ENABLE
diff --git a/keyboards/halokeys/elemental75/elemental75.c b/keyboards/halokeys/elemental75/elemental75.c
new file mode 100644
index 0000000000..2b5dc1ca2e
--- /dev/null
+++ b/keyboards/halokeys/elemental75/elemental75.c
@@ -0,0 +1,35 @@
+ /* Copyright 2022 Halokeys
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+#include "elemental75.h"
+
+#ifdef ENCODER_ENABLE
+bool encoder_update_kb(uint8_t index, bool clockwise) {
+ if (!encoder_update_user(index, clockwise)) {
+ return false;
+ }
+ uprintf("Encoder Hit: clockwise: %d, index: %u\n", clockwise, index);
+ if (index == 0) {
+ if (clockwise) {
+ print("Tapped code: KC_VOLU\n");
+ tap_code(KC_VOLU);
+ } else {
+ print("Tapped code: KC_VOLD\n");
+ tap_code(KC_VOLD);
+ }
+ }
+ return true;
+}
+#endif
diff --git a/keyboards/halokeys/elemental75/elemental75.h b/keyboards/halokeys/elemental75/elemental75.h
new file mode 100644
index 0000000000..265d1c9437
--- /dev/null
+++ b/keyboards/halokeys/elemental75/elemental75.h
@@ -0,0 +1,34 @@
+/* Copyright 2022 Halokeys
+*
+* This program is free software: you can redistribute it and/or modify
+* it under the terms of the GNU General Public License as published by
+* the Free Software Foundation, either version 2 of the License, or
+* (at your option) any later version.
+*
+* This program is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+* GNU General Public License for more details.
+*
+* You should have received a copy of the GNU General Public License
+* along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+#pragma once
+
+#include "quantum.h"
+
+#define LAYOUT( \
+ K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E, \
+ K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K59, K1E, \
+ K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, K2E, \
+ K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3E, \
+ K40, K41, K42, K43, K44, K45, K46, K47, K48, K49, K4A, K4B, K4C, K4D, K4E, \
+ K50, K51, K52, K54, K56, K58, K5A, K5B, K5C, K5D, K5E \
+) { \
+ { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E }, \
+ { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E }, \
+ { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, K2E }, \
+ { K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, KC_NO, K3E }, \
+ { K40, K41, K42, K43, K44, K45, K46, K47, K48, K49, K4A, K4B, K4C, K4D, K4E }, \
+ { K50, K51, K52, KC_NO, K54, KC_NO, K56, KC_NO, K58, K59, K5A, K5B, K5C, K5D, K5E }, \
+}
diff --git a/keyboards/halokeys/elemental75/info.json b/keyboards/halokeys/elemental75/info.json
new file mode 100644
index 0000000000..bcccf7af21
--- /dev/null
+++ b/keyboards/halokeys/elemental75/info.json
@@ -0,0 +1,97 @@
+{
+ "keyboard_name": "Elemental 75",
+ "url": "",
+ "maintainer": "shamit05",
+ "layouts": {
+ "LAYOUT": {
+ "layout": [
+ {"label":"K00 (A2,B2)", "x":0, "y":0},
+ {"label":"K01 (A2,B1)", "x":1.25, "y":0},
+ {"label":"K02 (A2,B0)", "x":2.25, "y":0},
+ {"label":"K03 (A2,B10)", "x":3.25, "y":0},
+ {"label":"K04 (A2,B11)", "x":4.25, "y":0},
+ {"label":"K05 (A2,B13)", "x":5.5, "y":0},
+ {"label":"K06 (A2,B14)", "x":6.5, "y":0},
+ {"label":"K07 (A2,B15)", "x":7.5, "y":0},
+ {"label":"K08 (A2,A8)", "x":8.5, "y":0},
+ {"label":"K09 (A2,A9)", "x":9.75, "y":0},
+ {"label":"K0A (A2,A14)", "x":10.75, "y":0},
+ {"label":"K0B (A2,A15)", "x":11.75, "y":0},
+ {"label":"K0C (A2,B3)", "x":12.75, "y":0},
+ {"label":"K0D (A2,B4)", "x":14, "y":0},
+ {"label":"K0E (A2,B7)", "x":15.25, "y":0},
+ {"label":"K10 (A3,B2)", "x":0, "y":1.25},
+ {"label":"K11 (A3,B1)", "x":1, "y":1.25},
+ {"label":"K12 (A3,B0)", "x":2, "y":1.25},
+ {"label":"K13 (A3,B10)", "x":3, "y":1.25},
+ {"label":"K14 (A3,B11)", "x":4, "y":1.25},
+ {"label":"K15 (A3,B13)", "x":5, "y":1.25},
+ {"label":"K16 (A3,B14)", "x":6, "y":1.25},
+ {"label":"K17 (A3,B15)", "x":7, "y":1.25},
+ {"label":"K18 (A3,A8)", "x":8, "y":1.25},
+ {"label":"K19 (A3,A9)", "x":9, "y":1.25},
+ {"label":"K1A (A3,A14)", "x":10, "y":1.25},
+ {"label":"K1B (A3,A15)", "x":11, "y":1.25},
+ {"label":"K1C (A3,B3)", "x":12, "y":1.25},
+ {"label":"K1D (A3,B4)", "x":13, "y":1.25},
+ {"label":"K59 (A7,A9)", "x":14, "y":1.25},
+ {"label":"K1E (A3,B7)", "x":15.25, "y":1.25},
+ {"label":"K20 (A4,B2)", "x":0, "y":2.25, "w":1.5},
+ {"label":"K21 (A4,B1)", "x":1.5, "y":2.25},
+ {"label":"K22 (A4,B0)", "x":2.5, "y":2.25},
+ {"label":"K23 (A4,B10)", "x":3.5, "y":2.25},
+ {"label":"K24 (A4,B11)", "x":4.5, "y":2.25},
+ {"label":"K25 (A4,B13)", "x":5.5, "y":2.25},
+ {"label":"K26 (A4,B14)", "x":6.5, "y":2.25},
+ {"label":"K27 (A4,B15)", "x":7.5, "y":2.25},
+ {"label":"K28 (A4,A8)", "x":8.5, "y":2.25},
+ {"label":"K29 (A4,A9)", "x":9.5, "y":2.25},
+ {"label":"K2A (A4,A14)", "x":10.5, "y":2.25},
+ {"label":"K2B (A4,A15)", "x":11.5, "y":2.25},
+ {"label":"K2C (A4,B3)", "x":12.5, "y":2.25},
+ {"label":"K2D (A4,B4)", "x":13.5, "y":2.25, "w":1.5},
+ {"label":"K2E (A4,B7)", "x":15.25, "y":2.25},
+ {"label":"K30 (A5,B2)", "x":0, "y":3.25, "w":1.75},
+ {"label":"K31 (A5,B1)", "x":1.75, "y":3.25},
+ {"label":"K32 (A5,B0)", "x":2.75, "y":3.25},
+ {"label":"K33 (A5,B10)", "x":3.75, "y":3.25},
+ {"label":"K34 (A5,B11)", "x":4.75, "y":3.25},
+ {"label":"K35 (A5,B13)", "x":5.75, "y":3.25},
+ {"label":"K36 (A5,B14)", "x":6.75, "y":3.25},
+ {"label":"K37 (A5,B15)", "x":7.75, "y":3.25},
+ {"label":"K38 (A5,A8)", "x":8.75, "y":3.25},
+ {"label":"K39 (A5,A9)", "x":9.75, "y":3.25},
+ {"label":"K3A (A5,A14)", "x":10.75, "y":3.25},
+ {"label":"K3B (A5,A15)", "x":11.75, "y":3.25},
+ {"label":"K3C (A5,B3)", "x":12.75, "y":3.25, "w":2.25},
+ {"label":"K3E (A5,B7)", "x":15.25, "y":3.25},
+ {"label":"K40 (A6,B2)", "x":0, "y":4.25, "w":1.25},
+ {"label":"K41 (A6,B1)", "x":1.25, "y":4.25},
+ {"label":"K42 (A6,B0)", "x":2.25, "y":4.25},
+ {"label":"K43 (A6,B10)", "x":3.25, "y":4.25},
+ {"label":"K44 (A6,B11)", "x":4.25, "y":4.25},
+ {"label":"K45 (A6,B13)", "x":5.25, "y":4.25},
+ {"label":"K46 (A6,B14)", "x":6.25, "y":4.25},
+ {"label":"K47 (A6,B15)", "x":7.25, "y":4.25},
+ {"label":"K48 (A6,A8)", "x":8.25, "y":4.25},
+ {"label":"K49 (A6,A9)", "x":9.25, "y":4.25},
+ {"label":"K4A (A6,A14)", "x":10.25, "y":4.25},
+ {"label":"K4B (A6,A15)", "x":11.25, "y":4.25},
+ {"label":"K4C (A6,B3)", "x":12.25, "y":4.25, "w":1.5},
+ {"label":"K4D (A6,B4)", "x":14, "y":4.5},
+ {"label":"K4E (A6,B7)", "x":15.25, "y":4.25},
+ {"label":"K50 (A7,B2)", "x":0, "y":5.25, "w":1.5},
+ {"label":"K51 (A7,B1)", "x":1.5, "y":5.25},
+ {"label":"K52 (A7,B0)", "x":2.5, "y":5.25, "w":1.5},
+ {"label":"K54 (A7,B11)", "x":4, "y":5.25, "w":2.25},
+ {"label":"K56 (A7,B14)", "x":6.25, "y":5.25, "w":1.25},
+ {"label":"K58 (A7,A8)", "x":7.5, "y":5.25, "w":2.75},
+ {"label":"K5A (A7,A14)", "x":10.25, "y":5.25, "w":1.25},
+ {"label":"K5B (A7,A15)", "x":11.5, "y":5.25, "w":1.25},
+ {"label":"K5C (A7,B3)", "x":13, "y":5.5},
+ {"label":"K5D (A7,B4)", "x":14, "y":5.5},
+ {"label":"K5E (A7,B7)", "x":15, "y":5.5}
+ ]
+ }
+ }
+}
diff --git a/keyboards/halokeys/elemental75/keymaps/default/keymap.c b/keyboards/halokeys/elemental75/keymaps/default/keymap.c
new file mode 100644
index 0000000000..ef1a7a68e7
--- /dev/null
+++ b/keyboards/halokeys/elemental75/keymaps/default/keymap.c
@@ -0,0 +1,82 @@
+ /* Copyright 2022 Halokeys
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+#include QMK_KEYBOARD_H
+#include "print.h"
+
+/* [Keymaps] ----------------------------------------------------------------- */
+enum layer_names {
+ _BASE,
+ _FN
+};
+
+/* Tap Dance declarations */
+enum {
+ TD_PLAY_FORWARD_BACK,
+};
+
+bool process_record_user(uint16_t keycode, keyrecord_t *record) {
+ /* If console is enabled, it will print the matrix position and status of each key pressed */
+ #ifdef CONSOLE_ENABLE
+ uprintf("KL: kc: 0x%04X, col: %u, row: %u, pressed: %d, time: %u, interrupt: %d, count: %u\n", keycode, record->event.key.col, record->event.key.row, record->event.pressed, record->event.time, record->tap.interrupted, record->tap.count);
+ #endif
+ return true;
+}
+
+void dance_cln_finished(qk_tap_dance_state_t *state, void *user_data) {
+ uprintf("Tap Dance count: %u", state->count);
+ if (state->count == 1) {
+ tap_code(KC_MPLY);
+ } else if (state->count == 2) {
+ tap_code(KC_MNXT);
+ } else {
+ tap_code(KC_MPRV);
+ }
+}
+
+/* All tap dance functions would go here. Only showing this one. */
+qk_tap_dance_action_t tap_dance_actions[] = {
+ [TD_PLAY_FORWARD_BACK] = ACTION_TAP_DANCE_FN_ADVANCED(NULL, dance_cln_finished, NULL),
+};
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+
+ [_BASE] = LAYOUT(
+ KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, MO(1), TD(TD_PLAY_FORWARD_BACK),
+ KC_GRV, 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_DEL, KC_INS,
+ KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_DEL,
+ KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGUP,
+ KC_LSFT, XXXXXXX, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_LSFT, KC_UP, KC_PGDN,
+ KC_LCTL, KC_LGUI, KC_LALT, KC_LSFT, KC_SPC, KC_BSPC, KC_RALT, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT
+ ),
+
+ [_FN] = LAYOUT(
+ RESET, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_MPRV, KC_MNXT, KC_TRNS, KC_TRNS,
+ KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
+ KC_TRNS, RGB_TOG, RGB_VAI, RGB_VAD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
+ KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
+ KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
+ KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
+ ),
+
+};
+
+void keyboard_post_init_user(void) {
+ /* Customise these values to desired behaviour */
+ debug_enable=true;
+ debug_matrix=true;
+ /* debug_keyboard=true; */
+ /* debug_mouse=true; */
+}
diff --git a/keyboards/halokeys/elemental75/keymaps/default/rules.mk b/keyboards/halokeys/elemental75/keymaps/default/rules.mk
new file mode 100644
index 0000000000..e5ddcae8d9
--- /dev/null
+++ b/keyboards/halokeys/elemental75/keymaps/default/rules.mk
@@ -0,0 +1 @@
+TAP_DANCE_ENABLE = yes
diff --git a/keyboards/halokeys/elemental75/keymaps/via/keymap.c b/keyboards/halokeys/elemental75/keymaps/via/keymap.c
new file mode 100644
index 0000000000..d92b2c7690
--- /dev/null
+++ b/keyboards/halokeys/elemental75/keymaps/via/keymap.c
@@ -0,0 +1,97 @@
+ /* Copyright 2022 Halokeys
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+#include QMK_KEYBOARD_H
+#include "print.h"
+
+/* [Keymaps] ----------------------------------------------------------------- */
+enum layer_names { _BASE, _FN ,_FN1 ,_FN2 };
+
+/* Tap Dance declarations */
+enum {
+ TD_PLAY_FORWARD_BACK,
+};
+
+bool process_record_user(uint16_t keycode, keyrecord_t *record) {
+ /* If console is enabled, it will print the matrix position and status of each key pressed */
+ #ifdef CONSOLE_ENABLE
+ uprintf("KL: kc: 0x%04X, col: %u, row: %u, pressed: %d, time: %u, interrupt: %d, count: %u\n", keycode, record->event.key.col, record->event.key.row, record->event.pressed, record->event.time, record->tap.interrupted, record->tap.count);
+ #endif
+ return true;
+}
+
+void dance_cln_finished(qk_tap_dance_state_t *state, void *user_data) {
+ uprintf("Tap Dance count: %u", state->count);
+ if (state->count == 1) {
+ tap_code(KC_MPLY);
+ } else if (state->count == 2) {
+ tap_code(KC_MNXT);
+ } else {
+ tap_code(KC_MPRV);
+ }
+}
+
+/* All tap dance functions would go here. Only showing this one. */
+qk_tap_dance_action_t tap_dance_actions[] = {
+ [TD_PLAY_FORWARD_BACK] = ACTION_TAP_DANCE_FN_ADVANCED(NULL, dance_cln_finished, NULL),
+};
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+
+ [_BASE] = LAYOUT(
+ KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, MO(1), TD(TD_PLAY_FORWARD_BACK),
+ KC_GRV, 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_DEL, KC_INS,
+ KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_DEL,
+ KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGUP,
+ KC_LSFT, XXXXXXX, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_LSFT, KC_UP, KC_PGDN,
+ KC_LCTL, KC_LGUI, KC_LALT, KC_LSFT, KC_SPC, KC_BSPC, KC_RALT, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT
+ ),
+
+ [_FN] = LAYOUT(
+ RESET, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_MPRV, KC_MNXT, KC_TRNS, KC_TRNS,
+ KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
+ KC_TRNS, RGB_TOG, RGB_VAI, RGB_VAD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
+ KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
+ KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
+ KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
+ ),
+
+ [_FN1] = LAYOUT(
+ KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
+ KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
+ KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
+ KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
+ KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
+ KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
+ ),
+
+ [_FN2] = LAYOUT(
+ KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
+ KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
+ KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
+ KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
+ KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
+ KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
+ ),
+
+};
+
+void keyboard_post_init_user(void) {
+ /* Customise these values to desired behaviour */
+ debug_enable=true;
+ debug_matrix=true;
+ /* debug_keyboard=true; */
+ /* debug_mouse=true; */
+}
diff --git a/keyboards/halokeys/elemental75/keymaps/via/rules.mk b/keyboards/halokeys/elemental75/keymaps/via/rules.mk
new file mode 100644
index 0000000000..791d5ab502
--- /dev/null
+++ b/keyboards/halokeys/elemental75/keymaps/via/rules.mk
@@ -0,0 +1,2 @@
+VIA_ENABLE = yes
+TAP_DANCE_ENABLE = yes
diff --git a/keyboards/halokeys/elemental75/readme.md b/keyboards/halokeys/elemental75/readme.md
new file mode 100644
index 0000000000..6fd8ae056b
--- /dev/null
+++ b/keyboards/halokeys/elemental75/readme.md
@@ -0,0 +1,21 @@
+# Elemental75
+
+A compact 75% keyboard made and sold by Halokeys.
+
+* Keyboard Maintainer: [Shamit Surana](https://github.com/shamit05)
+* Hardware Supported: Elemental75
+* Hardware Availability: Not Available Yet
+
+## Bootloader
+
+Enter the bootloader in 3 ways:
+
+* **Bootmagic reset**: Hold down the Escape key down (top left key) and plug in the keyboard
+* **Physical reset button**: Hold the reset button on the back of the PCB for at least 5 seconds.
+* **Keycode in layout**: Hold the key mapped to `RESET` if it is available
+
+Make example for this keyboard (after setting up your build environment):
+
+ make halokeys/elemental75:default
+
+See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs).
diff --git a/keyboards/halokeys/elemental75/rules.mk b/keyboards/halokeys/elemental75/rules.mk
new file mode 100644
index 0000000000..226c430d25
--- /dev/null
+++ b/keyboards/halokeys/elemental75/rules.mk
@@ -0,0 +1,20 @@
+# MCU name
+MCU = STM32F303
+BOARD = QMK_PROTON_C
+
+# Bootloader selection
+BOOTLOADER = stm32-dfu
+
+# Build Options
+# change yes to no to disable
+#
+BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
+MOUSEKEY_ENABLE = yes # Mouse keys
+EXTRAKEY_ENABLE = yes # Audio control and System control
+CONSOLE_ENABLE = no # Console for debug
+COMMAND_ENABLE = no # Commands for debug and configuration
+NKRO_ENABLE = no # Enable N-Key Rollover
+BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
+RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
+AUDIO_ENABLE = no # Audio output
+ENCODER_ENABLE = yes