diff options
author | Joel Challis <git@zvecr.com> | 2023-11-26 18:36:45 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-27 05:36:45 +1100 |
commit | 1ed03f498fa204178c2696c510ac6a2cd8524e2d (patch) | |
tree | b97c1f983b7e4b57c007d0feedadd3ad3e39062b /users/rmeli | |
parent | 4908d4b1ca260efecf3613e6517aa3a6f2034876 (diff) |
Remove userspace keymaps (#22544)
Diffstat (limited to 'users/rmeli')
-rw-r--r-- | users/rmeli/.gitignore | 2 | ||||
-rw-r--r-- | users/rmeli/config.h | 40 | ||||
-rw-r--r-- | users/rmeli/keyrecords/tap_dances.c | 139 | ||||
-rw-r--r-- | users/rmeli/keyrecords/tap_dances.h | 71 | ||||
-rw-r--r-- | users/rmeli/keyrecords/unicode.h | 86 | ||||
-rw-r--r-- | users/rmeli/keyrecords/wrappers.h | 178 | ||||
-rw-r--r-- | users/rmeli/oled/oled.c | 102 | ||||
-rw-r--r-- | users/rmeli/oled/oled.h | 26 | ||||
-rw-r--r-- | users/rmeli/readme.md | 14 | ||||
-rw-r--r-- | users/rmeli/rmeli.h | 32 | ||||
-rw-r--r-- | users/rmeli/rules.mk | 26 |
11 files changed, 0 insertions, 716 deletions
diff --git a/users/rmeli/.gitignore b/users/rmeli/.gitignore deleted file mode 100644 index 799fc4adc1..0000000000 --- a/users/rmeli/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -# Ignore symlinks to keymaps -km_*
\ No newline at end of file diff --git a/users/rmeli/config.h b/users/rmeli/config.h deleted file mode 100644 index c51093ab38..0000000000 --- a/users/rmeli/config.h +++ /dev/null @@ -1,40 +0,0 @@ -/* -Copyright 2021-2022 Rocco Meli <@RMeli> - -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 - -#define TAPPING_TERM 200 - -#ifdef UNICODEMAP_ENABLE -# define UNICODE_SELECTED_MODES UNICODE_MODE_MACOS, UNICODE_MODE_LINUX -#endif - -#ifdef AUTO_SHIFT_ENABLED -# define AUTO_SHIFT_REPEAT -#endif - -#ifdef CAPS_WORD_ENABLE -# define BOTH_SHIFTS_TURNS_ON_CAPS_WORD -//#define DOUBLE_TAP_SHIFT_TURNS_ON_CAPS_WORD -#endif - -#ifdef RGBLIGHT_ENABLE -# define RGBLIGHT_LIMIT_VAL 120 -# define RGBLIGHT_HUE_STEP 10 -# define RGBLIGHT_SAT_STEP 17 -# define RGBLIGHT_VAL_STEP 17 -#endif diff --git a/users/rmeli/keyrecords/tap_dances.c b/users/rmeli/keyrecords/tap_dances.c deleted file mode 100644 index 4e7ac31962..0000000000 --- a/users/rmeli/keyrecords/tap_dances.c +++ /dev/null @@ -1,139 +0,0 @@ -/* -Copyright 2021-2022 Rocco Meli <@RMeli> - -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 "keyrecords/tap_dances.h" - -// + ---------- + -// + TAP DANCES | -// + ---------- + - -// Tap dances definitions -// Need to needs to be defined in a .c file to avoid a linker error (multiple definitions) -tap_dance_action_t tap_dance_actions[] = { - [TD_LSPO_CAPS] = ACTION_TAP_DANCE_FN_ADVANCED(NULL, LSPO_CAPS_finished, LSPO_CAPS_reset), - [TD_RSPC_CAPS] = ACTION_TAP_DANCE_FN_ADVANCED(NULL, RSPC_CAPS_finished, RSPC_CAPS_reset), - [TD_ESC_DEL] = ACTION_TAP_DANCE_DOUBLE(KC_ESC, KC_DEL), -}; - -// + ------ + -// + DANCES | -// + ------ + - -// https://github.com/qmk/qmk_firmware/blob/9294258c02d3e025e01935a06c4d9f1997535bda/users/gordon/gordon.c#L112-L135 -td_state_t hold_cur_dance(tap_dance_state_t *state) { - if (state->count == 1) { - if (state->interrupted) { - if (!state->pressed) - return TD_SINGLE_TAP; - else - return TD_SINGLE_HOLD; - } else { - if (!state->pressed) - return TD_SINGLE_TAP; - else - return TD_SINGLE_HOLD; - } - } else if (state->count == 2) { - if (state->pressed) - return TD_NONE; - else - return TD_DOUBLE_TAP; - } else - return TD_NONE; -} - -// + ------------------------------------------------ + -// + LEFT SHIFT PARENTHESIS OPEN (LSPO) AND CAPS LOCK | -// + ------------------------------------------------ + - -// Create an instance of 'td_tap_t' for the 'LSPO_CAPS' tap dance. -static td_tap_t LSPO_CAPS_state = {.is_press_action = true, .state = TD_NONE}; - -void LSPO_CAPS_finished(tap_dance_state_t *state, void *user_data) { - LSPO_CAPS_state.state = hold_cur_dance(state); - switch (LSPO_CAPS_state.state) { - case TD_SINGLE_TAP: - register_code16(KC_LPRN); - break; - case TD_SINGLE_HOLD: - register_code16(KC_LSFT); - break; - case TD_DOUBLE_TAP: - register_code16(KC_CAPS); - break; - case TD_NONE: - break; - } -} - -void LSPO_CAPS_reset(tap_dance_state_t *state, void *user_data) { - switch (LSPO_CAPS_state.state) { - case TD_SINGLE_TAP: - unregister_code16(KC_LPRN); - break; - case TD_SINGLE_HOLD: - unregister_code16(KC_LSFT); - break; - case TD_DOUBLE_TAP: - unregister_code16(KC_CAPS); - break; - case TD_NONE: - break; - } - LSPO_CAPS_state.state = TD_NONE; -} - -// + -------------------------------------------------- + -// + RIGHT SHIFT PARENTHESIS CLOSE (RSPC) AND CAPS LOCK | -// + -------------------------------------------------- + - -// Create an instance of 'td_tap_t' for the 'RSPC_CAPS' tap dance. -static td_tap_t RSPC_CAPS_state = {.is_press_action = true, .state = TD_NONE}; - -void RSPC_CAPS_finished(tap_dance_state_t *state, void *user_data) { - RSPC_CAPS_state.state = hold_cur_dance(state); - switch (RSPC_CAPS_state.state) { - case TD_SINGLE_TAP: - register_code16(KC_RPRN); - break; - case TD_SINGLE_HOLD: - register_code16(KC_RSFT); - break; - case TD_DOUBLE_TAP: - register_code16(KC_CAPS); - break; - case TD_NONE: - break; - } -} - -void RSPC_CAPS_reset(tap_dance_state_t *state, void *user_data) { - switch (RSPC_CAPS_state.state) { - case TD_SINGLE_TAP: - unregister_code16(KC_RPRN); - break; - case TD_SINGLE_HOLD: - unregister_code16(KC_RSFT); - break; - case TD_DOUBLE_TAP: - unregister_code16(KC_CAPS); - break; - case TD_NONE: - break; - } - RSPC_CAPS_state.state = TD_NONE; -} diff --git a/users/rmeli/keyrecords/tap_dances.h b/users/rmeli/keyrecords/tap_dances.h deleted file mode 100644 index 40866fe17f..0000000000 --- a/users/rmeli/keyrecords/tap_dances.h +++ /dev/null @@ -1,71 +0,0 @@ -/* -Copyright 2021-2022 Rocco Meli <@RMeli> - -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 QMK_KEYBOARD_H - -// https://beta.docs.qmk.fm/using-qmk/software-features/feature_tap_dance#example-4-quad-function-tap-dance-id-example-4 - -// + ---------- + -// + TAP DANCES | -// + ---------- + - -// Tap dance enums -enum { - TD_LSPO_CAPS, // Tap once for (, hold once for LSFT, tap twice for CAPS - TD_RSPC_CAPS, // Tap once for ), hold once for RSFT, tap twice for CAPS - TD_ESC_DEL, // Tap once for KC_ESC, twice for KC_DEL -}; - -// Rename tap dances for keymap with shortcuts -#define TD_LSPC TD(TD_LSPO_CAPS) -#define TD_RSPC TD(TD_RSPC_CAPS) -#define TD_ED TD(TD_ESC_DEL) - -// + ----------- + -// + KEY PRESSES | -// + ----------- + - -// Different types of key presses -typedef enum { - TD_NONE, - TD_SINGLE_TAP, - TD_SINGLE_HOLD, - TD_DOUBLE_TAP, -} td_state_t; - -// Key press state -typedef struct { - bool is_press_action; - td_state_t state; -} td_tap_t; - -// + --------- + -// + FUNCTIONS | -// + --------- + - -// Tap dance for fast modifiers; favors being held over being tapped. -td_state_t hold_cur_dance(tap_dance_state_t *state); - -// Left Shift Parenthesis Open (LSPO) and Caps Lock (CAPS) on DOUBLE_TAP -void LSPO_CAPS_finished(tap_dance_state_t *state, void *user_data); -void LSPO_CAPS_reset(tap_dance_state_t *state, void *user_data); - -// Right Shift Parenthesis Close (RSPC) and Caps Lock (CAPS) on DOUBLE_TAP -void RSPC_CAPS_finished(tap_dance_state_t *state, void *user_data); -void RSPC_CAPS_reset(tap_dance_state_t *state, void *user_data); diff --git a/users/rmeli/keyrecords/unicode.h b/users/rmeli/keyrecords/unicode.h deleted file mode 100644 index 63c355415e..0000000000 --- a/users/rmeli/keyrecords/unicode.h +++ /dev/null @@ -1,86 +0,0 @@ -/* -Copyright 2021-2022 Rocco Meli <@RMeli> - -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 QMK_KEYBOARD_H - -// Needs to be active on the OS side as well -// https://docs.qmk.fm/#/feature_unicode?id=input-modes - -enum unicode_names { - aGRV, - AGRV, - aUML, - AUML, - eGRV, - EGRV, - eACT, - EACT, - iGRV, - IGRV, - iCIR, - ICIR, - oGRV, - OGRV, - oUML, - OUML, - uGRV, - UGRV, - uUML, - UUML, -}; - -const uint32_t unicode_map[] PROGMEM = { - // KC_A - [aGRV] = 0x00E0, // à - [AGRV] = 0x00C0, // À - [aUML] = 0x00E4, // ä - [AUML] = 0x00C4, // Ä - // KC_E - [eGRV] = 0x00E8, // è - [EGRV] = 0x00C8, // È - [eACT] = 0x00E9, // é - [EACT] = 0x00C9, // É - // KC_I - [iGRV] = 0x00EC, // ì - [IGRV] = 0x00CC, // Ì - [iCIR] = 0x00EE, // î - [ICIR] = 0x00CE, // Î - // KC_O - [oGRV] = 0x00F2, // ò - [OGRV] = 0x00D2, // Ò - [oUML] = 0x00F6, // ö - [OUML] = 0x00D6, // Ö - // KC_U - [uGRV] = 0x00F9, // ù - [UGRV] = 0x00D9, // Ù - [uUML] = 0x00FC, // ü - [UUML] = 0x00DC, // Ü -}; - -// Accents -#define A_GRV UP(aGRV, AGRV) -#define A_UML UP(aUML, AUML) -#define E_GRV UP(eGRV, EGRV) -#define E_ACT UP(eACT, EACT) -#define I_GRV UP(iGRV, IGRV) -#define I_CIR UP(iCIR, ICIR) -#define O_GRV UP(oGRV, OGRV) -#define O_UML UP(oUML, OUML) -#define U_GRV UP(uGRV, UGRV) -#define U_UML UP(uUML, UUML) diff --git a/users/rmeli/keyrecords/wrappers.h b/users/rmeli/keyrecords/wrappers.h deleted file mode 100644 index 3513fd0abb..0000000000 --- a/users/rmeli/keyrecords/wrappers.h +++ /dev/null @@ -1,178 +0,0 @@ -/* -Copyright 2020 Christopher Courtney, aka Drashna Jael're (@drashna) <drashna@live.com> -Copyright 2020 @jola5 -Copyright 2021-2022 Rocco Meli <@RMeli> - -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 - -#ifdef UNICODEMAP_ENABLE -# include "keyrecords/unicode.h" -#endif - -// + ------------- + -// + HOME ROW MODS | -// + ------------- + - -// https://precondition.github.io/home-row-mods - -// Left, QWERTY -#define HM_A LCTL_T(KC_A) -#define HM_S LALT_T(KC_S) -#define HM_D LGUI_T(KC_D) -#define HM_F LSFT_T(KC_F) - -// Left, COLEMAK -#define HMCMK_A LCTL_T(KC_A) -#define HMCMK_R LALT_T(KC_R) -#define HMCMK_S LGUI_T(KC_S) -#define HMCMK_T LSFT_T(KC_T) - -// Right, QWERTY -#define HM_J RSFT_T(KC_J) -#define HM_K RGUI_T(KC_K) -#define HM_L LALT_T(KC_L) // LALT, not RALT -#define HM_SCLN RCTL_T(KC_SCLN) - -// Right, COLEMAK -#define HMCMK_N RSFT_T(KC_N) -#define HMCMK_E RGUI_T(KC_E) -#define HMCMK_I LALT_T(KC_I) // LALT, not RALT -#define HMCMK_O RCTL_T(KC_O) - -// clang-format off - -// + ------ + -// + QWERTY | -// + ------ + - -#define _________QWERTY_HRM_LEFT__________ HM_A, HM_S, HM_D, HM_F -#define _________QWERTY_HRM_RIGHT_________ HM_J, HM_K, HM_L, HM_SCLN - -#define _______________QWERTY_L1_x5________________ KC_Q, KC_W, KC_E, KC_R, KC_T -#ifdef HOME_ROW_MODS_ENABLED -#define _______________QWERTY_L2_x5________________ _________QWERTY_HRM_LEFT__________, KC_G -#else -#define _______________QWERTY_L2_x5________________ KC_A, KC_S, KC_D, KC_F, KC_G -#endif -#define _______________QWERTY_L3_x5________________ KC_Z, KC_X, KC_C, KC_V, KC_B - -#define _______________QWERTY_R1_x5________________ KC_Y, KC_U, KC_I, KC_O, KC_P -#ifdef HOME_ROW_MODS_ENABLED -#define _______________QWERTY_R2_x5________________ KC_H, _________QWERTY_HRM_RIGHT_________ -#else -#define _______________QWERTY_R2_x5________________ KC_H, KC_J, KC_K, KC_L, KC_SCLN -#endif -#define _______________QWERTY_R3_x5________________ KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH - -// + ------ + - -#define ___________________QWERTY_L1_x6_____________________ KC_TAB, _______________QWERTY_L1_x5________________ -#define ___________________QWERTY_L2_x6_____________________ TD_ED, _______________QWERTY_L2_x5________________ -#define ___________________QWERTY_L3_x6_____________________ TD_LSPC, _______________QWERTY_L3_x5________________ -#define ___________________QWERTY_R1_x6_____________________ _______________QWERTY_R1_x5________________, KC_BSPC -#define ___________________QWERTY_R2_x6_____________________ _______________QWERTY_R2_x5________________, KC_QUOT -#define ___________________QWERTY_R3_x6_____________________ _______________QWERTY_R3_x5________________, TD_RSPC - -// + -------------- + -// + COLEMAK_MOD_DH | -// + -------------- + - -#define _____COLEMAK_MOD_DH_HRM_LEFT______ HMCMK_A, HMCMK_R, HMCMK_S, HMCMK_T -#define _____COLEMAK_MOD_DH_HMR_RIGHT_____ HMCMK_N, HMCMK_E, HMCMK_I, HMCMK_O - -#define ____________COLEMAK_MOD_DH_L1_x5___________ KC_Q, KC_W, KC_F, KC_P, KC_B -#ifdef HOME_ROW_MODS_ENABLED -#define ____________COLEMAK_MOD_DH_L2_x5___________ _____COLEMAK_MOD_DH_HRM_LEFT______, KC_G -#else -#define ____________COLEMAK_MOD_DH_L2_x5___________ KC_A, KC_R, KC_S, KC_T, KC_G -#endif -#define ____________COLEMAK_MOD_DH_L3_x5___________ KC_Z, KC_X, KC_C, KC_D, KC_V - -#define ____________COLEMAK_MOD_DH_R1_x5___________ KC_J, KC_L, KC_U, KC_Y, KC_SCLN -#ifdef HOME_ROW_MODS_ENABLED -#define ____________COLEMAK_MOD_DH_R2_x5___________ KC_M, _____COLEMAK_MOD_DH_HMR_RIGHT_____ -#else -#define ____________COLEMAK_MOD_DH_R2_x5___________ KC_M, KC_N, KC_E, KC_I, KC_O -#endif -#define ____________COLEMAK_MOD_DH_R3_x5___________ KC_K, KC_H, KC_COMM, KC_DOT,KC_SLASH - -// + ------- + - -#define ________________COLEMAK_MOD_DH_L1_x6________________ KC_TAB, ____________COLEMAK_MOD_DH_L1_x5___________ -#define ________________COLEMAK_MOD_DH_L2_x6________________ TD_ED, ____________COLEMAK_MOD_DH_L2_x5___________ -#define ________________COLEMAK_MOD_DH_L3_x6________________ TD_LSPC, ____________COLEMAK_MOD_DH_L3_x5___________ -#define ________________COLEMAK_MOD_DH_R1_x6________________ ____________COLEMAK_MOD_DH_R1_x5___________, KC_BSPC -#define ________________COLEMAK_MOD_DH_R2_x6________________ ____________COLEMAK_MOD_DH_R2_x5___________, KC_QUOT -#define ________________COLEMAK_MOD_DH_R3_x6________________ ____________COLEMAK_MOD_DH_R3_x5___________, TD_RSPC - -// + --------------- + -// + NUMBERS/SYMBOLS | -// + --------------- + - -#define ______________NUMBER_LEFT_x5_______________ KC_1, KC_2, KC_3, KC_4, KC_5 -#define ______________NUMBER_RIGHT_x5______________ KC_6, KC_7, KC_8, KC_9, KC_0 -#define ___________________NUMBER_LEFT_x6___________________ KC_GRV, ______________NUMBER_LEFT_x5_______________ -#define ___________________NUMBER_RIGHT_x6__________________ ______________NUMBER_RIGHT_x5______________, KC_MINS - -#define ______________SYMBOL_LEFT_x5_______________ KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC -#define ______________SYMBOL_RIGHT_x5______________ KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN -#define ___________________SYMBOL_LEFT_x6___________________ KC_GRV, ______________SYMBOL_LEFT_x5_______________ -#define ___________________SYMBOL_RIGHT_x6__________________ ______________SYMBOL_RIGHT_x5______________, KC_TILD - -#define ____________________SYMBOL_R2_x6____________________ KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_BSLS, KC_GRV -#define ____________________SYMBOL_R3_x6____________________ KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_PIPE, KC_TILD - -// + ------- + -// + UNICODE | -// + ------- + - -#ifdef UNICODEMAP_ENABLE -#define ______________UNICODE_L2_x5________________ A_GRV, E_GRV, I_GRV, O_GRV, U_GRV -#define ______________UNICODE_L3_x5________________ A_UML, E_ACT, I_CIR, O_UML, U_UML -#endif - -// + ---- + -// + FUNC | -// + ---- + - -#define ______________FUNC_LEFT_5x_________________ KC_F1, KC_F2, KC_F3, KC_F4, KC_F5 -#define ______________FUNC_RIGHT_5x________________ KC_F6, KC_F7, KC_F8, KC_F9, KC_F10 -#define ____________________FUNC_LEFT_x6____________________ ______________FUNC_LEFT_5x_________________, KC_F6 -#define ____________________FUNC_RIGHT_x6___________________ KC_F7, ______________FUNC_RIGHT_5x________________ - -// + ---- + -// + MISC | -// + ---- + - -#define _________________BLANK_5x__________________ _______, _______, _______, _______, _______ -#define ______________________BLANK_6x______________________ _________________BLANK_5x__________________, _______ - -#define _________________NONE_5x___________________ XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX -#define ______________________NONE_6x_______________________ _________________NONE_5x___________________, XXXXXXX - -#define ________________NAV_R2_x5__________________ XXXXXXX, XXXXXXX, KC_UP, XXXXXXX, KC_PGUP -#define ________________NAV_R3_x5__________________ XXXXXXX, KC_LEFT, KC_DOWN, KC_RGHT, KC_PGDN -#define ____________NAV_VIM_x4____________ KC_LEFT, KC_DOWN, KC_UP, KC_RIGHT - -#define _______________CONFIG_R1_x5________________ UC_NEXT, AS_UP, NK_ON, XXXXXXX, XXXXXXX -#define _______________CONFIG_R2_x5________________ XXXXXXX, AS_TOGG, NK_TOGG, CG_TOGG, XXXXXXX -#define _______________CONFIG_R3_x5________________ UC_PREV, AS_DOWN, NK_OFF, CG_NORM, XXXXXXX - -#define ________________RGB_L2_x5__________________ RGB_MOD, RGB_HUI, RGB_SAI, RGB_VAI, RGB_SPI -#define ________________RGB_L3_x5__________________ RGB_RMOD, RGB_HUD, RGB_SAD, RGB_VAD, RGB_SPD - -// clang-format on diff --git a/users/rmeli/oled/oled.c b/users/rmeli/oled/oled.c deleted file mode 100644 index 27c1e9c600..0000000000 --- a/users/rmeli/oled/oled.c +++ /dev/null @@ -1,102 +0,0 @@ -/* -Copyright 2021-2022 Rocco Meli <@RMeli> - -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 "oled/oled.h" - -void oled_render_rocco(void) { - // clang-format off - static const char PROGMEM rocco[] = { - // 'rocco', 128x32px - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf0, 0xf8, 0xf8, 0xf8, 0x18, - 0x18, 0x18, 0x18, 0x18, 0x38, 0x38, 0x78, 0xf0, 0xe0, 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0x80, - 0x80, 0x80, 0x80, 0x80, 0x80, 0xc0, 0xe0, 0xff, 0x7f, 0x3f, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x80, 0xe0, 0xf0, 0x78, 0x38, 0x1c, 0x1c, 0x1c, 0x0c, 0x1c, 0x1c, 0x1c, 0x38, 0xf8, 0xf0, - 0xe0, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc0, 0xe0, 0xf0, 0x78, 0x38, 0x1c, 0x1c, 0x1c, - 0x1c, 0x1c, 0x1c, 0x1c, 0x1c, 0xf8, 0xf8, 0xf8, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xe0, - 0xf0, 0xf0, 0x38, 0x3c, 0x1c, 0x1c, 0x1c, 0x1c, 0x1c, 0x1c, 0x1c, 0x1c, 0xf8, 0xf8, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0xc0, 0xf0, 0xf0, 0x38, 0x38, 0x1c, 0x1c, 0x1c, 0x1c, 0x1c, 0x1c, - 0x38, 0x78, 0xf0, 0xf0, 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0x03, - 0x03, 0x03, 0x03, 0x03, 0x0f, 0x3f, 0xff, 0xf8, 0xe0, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x18, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, - 0xff, 0xff, 0x18, 0x00, 0x00, 0x00, 0x00, 0x7e, 0xff, 0xff, 0xc1, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, - 0xff, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x01, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x81, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x1f, 0x1f, 0x1f, 0x1f, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x07, 0x1f, 0x1f, 0x1c, 0x10, 0x00, 0x00, 0x00, - 0x00, 0x01, 0x03, 0x07, 0x0f, 0x1e, 0x1c, 0x18, 0x18, 0x38, 0x18, 0x18, 0x1c, 0x1c, 0x0f, 0x07, - 0x03, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x07, 0x0f, 0x0f, 0x1e, 0x1c, 0x1c, 0x1c, - 0x38, 0x38, 0x18, 0x1c, 0x1c, 0x1c, 0x0e, 0x0e, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, - 0x07, 0x0f, 0x0e, 0x1e, 0x1c, 0x1c, 0x18, 0x38, 0x18, 0x1c, 0x1c, 0x1c, 0x1c, 0x0e, 0x0e, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x07, 0x0f, 0x0e, 0x1c, 0x1c, 0x18, 0x18, 0x18, 0x18, 0x18, - 0x1c, 0x0e, 0x0f, 0x07, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - }; - // clang-format on - - oled_write_raw_P(rocco, sizeof(rocco)); -} - -void oled_render_meli(void) { - // clang-format off - static const char PROGMEM meli[] = { - // 'meli', 128x32px - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0xf8, 0xf8, 0xf8, 0xf8, 0xe0, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0xc0, 0xf0, 0xf8, 0xf8, 0xf8, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x18, 0x18, 0x18, 0x38, 0xf8, 0xf8, 0xf8, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x30, 0x78, 0x78, 0x78, 0x30, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0x01, 0x07, 0x1f, 0x3f, 0xfc, 0xf8, 0xf0, 0xf8, - 0x7e, 0x1f, 0x07, 0x03, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc0, 0xf0, 0xf0, - 0x38, 0x18, 0x1c, 0x1c, 0x1c, 0x0c, 0x1c, 0x1c, 0x1c, 0x38, 0xf8, 0xf0, 0xc0, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x18, 0x1c, 0x1c, 0x1c, 0x1c, 0x1c, - 0x1c, 0xfc, 0xfc, 0xfc, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x03, 0x00, - 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0x8c, - 0x0c, 0x0c, 0x0c, 0x0c, 0x0c, 0x0c, 0x0c, 0x0c, 0x0c, 0x0c, 0x0f, 0x0f, 0x0f, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x1f, 0x1f, 0x1f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x1f, 0x1f, 0x1f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x07, 0x0f, - 0x0e, 0x1c, 0x1c, 0x18, 0x18, 0x38, 0x18, 0x18, 0x1c, 0x1c, 0x0c, 0x0e, 0x06, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x07, 0x0f, 0x1f, 0x1c, 0x18, 0x38, 0x38, 0x18, - 0x1c, 0x1c, 0x0c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, - 0x18, 0x1f, 0x1f, 0x1f, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - }; - // clang-format on - - oled_write_raw_P(meli, sizeof(meli)); -} diff --git a/users/rmeli/oled/oled.h b/users/rmeli/oled/oled.h deleted file mode 100644 index b91fe2d76b..0000000000 --- a/users/rmeli/oled/oled.h +++ /dev/null @@ -1,26 +0,0 @@ -/* -Copyright 2021-2022 Rocco Meli <@RMeli> - -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 QMK_KEYBOARD_H - -// + --------- + -// + RENDERERS | -// + --------- + - -void oled_render_rocco(void); -void oled_render_meli(void); diff --git a/users/rmeli/readme.md b/users/rmeli/readme.md deleted file mode 100644 index ed5561dea7..0000000000 --- a/users/rmeli/readme.md +++ /dev/null @@ -1,14 +0,0 @@ -Copyright 2022 Rocco Meli @RMeli - -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/>.
\ No newline at end of file diff --git a/users/rmeli/rmeli.h b/users/rmeli/rmeli.h deleted file mode 100644 index d3533db7c3..0000000000 --- a/users/rmeli/rmeli.h +++ /dev/null @@ -1,32 +0,0 @@ -/* -Copyright 2021-2022 Rocco Meli <@RMeli> - -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 "keyrecords/wrappers.h" - -#ifdef UNICODEMAP_ENABLE -# include "keyrecords/unicode.h" -#endif - -#ifdef OLED_ENABLE -# include "oled/oled.h" -#endif - -#ifdef TAP_DANCE_ENABLE -# include "keyrecords/tap_dances.h" -#endif diff --git a/users/rmeli/rules.mk b/users/rmeli/rules.mk deleted file mode 100644 index db68d6326c..0000000000 --- a/users/rmeli/rules.mk +++ /dev/null @@ -1,26 +0,0 @@ -# https://github.com/qmk/qmk_firmware/blob/develop/docs/squeezing_avr.md -CONSOLE_ENABLE = no -COMMAND_ENABLE = no # Turned off for Space Cadet Shift and Caps Word -MOUSEKEY_ENABLE = no -SPACE_CADET_ENABLE = no # Implemented with tap dance -GRAVE_ESC_ENABLE = no -MUSIC_ENABLE = no -CAPS_WORD_ENABLE = yes -HOME_ROW_MODS_ENABLE = yes - -# VIA only support 4 layers by default -# Use "#define DYNAMIC_KEYMAP_LAYER_COUNT" in config.h to change the limit -VIA_ENABLE = no - -ifeq ($(strip $(OLED_ENABLE)), yes) - SRC += $(USER_PATH)/oled/oled.c -endif - -ifeq ($(strip $(TAP_DANCE_ENABLE)), yes) - SRC += $(USER_PATH)/keyrecords/tap_dances.c -endif - -ifeq ($(strip $(HOME_ROW_MODS_ENABLE)), yes) - # Define custom variable - OPT_DEFS += -DHOME_ROW_MODS_ENABLED -endif
\ No newline at end of file |