From 6cac2866d899a0349edd26fa156322353fa6aa45 Mon Sep 17 00:00:00 2001 From: Christoph Cullmann Date: Sat, 15 Jun 2024 14:42:47 +0200 Subject: no totem around any longer --- totem/keymaps/default/keymap.c | 40 ---------------------------------------- 1 file changed, 40 deletions(-) delete mode 100644 totem/keymaps/default/keymap.c (limited to 'totem/keymaps/default/keymap.c') diff --git a/totem/keymaps/default/keymap.c b/totem/keymaps/default/keymap.c deleted file mode 100644 index 9c452be..0000000 --- a/totem/keymaps/default/keymap.c +++ /dev/null @@ -1,40 +0,0 @@ -/* - ▀▀▀▀▀ ▀▀▀▀▀ ▀▀█▀▀ - ▄▀▀▀▄ ▄ ▄▀▀▀▄ ▄ ▄▀▀▀▄ █ ▄▀▀▀▄ - █ █ █ █ █ █ █ █ █ █ █ - ▀▀▀ █ ▀▀▀ █ ▀▀▀ ▀ ▀▀▀ - █ ▄▄▄█▄▄▄ █ █ - ▀ █ █ █ █▄█ - ▀▀▀▀▀ █ █ █ ▀ - ▀ ▀ ▀ D E F A U L T - -▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ -*/ - -#include QMK_KEYBOARD_H - -#include "totem.h" - -// Returns true if `pos` on the left hand of the keyboard, false if right. -static bool on_left_hand(keypos_t pos) { - // works not really on planck for bottom row, but we handle that differently - return pos.row < MATRIX_ROWS / 2; -} - -// layout helper macro, we just use 34 keys -#undef LAYOUT -#define LAYOUT(\ -K00, K01, K02, K03, K04, K05, K06, K07, K08, K09,\ -K10, K11, K12, K13, K14, K15, K16, K17, K18, K19,\ -K20, K21, K22, K23, K24, K25, K26, K27, K28, K29,\ - K30, K31, K32, K33\ -)\ -LAYOUT_split_3x5_3_1(\ - K00, K01, K02, K03, K04, K05, K06, K07, K08, K09,\ - K10, K11, K12, K13, K14, K15, K16, K17, K18, K19,\ -KC_NO, K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, KC_NO,\ - KC_NO, K30, K31, K32, K33, KC_NO\ -) - -// our shared 34 keys keymap -#include "../../../common/keymap.h" -- cgit v1.2.3