diff options
| author | Ohashi <64592982+oha-Ohashi@users.noreply.github.com> | 2021-01-15 15:27:21 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-14 22:27:21 -0800 |
| commit | 6009a915147daad866cdfbfc51c5d0c39e29b42a (patch) | |
| tree | e8d55e71e61e8fa58d445bc3cc002efdf7a5a251 | |
| parent | 84e2f1ec17f12234e6c795e3855914316812cd4d (diff) | |
| download | qmk_firmware-6009a915147daad866cdfbfc51c5d0c39e29b42a.tar.gz qmk_firmware-6009a915147daad866cdfbfc51c5d0c39e29b42a.zip | |
[Keyboard] Add cool836A 1_2 (#11467)
* 1st trial on 1_2
* remove keymaps/default/km_default.c
* fix cool836A.h
* fix keymap.c into 3x12
* rename to cool836a (not 'A')
* remove cool836A (not a)
* remove backslashes at keymap.c
Co-authored-by: Ryan <fauxpark@gmail.com>
* update keymap.c (add licence)
* Update keyboards/cool836a/keymaps/default/readme.md
removed "<br>" in line 2
Co-authored-by: Ryan <fauxpark@gmail.com>
* Update keyboards/cool836a/keymaps/default/readme.md
remove "<br>" in line 4
Co-authored-by: Ryan <fauxpark@gmail.com>
* Update keyboards/cool836a/keymaps/default/readme.md
remove "<br>" in line 8
Co-authored-by: Ryan <fauxpark@gmail.com>
* Update keyboards/cool836a/cool836a.h
remove cool836a.h line 30:36
Co-authored-by: Ryan <fauxpark@gmail.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
| -rw-r--r-- | keyboards/cool836a/config.h | 153 | ||||
| -rw-r--r-- | keyboards/cool836a/cool836a.c | 17 | ||||
| -rw-r--r-- | keyboards/cool836a/cool836a.h | 42 | ||||
| -rw-r--r-- | keyboards/cool836a/info.json | 19 | ||||
| -rw-r--r-- | keyboards/cool836a/keymaps/default/keymap.c | 41 | ||||
| -rw-r--r-- | keyboards/cool836a/keymaps/default/readme.md | 15 | ||||
| -rw-r--r-- | keyboards/cool836a/readme.md | 51 | ||||
| -rw-r--r-- | keyboards/cool836a/rules.mk | 22 |
8 files changed, 360 insertions, 0 deletions
diff --git a/keyboards/cool836a/config.h b/keyboards/cool836a/config.h new file mode 100644 index 000000000..3ac036786 --- /dev/null +++ b/keyboards/cool836a/config.h | |||
| @@ -0,0 +1,153 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2021 Ohashi | ||
| 3 | |||
| 4 | This program is free software: you can redistribute it and/or modify | ||
| 5 | it under the terms of the GNU General Public License as published by | ||
| 6 | the Free Software Foundation, either version 2 of the License, or | ||
| 7 | (at your option) any later version. | ||
| 8 | |||
| 9 | This program is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | GNU General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU General Public License | ||
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 16 | */ | ||
| 17 | |||
| 18 | #pragma once | ||
| 19 | |||
| 20 | #include "config_common.h" | ||
| 21 | |||
| 22 | /* USB Device descriptor parameter */ | ||
| 23 | #define VENDOR_ID 0xFEED | ||
| 24 | #define PRODUCT_ID 0x0000 | ||
| 25 | #define DEVICE_VER 0x0001 | ||
| 26 | #define MANUFACTURER Ohashi | ||
| 27 | #define PRODUCT cool836A | ||
| 28 | |||
| 29 | /* key matrix size */ | ||
| 30 | #define MATRIX_ROWS 6 | ||
| 31 | #define MATRIX_COLS 6 | ||
| 32 | |||
| 33 | /* | ||
| 34 | * Keyboard Matrix Assignments | ||
| 35 | * | ||
| 36 | * Change this to how you wired your keyboard | ||
| 37 | * COLS: AVR pins used for columns, left to right | ||
| 38 | * ROWS: AVR pins used for rows, top to bottom | ||
| 39 | * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) | ||
| 40 | * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) | ||
| 41 | * | ||
| 42 | */ | ||
| 43 | #define MATRIX_ROW_PINS { D1, B5, B4, F4, B1, B6 } | ||
| 44 | #define MATRIX_COL_PINS { F5, D0, B2, C6, D7, E6 } | ||
| 45 | #define UNUSED_PINS | ||
| 46 | |||
| 47 | /* COL2ROW, ROW2COL */ | ||
| 48 | //#define DIODE_DIRECTION COL2ROW | ||
| 49 | #define DIODE_DIRECTION ROW2COL | ||
| 50 | |||
| 51 | /* | ||
| 52 | * Split Keyboard specific options, make sure you have 'SPLIT_KEYBOARD = yes' in your rules.mk, and define SOFT_SERIAL_PIN. | ||
| 53 | */ | ||
| 54 | #define SOFT_SERIAL_PIN D0 // or D1, D2, D3, E6 | ||
| 55 | |||
| 56 | //#define LED_NUM_LOCK_PIN B0 | ||
| 57 | //#define LED_CAPS_LOCK_PIN B1 | ||
| 58 | //#define LED_SCROLL_LOCK_PIN B2 | ||
| 59 | //#define LED_COMPOSE_PIN B3 | ||
| 60 | //#define LED_KANA_PIN B4 | ||
| 61 | |||
| 62 | //#define BACKLIGHT_PIN B7 | ||
| 63 | //#define BACKLIGHT_LEVELS 3 | ||
| 64 | //#define BACKLIGHT_BREATHING | ||
| 65 | |||
| 66 | //#define RGB_DI_PIN E2 | ||
| 67 | //#ifdef RGB_DI_PIN | ||
| 68 | //# define RGBLED_NUM 16 | ||
| 69 | //# define RGBLIGHT_HUE_STEP 8 | ||
| 70 | //# define RGBLIGHT_SAT_STEP 8 | ||
| 71 | //# define RGBLIGHT_VAL_STEP 8 | ||
| 72 | //# define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */ | ||
| 73 | //# define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */ | ||
| 74 | /*== all animations enable ==*/ | ||
| 75 | //# define RGBLIGHT_ANIMATIONS | ||
| 76 | /*== or choose animations ==*/ | ||
| 77 | //# define RGBLIGHT_EFFECT_BREATHING | ||
| 78 | //# define RGBLIGHT_EFFECT_RAINBOW_MOOD | ||
| 79 | //# define RGBLIGHT_EFFECT_RAINBOW_SWIRL | ||
| 80 | //# define RGBLIGHT_EFFECT_SNAKE | ||
| 81 | //# define RGBLIGHT_EFFECT_KNIGHT | ||
| 82 | //# define RGBLIGHT_EFFECT_CHRISTMAS | ||
| 83 | //# define RGBLIGHT_EFFECT_STATIC_GRADIENT | ||
| 84 | //# define RGBLIGHT_EFFECT_RGB_TEST | ||
| 85 | //# define RGBLIGHT_EFFECT_ALTERNATING | ||
| 86 | /*== customize breathing effect ==*/ | ||
| 87 | /*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/ | ||
| 88 | //# define RGBLIGHT_BREATHE_TABLE_SIZE 256 // 256(default) or 128 or 64 | ||
| 89 | /*==== use exp() and sin() ====*/ | ||
| 90 | //# define RGBLIGHT_EFFECT_BREATHE_CENTER 1.85 // 1 to 2.7 | ||
| 91 | //# define RGBLIGHT_EFFECT_BREATHE_MAX 255 // 0 to 255 | ||
| 92 | //#endif | ||
| 93 | |||
| 94 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
| 95 | #define DEBOUNCE 5 | ||
| 96 | |||
| 97 | /* define if matrix has ghost (lacks anti-ghosting diodes) */ | ||
| 98 | //#define MATRIX_HAS_GHOST | ||
| 99 | |||
| 100 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
| 101 | #define LOCKING_SUPPORT_ENABLE | ||
| 102 | /* Locking resynchronize hack */ | ||
| 103 | #define LOCKING_RESYNC_ENABLE | ||
| 104 | |||
| 105 | /* If defined, GRAVE_ESC will always act as ESC when CTRL is held. | ||
| 106 | * This is useful for the Windows task manager shortcut (ctrl+shift+esc). | ||
| 107 | */ | ||
| 108 | //#define GRAVE_ESC_CTRL_OVERRIDE | ||
| 109 | |||
| 110 | /* | ||
| 111 | * Force NKRO | ||
| 112 | * | ||
| 113 | * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved | ||
| 114 | * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the | ||
| 115 | * makefile for this to work.) | ||
| 116 | * | ||
| 117 | * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N) | ||
| 118 | * until the next keyboard reset. | ||
| 119 | * | ||
| 120 | * NKRO may prevent your keystrokes from being detected in the BIOS, but it is | ||
| 121 | * fully operational during normal computer usage. | ||
| 122 | * | ||
| 123 | * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N) | ||
| 124 | * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by | ||
| 125 | * bootmagic, NKRO mode will always be enabled until it is toggled again during a | ||
| 126 | * power-up. | ||
| 127 | * | ||
| 128 | */ | ||
| 129 | //#define FORCE_NKRO | ||
| 130 | |||
| 131 | /* | ||
| 132 | * Feature disable options | ||
| 133 | * These options are also useful to firmware size reduction. | ||
| 134 | */ | ||
| 135 | |||
| 136 | /* disable debug print */ | ||
| 137 | //#define NO_DEBUG | ||
| 138 | |||
| 139 | /* disable print */ | ||
| 140 | //#define NO_PRINT | ||
| 141 | |||
| 142 | /* disable action features */ | ||
| 143 | //#define NO_ACTION_LAYER | ||
| 144 | //#define NO_ACTION_TAPPING | ||
| 145 | //#define NO_ACTION_ONESHOT | ||
| 146 | |||
| 147 | /* disable these deprecated features by default */ | ||
| 148 | #define NO_ACTION_MACRO | ||
| 149 | #define NO_ACTION_FUNCTION | ||
| 150 | |||
| 151 | /* Bootmagic Lite key configuration */ | ||
| 152 | //#define BOOTMAGIC_LITE_ROW 0 | ||
| 153 | //#define BOOTMAGIC_LITE_COLUMN 0 | ||
diff --git a/keyboards/cool836a/cool836a.c b/keyboards/cool836a/cool836a.c new file mode 100644 index 000000000..5795bf954 --- /dev/null +++ b/keyboards/cool836a/cool836a.c | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | /* Copyright 2021 Ohashi | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #include "cool836a.h" | ||
diff --git a/keyboards/cool836a/cool836a.h b/keyboards/cool836a/cool836a.h new file mode 100644 index 000000000..08a036d4c --- /dev/null +++ b/keyboards/cool836a/cool836a.h | |||
| @@ -0,0 +1,42 @@ | |||
| 1 | /* Copyright 2021 Ohashi | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #pragma once | ||
| 18 | |||
| 19 | #include "quantum.h" | ||
| 20 | |||
| 21 | /* This is a shortcut to help you visually see your layout. | ||
| 22 | * | ||
| 23 | * The first section contains all of the arguments representing the physical | ||
| 24 | * layout of the board and position of the keys. | ||
| 25 | * | ||
| 26 | * The second converts the arguments into a two-dimensional array which | ||
| 27 | * represents the switch matrix. | ||
| 28 | */ | ||
| 29 | |||
| 30 | #define LAYOUT( \ | ||
| 31 | K000, K001, K002, K003, K004, K005, K300, K301, K302, K303, K304, K305, \ | ||
| 32 | K100, K101, K102, K103, K104, K105, K400, K401, K402, K403, K404, K405, \ | ||
| 33 | K200, K201, K202, K203, K204, K205, K500, K501, K502, K503, K504, K505 \ | ||
| 34 | ) \ | ||
| 35 | { \ | ||
| 36 | { K000, K001, K002, K003, K004, K005 }, \ | ||
| 37 | { K100, K101, K102, K103, K104, K105 }, \ | ||
| 38 | { K200, K201, K202, K203, K204, K205 }, \ | ||
| 39 | { K300, K301, K302, K303, K304, K305 }, \ | ||
| 40 | { K400, K401, K402, K403, K404, K405 }, \ | ||
| 41 | { K500, K501, K502, K503, K504, K505 }, \ | ||
| 42 | } | ||
diff --git a/keyboards/cool836a/info.json b/keyboards/cool836a/info.json new file mode 100644 index 000000000..01f996490 --- /dev/null +++ b/keyboards/cool836a/info.json | |||
| @@ -0,0 +1,19 @@ | |||
| 1 | { | ||
| 2 | "keyboard_name": "cool836a", | ||
| 3 | "url": "https://github.com/telzo2000/cool836A", | ||
| 4 | "maintainer": "Ohashi", | ||
| 5 | "width": 12, | ||
| 6 | "height": 3, | ||
| 7 | "layouts": { | ||
| 8 | "LAYOUT": { | ||
| 9 | "layout": [ | ||
| 10 | {"x": 0, "y": 0},{"x": 1, "y": 0},{"x": 2, "y": 0},{"x": 3, "y": 0},{"x": 4, "y": 0},{"x": 5, "y": 0}, | ||
| 11 | {"x": 7.5, "y": 0},{"x": 8.5, "y": 0},{"x": 9.5, "y": 0},{"x": 10.5, "y": 0},{"x": 11.5,"y": 0},{"x": 12.5,"y": 0}, | ||
| 12 | {"x": 0, "y": 1},{"x": 1.5, "y": 1},{"x": 2.5, "y": 1},{"x": 3.5, "y": 1},{"x": 4.5, "y": 1},{"x": 5.5, "y": 1}, | ||
| 13 | {"x": 8, "y": 1},{"x": 9, "y": 1},{"x": 10, "y": 1},{"x": 11, "y": 1},{"x": 12,"y": 1},{"x": 13,"y": 1}, | ||
| 14 | {"x": 0, "y": 2},{"x": 2, "y": 2},{"x": 3, "y": 2},{"x": 4, "y": 2},{"x": 5, "y": 2},{"x": 6, "y": 2}, | ||
| 15 | {"x": 7.5, "y": 2},{"x": 8.5, "y": 2},{"x": 9.5, "y": 2},{"x": 10.5, "y": 2},{"x": 11.5,"y": 2},{"x": 12.5,"y": 2} | ||
| 16 | ] | ||
| 17 | } | ||
| 18 | } | ||
| 19 | } | ||
diff --git a/keyboards/cool836a/keymaps/default/keymap.c b/keyboards/cool836a/keymaps/default/keymap.c new file mode 100644 index 000000000..458cfba85 --- /dev/null +++ b/keyboards/cool836a/keymaps/default/keymap.c | |||
| @@ -0,0 +1,41 @@ | |||
| 1 | /* Copyright 2021 Ohashi | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #include QMK_KEYBOARD_H | ||
| 18 | |||
| 19 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 20 | /* Base */ | ||
| 21 | [0] = LAYOUT( | ||
| 22 | KC_ESC, LALT_T(KC_Q), KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, | ||
| 23 | KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_MINS, KC_ENTER, | ||
| 24 | KC_LSFT, KC_Z, GUI_T(KC_X), KC_C, LT(3, KC_V), LT(2, KC_B), KC_SPC, LT(1, KC_N), KC_M, KC_COMM, KC_DOT, KC_SPC | ||
| 25 | ), | ||
| 26 | [1] = LAYOUT( | ||
| 27 | KC_TAB, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, | ||
| 28 | KC_LCTL, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_PLUS, KC_MINS, KC_ASTR, KC_PSLS, KC_EQL, KC_ENTER, | ||
| 29 | KC_LSFT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_SPC | ||
| 30 | ), | ||
| 31 | [2] = LAYOUT( | ||
| 32 | KC_TAB, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_BSPC, | ||
| 33 | KC_LCTL, KC_LBRC, KC_RBRC, KC_BSLS, KC_SCLN, KC_COLN, KC_LEFT, KC_DOWN, KC_UP, KC_RIGHT, KC_QUES, KC_ENTER, | ||
| 34 | KC_LSFT, KC_UNDS, KC_PIPE, KC_CIRC, KC_TILD, _______, _______, _______, _______, _______, _______, KC_SPC | ||
| 35 | ), | ||
| 36 | [3] = LAYOUT( | ||
| 37 | _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_LPRN, KC_RPRN, _______, | ||
| 38 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 39 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 40 | ) | ||
| 41 | }; | ||
diff --git a/keyboards/cool836a/keymaps/default/readme.md b/keyboards/cool836a/keymaps/default/readme.md new file mode 100644 index 000000000..05a5d7fe3 --- /dev/null +++ b/keyboards/cool836a/keymaps/default/readme.md | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | # m.ki様によるデフォルトキーマップ | ||
| 2 | |||
| 3 | [レッドバージョン ビルドガイド](https://github.com/telzo2000/cool836A/blob/master/buildguide_red.md)で紹介されていたキーマップです。チートシートを見ながらコードに書き写しました。 | ||
| 4 | |||
| 5 | ------- | ||
| 6 | ## チートシート | ||
| 7 | 以下、[同ページ](https://github.com/telzo2000/cool836A/blob/master/buildguide_red.md)の画像のコピーを添付します。 | ||
| 8 | + Layer=0 | ||
| 9 |  | ||
| 10 | + Layer=1 | ||
| 11 |  | ||
| 12 | + Layer=2 | ||
| 13 |  | ||
| 14 | + Layer=3 | ||
| 15 |  | ||
diff --git a/keyboards/cool836a/readme.md b/keyboards/cool836a/readme.md new file mode 100644 index 000000000..dd3ace3cb --- /dev/null +++ b/keyboards/cool836a/readme.md | |||
| @@ -0,0 +1,51 @@ | |||
| 1 | # cool836A | ||
| 2 | |||
| 3 | - このプロジェクトの詳細については設計者たる[m.ki様](https://twitter.com/0002ozlet)による[GitHubリポジトリ](https://github.com/telzo2000/cool836A)の記述をご覧ください。 | ||
| 4 | |||
| 5 | ### バージョン(A, B+, C+)について | ||
| 6 | - m.ki様によるとどのバージョンも回路は同じで、ファームウェアを分ける必要はないとのことです。 | ||
| 7 | - しかしながらこのファームウェアは、cool836A ver.B+ (通称レッドバージョン)のみでテストされています(2021年1月7日現在)。そのため念のため、当面の間はサブフォルダの名前をcool836A/verB_REDとさせていただきます。 | ||
| 8 | - ほかのバージョンに書き込んだときに不具合等がありましたら、方はお気軽に私[オオハシ](https://twitter.com/oha_oha_Ohashi)までご連絡ください。 | ||
| 9 | |||
| 10 | |||
| 11 | ## 申し訳程度のチュートリアル | ||
| 12 | 詳細に書き込む労力は払えませんでしたが、最低限のコードのみ記します。 | ||
| 13 | |||
| 14 | git clone のあと、 | ||
| 15 | |||
| 16 | ``` make cool836A/verB_RED:default ``` | ||
| 17 | |||
| 18 | でコンパイル可能であることを確認し、 | ||
| 19 | |||
| 20 | ``` make cool836A/verB_RED:default:avrdude ``` | ||
| 21 | |||
| 22 | によってデフォルトキーマップをPro Microに焼けるかもしれません。 | ||
| 23 | `default`の代わりに`Ohasheen`を利用することもできます。 | ||
| 24 | |||
| 25 | 初心者の方はもっと素晴らしいウェブサイトでGitやqmk firmwareの使い方を覚えていただくのがよいかと思います。 | ||
| 26 | |||
| 27 | |||
| 28 | |||
| 29 | ----------------- | ||
| 30 | ## English | ||
| 31 | - [Here](https://github.com/telzo2000/cool836A) are a full description of this project and build guide by the great Designer: [m.ki](imgur.com image replace me!) | ||
| 32 | |||
| 33 | - Each virsions(A, B+, C+) of cool836A has the same circuit and that means you can install this firmware on any of them. | ||
| 34 | - However, this repository is currently(Jan 7, 2021) tested on ver.B+ (RED version) only. Feel free to contact [ME](https://github.com/ketcha-k) for any problems. | ||
| 35 | |||
| 36 | - firmware maintainer: [Ohashi](https://github.com/ketcha-k) | ||
| 37 | |||
| 38 | ## Such a humble tutorial | ||
| 39 | The author would like to provide a minimum guide. | ||
| 40 | |||
| 41 | After cloning the repository, you may want to | ||
| 42 | |||
| 43 | ``` make cool836A/verB_RED ``` | ||
| 44 | |||
| 45 | to make sure it's compilable, and | ||
| 46 | |||
| 47 | ``` make cool836A/verB_RED:default ``` | ||
| 48 | |||
| 49 | which leads you to the goal. | ||
| 50 | |||
| 51 | It is recommended that beginners learn how to get started with qmk firmware/configurator at other fantastic websites rather than here...... | ||
diff --git a/keyboards/cool836a/rules.mk b/keyboards/cool836a/rules.mk new file mode 100644 index 000000000..5c0d8f307 --- /dev/null +++ b/keyboards/cool836a/rules.mk | |||
| @@ -0,0 +1,22 @@ | |||
| 1 | # MCU name | ||
| 2 | MCU = atmega32u4 | ||
| 3 | |||
| 4 | # Bootloader selection | ||
| 5 | BOOTLOADER = atmel-dfu | ||
| 6 | |||
| 7 | # Build Options | ||
| 8 | # change yes to no to disable | ||
| 9 | # | ||
| 10 | BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration | ||
| 11 | MOUSEKEY_ENABLE = yes # Mouse keys | ||
| 12 | EXTRAKEY_ENABLE = yes # Audio control and System control | ||
| 13 | CONSOLE_ENABLE = no # Console for debug | ||
| 14 | COMMAND_ENABLE = no # Commands for debug and configuration | ||
| 15 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
| 16 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
| 17 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 18 | NKRO_ENABLE = no # USB Nkey Rollover | ||
| 19 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
| 20 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | ||
| 21 | BLUETOOTH_ENABLE = no # Enable Bluetooth | ||
| 22 | AUDIO_ENABLE = no # Audio output | ||
