aboutsummaryrefslogtreecommitdiff
path: root/keyboards/clueboard/66/rev1
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/clueboard/66/rev1')
-rw-r--r--keyboards/clueboard/66/rev1/config.h59
-rw-r--r--keyboards/clueboard/66/rev1/rev1.h8
-rw-r--r--keyboards/clueboard/66/rev1/rules.mk24
3 files changed, 70 insertions, 21 deletions
diff --git a/keyboards/clueboard/66/rev1/config.h b/keyboards/clueboard/66/rev1/config.h
index 210718d56..a35c0d0f6 100644
--- a/keyboards/clueboard/66/rev1/config.h
+++ b/keyboards/clueboard/66/rev1/config.h
@@ -1,28 +1,60 @@
1#ifndef CLUEBOARD_66_REV1_CONFIG_H 1#pragma once
2#define CLUEBOARD_66_REV1_CONFIG_H
3 2
4#include "config_common.h" 3#include "config_common.h"
5 4
5/* USB Device descriptor parameter */
6#define VENDOR_ID 0xC1ED
6#define PRODUCT_ID 0x2301 7#define PRODUCT_ID 0x2301
7#define DEVICE_VER 0x0003 8#define DEVICE_VER 0x0003
9#define MANUFACTURER Clueboard
10#define PRODUCT Clueboard
11#define DESCRIPTION QMK keyboard firmware for Clueboard
8 12
9/* key matrix size */ 13/* key matrix size
14 */
10#define MATRIX_ROWS 5 15#define MATRIX_ROWS 5
11#define MATRIX_COLS 16 16#define MATRIX_COLS 16
12 17
13// ROWS: Top to bottom, COLS: Left to right 18/* ROWS: Top to bottom, COLS: Left to right
14/* Column pin configuration 19 */
15* col: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
16* pin: B3 F1 F4 F5 F6 C7 C6 B6 B5 B4 D7 D6 D4 F7 B0 B1
17*/
18#define MATRIX_COL_PINS { B3, F1, F4, F5, F6, C7, C6, B6, B5, B4, D7, D6, D4, F7, B0, B1 } 20#define MATRIX_COL_PINS { B3, F1, F4, F5, F6, C7, C6, B6, B5, B4, D7, D6, D4, F7, B0, B1 }
19/* Row pin configuration
20* row: 0 1 2 3 4
21* pin: D1 D0 D2 D5 D3
22*/
23#define MATRIX_ROW_PINS { D1, D0, D2, D5, D3 } 21#define MATRIX_ROW_PINS { D1, D0, D2, D5, D3 }
24#define UNUSED_PINS 22#define UNUSED_PINS
25 23
24/* COL2ROW or ROW2COL */
25#define DIODE_DIRECTION COL2ROW
26
27/* Set 0 if debouncing isn't needed */
28#define DEBOUNCING_DELAY 5
29
30/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
31#define LOCKING_SUPPORT_ENABLE
32/* Locking resynchronize hack */
33#define LOCKING_RESYNC_ENABLE
34
35/* key combination for command */
36#define IS_COMMAND() ( \
37 keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
38)
39
40/*
41 * Feature disable options
42 * These options are also useful to firmware size reduction.
43 */
44
45/* disable debug print */
46//#define NO_DEBUG
47
48/* disable print */
49//#define NO_PRINT
50
51/* disable action features */
52//#define NO_ACTION_LAYER
53//#define NO_ACTION_TAPPING
54//#define NO_ACTION_ONESHOT
55//#define NO_ACTION_MACRO
56//#define NO_ACTION_FUNCTION
57
26/* Underlight configuration 58/* Underlight configuration
27 */ 59 */
28#define RGB_DI_PIN B2 60#define RGB_DI_PIN B2
@@ -31,6 +63,3 @@
31#define RGBLIGHT_HUE_STEP 10 63#define RGBLIGHT_HUE_STEP 10
32#define RGBLIGHT_SAT_STEP 17 64#define RGBLIGHT_SAT_STEP 17
33#define RGBLIGHT_VAL_STEP 17 65#define RGBLIGHT_VAL_STEP 17
34
35
36#endif
diff --git a/keyboards/clueboard/66/rev1/rev1.h b/keyboards/clueboard/66/rev1/rev1.h
index 58694fcb9..8a5e9bf68 100644
--- a/keyboards/clueboard/66/rev1/rev1.h
+++ b/keyboards/clueboard/66/rev1/rev1.h
@@ -1,7 +1,6 @@
1#ifndef REV1_H 1#pragma once
2#define REV1_H
3 2
4#include "../66.h" 3#include "quantum.h"
5 4
6/* Clueboard matrix layout 5/* Clueboard matrix layout
7 * ,-----------------------------------------------------------. ,---. 6 * ,-----------------------------------------------------------. ,---.
@@ -43,7 +42,6 @@
43 { k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3A, k3B, k3C, k3D, k3E }, \ 42 { k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3A, k3B, k3C, k3D, k3E }, \
44 { k40, k41, k42, k43, KC_NO, k45, k46, KC_NO, KC_NO, k49, k4A, k4B, k4C, k4D, k4E, k4F } \ 43 { k40, k41, k42, k43, KC_NO, k45, k46, KC_NO, KC_NO, k49, k4A, k4B, k4C, k4D, k4E, k4F } \
45} 44}
46#define KEYMAP LAYOUT
47 45
48#define LAYOUT_66_ansi( \ 46#define LAYOUT_66_ansi( \
49 k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B, k0C, k0E, k0F, \ 47 k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B, k0C, k0E, k0F, \
@@ -73,4 +71,4 @@
73 { k40, k41, k42, KC_NO, KC_NO, KC_NO, k46, KC_NO, KC_NO, KC_NO, k4A, k4B, k4C, k4D, k4E, k4F } \ 71 { k40, k41, k42, KC_NO, KC_NO, KC_NO, k46, KC_NO, KC_NO, KC_NO, k4A, k4B, k4C, k4D, k4E, k4F } \
74} 72}
75 73
76#endif 74#define KEYMAP LAYOUT
diff --git a/keyboards/clueboard/66/rev1/rules.mk b/keyboards/clueboard/66/rev1/rules.mk
index f84561674..96d4125ac 100644
--- a/keyboards/clueboard/66/rev1/rules.mk
+++ b/keyboards/clueboard/66/rev1/rules.mk
@@ -1 +1,23 @@
1BACKLIGHT_ENABLE = no \ No newline at end of file 1LAYOUTS = 66_ansi 66_iso
2MCU = atmega32u4
3F_CPU = 16000000
4ARCH = AVR8
5F_USB = $(F_CPU)
6OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
7OPT_DEFS += -DBOOTLOADER_SIZE=4096
8
9# Build Options
10# comment out to disable the options.
11#
12BACKLIGHT_ENABLE = no
13BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000)
14MOUSEKEY_ENABLE = yes # Mouse keys(+4700)
15EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
16CONSOLE_ENABLE = yes # Console for debug(+400)
17COMMAND_ENABLE = no # Commands for debug and configuration
18NKRO_ENABLE = yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
19AUDIO_ENABLE = no
20RGBLIGHT_ENABLE = no # Enable keyboard underlight functionality
21MIDI_ENABLE = no # MIDI controls
22UNICODE_ENABLE = no # Unicode
23BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID