summaryrefslogtreecommitdiff
path: root/users/ibnuda
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2023-11-26 18:36:45 +0000
committerGitHub <noreply@github.com>2023-11-27 05:36:45 +1100
commit1ed03f498fa204178c2696c510ac6a2cd8524e2d (patch)
treeb97c1f983b7e4b57c007d0feedadd3ad3e39062b /users/ibnuda
parent4908d4b1ca260efecf3613e6517aa3a6f2034876 (diff)
Remove userspace keymaps (#22544)
Diffstat (limited to 'users/ibnuda')
-rw-r--r--users/ibnuda/abstraction.c17
-rw-r--r--users/ibnuda/abstraction.h117
-rw-r--r--users/ibnuda/combo.c1
-rw-r--r--users/ibnuda/combo.h96
-rw-r--r--users/ibnuda/config.h5
-rw-r--r--users/ibnuda/ibnuda.c1
-rw-r--r--users/ibnuda/ibnuda.h5
-rw-r--r--users/ibnuda/readme.md14
-rw-r--r--users/ibnuda/rules.mk8
-rw-r--r--users/ibnuda/wrapper.h8
10 files changed, 0 insertions, 272 deletions
diff --git a/users/ibnuda/abstraction.c b/users/ibnuda/abstraction.c
deleted file mode 100644
index 757248a260..0000000000
--- a/users/ibnuda/abstraction.c
+++ /dev/null
@@ -1,17 +0,0 @@
-/* Copyright 2021 Ibnu D. Aji
- *
- * 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 "abstraction.h" \ No newline at end of file
diff --git a/users/ibnuda/abstraction.h b/users/ibnuda/abstraction.h
deleted file mode 100644
index 499d512dfc..0000000000
--- a/users/ibnuda/abstraction.h
+++ /dev/null
@@ -1,117 +0,0 @@
-/* Copyright 2021 Ibnu D. Aji
- *
- * 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"
-
-enum {
- _BASE,
- _LOWER,
- _RAISE,
- _ADJUST,
-};
-
-// keycode abstraction
-// ABC:
-// A: L = left
-// R = right
-// B: U = upper row
-// M = middle row
-// L = lower row
-// C: P = pinky finger
-// R = ring finger
-// M = middle finger
-// I = index finger
-// II = inner index finger
-#define LUP KC_Q
-#define LUR KC_V
-#define LUM KC_C
-#define LUI KC_P
-#define LUII KC_B
-#define LMP KC_R
-#define LMR KC_S
-#define LMM KC_T
-#define LMI KC_H
-#define LMII KC_D
-#define LLP KC_QUOT
-#define LLR KC_J
-#define LLM KC_G
-#define LLI KC_K
-#define LLII KC_X
-
-#define RUP KC_Z
-#define RUR KC_Y
-#define RUM KC_U
-#define RUI KC_L
-#define RUII KC_DOT
-#define RMP KC_O
-#define RMR KC_I
-#define RMM KC_A
-#define RMI KC_N
-#define RMII KC_F
-#define RLP KC_SLSH
-#define RLR KC_SCLN
-#define RLM KC_W
-#define RLI KC_M
-#define RLII KC_COMM
-
-
-// thumb keys.
-#define TRAISE TG(_RAISE)
-#define AL_ENT ALT_T(KC_ENT)
-#define SF_BSPC SFT_T(KC_BSPC)
-#define CT_ESC CTL_T(KC_ESC)
-
-// home row mods.
-#define CTLR LCTL_T(LMR)
-#define CTRR RCTL_T(RMR)
-#define CT_LEFT LCTL_T(KC_LEFT)
-#define CT_SIX RCTL_T(KC_6)
-
-#define SHLP LSFT_T(LMP)
-#define SHRP RSFT_T(RMP)
-#define SH_HASH LSFT_T(KC_HASH)
-#define SH_ZERO RSFT_T(KC_0)
-
-#define ALLM LALT_T(LMM)
-#define ALRM RALT_T(RMM)
-#define AL_DOWN LALT_T(KC_DOWN)
-#define AL_FIVE RALT_T(KC_5)
-
-#define GULII RGUI_T(LMII)
-#define GURII LGUI_T(RMII)
-#define GU_DLR RGUI_T(KC_DLR)
-#define GU_EQL LGUI_T(KC_EQL)
-
-// layer toggle.
-#define LW_E LT(_LOWER, KC_E)
-#define RS_SPC LT(_RAISE, KC_SPC)
-
-#define ADDDD MO(_ADJUST)
-
-// common shortcuts for windows and linux that i use.
-#define NXTTAB LCTL(KC_PGDN)
-#define PRVTAB LCTL(KC_PGUP)
-#define UPTAB LCTL(LSFT(KC_PGUP))
-#define DNTAB LCTL(LSFT(KC_PGDN))
-#define NXTWIN LALT(KC_TAB)
-#define PRVWIN LALT(LSFT(KC_TAB))
-#define CALDL LCTL(LALT(KC_DEL))
-#define TSKMGR LCTL(LSFT(KC_ESC))
-#define EXPLR LGUI(KC_E)
-#define LCKGUI LGUI(KC_L)
-#define CONPST LSFT(KC_INS)
-#define CLSGUI LALT(KC_F4)
diff --git a/users/ibnuda/combo.c b/users/ibnuda/combo.c
deleted file mode 100644
index a48b0aae37..0000000000
--- a/users/ibnuda/combo.c
+++ /dev/null
@@ -1 +0,0 @@
-#include "combo.h"
diff --git a/users/ibnuda/combo.h b/users/ibnuda/combo.h
deleted file mode 100644
index c4fd5f12ed..0000000000
--- a/users/ibnuda/combo.h
+++ /dev/null
@@ -1,96 +0,0 @@
-#pragma once
-#include "quantum.h"
-
-#include "abstraction.h"
-
-// enum for combos.
-enum combos {
- // left hand combinations.
- R_U_PINKY_RING,
- R_U_RING_MIDDLE,
- R_U_RING_INDEX,
- R_U_MIDDLE_INDEX,
- R_U_MIDDLE_INNER_INDEX,
- R_U_INDEX_INNER_INDEX,
- R_L_PINKY_RING,
- R_L_RING_MIDDLE,
- R_L_RING_INDEX,
- R_L_MIDDLE_INDEX,
- R_L_INDEX_INNER_INDEX,
-
- // right hand combinations.
- L_U_PINKY_RING,
- L_U_RING_MIDDLE,
- L_U_RING_INDEX,
- L_U_MIDDLE_INDEX,
- L_U_MIDDLE_INNER_INDEX,
- L_U_INNER_INNER_INDEX,
- L_L_PINKY_RING,
- L_L_RING_MIDDLE,
- L_L_MIDDLE_INDEX,
- L_L_RING_INDEX,
- L_L_INDEX_INNER_INDEX,
-
- // both hands combinations.
- B_L_MIDDLE_MIDDLE,
-};
-
-// left hand combinations.
-const uint16_t PROGMEM lu_p_r_combo[] = {LUP, LUR, COMBO_END};
-const uint16_t PROGMEM lu_r_m_combo[] = {LUR, LUM, COMBO_END};
-const uint16_t PROGMEM lu_r_i_combo[] = {LUR, LUI, COMBO_END};
-const uint16_t PROGMEM lu_m_i_combo[] = {LUM, LUI, COMBO_END};
-const uint16_t PROGMEM lu_m_ii_combo[] = {LUM, LUII, COMBO_END};
-const uint16_t PROGMEM lu_i_ii_combo[] = {LUI, LUII, COMBO_END};
-const uint16_t PROGMEM ll_p_r_combo[] = {LLP, LLR, COMBO_END};
-const uint16_t PROGMEM ll_r_m_combo[] = {LLR, LLM, COMBO_END};
-const uint16_t PROGMEM ll_r_i_combo[] = {LLR, LLI, COMBO_END};
-const uint16_t PROGMEM ll_m_i_combo[] = {LLM, LLI, COMBO_END};
-const uint16_t PROGMEM ll_i_ii_combo[] = {LLI, LLII, COMBO_END};
-
-// right hand combinations.
-const uint16_t PROGMEM ru_p_r_combo[] = {RUP, RUR, COMBO_END};
-const uint16_t PROGMEM ru_r_m_combo[] = {RUR, RUM, COMBO_END};
-const uint16_t PROGMEM ru_r_i_combo[] = {RUR, RUI, COMBO_END};
-const uint16_t PROGMEM ru_m_i_combo[] = {RUM, RUI, COMBO_END};
-const uint16_t PROGMEM ru_m_ii_combo[] = {RUM, RUII, COMBO_END};
-const uint16_t PROGMEM ru_i_ii_combo[] = {RUI, RUII, COMBO_END};
-const uint16_t PROGMEM rl_p_r_combo[] = {RLP, RLR, COMBO_END};
-const uint16_t PROGMEM rl_r_m_combo[] = {RLR, RLM, COMBO_END};
-const uint16_t PROGMEM rl_r_i_combo[] = {RLR, RLI, COMBO_END};
-const uint16_t PROGMEM rl_m_i_combo[] = {RLM, RLI, COMBO_END};
-const uint16_t PROGMEM rl_i_ii_combo[] = {RLI, RLII, COMBO_END};
-
-// both hand combinations.
-const uint16_t PROGMEM bl_m_m_combo[] = {LLM, RLM, COMBO_END};
-
-combo_t key_combos[] = {
- // left hand combinations.
- [R_U_PINKY_RING] = COMBO(lu_p_r_combo, KC_TAB),
- [R_U_RING_MIDDLE] = COMBO(lu_r_m_combo, KC_QUES),
- [R_U_RING_INDEX] = COMBO(lu_r_i_combo, PRVTAB),
- [R_U_MIDDLE_INDEX] = COMBO(lu_m_i_combo, KC_UNDS),
- [R_U_MIDDLE_INNER_INDEX] = COMBO(lu_m_ii_combo, KC_ENT),
- [R_U_INDEX_INNER_INDEX] = COMBO(lu_i_ii_combo, KC_PIPE),
- [R_L_PINKY_RING] = COMBO(ll_p_r_combo, KC_ENT),
- [R_L_RING_MIDDLE] = COMBO(ll_r_m_combo, LCTL(KC_W)),
- [R_L_RING_INDEX] = COMBO(ll_r_i_combo, KC_TAB),
- [R_L_MIDDLE_INDEX] = COMBO(ll_m_i_combo, KC_DEL),
- [R_L_INDEX_INNER_INDEX] = COMBO(ll_i_ii_combo, KC_TILD),
-
- // right hand combinations.
- [L_U_PINKY_RING] = COMBO(ru_p_r_combo, KC_BSPC),
- [L_U_RING_MIDDLE] = COMBO(ru_r_m_combo, KC_SLSH),
- [L_U_RING_INDEX] = COMBO(ru_r_i_combo, NXTTAB),
- [L_U_MIDDLE_INDEX] = COMBO(ru_m_i_combo, KC_MINS),
- [L_U_MIDDLE_INNER_INDEX] = COMBO(ru_m_ii_combo, KC_ENT),
- [L_U_INNER_INNER_INDEX] = COMBO(ru_i_ii_combo, KC_BSLS),
- [L_L_PINKY_RING] = COMBO(rl_p_r_combo, KC_BSLS),
- [L_L_RING_MIDDLE] = COMBO(rl_r_m_combo, KC_APP),
- [L_L_RING_INDEX] = COMBO(rl_r_i_combo, LSFT(KC_TAB)),
- [L_L_MIDDLE_INDEX] = COMBO(rl_m_i_combo, KC_DEL),
- [L_L_INDEX_INNER_INDEX] = COMBO(rl_i_ii_combo, KC_GRV),
-
- // both hand combinations.
- [B_L_MIDDLE_MIDDLE] = COMBO(bl_m_m_combo, KC_ENT),
-};
diff --git a/users/ibnuda/config.h b/users/ibnuda/config.h
deleted file mode 100644
index 957d24a04c..0000000000
--- a/users/ibnuda/config.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#pragma once
-
-#define COMBO_TERM 50
-
-#define PERMISSIVE_HOLD
diff --git a/users/ibnuda/ibnuda.c b/users/ibnuda/ibnuda.c
deleted file mode 100644
index 8d5bd04ba0..0000000000
--- a/users/ibnuda/ibnuda.c
+++ /dev/null
@@ -1 +0,0 @@
-#include "ibnuda.h"
diff --git a/users/ibnuda/ibnuda.h b/users/ibnuda/ibnuda.h
deleted file mode 100644
index 6047b546ff..0000000000
--- a/users/ibnuda/ibnuda.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#pragma once
-#include "quantum.h"
-
-#include "abstraction.h"
-#include "wrapper.h"
diff --git a/users/ibnuda/readme.md b/users/ibnuda/readme.md
deleted file mode 100644
index 24b8d6ba34..0000000000
--- a/users/ibnuda/readme.md
+++ /dev/null
@@ -1,14 +0,0 @@
-Copyright 2020 Ibnu D. Aji <iaji@siskam.link> @ibnuda
-
-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/>.
diff --git a/users/ibnuda/rules.mk b/users/ibnuda/rules.mk
deleted file mode 100644
index c4b096c4a0..0000000000
--- a/users/ibnuda/rules.mk
+++ /dev/null
@@ -1,8 +0,0 @@
-COMBO_ENABLE = yes
-CONSOLE_ENABLE = yes
-
-SRC += ibnuda.c
-
-ifeq ($(strip $(COMBO_ENABLE)), yes)
- SRC += combo.c
-endif
diff --git a/users/ibnuda/wrapper.h b/users/ibnuda/wrapper.h
deleted file mode 100644
index c85be9d6b1..0000000000
--- a/users/ibnuda/wrapper.h
+++ /dev/null
@@ -1,8 +0,0 @@
-#pragma once
-
-#if (!defined(LAYOUT) && defined(KEYMAP))
-# define LAYOUT KEYMAP
-#endif
-
-#define KEYMAP_wrapper(...) LAYOUT(__VA_ARGS__)
-#define LAYOUT_wrapper(...) LAYOUT(__VA_ARGS__)