diff options
| author | James <13719009+quadcube@users.noreply.github.com> | 2021-06-16 12:21:13 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-15 20:21:13 -0700 |
| commit | f5c2f7153d7e8c5d4356551bbf8b374da545b8fc (patch) | |
| tree | fcdf3d1b35a97bb85274af2bd1194dd31a510926 /keyboards/tokyo60 | |
| parent | 640f0fc7c6e69b5950a09f0e114914b71196752d (diff) | |
| download | qmk_firmware-f5c2f7153d7e8c5d4356551bbf8b374da545b8fc.tar.gz qmk_firmware-f5c2f7153d7e8c5d4356551bbf8b374da545b8fc.zip | |
[Keyboard] Moved tokyo60/ into tokyokeyboard/tokyo60/. (#12023)
* Moved tokyo60/ into tokyokeyboard/tokyo60/.
* Updated make instruction, fixed broken image link
* Fixed still broken image link.
Diffstat (limited to 'keyboards/tokyo60')
| -rw-r--r-- | keyboards/tokyo60/config.h | 53 | ||||
| -rw-r--r-- | keyboards/tokyo60/info.json | 320 | ||||
| -rw-r--r-- | keyboards/tokyo60/keymaps/default/config.h | 3 | ||||
| -rw-r--r-- | keyboards/tokyo60/keymaps/default/keymap.c | 49 | ||||
| -rw-r--r-- | keyboards/tokyo60/keymaps/swappedBottomRow/config.h | 3 | ||||
| -rw-r--r-- | keyboards/tokyo60/keymaps/swappedBottomRow/keymap.c | 47 | ||||
| -rw-r--r-- | keyboards/tokyo60/keymaps/via/keymap.c | 37 | ||||
| -rw-r--r-- | keyboards/tokyo60/keymaps/via/rules.mk | 1 | ||||
| -rw-r--r-- | keyboards/tokyo60/readme.md | 15 | ||||
| -rw-r--r-- | keyboards/tokyo60/rules.mk | 33 | ||||
| -rw-r--r-- | keyboards/tokyo60/tokyo60.c | 18 | ||||
| -rw-r--r-- | keyboards/tokyo60/tokyo60.h | 19 |
12 files changed, 0 insertions, 598 deletions
diff --git a/keyboards/tokyo60/config.h b/keyboards/tokyo60/config.h deleted file mode 100644 index 03dee74e9..000000000 --- a/keyboards/tokyo60/config.h +++ /dev/null | |||
| @@ -1,53 +0,0 @@ | |||
| 1 | #pragma once | ||
| 2 | |||
| 3 | #include "config_common.h" | ||
| 4 | |||
| 5 | /* USB Device descriptor parameter */ | ||
| 6 | #define VENDOR_ID 0x5436 // "T6" | ||
| 7 | #define PRODUCT_ID 0x6060 // Tokyo60 | ||
| 8 | #define DEVICE_VER 0x0001 | ||
| 9 | #define MANUFACTURER Tokyo Keyboard | ||
| 10 | #define PRODUCT Tokyo60 | ||
| 11 | |||
| 12 | /* key matrix size */ | ||
| 13 | #define MATRIX_ROWS 5 | ||
| 14 | #define MATRIX_COLS 14 | ||
| 15 | |||
| 16 | /* number of backlight levels */ | ||
| 17 | #define BACKLIGHT_PIN B7 | ||
| 18 | #ifdef BACKLIGHT_PIN | ||
| 19 | #define BACKLIGHT_LEVELS 6 | ||
| 20 | #endif | ||
| 21 | |||
| 22 | /* COL2ROW or ROW2COL */ | ||
| 23 | #define DIODE_DIRECTION ROW2COL | ||
| 24 | |||
| 25 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
| 26 | #define DEBOUNCE 5 | ||
| 27 | |||
| 28 | /* Set power consumption to work with mobile devices */ | ||
| 29 | #define USB_MAX_POWER_CONSUMPTION 100 | ||
| 30 | |||
| 31 | /* key matrix pins */ | ||
| 32 | #define MATRIX_ROW_PINS { D0, D1, D2, D3, D5 } | ||
| 33 | #define MATRIX_COL_PINS { F0, F1, E6, C7, C6, B6, D4, B1, B2, B5, B4, D7, D6, B3 } | ||
| 34 | #define UNUSED_PINS | ||
| 35 | |||
| 36 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
| 37 | #define LOCKING_SUPPORT_ENABLE | ||
| 38 | |||
| 39 | /* Locking resynchronize hack */ | ||
| 40 | #define LOCKING_RESYNC_ENABLE | ||
| 41 | |||
| 42 | #define RGB_DI_PIN F7 | ||
| 43 | #ifdef RGB_DI_PIN | ||
| 44 | #define RGBLIGHT_ANIMATIONS | ||
| 45 | #define RGBLED_NUM 10 | ||
| 46 | #define RGBLIGHT_HUE_STEP 12 | ||
| 47 | #define RGBLIGHT_SAT_STEP 12 | ||
| 48 | #define RGBLIGHT_VAL_STEP 12 | ||
| 49 | #endif | ||
| 50 | |||
| 51 | /* For Production */ | ||
| 52 | #define QMK_ESC_OUTPUT F0 // usually COL | ||
| 53 | #define QMK_ESC_INPUT D0 // usually ROW | ||
diff --git a/keyboards/tokyo60/info.json b/keyboards/tokyo60/info.json deleted file mode 100644 index 10d1bf093..000000000 --- a/keyboards/tokyo60/info.json +++ /dev/null | |||
| @@ -1,320 +0,0 @@ | |||
| 1 | { | ||
| 2 | "keyboard_name": "Tokyo60", | ||
| 3 | "url": "https://tokyokeyboard.com/", | ||
| 4 | "maintainer": "qmk", | ||
| 5 | "width": 15, | ||
| 6 | "height": 5, | ||
| 7 | "layouts": { | ||
| 8 | "LAYOUT_60_hhkb": { | ||
| 9 | "layout": [{ | ||
| 10 | "label": "Esc", | ||
| 11 | "x": 0, | ||
| 12 | "y": 0 | ||
| 13 | }, | ||
| 14 | { | ||
| 15 | "label": "!", | ||
| 16 | "x": 1, | ||
| 17 | "y": 0 | ||
| 18 | }, | ||
| 19 | { | ||
| 20 | "label": "@", | ||
| 21 | "x": 2, | ||
| 22 | "y": 0 | ||
| 23 | }, | ||
| 24 | { | ||
| 25 | "label": "#", | ||
| 26 | "x": 3, | ||
| 27 | "y": 0 | ||
| 28 | }, | ||
| 29 | { | ||
| 30 | "label": "$", | ||
| 31 | "x": 4, | ||
| 32 | "y": 0 | ||
| 33 | }, | ||
| 34 | { | ||
| 35 | "label": "%", | ||
| 36 | "x": 5, | ||
| 37 | "y": 0 | ||
| 38 | }, | ||
| 39 | { | ||
| 40 | "label": "^", | ||
| 41 | "x": 6, | ||
| 42 | "y": 0 | ||
| 43 | }, | ||
| 44 | { | ||
| 45 | "label": "&", | ||
| 46 | "x": 7, | ||
| 47 | "y": 0 | ||
| 48 | }, | ||
| 49 | { | ||
| 50 | "label": "*", | ||
| 51 | "x": 8, | ||
| 52 | "y": 0 | ||
| 53 | }, | ||
| 54 | { | ||
| 55 | "label": "(", | ||
| 56 | "x": 9, | ||
| 57 | "y": 0 | ||
| 58 | }, | ||
| 59 | { | ||
| 60 | "label": ")", | ||
| 61 | "x": 10, | ||
| 62 | "y": 0 | ||
| 63 | }, | ||
| 64 | { | ||
| 65 | "label": "_", | ||
| 66 | "x": 11, | ||
| 67 | "y": 0 | ||
| 68 | }, | ||
| 69 | { | ||
| 70 | "label": "+", | ||
| 71 | "x": 12, | ||
| 72 | "y": 0 | ||
| 73 | }, | ||
| 74 | { | ||
| 75 | "label": "|", | ||
| 76 | "x": 13, | ||
| 77 | "y": 0 | ||
| 78 | }, | ||
| 79 | { | ||
| 80 | "label": "~", | ||
| 81 | "x": 14, | ||
| 82 | "y": 0 | ||
| 83 | }, | ||
| 84 | { | ||
| 85 | "label": "Tab", | ||
| 86 | "x": 0, | ||
| 87 | "y": 1, | ||
| 88 | "w": 1.5 | ||
| 89 | }, | ||
| 90 | { | ||
| 91 | "label": "Q", | ||
| 92 | "x": 1.5, | ||
| 93 | "y": 1 | ||
| 94 | }, | ||
| 95 | { | ||
| 96 | "label": "W", | ||
| 97 | "x": 2.5, | ||
| 98 | "y": 1 | ||
| 99 | }, | ||
| 100 | { | ||
| 101 | "label": "E", | ||
| 102 | "x": 3.5, | ||
| 103 | "y": 1 | ||
| 104 | }, | ||
| 105 | { | ||
| 106 | "label": "R", | ||
| 107 | "x": 4.5, | ||
| 108 | "y": 1 | ||
| 109 | }, | ||
| 110 | { | ||
| 111 | "label": "T", | ||
| 112 | "x": 5.5, | ||
| 113 | "y": 1 | ||
| 114 | }, | ||
| 115 | { | ||
| 116 | "label": "Y", | ||
| 117 | "x": 6.5, | ||
| 118 | "y": 1 | ||
| 119 | }, | ||
| 120 | { | ||
| 121 | "label": "U", | ||
| 122 | "x": 7.5, | ||
| 123 | "y": 1 | ||
| 124 | }, | ||
| 125 | { | ||
| 126 | "label": "I", | ||
| 127 | "x": 8.5, | ||
| 128 | "y": 1 | ||
| 129 | }, | ||
| 130 | { | ||
| 131 | "label": "O", | ||
| 132 | "x": 9.5, | ||
| 133 | "y": 1 | ||
| 134 | }, | ||
| 135 | { | ||
| 136 | "label": "P", | ||
| 137 | "x": 10.5, | ||
| 138 | "y": 1 | ||
| 139 | }, | ||
| 140 | { | ||
| 141 | "label": "{", | ||
| 142 | "x": 11.5, | ||
| 143 | "y": 1 | ||
| 144 | }, | ||
| 145 | { | ||
| 146 | "label": "}", | ||
| 147 | "x": 12.5, | ||
| 148 | "y": 1 | ||
| 149 | }, | ||
| 150 | { | ||
| 151 | "label": "Delete", | ||
| 152 | "x": 13.5, | ||
| 153 | "y": 1, | ||
| 154 | "w": 1.5 | ||
| 155 | }, | ||
| 156 | { | ||
| 157 | "label": "Control", | ||
| 158 | "x": 0, | ||
| 159 | "y": 2, | ||
| 160 | "w": 1.75 | ||
| 161 | }, | ||
| 162 | { | ||
| 163 | "label": "A", | ||
| 164 | "x": 1.75, | ||
| 165 | "y": 2 | ||
| 166 | }, | ||
| 167 | { | ||
| 168 | "label": "S", | ||
| 169 | "x": 2.75, | ||
| 170 | "y": 2 | ||
| 171 | }, | ||
| 172 | { | ||
| 173 | "label": "D", | ||
| 174 | "x": 3.75, | ||
| 175 | "y": 2 | ||
| 176 | }, | ||
| 177 | { | ||
| 178 | "label": "F", | ||
| 179 | "x": 4.75, | ||
| 180 | "y": 2 | ||
| 181 | }, | ||
| 182 | { | ||
| 183 | "label": "G", | ||
| 184 | "x": 5.75, | ||
| 185 | "y": 2 | ||
| 186 | }, | ||
| 187 | { | ||
| 188 | "label": "H", | ||
| 189 | "x": 6.75, | ||
| 190 | "y": 2 | ||
| 191 | }, | ||
| 192 | { | ||
| 193 | "label": "J", | ||
| 194 | "x": 7.75, | ||
| 195 | "y": 2 | ||
| 196 | }, | ||
| 197 | { | ||
| 198 | "label": "K", | ||
| 199 | "x": 8.75, | ||
| 200 | "y": 2 | ||
| 201 | }, | ||
| 202 | { | ||
| 203 | "label": "L", | ||
| 204 | "x": 9.75, | ||
| 205 | "y": 2 | ||
| 206 | }, | ||
| 207 | { | ||
| 208 | "label": ":", | ||
| 209 | "x": 10.75, | ||
| 210 | "y": 2 | ||
| 211 | }, | ||
| 212 | { | ||
| 213 | "label": "\"", | ||
| 214 | "x": 11.75, | ||
| 215 | "y": 2 | ||
| 216 | }, | ||
| 217 | { | ||
| 218 | "label": "Enter", | ||
| 219 | "x": 12.75, | ||
| 220 | "y": 2, | ||
| 221 | "w": 2.25 | ||
| 222 | }, | ||
| 223 | { | ||
| 224 | "label": "Shift", | ||
| 225 | "x": 0, | ||
| 226 | "y": 3, | ||
| 227 | "w": 2.25 | ||
| 228 | }, | ||
| 229 | { | ||
| 230 | "label": "Z", | ||
| 231 | "x": 2.25, | ||
| 232 | "y": 3 | ||
| 233 | }, | ||
| 234 | { | ||
| 235 | "label": "X", | ||
| 236 | "x": 3.25, | ||
| 237 | "y": 3 | ||
| 238 | }, | ||
| 239 | { | ||
| 240 | "label": "C", | ||
| 241 | "x": 4.25, | ||
| 242 | "y": 3 | ||
| 243 | }, | ||
| 244 | { | ||
| 245 | "label": "V", | ||
| 246 | "x": 5.25, | ||
| 247 | "y": 3 | ||
| 248 | }, | ||
| 249 | { | ||
| 250 | "label": "B", | ||
| 251 | "x": 6.25, | ||
| 252 | "y": 3 | ||
| 253 | }, | ||
| 254 | { | ||
| 255 | "label": "N", | ||
| 256 | "x": 7.25, | ||
| 257 | "y": 3 | ||
| 258 | }, | ||
| 259 | { | ||
| 260 | "label": "M", | ||
| 261 | "x": 8.25, | ||
| 262 | "y": 3 | ||
| 263 | }, | ||
| 264 | { | ||
| 265 | "label": "<", | ||
| 266 | "x": 9.25, | ||
| 267 | "y": 3 | ||
| 268 | }, | ||
| 269 | { | ||
| 270 | "label": ">", | ||
| 271 | "x": 10.25, | ||
| 272 | "y": 3 | ||
| 273 | }, | ||
| 274 | { | ||
| 275 | "label": "?", | ||
| 276 | "x": 11.25, | ||
| 277 | "y": 3 | ||
| 278 | }, | ||
| 279 | { | ||
| 280 | "label": "Shift", | ||
| 281 | "x": 12.25, | ||
| 282 | "y": 3, | ||
| 283 | "w": 1.75 | ||
| 284 | }, | ||
| 285 | { | ||
| 286 | "label": "Fn", | ||
| 287 | "x": 14, | ||
| 288 | "y": 3 | ||
| 289 | }, | ||
| 290 | { | ||
| 291 | "label": "Os", | ||
| 292 | "x": 1.5, | ||
| 293 | "y": 4 | ||
| 294 | }, | ||
| 295 | { | ||
| 296 | "label": "Alt", | ||
| 297 | "x": 2.5, | ||
| 298 | "y": 4, | ||
| 299 | "w": 1.5 | ||
| 300 | }, | ||
| 301 | { | ||
| 302 | "x": 4, | ||
| 303 | "y": 4, | ||
| 304 | "w": 7 | ||
| 305 | }, | ||
| 306 | { | ||
| 307 | "label": "Alt", | ||
| 308 | "x": 11, | ||
| 309 | "y": 4, | ||
| 310 | "w": 1.5 | ||
| 311 | }, | ||
| 312 | { | ||
| 313 | "label": "Os", | ||
| 314 | "x": 12.5, | ||
| 315 | "y": 4 | ||
| 316 | } | ||
| 317 | ] | ||
| 318 | } | ||
| 319 | } | ||
| 320 | } \ No newline at end of file | ||
diff --git a/keyboards/tokyo60/keymaps/default/config.h b/keyboards/tokyo60/keymaps/default/config.h deleted file mode 100644 index 271f48d00..000000000 --- a/keyboards/tokyo60/keymaps/default/config.h +++ /dev/null | |||
| @@ -1,3 +0,0 @@ | |||
| 1 | #pragma once | ||
| 2 | |||
| 3 | // place overrides here | ||
diff --git a/keyboards/tokyo60/keymaps/default/keymap.c b/keyboards/tokyo60/keymaps/default/keymap.c deleted file mode 100644 index 9139d15bc..000000000 --- a/keyboards/tokyo60/keymaps/default/keymap.c +++ /dev/null | |||
| @@ -1,49 +0,0 @@ | |||
| 1 | #include QMK_KEYBOARD_H | ||
| 2 | |||
| 3 | #define BL 0 | ||
| 4 | #define FN 1 | ||
| 5 | /* | ||
| 6 | * Default HHKB Layout | ||
| 7 | */ | ||
| 8 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 9 | /* 0: Default layer | ||
| 10 | ┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐ | ||
| 11 | │ Esc │ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ - │ = │ \ │ ` │ | ||
| 12 | ├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤ | ||
| 13 | │ Tab │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ [ │ ] │BkSpc│█████│ | ||
| 14 | ├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤ | ||
| 15 | │Ctrl │ A │ S │ D │ F │ G │ H │ J │ K │ L │ ; │ ' │█████│Enter│█████│ | ||
| 16 | ├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤ | ||
| 17 | │Shift│█████│ Z │ X │ C │ V │ B │ N │ M │ , │ . │ / │█████│Shift│ Fn │ | ||
| 18 | ├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤ | ||
| 19 | │█████│ Alt │ Gui │█████│█████│Space│█████│█████│█████│█████│█████│ Gui │ Alt │█████│█████│ | ||
| 20 | └─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘ | ||
| 21 | */ | ||
| 22 | [BL] = LAYOUT_60_hhkb( | ||
| 23 | KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_GRV, \ | ||
| 24 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSPC, \ | ||
| 25 | KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, \ | ||
| 26 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(FN), \ | ||
| 27 | KC_LALT, KC_LGUI, KC_SPC, KC_RGUI, KC_RALT ), | ||
| 28 | /* 1: HHKB Fn layer | ||
| 29 | ┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐ | ||
| 30 | │ Pwr │ F1 │ F2 │ F3 │ F4 │ F5 │ F6 │ F7 │ F8 │ F9 │ F10 │ F11 │ F12 │ Ins │ Del │ | ||
| 31 | ├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤ | ||
| 32 | │Caps │ RGB │RGBfw│RGBrv│BLtog│BLstp│ │ │ Psc │ Slk │ Pus │ Up │ │ │█████│ | ||
| 33 | ├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤ | ||
| 34 | │ │ VoD │ VoU │ Mut │ Ejc │ │NP_* │NP_/ │Home │PgUp │Left │Right│█████│NPEnt│█████│ | ||
| 35 | ├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤ | ||
| 36 | │ │█████│ │ │ │ │ │NP_+ │NP_- │ End │PgDwn│Down │█████│ │ │ | ||
| 37 | ├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤ | ||
| 38 | │█████│ │ │█████│█████│█████│ │█████│█████│█████│█████│ │ │█████│█████│ | ||
| 39 | └─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘ | ||
| 40 | */ | ||
| 41 | [FN]= LAYOUT_60_hhkb( | ||
| 42 | KC_PWR, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_INS, KC_DEL, \ | ||
| 43 | KC_CAPS, RGB_TOG, RGB_MOD, RGB_RMOD, BL_TOGG, BL_STEP, KC_TRNS, KC_TRNS, KC_PSCR, KC_SLCK, KC_PAUS, KC_UP, KC_TRNS, KC_TRNS, \ | ||
| 44 | KC_TRNS, KC_VOLD, KC_VOLU, KC_MUTE, KC_EJCT, KC_TRNS, KC_PAST, KC_PSLS, KC_HOME, KC_PGUP, KC_LEFT, KC_RGHT, KC_PENT, \ | ||
| 45 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PPLS, KC_PMNS, KC_END, KC_PGDN, KC_DOWN, KC_TRNS, KC_TRNS, \ | ||
| 46 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS ), | ||
| 47 | }; | ||
| 48 | |||
| 49 | |||
diff --git a/keyboards/tokyo60/keymaps/swappedBottomRow/config.h b/keyboards/tokyo60/keymaps/swappedBottomRow/config.h deleted file mode 100644 index 271f48d00..000000000 --- a/keyboards/tokyo60/keymaps/swappedBottomRow/config.h +++ /dev/null | |||
| @@ -1,3 +0,0 @@ | |||
| 1 | #pragma once | ||
| 2 | |||
| 3 | // place overrides here | ||
diff --git a/keyboards/tokyo60/keymaps/swappedBottomRow/keymap.c b/keyboards/tokyo60/keymaps/swappedBottomRow/keymap.c deleted file mode 100644 index 54b68f582..000000000 --- a/keyboards/tokyo60/keymaps/swappedBottomRow/keymap.c +++ /dev/null | |||
| @@ -1,47 +0,0 @@ | |||
| 1 | #include QMK_KEYBOARD_H | ||
| 2 | |||
| 3 | #define BL 0 | ||
| 4 | #define FN 1 | ||
| 5 | /* | ||
| 6 | * Default HHKB Layout | ||
| 7 | */ | ||
| 8 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 9 | /* 0: Default layer | ||
| 10 | ┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐ | ||
| 11 | │ Esc │ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ - │ = │ \ │ ` │ | ||
| 12 | ├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤ | ||
| 13 | │ Tab │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ [ │ ] │BkSpc│█████│ | ||
| 14 | ├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤ | ||
| 15 | │Ctrl │ A │ S │ D │ F │ G │ H │ J │ K │ L │ ; │ ' │█████│Enter│█████│ | ||
| 16 | ├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤ | ||
| 17 | │Shift│█████│ Z │ X │ C │ V │ B │ N │ M │ , │ . │ / │█████│Shift│ Fn │ | ||
| 18 | ├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤ | ||
| 19 | │█████│ Gui │ Alt │█████│█████│Space│█████│█████│█████│█████│█████│ Alt │ Gui │█████│█████│ | ||
| 20 | └─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘ | ||
| 21 | */ | ||
| 22 | [BL] = LAYOUT_60_hhkb( | ||
| 23 | KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_GRV, \ | ||
| 24 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSPC, \ | ||
| 25 | KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, \ | ||
| 26 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(FN), \ | ||
| 27 | KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI ), | ||
| 28 | /* 1: HHKB Fn layer | ||
| 29 | ┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐ | ||
| 30 | │ │ F1 │ F2 │ F3 │ F4 │ F5 │ F6 │ F7 │ F8 │ F9 │ F10 │ F11 │ F12 │ Ins │ Del │ | ||
| 31 | ├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤ | ||
| 32 | │Caps │ RGB │RGBfw│RGBrv│BLtog│BLstp│ │ │ Psc │ Slk │ Pus │ Up │ │ │█████│ | ||
| 33 | ├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤ | ||
| 34 | │ │ VoD │ VoU │ Mut │ │ │NP_* │NP_/ │Home │PgUp │Left │Right│█████│NPEnt│█████│ | ||
| 35 | ├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤ | ||
| 36 | │ │█████│ │ │Calc │ │ │NP_+ │NP_- │ End │PgDwn│Down │█████│ │ │ | ||
| 37 | ├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤ | ||
| 38 | │█████│ │ │█████│█████│█████│ │█████│█████│█████│█████│ │ │█████│█████│ | ||
| 39 | └─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘ | ||
| 40 | */ | ||
| 41 | [FN]= LAYOUT_60_hhkb( | ||
| 42 | KC_TRNS, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_INS, KC_DEL, \ | ||
| 43 | KC_CAPS, RGB_TOG, RGB_MOD, RGB_RMOD, BL_TOGG, BL_STEP, KC_TRNS, KC_TRNS, KC_PSCR, KC_SLCK, KC_PAUS, KC_UP, KC_TRNS, KC_TRNS, \ | ||
| 44 | KC_TRNS, KC_VOLD, KC_VOLU, KC_MUTE, KC_TRNS, KC_TRNS, KC_PAST, KC_PSLS, KC_HOME, KC_PGUP, KC_LEFT, KC_RGHT, KC_PENT, \ | ||
| 45 | KC_TRNS, KC_TRNS, KC_TRNS, KC_CALC, KC_TRNS, KC_TRNS, KC_PPLS, KC_PMNS, KC_END, KC_PGDN, KC_DOWN, KC_TRNS, KC_TRNS, \ | ||
| 46 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS ), | ||
| 47 | }; | ||
diff --git a/keyboards/tokyo60/keymaps/via/keymap.c b/keyboards/tokyo60/keymaps/via/keymap.c deleted file mode 100644 index ffef9af79..000000000 --- a/keyboards/tokyo60/keymaps/via/keymap.c +++ /dev/null | |||
| @@ -1,37 +0,0 @@ | |||
| 1 | #include QMK_KEYBOARD_H | ||
| 2 | |||
| 3 | #define BL 0 | ||
| 4 | #define FN 1 | ||
| 5 | /* | ||
| 6 | * Default HHKB Layout | ||
| 7 | */ | ||
| 8 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 9 | |||
| 10 | [BL] = LAYOUT_60_hhkb( | ||
| 11 | KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_GRV, \ | ||
| 12 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSPC, \ | ||
| 13 | KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, \ | ||
| 14 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(FN), \ | ||
| 15 | KC_LALT, KC_LGUI, KC_SPC, KC_RGUI, KC_RALT ), | ||
| 16 | |||
| 17 | [FN]= LAYOUT_60_hhkb( | ||
| 18 | KC_PWR, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_INS, KC_DEL, \ | ||
| 19 | KC_CAPS, RGB_TOG, RGB_MOD, RGB_RMOD, BL_TOGG, BL_STEP, KC_TRNS, KC_TRNS, KC_PSCR, KC_SLCK, KC_PAUS, KC_UP, KC_TRNS, KC_TRNS, \ | ||
| 20 | KC_TRNS, KC_VOLD, KC_VOLU, KC_MUTE, KC_EJCT, KC_TRNS, KC_PAST, KC_PSLS, KC_HOME, KC_PGUP, KC_LEFT, KC_RGHT, KC_PENT, \ | ||
| 21 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PPLS, KC_PMNS, KC_END, KC_PGDN, KC_DOWN, KC_TRNS, KC_TRNS, \ | ||
| 22 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS ), | ||
| 23 | |||
| 24 | [2]= LAYOUT_60_hhkb( | ||
| 25 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, \ | ||
| 26 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, \ | ||
| 27 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, \ | ||
| 28 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, \ | ||
| 29 | _______, _______, _______, _______, _______ ), | ||
| 30 | |||
| 31 | [3]= LAYOUT_60_hhkb( | ||
| 32 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, \ | ||
| 33 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, \ | ||
| 34 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, \ | ||
| 35 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, \ | ||
| 36 | _______, _______, _______, _______, _______ ), | ||
| 37 | }; | ||
diff --git a/keyboards/tokyo60/keymaps/via/rules.mk b/keyboards/tokyo60/keymaps/via/rules.mk deleted file mode 100644 index 1e5b99807..000000000 --- a/keyboards/tokyo60/keymaps/via/rules.mk +++ /dev/null | |||
| @@ -1 +0,0 @@ | |||
| 1 | VIA_ENABLE = yes | ||
diff --git a/keyboards/tokyo60/readme.md b/keyboards/tokyo60/readme.md deleted file mode 100644 index 74f4e07cc..000000000 --- a/keyboards/tokyo60/readme.md +++ /dev/null | |||
| @@ -1,15 +0,0 @@ | |||
| 1 | # Tokyo60 | ||
| 2 | | ||
| 3 |  | ||
| 4 | | ||
| 5 | Minimal hacker style mechanical keyboard designed in Tokyo. Full aluminum hi-pro construction with integrated top-plate. Cherry MX compatible. More Info at [Tokyo Keyboard](http://tokyokeyboard.com). | ||
| 6 | | ||
| 7 | * Keyboard Maintainer: [Tokyo Keyboard](http://tokyokeyboard.com) | ||
| 8 | * Hardware Supported: Tokyo60 Rev.1 | ||
| 9 | * Hardware Availability: [Drop](https://drop.com/buy/massdrop-x-tokyo-keyboard-tokyo60-keyboard-kit?mode=guest_open) | ||
| 10 | | ||
| 11 | Make example for this keyboard (after setting up your build environment): | ||
| 12 | | ||
| 13 | make tokyo60:default | ||
| 14 | | ||
| 15 | 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/tokyo60/rules.mk b/keyboards/tokyo60/rules.mk deleted file mode 100644 index fa639b1ca..000000000 --- a/keyboards/tokyo60/rules.mk +++ /dev/null | |||
| @@ -1,33 +0,0 @@ | |||
| 1 | # MCU name | ||
| 2 | MCU = atmega32u4 | ||
| 3 | |||
| 4 | # Bootloader selection | ||
| 5 | # Teensy halfkay | ||
| 6 | # Pro Micro caterina | ||
| 7 | # Atmel DFU atmel-dfu | ||
| 8 | # LUFA DFU lufa-dfu | ||
| 9 | # QMK DFU qmk-dfu | ||
| 10 | # ATmega32A bootloadHID | ||
| 11 | # ATmega328P USBasp | ||
| 12 | BOOTLOADER = atmel-dfu | ||
| 13 | |||
| 14 | # Build Options | ||
| 15 | # change yes to no to disable | ||
| 16 | # | ||
| 17 | BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration | ||
| 18 | MOUSEKEY_ENABLE = no # Mouse keys | ||
| 19 | EXTRAKEY_ENABLE = yes # Audio control and System control | ||
| 20 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
| 21 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
| 22 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 23 | MIDI_ENABLE = no # MIDI controls | ||
| 24 | UNICODE_ENABLE = no # Unicode | ||
| 25 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | ||
| 26 | AUDIO_ENABLE = no # Audio output on port C6 | ||
| 27 | CONSOLE_ENABLE = no # Console for debug | ||
| 28 | COMMAND_ENABLE = yes # Commands for debug and configuration | ||
| 29 | NKRO_ENABLE = yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 30 | BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality | ||
| 31 | RGBLIGHT_ENABLE = yes # Enable RGB light | ||
| 32 | |||
| 33 | LAYOUTS = 60_hhkb | ||
diff --git a/keyboards/tokyo60/tokyo60.c b/keyboards/tokyo60/tokyo60.c deleted file mode 100644 index 2126bb612..000000000 --- a/keyboards/tokyo60/tokyo60.c +++ /dev/null | |||
| @@ -1,18 +0,0 @@ | |||
| 1 | #include "tokyo60.h" | ||
| 2 | |||
| 3 | void matrix_init_kb(void) { | ||
| 4 | // Keyboard start-up code goes here | ||
| 5 | // Runs once when the firmware starts up | ||
| 6 | matrix_init_user(); | ||
| 7 | led_init_ports(); | ||
| 8 | }; | ||
| 9 | |||
| 10 | void matrix_scan_kb(void) { | ||
| 11 | // Looping keyboard code goes here | ||
| 12 | // This runs every cycle (a lot) | ||
| 13 | matrix_scan_user(); | ||
| 14 | }; | ||
| 15 | |||
| 16 | void led_init_ports(void) { | ||
| 17 | /* LEDs on */ | ||
| 18 | } | ||
diff --git a/keyboards/tokyo60/tokyo60.h b/keyboards/tokyo60/tokyo60.h deleted file mode 100644 index 9eb5f3e62..000000000 --- a/keyboards/tokyo60/tokyo60.h +++ /dev/null | |||
| @@ -1,19 +0,0 @@ | |||
| 1 | #pragma once | ||
| 2 | |||
| 3 | #include "quantum.h" | ||
| 4 | |||
| 5 | #define XXX KC_NO | ||
| 6 | |||
| 7 | #define LAYOUT_60_hhkb( \ | ||
| 8 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K1D,\ | ||
| 9 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K2D, \ | ||
| 10 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K3D, \ | ||
| 11 | K30, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K4D, \ | ||
| 12 | K42, K43, K46, K4B, K4C \ | ||
| 13 | ) { \ | ||
| 14 | { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D }, \ | ||
| 15 | { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D }, \ | ||
| 16 | { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, XXX, K2D }, \ | ||
| 17 | { K30, XXX, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3D }, \ | ||
| 18 | { XXX, K42, K43, XXX, XXX, K46, XXX, XXX, XXX, XXX, XXX, K4B, K4C, K4D } \ | ||
| 19 | } | ||
