diff options
| -rw-r--r-- | keyboards/takashicompany/compacx/compacx.c | 28 | ||||
| -rw-r--r-- | keyboards/takashicompany/compacx/compacx.h | 46 | ||||
| -rw-r--r-- | keyboards/takashicompany/compacx/config.h | 149 | ||||
| -rw-r--r-- | keyboards/takashicompany/compacx/info.json | 309 | ||||
| -rw-r--r-- | keyboards/takashicompany/compacx/keymaps/default/keymap.c | 68 | ||||
| -rw-r--r-- | keyboards/takashicompany/compacx/keymaps/via/config.h | 18 | ||||
| -rw-r--r-- | keyboards/takashicompany/compacx/keymaps/via/keymap.c | 68 | ||||
| -rw-r--r-- | keyboards/takashicompany/compacx/keymaps/via/rules.mk | 1 | ||||
| -rw-r--r-- | keyboards/takashicompany/compacx/readme.md | 29 | ||||
| -rw-r--r-- | keyboards/takashicompany/compacx/rules.mk | 23 |
10 files changed, 739 insertions, 0 deletions
diff --git a/keyboards/takashicompany/compacx/compacx.c b/keyboards/takashicompany/compacx/compacx.c new file mode 100644 index 000000000..cf2363892 --- /dev/null +++ b/keyboards/takashicompany/compacx/compacx.c | |||
| @@ -0,0 +1,28 @@ | |||
| 1 | /* Copyright 2021 takashicompany | ||
| 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 "compacx.h" | ||
| 18 | |||
| 19 | bool encoder_update_kb(uint8_t index, bool clockwise) { | ||
| 20 | if (!encoder_update_user(index, clockwise)) { return false; } | ||
| 21 | if (!clockwise) { | ||
| 22 | tap_code(KC_MS_WH_UP); | ||
| 23 | } else { | ||
| 24 | tap_code(KC_MS_WH_DOWN); | ||
| 25 | } | ||
| 26 | |||
| 27 | return true; | ||
| 28 | } | ||
diff --git a/keyboards/takashicompany/compacx/compacx.h b/keyboards/takashicompany/compacx/compacx.h new file mode 100644 index 000000000..61447abeb --- /dev/null +++ b/keyboards/takashicompany/compacx/compacx.h | |||
| @@ -0,0 +1,46 @@ | |||
| 1 | /* Copyright 2021 takashicompany | ||
| 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 | #define LAYOUT( \ | ||
| 30 | l001, l002, l003, l004, l005, l006, l007, l008, r001, r002, r003, r004, r005, r006, r007, r008, \ | ||
| 31 | l201, l009, l010, l011, l012, l013, l901, r201, r009, r010, r011, r012, r013, r901, \ | ||
| 32 | l301, l014, l015, l016, l017, l018, r301, r014, r015, r016, r017, r018, \ | ||
| 33 | l401, l019, l020, l021, l022, l023, l024, r401, r019, r020, r021, r022, r023, r024, \ | ||
| 34 | l025, l101, l102, l026, l103, l104, l027, r025, r101, r102, r026, r103, r104, r027 \ | ||
| 35 | ) { \ | ||
| 36 | { l001, l002, l003, l004, l005, l006, l007 }, \ | ||
| 37 | { l201, l009, l010, l011, l012, l013, l008 }, \ | ||
| 38 | { l301, l014, l015, l016, l017, l018, l901 }, \ | ||
| 39 | { l401, l019, l020, l021, l022, l023, l024 }, \ | ||
| 40 | { l025, l101, l102, l026, l103, l104, l027 }, \ | ||
| 41 | { r001, r002, r003, r004, r005, r006, r007 }, \ | ||
| 42 | { r201, r009, r010, r011, r012, r013, r008 }, \ | ||
| 43 | { r301, r014, r015, r016, r017, r018, r901 }, \ | ||
| 44 | { r401, r019, r020, r021, r022, r023, r024 }, \ | ||
| 45 | { r025, r101, r102, r026, r103, r104, r027 } \ | ||
| 46 | } | ||
diff --git a/keyboards/takashicompany/compacx/config.h b/keyboards/takashicompany/compacx/config.h new file mode 100644 index 000000000..5428482ed --- /dev/null +++ b/keyboards/takashicompany/compacx/config.h | |||
| @@ -0,0 +1,149 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2021 takashicompany | ||
| 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 0x7463 // tc = takashicompany | ||
| 24 | #define PRODUCT_ID 0x0014 | ||
| 25 | #define DEVICE_VER 0x0001 | ||
| 26 | #define MANUFACTURER takashicompany | ||
| 27 | #define PRODUCT Compacx | ||
| 28 | |||
| 29 | /* key matrix size */ | ||
| 30 | #define MATRIX_ROWS 5 * 2 | ||
| 31 | #define MATRIX_COLS 7 | ||
| 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, D0, D4, C6, D7 } | ||
| 44 | #define MATRIX_COL_PINS { F4, F5, F6, F7, B1, B3, B2 } | ||
| 45 | #define UNUSED_PINS | ||
| 46 | |||
| 47 | /* COL2ROW, ROW2COL */ | ||
| 48 | #define DIODE_DIRECTION COL2ROW | ||
| 49 | |||
| 50 | #define ENCODER_RESOLUTION 4 | ||
| 51 | #define ENCODERS_PAD_A { E6, B6 } | ||
| 52 | #define ENCODERS_PAD_B { B4, B5 } | ||
| 53 | |||
| 54 | /* | ||
| 55 | * Split Keyboard specific options, make sure you have 'SPLIT_KEYBOARD = yes' in your rules.mk, and define SOFT_SERIAL_PIN. | ||
| 56 | */ | ||
| 57 | #define SOFT_SERIAL_PIN D2 // or D1, D2, D3, E6 | ||
| 58 | |||
| 59 | //#define LED_NUM_LOCK_PIN B0 | ||
| 60 | //#define LED_CAPS_LOCK_PIN B1 | ||
| 61 | //#define LED_SCROLL_LOCK_PIN B2 | ||
| 62 | //#define LED_COMPOSE_PIN B3 | ||
| 63 | //#define LED_KANA_PIN B4 | ||
| 64 | |||
| 65 | //#define BACKLIGHT_PIN B7 | ||
| 66 | //#define BACKLIGHT_LEVELS 3 | ||
| 67 | //#define BACKLIGHT_BREATHING | ||
| 68 | |||
| 69 | #define RGB_DI_PIN D3 | ||
| 70 | #ifdef RGB_DI_PIN | ||
| 71 | # define RGBLED_NUM 12 | ||
| 72 | # define RGBLED_SPLIT {6, 6} | ||
| 73 | # define RGBLIGHT_HUE_STEP 8 | ||
| 74 | # define RGBLIGHT_SAT_STEP 8 | ||
| 75 | # define RGBLIGHT_VAL_STEP 8 | ||
| 76 | # define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */ | ||
| 77 | # define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */ | ||
| 78 | #define RGBLIGHT_EFFECT_BREATHING | ||
| 79 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | ||
| 80 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | ||
| 81 | #define RGBLIGHT_EFFECT_SNAKE | ||
| 82 | #define RGBLIGHT_EFFECT_KNIGHT | ||
| 83 | #define RGBLIGHT_EFFECT_CHRISTMAS | ||
| 84 | #define RGBLIGHT_EFFECT_STATIC_GRADIENT | ||
| 85 | #define RGBLIGHT_EFFECT_RGB_TEST | ||
| 86 | #define RGBLIGHT_EFFECT_ALTERNATING | ||
| 87 | #define RGBLIGHT_EFFECT_TWINKLE | ||
| 88 | #endif | ||
| 89 | |||
| 90 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
| 91 | #define DEBOUNCE 5 | ||
| 92 | |||
| 93 | /* define if matrix has ghost (lacks anti-ghosting diodes) */ | ||
| 94 | //#define MATRIX_HAS_GHOST | ||
| 95 | |||
| 96 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
| 97 | #define LOCKING_SUPPORT_ENABLE | ||
| 98 | /* Locking resynchronize hack */ | ||
| 99 | #define LOCKING_RESYNC_ENABLE | ||
| 100 | |||
| 101 | /* If defined, GRAVE_ESC will always act as ESC when CTRL is held. | ||
| 102 | * This is useful for the Windows task manager shortcut (ctrl+shift+esc). | ||
| 103 | */ | ||
| 104 | //#define GRAVE_ESC_CTRL_OVERRIDE | ||
| 105 | |||
| 106 | /* | ||
| 107 | * Force NKRO | ||
| 108 | * | ||
| 109 | * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved | ||
| 110 | * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the | ||
| 111 | * makefile for this to work.) | ||
| 112 | * | ||
| 113 | * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N) | ||
| 114 | * until the next keyboard reset. | ||
| 115 | * | ||
| 116 | * NKRO may prevent your keystrokes from being detected in the BIOS, but it is | ||
| 117 | * fully operational during normal computer usage. | ||
| 118 | * | ||
| 119 | * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N) | ||
| 120 | * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by | ||
| 121 | * bootmagic, NKRO mode will always be enabled until it is toggled again during a | ||
| 122 | * power-up. | ||
| 123 | * | ||
| 124 | */ | ||
| 125 | //#define FORCE_NKRO | ||
| 126 | |||
| 127 | /* | ||
| 128 | * Feature disable options | ||
| 129 | * These options are also useful to firmware size reduction. | ||
| 130 | */ | ||
| 131 | |||
| 132 | /* disable debug print */ | ||
| 133 | //#define NO_DEBUG | ||
| 134 | |||
| 135 | /* disable print */ | ||
| 136 | //#define NO_PRINT | ||
| 137 | |||
| 138 | /* disable action features */ | ||
| 139 | //#define NO_ACTION_LAYER | ||
| 140 | //#define NO_ACTION_TAPPING | ||
| 141 | //#define NO_ACTION_ONESHOT | ||
| 142 | |||
| 143 | /* disable these deprecated features by default */ | ||
| 144 | #define NO_ACTION_MACRO | ||
| 145 | #define NO_ACTION_FUNCTION | ||
| 146 | |||
| 147 | /* Bootmagic Lite key configuration */ | ||
| 148 | //#define BOOTMAGIC_LITE_ROW 0 | ||
| 149 | //#define BOOTMAGIC_LITE_COLUMN 0 | ||
diff --git a/keyboards/takashicompany/compacx/info.json b/keyboards/takashicompany/compacx/info.json new file mode 100644 index 000000000..431579feb --- /dev/null +++ b/keyboards/takashicompany/compacx/info.json | |||
| @@ -0,0 +1,309 @@ | |||
| 1 | { | ||
| 2 | "keyboard_name": "Compacx", | ||
| 3 | "url": "https://github.com/takashicompany/compacx", | ||
| 4 | "maintainer": "takashicompany", | ||
| 5 | "layouts": { | ||
| 6 | "LAYOUT": { | ||
| 7 | "layout": [ | ||
| 8 | { | ||
| 9 | "x": 0, | ||
| 10 | "y": 0 | ||
| 11 | }, | ||
| 12 | { | ||
| 13 | "x": 1, | ||
| 14 | "y": 0 | ||
| 15 | }, | ||
| 16 | { | ||
| 17 | "x": 2, | ||
| 18 | "y": 0 | ||
| 19 | }, | ||
| 20 | { | ||
| 21 | "x": 3, | ||
| 22 | "y": 0 | ||
| 23 | }, | ||
| 24 | { | ||
| 25 | "x": 4, | ||
| 26 | "y": 0 | ||
| 27 | }, | ||
| 28 | { | ||
| 29 | "x": 5, | ||
| 30 | "y": 0 | ||
| 31 | }, | ||
| 32 | { | ||
| 33 | "x": 6, | ||
| 34 | "y": 0 | ||
| 35 | }, | ||
| 36 | { | ||
| 37 | "x": 7, | ||
| 38 | "y": 0 | ||
| 39 | }, | ||
| 40 | { | ||
| 41 | "x": 9, | ||
| 42 | "y": 0 | ||
| 43 | }, | ||
| 44 | { | ||
| 45 | "x": 10, | ||
| 46 | "y": 0 | ||
| 47 | }, | ||
| 48 | { | ||
| 49 | "x": 11, | ||
| 50 | "y": 0 | ||
| 51 | }, | ||
| 52 | { | ||
| 53 | "x": 12, | ||
| 54 | "y": 0 | ||
| 55 | }, | ||
| 56 | { | ||
| 57 | "x": 13, | ||
| 58 | "y": 0 | ||
| 59 | }, | ||
| 60 | { | ||
| 61 | "x": 14, | ||
| 62 | "y": 0 | ||
| 63 | }, | ||
| 64 | { | ||
| 65 | "x": 15, | ||
| 66 | "y": 0 | ||
| 67 | }, | ||
| 68 | { | ||
| 69 | "x": 16, | ||
| 70 | "y": 0 | ||
| 71 | }, | ||
| 72 | { | ||
| 73 | "x": 0, | ||
| 74 | "y": 1, | ||
| 75 | "w": 1.5 | ||
| 76 | }, | ||
| 77 | { | ||
| 78 | "x": 1.5, | ||
| 79 | "y": 1 | ||
| 80 | }, | ||
| 81 | { | ||
| 82 | "x": 2.5, | ||
| 83 | "y": 1 | ||
| 84 | }, | ||
| 85 | { | ||
| 86 | "x": 3.5, | ||
| 87 | "y": 1 | ||
| 88 | }, | ||
| 89 | { | ||
| 90 | "x": 4.5, | ||
| 91 | "y": 1 | ||
| 92 | }, | ||
| 93 | { | ||
| 94 | "x": 5.5, | ||
| 95 | "y": 1 | ||
| 96 | }, | ||
| 97 | { | ||
| 98 | "x": 6.75, | ||
| 99 | "y": 1, | ||
| 100 | "w": 1.25, | ||
| 101 | "h": 2 | ||
| 102 | }, | ||
| 103 | { | ||
| 104 | "x": 9, | ||
| 105 | "y": 1, | ||
| 106 | "w": 1.5 | ||
| 107 | }, | ||
| 108 | { | ||
| 109 | "x": 10.5, | ||
| 110 | "y": 1 | ||
| 111 | }, | ||
| 112 | { | ||
| 113 | "x": 11.5, | ||
| 114 | "y": 1 | ||
| 115 | }, | ||
| 116 | { | ||
| 117 | "x": 12.5, | ||
| 118 | "y": 1 | ||
| 119 | }, | ||
| 120 | { | ||
| 121 | "x": 13.5, | ||
| 122 | "y": 1 | ||
| 123 | }, | ||
| 124 | { | ||
| 125 | "x": 14.5, | ||
| 126 | "y": 1 | ||
| 127 | }, | ||
| 128 | { | ||
| 129 | "x": 15.75, | ||
| 130 | "y": 1, | ||
| 131 | "w": 1.25, | ||
| 132 | "h": 2 | ||
| 133 | }, | ||
| 134 | { | ||
| 135 | "x": 0, | ||
| 136 | "y": 2, | ||
| 137 | "w": 1.75 | ||
| 138 | }, | ||
| 139 | { | ||
| 140 | "x": 1.75, | ||
| 141 | "y": 2 | ||
| 142 | }, | ||
| 143 | { | ||
| 144 | "x": 2.75, | ||
| 145 | "y": 2 | ||
| 146 | }, | ||
| 147 | { | ||
| 148 | "x": 3.75, | ||
| 149 | "y": 2 | ||
| 150 | }, | ||
| 151 | { | ||
| 152 | "x": 4.75, | ||
| 153 | "y": 2 | ||
| 154 | }, | ||
| 155 | { | ||
| 156 | "x": 5.75, | ||
| 157 | "y": 2 | ||
| 158 | }, | ||
| 159 | { | ||
| 160 | "x": 9, | ||
| 161 | "y": 2, | ||
| 162 | "w": 1.75 | ||
| 163 | }, | ||
| 164 | { | ||
| 165 | "x": 10.75, | ||
| 166 | "y": 2 | ||
| 167 | }, | ||
| 168 | { | ||
| 169 | "x": 11.75, | ||
| 170 | "y": 2 | ||
| 171 | }, | ||
| 172 | { | ||
| 173 | "x": 12.75, | ||
| 174 | "y": 2 | ||
| 175 | }, | ||
| 176 | { | ||
| 177 | "x": 13.75, | ||
| 178 | "y": 2 | ||
| 179 | }, | ||
| 180 | { | ||
| 181 | "x": 14.75, | ||
| 182 | "y": 2 | ||
| 183 | }, | ||
| 184 | { | ||
| 185 | "x": 0, | ||
| 186 | "y": 3, | ||
| 187 | "w": 2 | ||
| 188 | }, | ||
| 189 | { | ||
| 190 | "x": 2, | ||
| 191 | "y": 3 | ||
| 192 | }, | ||
| 193 | { | ||
| 194 | "x": 3, | ||
| 195 | "y": 3 | ||
| 196 | }, | ||
| 197 | { | ||
| 198 | "x": 4, | ||
| 199 | "y": 3 | ||
| 200 | }, | ||
| 201 | { | ||
| 202 | "x": 5, | ||
| 203 | "y": 3 | ||
| 204 | }, | ||
| 205 | { | ||
| 206 | "x": 6, | ||
| 207 | "y": 3 | ||
| 208 | }, | ||
| 209 | { | ||
| 210 | "x": 7, | ||
| 211 | "y": 3 | ||
| 212 | }, | ||
| 213 | { | ||
| 214 | "x": 9, | ||
| 215 | "y": 3, | ||
| 216 | "w": 2 | ||
| 217 | }, | ||
| 218 | { | ||
| 219 | "x": 11, | ||
| 220 | "y": 3 | ||
| 221 | }, | ||
| 222 | { | ||
| 223 | "x": 12, | ||
| 224 | "y": 3 | ||
| 225 | }, | ||
| 226 | { | ||
| 227 | "x": 13, | ||
| 228 | "y": 3 | ||
| 229 | }, | ||
| 230 | { | ||
| 231 | "x": 14, | ||
| 232 | "y": 3 | ||
| 233 | }, | ||
| 234 | { | ||
| 235 | "x": 15, | ||
| 236 | "y": 3 | ||
| 237 | }, | ||
| 238 | { | ||
| 239 | "x": 16, | ||
| 240 | "y": 3 | ||
| 241 | }, | ||
| 242 | { | ||
| 243 | "x": 0, | ||
| 244 | "y": 4 | ||
| 245 | }, | ||
| 246 | { | ||
| 247 | "x": 1, | ||
| 248 | "y": 4, | ||
| 249 | "w": 1.25 | ||
| 250 | }, | ||
| 251 | { | ||
| 252 | "x": 2.25, | ||
| 253 | "y": 4, | ||
| 254 | "w": 1.25 | ||
| 255 | }, | ||
| 256 | { | ||
| 257 | "x": 3.5, | ||
| 258 | "y": 4 | ||
| 259 | }, | ||
| 260 | { | ||
| 261 | "x": 4.5, | ||
| 262 | "y": 4, | ||
| 263 | "w": 1.25 | ||
| 264 | }, | ||
| 265 | { | ||
| 266 | "x": 5.75, | ||
| 267 | "y": 4, | ||
| 268 | "w": 1.25 | ||
| 269 | }, | ||
| 270 | { | ||
| 271 | "x": 7, | ||
| 272 | "y": 4 | ||
| 273 | }, | ||
| 274 | { | ||
| 275 | "x": 9, | ||
| 276 | "y": 4 | ||
| 277 | }, | ||
| 278 | { | ||
| 279 | "x": 10, | ||
| 280 | "y": 4, | ||
| 281 | "w": 1.25 | ||
| 282 | }, | ||
| 283 | { | ||
| 284 | "x": 11.25, | ||
| 285 | "y": 4, | ||
| 286 | "w": 1.25 | ||
| 287 | }, | ||
| 288 | { | ||
| 289 | "x": 12.5, | ||
| 290 | "y": 4 | ||
| 291 | }, | ||
| 292 | { | ||
| 293 | "x": 13.5, | ||
| 294 | "y": 4, | ||
| 295 | "w": 1.25 | ||
| 296 | }, | ||
| 297 | { | ||
| 298 | "x": 14.75, | ||
| 299 | "y": 4, | ||
| 300 | "w": 1.25 | ||
| 301 | }, | ||
| 302 | { | ||
| 303 | "x": 16, | ||
| 304 | "y": 4 | ||
| 305 | } | ||
| 306 | ] | ||
| 307 | } | ||
| 308 | } | ||
| 309 | } \ No newline at end of file | ||
diff --git a/keyboards/takashicompany/compacx/keymaps/default/keymap.c b/keyboards/takashicompany/compacx/keymaps/default/keymap.c new file mode 100644 index 000000000..068f621ff --- /dev/null +++ b/keyboards/takashicompany/compacx/keymaps/default/keymap.c | |||
| @@ -0,0 +1,68 @@ | |||
| 1 | /* Copyright 2021 takashicompany | ||
| 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 | #include QMK_KEYBOARD_H | ||
| 17 | |||
| 18 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 19 | |||
| 20 | LAYOUT( | ||
| 21 | KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_BSPC, KC_ESC, KC_6, KC_7, KC_8, KC_9, KC_0, KC_JYEN, KC_BSPC, | ||
| 22 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_ENT, KC_TAB, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_ENT, | ||
| 23 | KC_CAPS, KC_A, KC_S, LT(2, KC_D), KC_F, KC_G, KC_RCTL, KC_H, KC_J, KC_K, KC_L, KC_SCLN, | ||
| 24 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_DEL, KC_RSFT, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RO, | ||
| 25 | TG(2), LT(3 ,KC_PSCR), KC_LCTL, KC_LGUI, LSFT_T(KC_TAB), LALT_T(KC_LANG2), KC_SPC, KC_SPC, LT(1, KC_LANG1), KC_RALT, KC_RGUI, KC_RCTL, MO(3), KC_DEL | ||
| 26 | ), | ||
| 27 | |||
| 28 | LAYOUT( | ||
| 29 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_MINS, KC_EQL, KC_TRNS, KC_TRNS, | ||
| 30 | KC_TRNS, KC_TRNS, KC_TRNS, KC_UP, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_LBRC, KC_RBRC, KC_TRNS, | ||
| 31 | KC_TRNS, KC_TRNS, KC_LEFT, KC_DOWN, KC_RGHT, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_SCLN, KC_QUOT, KC_NUHS, | ||
| 32 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 33 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS | ||
| 34 | ), | ||
| 35 | |||
| 36 | LAYOUT( | ||
| 37 | KC_TRNS, KC_NLCK, KC_PSLS, KC_PAST, KC_PMNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 38 | KC_TRNS, KC_P7, KC_P8, KC_P9, KC_PPLS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_UP, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 39 | KC_TRNS, KC_P4, KC_P5, KC_P6, KC_PCMM, KC_TRNS, KC_TRNS, KC_TRNS, KC_LEFT, KC_DOWN, KC_RGHT, KC_TRNS, | ||
| 40 | KC_TRNS, KC_P1, KC_P2, KC_P3, KC_PEQL, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 41 | KC_TRNS, KC_TRNS, KC_P0, KC_PDOT, KC_PENT, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS | ||
| 42 | ), | ||
| 43 | |||
| 44 | LAYOUT( | ||
| 45 | KC_TRNS, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_TRNS, KC_TRNS, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_TRNS, | ||
| 46 | KC_TRNS, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_UP, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 47 | KC_TRNS, RGB_TOG, RGB_MOD, RGB_HUI, RGB_SAI, RGB_VAI, KC_TRNS, KC_TRNS, KC_LEFT, KC_DOWN, KC_RGHT, KC_TRNS, | ||
| 48 | KC_TRNS, RGB_M_P, RGB_M_B, RGB_M_R, RGB_M_SW, RGB_M_SN, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 49 | KC_TRNS, KC_TRNS, RGB_M_K, RGB_M_X, RGB_M_G, RGB_M_T, RGB_M_T, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS | ||
| 50 | ), | ||
| 51 | |||
| 52 | LAYOUT( | ||
| 53 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 54 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 55 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 56 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 57 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS | ||
| 58 | ), | ||
| 59 | |||
| 60 | LAYOUT( | ||
| 61 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 62 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 63 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 64 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 65 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS | ||
| 66 | ) | ||
| 67 | }; | ||
| 68 | |||
diff --git a/keyboards/takashicompany/compacx/keymaps/via/config.h b/keyboards/takashicompany/compacx/keymaps/via/config.h new file mode 100644 index 000000000..d04cb9a0d --- /dev/null +++ b/keyboards/takashicompany/compacx/keymaps/via/config.h | |||
| @@ -0,0 +1,18 @@ | |||
| 1 | /* Copyright 2021 takashicompany | ||
| 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 | #pragma once | ||
| 17 | |||
| 18 | #define DYNAMIC_KEYMAP_LAYER_COUNT 6 \ No newline at end of file | ||
diff --git a/keyboards/takashicompany/compacx/keymaps/via/keymap.c b/keyboards/takashicompany/compacx/keymaps/via/keymap.c new file mode 100644 index 000000000..068f621ff --- /dev/null +++ b/keyboards/takashicompany/compacx/keymaps/via/keymap.c | |||
| @@ -0,0 +1,68 @@ | |||
| 1 | /* Copyright 2021 takashicompany | ||
| 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 | #include QMK_KEYBOARD_H | ||
| 17 | |||
| 18 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 19 | |||
| 20 | LAYOUT( | ||
| 21 | KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_BSPC, KC_ESC, KC_6, KC_7, KC_8, KC_9, KC_0, KC_JYEN, KC_BSPC, | ||
| 22 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_ENT, KC_TAB, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_ENT, | ||
| 23 | KC_CAPS, KC_A, KC_S, LT(2, KC_D), KC_F, KC_G, KC_RCTL, KC_H, KC_J, KC_K, KC_L, KC_SCLN, | ||
| 24 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_DEL, KC_RSFT, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RO, | ||
| 25 | TG(2), LT(3 ,KC_PSCR), KC_LCTL, KC_LGUI, LSFT_T(KC_TAB), LALT_T(KC_LANG2), KC_SPC, KC_SPC, LT(1, KC_LANG1), KC_RALT, KC_RGUI, KC_RCTL, MO(3), KC_DEL | ||
| 26 | ), | ||
| 27 | |||
| 28 | LAYOUT( | ||
| 29 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_MINS, KC_EQL, KC_TRNS, KC_TRNS, | ||
| 30 | KC_TRNS, KC_TRNS, KC_TRNS, KC_UP, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_LBRC, KC_RBRC, KC_TRNS, | ||
| 31 | KC_TRNS, KC_TRNS, KC_LEFT, KC_DOWN, KC_RGHT, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_SCLN, KC_QUOT, KC_NUHS, | ||
| 32 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 33 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS | ||
| 34 | ), | ||
| 35 | |||
| 36 | LAYOUT( | ||
| 37 | KC_TRNS, KC_NLCK, KC_PSLS, KC_PAST, KC_PMNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 38 | KC_TRNS, KC_P7, KC_P8, KC_P9, KC_PPLS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_UP, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 39 | KC_TRNS, KC_P4, KC_P5, KC_P6, KC_PCMM, KC_TRNS, KC_TRNS, KC_TRNS, KC_LEFT, KC_DOWN, KC_RGHT, KC_TRNS, | ||
| 40 | KC_TRNS, KC_P1, KC_P2, KC_P3, KC_PEQL, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 41 | KC_TRNS, KC_TRNS, KC_P0, KC_PDOT, KC_PENT, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS | ||
| 42 | ), | ||
| 43 | |||
| 44 | LAYOUT( | ||
| 45 | KC_TRNS, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_TRNS, KC_TRNS, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_TRNS, | ||
| 46 | KC_TRNS, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_UP, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 47 | KC_TRNS, RGB_TOG, RGB_MOD, RGB_HUI, RGB_SAI, RGB_VAI, KC_TRNS, KC_TRNS, KC_LEFT, KC_DOWN, KC_RGHT, KC_TRNS, | ||
| 48 | KC_TRNS, RGB_M_P, RGB_M_B, RGB_M_R, RGB_M_SW, RGB_M_SN, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 49 | KC_TRNS, KC_TRNS, RGB_M_K, RGB_M_X, RGB_M_G, RGB_M_T, RGB_M_T, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS | ||
| 50 | ), | ||
| 51 | |||
| 52 | LAYOUT( | ||
| 53 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 54 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 55 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 56 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 57 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS | ||
| 58 | ), | ||
| 59 | |||
| 60 | LAYOUT( | ||
| 61 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 62 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 63 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 64 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 65 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS | ||
| 66 | ) | ||
| 67 | }; | ||
| 68 | |||
diff --git a/keyboards/takashicompany/compacx/keymaps/via/rules.mk b/keyboards/takashicompany/compacx/keymaps/via/rules.mk new file mode 100644 index 000000000..036bd6d1c --- /dev/null +++ b/keyboards/takashicompany/compacx/keymaps/via/rules.mk | |||
| @@ -0,0 +1 @@ | |||
| VIA_ENABLE = yes \ No newline at end of file | |||
diff --git a/keyboards/takashicompany/compacx/readme.md b/keyboards/takashicompany/compacx/readme.md new file mode 100644 index 000000000..ac5cfee16 --- /dev/null +++ b/keyboards/takashicompany/compacx/readme.md | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | # Compacx | ||
| 2 | |||
| 3 |  | ||
| 4 | |||
| 5 | "Compacx" is a 35-key keyboard with an ISO enter key. | ||
| 6 | It is the perfect size for a macro pad or a one-handed gaming keyboard. | ||
| 7 | It can also be used as a split keyboard by combining two units. | ||
| 8 | |||
| 9 | * Keyboard Maintainer: [takashicompany](https://github.com/takashicompany) | ||
| 10 | * Hardware Supported: PCB, Pro Micro | ||
| 11 | * Hardware Availability: https://github.com/takashicompany/compacx | ||
| 12 | |||
| 13 | Make example for this keyboard (after setting up your build environment): | ||
| 14 | |||
| 15 | make takashicompany/compacx:default | ||
| 16 | |||
| 17 | Flashing example for this keyboard: | ||
| 18 | |||
| 19 | make takashicompany/compacx:default:flash | ||
| 20 | |||
| 21 | 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). | ||
| 22 | |||
| 23 | ## Bootloader | ||
| 24 | |||
| 25 | Enter the bootloader in 3 ways: | ||
| 26 | |||
| 27 | * **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard | ||
| 28 | * **Physical reset button**: Briefly press the button on the back of the PCB - some may have pads you must short instead | ||
| 29 | * **Keycode in layout**: Press the key mapped to `RESET` if it is available | ||
diff --git a/keyboards/takashicompany/compacx/rules.mk b/keyboards/takashicompany/compacx/rules.mk new file mode 100644 index 000000000..a30c20773 --- /dev/null +++ b/keyboards/takashicompany/compacx/rules.mk | |||
| @@ -0,0 +1,23 @@ | |||
| 1 | # MCU name | ||
| 2 | MCU = atmega32u4 | ||
| 3 | |||
| 4 | # Bootloader selection | ||
| 5 | BOOTLOADER = caterina | ||
| 6 | |||
| 7 | # Build Options | ||
| 8 | # change yes to no to disable | ||
| 9 | # | ||
| 10 | BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite | ||
| 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 = yes # Enable keyboard RGB underglow | ||
| 21 | AUDIO_ENABLE = no # Audio output | ||
| 22 | SPLIT_KEYBOARD=yes | ||
| 23 | ENCODER_ENABLE = yes | ||
