summaryrefslogtreecommitdiffstats
path: root/keyboards/takashicompany/endzone34/endzone34.c
diff options
context:
space:
mode:
authorlokher <lokher@gmail.com>2022-09-13 11:24:05 +0800
committerlokher <lokher@gmail.com>2022-09-13 11:24:05 +0800
commit9581289745736ce068a1040f44cec37a2ca8830d (patch)
tree24f644715a5fd6cc4d804d9604fb094307808b1b /keyboards/takashicompany/endzone34/endzone34.c
parentfe13cedf8c09fa34d5cec4e4c624738095176625 (diff)
Remove non-Keychron keyboards
Diffstat (limited to 'keyboards/takashicompany/endzone34/endzone34.c')
-rw-r--r--keyboards/takashicompany/endzone34/endzone34.c67
1 files changed, 0 insertions, 67 deletions
diff --git a/keyboards/takashicompany/endzone34/endzone34.c b/keyboards/takashicompany/endzone34/endzone34.c
deleted file mode 100644
index f96c6b3f35..0000000000
--- a/keyboards/takashicompany/endzone34/endzone34.c
+++ /dev/null
@@ -1,67 +0,0 @@
-/* Copyright 2021 takashicompany
- *
- * 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 "endzone34.h"
-
-oled_rotation_t oled_init_kb(oled_rotation_t rotation) {
- return OLED_ROTATION_270;
-}
-
-//Variable that stores the number of times the key was pressed
-static uint16_t press_count = 0;
-
-bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
-
- // Increment the counter when a key is pressed
- if (record->event.pressed) {
- press_count++;
- }
-
- return process_record_user(keycode, record);
-}
-
-#ifdef OLED_ENABLE
-bool oled_task_kb(void) {
-
- if (!oled_task_user()) { return false; }
-
- static const char PROGMEM my_logo[] = {
- 0x00, 0x00, 0x00, 0xff, 0x01, 0x01, 0x39, 0x29, 0x29, 0x29, 0x29, 0x29, 0xe9, 0x0f, 0x00, 0x00,
- 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0xf8, 0x08, 0xf8, 0x00, 0x00, 0x00, 0x00,
- 0x80, 0x80, 0x80, 0xbf, 0xa0, 0xa0, 0xa7, 0xa5, 0xa5, 0xa5, 0xa5, 0x25, 0x25, 0x3c, 0x00, 0x1f,
- 0x20, 0x3e, 0x02, 0x3e, 0x20, 0x1f, 0x20, 0x2e, 0x2a, 0x2e, 0x20, 0x1f, 0x00, 0x00, 0x00, 0x00,
- 0x87, 0x44, 0x24, 0x14, 0x0c, 0x00, 0xc0, 0xa0, 0x90, 0x88, 0x87, 0x00, 0xe0, 0x10, 0xd0, 0x50,
- 0xd0, 0x10, 0xe0, 0x10, 0xd0, 0x50, 0xd0, 0x10, 0xe0, 0x10, 0xd0, 0x50, 0x50, 0x10, 0xf0, 0x00,
- 0x07, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x07, 0x00, 0x03, 0x04, 0x05, 0x05,
- 0x05, 0x04, 0x03, 0x04, 0x07, 0x00, 0x07, 0x04, 0x03, 0x04, 0x05, 0x05, 0x05, 0x05, 0x07, 0x00
- };
-
- oled_write_raw_P(my_logo, sizeof(my_logo));
- oled_set_cursor(0, 5);
-
- oled_write_ln_P(PSTR("Layer"), false);
- oled_write_ln(get_u8_str(get_highest_layer(layer_state), ' '), false);
-
- oled_write_ln_P(PSTR(" "), false);
- oled_write_ln_P(PSTR(" "), false);
-
- oled_write_ln_P(PSTR("Count"), false);
- oled_write_ln(get_u16_str(press_count, ' '), false);
-
- return false;
-
-}
-#endif