diff options
Diffstat (limited to 'keyboards/keebwerk/mega/ansi')
-rwxr-xr-x | keyboards/keebwerk/mega/ansi/ansi.c | 59 | ||||
-rwxr-xr-x | keyboards/keebwerk/mega/ansi/ansi.h | 38 | ||||
-rwxr-xr-x | keyboards/keebwerk/mega/ansi/info.json | 16 | ||||
-rwxr-xr-x | keyboards/keebwerk/mega/ansi/keymaps/default/readme.md | 7 | ||||
-rw-r--r-- | keyboards/keebwerk/mega/ansi/keymaps/jesusvallejo/readme.md | 9 | ||||
-rw-r--r-- | keyboards/keebwerk/mega/ansi/keymaps/jesusvallejo/rules.mk | 1 | ||||
-rwxr-xr-x | keyboards/keebwerk/mega/ansi/keymaps/via/readme.md | 7 | ||||
-rwxr-xr-x | keyboards/keebwerk/mega/ansi/keymaps/via/rules.mk | 1 | ||||
-rwxr-xr-x | keyboards/keebwerk/mega/ansi/rules.mk | 35 |
9 files changed, 0 insertions, 173 deletions
diff --git a/keyboards/keebwerk/mega/ansi/ansi.c b/keyboards/keebwerk/mega/ansi/ansi.c deleted file mode 100755 index 532cdec9aa..0000000000 --- a/keyboards/keebwerk/mega/ansi/ansi.c +++ /dev/null @@ -1,59 +0,0 @@ -/* Copyright 2020 Yiancar - * - * 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/>. - */ -#ifndef RGB_BACKLIGHT_KW_MEGA -#error RGB_BACKLIGHT_KW_MEGA not defined, recheck config.h -#endif - -#include "ansi.h" -#include "drivers/led/issi/is31fl3733.h" - -uint8_t R = 0; -uint8_t G = 0; -uint8_t B = 0; - -/* Indicator LEDs are part of the LED driver - * Here the LEDs are used to indicate layers 1, 2 and 3. - * Below there is a commented out example of how to use the indicators for capslock. - */ -// bool led_update_kb(led_t led_state) { -// bool res = led_update_user(led_state); -// if(res) { -// if (led_state.caps_lock) { -// G = 255; -// } else { -// G = 0; -// } -// IS31FL3733_set_color( 6+64-1, R, G, B ); -// } -// return res; -// } - -__attribute__((weak)) layer_state_t layer_state_set_user(layer_state_t state) { - R = 0; - G = 0; - B = 0; - if (IS_LAYER_ON_STATE(layer_state, 1)) { - G = 255; - } - if (IS_LAYER_ON_STATE(layer_state, 2)) { - R = 255; - } - if (IS_LAYER_ON_STATE(layer_state, 3)) { - B = 255; - } - IS31FL3733_set_color( 6+64-1, R, G, B ); - return state; -} diff --git a/keyboards/keebwerk/mega/ansi/ansi.h b/keyboards/keebwerk/mega/ansi/ansi.h deleted file mode 100755 index daba362731..0000000000 --- a/keyboards/keebwerk/mega/ansi/ansi.h +++ /dev/null @@ -1,38 +0,0 @@ -/* Copyright 2020 Yiancar - * - * 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 XXX KC_NO - -#include "quantum.h" -#include "../wilba_tech/wt_rgb_backlight_keycodes.h" -#include "via.h" - -// This a shortcut to help you visually see your layout. - -#define LAYOUT_65_ansi( \ - 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, K2C, K1E, \ - K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2D, K2E, \ - K30, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3D, K3E, \ - K40, K41, K42, K46, K49, K4A, K4B, K4C, K4D, K4E \ -) { \ - { 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, XXX, K1E }, \ - { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, K2E }, \ - { K30, XXX, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3D, K3E }, \ - { K40, K41, K42, XXX, XXX, XXX, K46, XXX, XXX, K49, K4A, K4B, K4C, K4D, K4E } \ -} diff --git a/keyboards/keebwerk/mega/ansi/info.json b/keyboards/keebwerk/mega/ansi/info.json deleted file mode 100755 index 852fad11a4..0000000000 --- a/keyboards/keebwerk/mega/ansi/info.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "keyboard_name": "Keebwerk Mega ANSI", - "manufacturer": "Yiancar-Designs", - "url": "", - "maintainer": "Yiancar", - "usb": { - "vid": "0x8968", - "pid": "0x4B41", - "device_version": "0.0.1" - }, - "layouts": { - "LAYOUT_65_ansi": { - "layout": [{"label":"Esc", "x":0, "y":0}, {"label":"!", "x":1, "y":0}, {"label":"@", "x":2, "y":0}, {"label":"#", "x":3, "y":0}, {"label":"$", "x":4, "y":0}, {"label":"%", "x":5, "y":0}, {"label":"^", "x":6, "y":0}, {"label":"&", "x":7, "y":0}, {"label":"*", "x":8, "y":0}, {"label":"(", "x":9, "y":0}, {"label":")", "x":10, "y":0}, {"label":"_", "x":11, "y":0}, {"label":"+", "x":12, "y":0}, {"label":"Backspace", "x":13, "y":0, "w":2}, {"label":"Home", "x":15, "y":0}, {"label":"Tab", "x":0, "y":1, "w":1.5}, {"label":"Q", "x":1.5, "y":1}, {"label":"W", "x":2.5, "y":1}, {"label":"E", "x":3.5, "y":1}, {"label":"R", "x":4.5, "y":1}, {"label":"T", "x":5.5, "y":1}, {"label":"Y", "x":6.5, "y":1}, {"label":"U", "x":7.5, "y":1}, {"label":"I", "x":8.5, "y":1}, {"label":"O", "x":9.5, "y":1}, {"label":"P", "x":10.5, "y":1}, {"label":"{", "x":11.5, "y":1}, {"label":"}", "x":12.5, "y":1}, {"label":"|", "x":13.5, "y":1, "w":1.5}, {"label":"Page Up", "x":15, "y":1}, {"label":"Caps Lock", "x":0, "y":2, "w":1.75}, {"label":"A", "x":1.75, "y":2}, {"label":"S", "x":2.75, "y":2}, {"label":"D", "x":3.75, "y":2}, {"label":"F", "x":4.75, "y":2}, {"label":"G", "x":5.75, "y":2}, {"label":"H", "x":6.75, "y":2}, {"label":"J", "x":7.75, "y":2}, {"label":"K", "x":8.75, "y":2}, {"label":"L", "x":9.75, "y":2}, {"label":":", "x":10.75, "y":2}, {"label":"\"", "x":11.75, "y":2}, {"label":"Enter", "x":12.75, "y":2, "w":2.25}, {"label":"Page Down", "x":15, "y":2}, {"label":"Shift", "x":0, "y":3, "w":2.25}, {"label":"Z", "x":2.25, "y":3}, {"label":"X", "x":3.25, "y":3}, {"label":"C", "x":4.25, "y":3}, {"label":"V", "x":5.25, "y":3}, {"label":"B", "x":6.25, "y":3}, {"label":"N", "x":7.25, "y":3}, {"label":"M", "x":8.25, "y":3}, {"label":"<", "x":9.25, "y":3}, {"label":">", "x":10.25, "y":3}, {"label":"?", "x":11.25, "y":3}, {"label":"Shift", "x":12.25, "y":3, "w":1.75}, {"label":"\u2191", "x":14, "y":3}, {"label":"End", "x":15, "y":3}, {"label":"Ctrl", "x":0, "y":4, "w":1.25}, {"label":"Win", "x":1.25, "y":4, "w":1.25}, {"label":"Alt", "x":2.5, "y":4, "w":1.25}, {"x":3.75, "y":4, "w":6.25}, {"label":"Alt", "x":10, "y":4}, {"label":"Fn", "x":11, "y":4}, {"label":"Ctrl", "x":12, "y":4}, {"label":"\u2190", "x":13, "y":4}, {"label":"\u2193", "x":14, "y":4}, {"label":"\u2192", "x":15, "y":4}] - } - } -} diff --git a/keyboards/keebwerk/mega/ansi/keymaps/default/readme.md b/keyboards/keebwerk/mega/ansi/keymaps/default/readme.md deleted file mode 100755 index ec43a9e10f..0000000000 --- a/keyboards/keebwerk/mega/ansi/keymaps/default/readme.md +++ /dev/null @@ -1,7 +0,0 @@ -# The default keymap for ANSI Keebwerk Mega. VIA support disabled. - -![Layer 0](https://i.imgur.com/RcuLofrl.png) - -![Layer 1](https://i.imgur.com/NJOORcdl.png) - -Default layer is normal ANSI 65% diff --git a/keyboards/keebwerk/mega/ansi/keymaps/jesusvallejo/readme.md b/keyboards/keebwerk/mega/ansi/keymaps/jesusvallejo/readme.md deleted file mode 100644 index 5910222a46..0000000000 --- a/keyboards/keebwerk/mega/ansi/keymaps/jesusvallejo/readme.md +++ /dev/null @@ -1,9 +0,0 @@ -# The jesusvallejo keymap for ANSI Keebwerk Mega. VIA support enabled. - -![Layer 0](https://i.imgur.com/RcuLofrl.png) - -![Layer 1](https://i.imgur.com/NJOORcdl.png) - -- Default layer is normal ANSI 65%. -- Leds slide and blink bootup animation. -- Leds fade Caps Lock animation. diff --git a/keyboards/keebwerk/mega/ansi/keymaps/jesusvallejo/rules.mk b/keyboards/keebwerk/mega/ansi/keymaps/jesusvallejo/rules.mk deleted file mode 100644 index 1e5b99807c..0000000000 --- a/keyboards/keebwerk/mega/ansi/keymaps/jesusvallejo/rules.mk +++ /dev/null @@ -1 +0,0 @@ -VIA_ENABLE = yes diff --git a/keyboards/keebwerk/mega/ansi/keymaps/via/readme.md b/keyboards/keebwerk/mega/ansi/keymaps/via/readme.md deleted file mode 100755 index e78684fa3d..0000000000 --- a/keyboards/keebwerk/mega/ansi/keymaps/via/readme.md +++ /dev/null @@ -1,7 +0,0 @@ -# The default keymap for ANSI Keebwerk Mega. VIA support enabled. - -![Layer 0](https://i.imgur.com/RcuLofrl.png) - -![Layer 1](https://i.imgur.com/NJOORcdl.png) - -Default layer is normal ANSI 65% diff --git a/keyboards/keebwerk/mega/ansi/keymaps/via/rules.mk b/keyboards/keebwerk/mega/ansi/keymaps/via/rules.mk deleted file mode 100755 index 1e5b99807c..0000000000 --- a/keyboards/keebwerk/mega/ansi/keymaps/via/rules.mk +++ /dev/null @@ -1 +0,0 @@ -VIA_ENABLE = yes diff --git a/keyboards/keebwerk/mega/ansi/rules.mk b/keyboards/keebwerk/mega/ansi/rules.mk deleted file mode 100755 index 53de2cd2d6..0000000000 --- a/keyboards/keebwerk/mega/ansi/rules.mk +++ /dev/null @@ -1,35 +0,0 @@ -# MCU name -MCU = STM32F303 - -# Bootloader selection -BOOTLOADER = stm32-dfu - -# Do not put the microcontroller into power saving mode -# when we get USB suspend event. We want it to keep updating -# backlight effects. -OPT_DEFS += -DNO_SUSPEND_POWER_DOWN - -# 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 = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -NO_USB_STARTUP_CHECK = no # Disable initialization only when usb is plugged in - -CIE1931_CURVE = yes - -LAYOUTS = 65_ansi - -# project specific files -SRC += keyboards/wilba_tech/wt_main.c \ - keyboards/wilba_tech/wt_rgb_backlight.c \ - drivers/led/issi/is31fl3733.c \ - quantum/color.c -QUANTUM_LIB_SRC += i2c_master.c |