diff options
Diffstat (limited to 'keyboards/clueboard/17')
-rw-r--r-- | keyboards/clueboard/17/.noci | 0 | ||||
-rw-r--r-- | keyboards/clueboard/17/17.c | 43 | ||||
-rw-r--r-- | keyboards/clueboard/17/17.h | 3 | ||||
-rw-r--r-- | keyboards/clueboard/17/config.h | 23 | ||||
-rw-r--r-- | keyboards/clueboard/17/info.json | 65 | ||||
-rw-r--r-- | keyboards/clueboard/17/keymaps/default/keymap.c | 52 | ||||
-rw-r--r-- | keyboards/clueboard/17/keymaps/default/readme.md | 1 | ||||
-rw-r--r-- | keyboards/clueboard/17/readme.md | 16 | ||||
-rw-r--r-- | keyboards/clueboard/17/rules.mk | 2 |
9 files changed, 0 insertions, 205 deletions
diff --git a/keyboards/clueboard/17/.noci b/keyboards/clueboard/17/.noci deleted file mode 100644 index e69de29bb2..0000000000 --- a/keyboards/clueboard/17/.noci +++ /dev/null diff --git a/keyboards/clueboard/17/17.c b/keyboards/clueboard/17/17.c deleted file mode 100644 index 44b55a323b..0000000000 --- a/keyboards/clueboard/17/17.c +++ /dev/null @@ -1,43 +0,0 @@ -#include "17.h" - -int pwm_level; - -void backlight_init_ports(void) { - // Set C7 to output - DDRC |= (1<<7); - - // Initialize the timer - TC4H = 0x03; - OCR4C = 0xFF; - TCCR4A = 0b10000010; - TCCR4B = 0b00000001; -} - -void backlight_set(uint8_t level) { - // Determine the PWM level - switch (level) - { - case 0: - // 33% - pwm_level = 0x54; - break; - case 1: - // 66% - pwm_level = 0xA8; - break; - case 2: - // 100% - pwm_level = 0xFF; - break; - case 3: - // 0% - pwm_level = 0x00; - break; - default: - xprintf("Unknown level: %d\n", level); - } - - // Write the PWM level to the timer - TC4H = pwm_level >> 8; - OCR4A = 0xFF & pwm_level; -} diff --git a/keyboards/clueboard/17/17.h b/keyboards/clueboard/17/17.h deleted file mode 100644 index ef5b3f3e04..0000000000 --- a/keyboards/clueboard/17/17.h +++ /dev/null @@ -1,3 +0,0 @@ -#pragma once - -#include "quantum.h" diff --git a/keyboards/clueboard/17/config.h b/keyboards/clueboard/17/config.h deleted file mode 100644 index e2d0d1a23e..0000000000 --- a/keyboards/clueboard/17/config.h +++ /dev/null @@ -1,23 +0,0 @@ -/* -Copyright 2012 Jun Wako <wakojun@gmail.com> - -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 "config_common.h" - -/* Number of backlighting levels */ -#define BACKLIGHT_LEVELS 3 diff --git a/keyboards/clueboard/17/info.json b/keyboards/clueboard/17/info.json deleted file mode 100644 index 5ea4937e50..0000000000 --- a/keyboards/clueboard/17/info.json +++ /dev/null @@ -1,65 +0,0 @@ -{ - "manufacturer": "Clueboard", - "keyboard_name": "Clueboard 17% (Cluepad)", - "maintainer": "skullydazed", - "diode_direction": "COL2ROW", - "processor": "atmega32u4", - "features": { - "backlight": true, - "bootmagic": false, - "command": false, - "console": true, - "extrakey": true, - "midi": false, - "mousekey": true, - "nkro": true, - "rgblight": true, - "unicode": false - }, - "matrix_pins": { - "cols": ["F4", "E6", "B1", "D2"], - "rows": ["B0", "D3", "D5", "D4", "D6"] - }, - "rgblight": { - "animations": { - "all": true - }, - "brightness_steps": 17, - "hue_steps": 10, - "led_count": 4, - "pin": "F6", - "saturation_steps": 17 - }, - "url": "", - "usb": { - "device_version": "0.0.1", - "pid": "0x2312", - "vid": "0xC1ED" - }, - "layout_aliases": { - "LAYOUT": "LAYOUT_numpad_5x4" - }, - "layouts": { - "LAYOUT_numpad_5x4": { - "layout": [ - { "label": "Num Lock", "matrix": [0, 0], "w": 1, "x": 0, "y": 0 }, - { "label": "/", "matrix": [0, 1], "w": 1, "x": 1, "y": 0 }, - { "label": "*", "matrix": [0, 2], "w": 1, "x": 2, "y": 0 }, - { "label": "-", "matrix": [0, 3], "w": 1, "x": 3, "y": 0 }, - { "label": "7", "matrix": [1, 0], "w": 1, "x": 0, "y": 1 }, - { "label": "8", "matrix": [1, 1], "w": 1, "x": 1, "y": 1 }, - { "label": "9", "matrix": [1, 2], "w": 1, "x": 2, "y": 1 }, - { "label": "4", "matrix": [2, 0], "w": 1, "x": 0, "y": 2 }, - { "label": "5", "matrix": [2, 1], "w": 1, "x": 1, "y": 2 }, - { "label": "6", "matrix": [2, 2], "w": 1, "x": 2, "y": 2 }, - { "h": 2, "label": "+", "matrix": [1, 3], "w": 1, "x": 3, "y": 1 }, - { "label": "1", "matrix": [3, 0], "w": 1, "x": 0, "y": 3 }, - { "label": "2", "matrix": [3, 1], "w": 1, "x": 1, "y": 3 }, - { "label": "3", "matrix": [3, 2], "w": 1, "x": 2, "y": 3 }, - { "label": "0", "matrix": [4, 0], "w": 2, "x": 0, "y": 4 }, - { "label": ".", "matrix": [4, 2], "w": 1, "x": 2, "y": 4 }, - { "h": 2, "label": "Enter", "matrix": [3, 3], "w": 1, "x": 3, "y": 3 } - ] - } - } -} diff --git a/keyboards/clueboard/17/keymaps/default/keymap.c b/keyboards/clueboard/17/keymaps/default/keymap.c deleted file mode 100644 index 155eb6e6e3..0000000000 --- a/keyboards/clueboard/17/keymaps/default/keymap.c +++ /dev/null @@ -1,52 +0,0 @@ -#include QMK_KEYBOARD_H - -// Each layer gets a name for readability, which is then used in the keymap matrix below. -// The underscores don't mean anything - you can have a layer called STUFF or any other name. -// Layer names don't all need to be of the same length, obviously, and you can also skip them -// entirely and just use numbers. -#define _BL 0 -#define _FL 1 - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - /* Keymap _BL: (Base Layer) Default Layer - * .-------------------. - * |NL F| /| *| -| - * |-------------------| - * | 7| 8| 9| | - * |--------------| | - * | 4| 5| 6| +| - * |-------------------| - * | 1| 2| 3| | - * |--------------| | - * | 0| .| Ent| - * '-------------------' - */ - [_BL] = LAYOUT_numpad_5x4( - LT(_FL, KC_NLCK), KC_PSLS, KC_PAST, KC_PMNS, - KC_P7, KC_P8, KC_P9, - KC_P4, KC_P5, KC_P6, KC_PPLS, - KC_P1, KC_P2, KC_P3, - KC_P0, KC_PDOT, KC_PENT - ), - - /* Keymap _FL: Function Layer - * .-------------------. - * |NL F| | | Fn0| - * |-------------------| - * | | Fn4| | | - * |--------------| | - * | Fn3|BL_S| Fn2| Fn6| - * |-------------------| - * | | Fn5| | | - * |--------------| | - * | Fn1| | Fn7| - * '-------------------' - */ - [_FL] = LAYOUT_numpad_5x4( - LT(_FL, KC_NLCK), _______, _______, RGB_TOG, - _______, RGB_SAI, _______, - RGB_HUD, BL_STEP, RGB_HUI, RGB_VAI, - _______, RGB_SAD, _______, - RGB_MOD, _______, RGB_VAD - ) -}; diff --git a/keyboards/clueboard/17/keymaps/default/readme.md b/keyboards/clueboard/17/keymaps/default/readme.md deleted file mode 100644 index 4fc9092b39..0000000000 --- a/keyboards/clueboard/17/keymaps/default/readme.md +++ /dev/null @@ -1 +0,0 @@ -Default keymap for the Clueboard 17. diff --git a/keyboards/clueboard/17/readme.md b/keyboards/clueboard/17/readme.md deleted file mode 100644 index c183657f96..0000000000 --- a/keyboards/clueboard/17/readme.md +++ /dev/null @@ -1,16 +0,0 @@ -# Clueboard 17% (Formerly Cluepad) - -![Clueboard 17%](https://i.imgur.com/3XBC5c0.jpg) - -A basic 17 key numpad PCB. - -* Keyboard Maintainer: [Zach White](https://github.com/skullydazed) -* Hardware Supported: - * Cluepad PCB 1.0 -* Hardware Availability: [clueboard.co](https://clueboard.co/) - -Make example for this keyboard (after setting up your build environment): - - make clueboard/17:default - -See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). diff --git a/keyboards/clueboard/17/rules.mk b/keyboards/clueboard/17/rules.mk deleted file mode 100644 index d2e52d56b5..0000000000 --- a/keyboards/clueboard/17/rules.mk +++ /dev/null @@ -1,2 +0,0 @@ -# Build Options -BACKLIGHT_DRIVER = custom |