diff options
| author | QMK Bot <hello@qmk.fm> | 2024-03-30 03:46:45 +0000 |
|---|---|---|
| committer | QMK Bot <hello@qmk.fm> | 2024-03-30 03:46:45 +0000 |
| commit | da041fcd536a24f3677ef92a002edfa5b1d88bfb (patch) | |
| tree | dadd52359fc7e28ca4c197a24ca841879c6cf378 /keyboards | |
| parent | cf84ec0123ad2bc6e783e386733dbb18b6dc2215 (diff) | |
| parent | 54593975bf58fbf82b712be863aea39e87bc061f (diff) | |
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'keyboards')
| -rw-r--r-- | keyboards/takashicompany/rookey/info.json | 50 | ||||
| -rw-r--r-- | keyboards/takashicompany/rookey/keymaps/default/keymap.c | 24 | ||||
| -rw-r--r-- | keyboards/takashicompany/rookey/keymaps/default/rules.mk | 1 | ||||
| -rw-r--r-- | keyboards/takashicompany/rookey/keymaps/via/keymap.c | 20 | ||||
| -rw-r--r-- | keyboards/takashicompany/rookey/keymaps/via/rules.mk | 2 | ||||
| -rw-r--r-- | keyboards/takashicompany/rookey/readme.md | 43 | ||||
| -rw-r--r-- | keyboards/takashicompany/rookey/rules.mk | 1 |
7 files changed, 141 insertions, 0 deletions
diff --git a/keyboards/takashicompany/rookey/info.json b/keyboards/takashicompany/rookey/info.json new file mode 100644 index 0000000000..9473345409 --- /dev/null +++ b/keyboards/takashicompany/rookey/info.json | |||
| @@ -0,0 +1,50 @@ | |||
| 1 | { | ||
| 2 | "manufacturer": "takashicompany", | ||
| 3 | "keyboard_name": "Rookey", | ||
| 4 | "maintainer": "takashicompany", | ||
| 5 | "development_board": "promicro", | ||
| 6 | "diode_direction": "COL2ROW", | ||
| 7 | "encoder": { | ||
| 8 | "rotary": [ | ||
| 9 | {"pin_a": "B4", "pin_b": "E6"} | ||
| 10 | ] | ||
| 11 | }, | ||
| 12 | "features": { | ||
| 13 | "bootmagic": true, | ||
| 14 | "command": false, | ||
| 15 | "console": false, | ||
| 16 | "encoder": true, | ||
| 17 | "extrakey": true, | ||
| 18 | "mousekey": true, | ||
| 19 | "nkro": true | ||
| 20 | }, | ||
| 21 | "matrix_pins": { | ||
| 22 | "direct": [ | ||
| 23 | ["F4", "F5", "F6", "F7", "B1", "B3", "B2", "B6", "B5"] | ||
| 24 | ] | ||
| 25 | }, | ||
| 26 | "url": "https://github.com/takashicompany/rookey", | ||
| 27 | "usb": { | ||
| 28 | "device_version": "1.0.0", | ||
| 29 | "pid": "0x0056", | ||
| 30 | "vid": "0x7463" | ||
| 31 | }, | ||
| 32 | "dynamic_keymap": { | ||
| 33 | "layer_count": 16 | ||
| 34 | }, | ||
| 35 | "layouts": { | ||
| 36 | "LAYOUT": { | ||
| 37 | "layout": [ | ||
| 38 | {"matrix": [0, 0], "x": 0, "y": 0}, | ||
| 39 | {"matrix": [0, 1], "x": 1, "y": 0}, | ||
| 40 | {"matrix": [0, 2], "x": 2, "y": 0}, | ||
| 41 | {"matrix": [0, 3], "x": 3, "y": 0}, | ||
| 42 | {"matrix": [0, 4], "x": 0, "y": 1}, | ||
| 43 | {"matrix": [0, 5], "x": 1, "y": 1}, | ||
| 44 | {"matrix": [0, 6], "x": 2, "y": 1}, | ||
| 45 | {"matrix": [0, 7], "x": 3, "y": 1}, | ||
| 46 | {"matrix": [0, 8], "x": 4, "y": 2} | ||
| 47 | ] | ||
| 48 | } | ||
| 49 | } | ||
| 50 | } \ No newline at end of file | ||
diff --git a/keyboards/takashicompany/rookey/keymaps/default/keymap.c b/keyboards/takashicompany/rookey/keymaps/default/keymap.c new file mode 100644 index 0000000000..a224aaf7ea --- /dev/null +++ b/keyboards/takashicompany/rookey/keymaps/default/keymap.c | |||
| @@ -0,0 +1,24 @@ | |||
| 1 | // Copyright 2023 QMK | ||
| 2 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 3 | |||
| 4 | #include QMK_KEYBOARD_H | ||
| 5 | |||
| 6 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 7 | [0] = LAYOUT( | ||
| 8 | LT(1, KC_Q), KC_W, KC_E, KC_R, | ||
| 9 | KC_A, KC_S, KC_D, KC_F, | ||
| 10 | KC_V | ||
| 11 | ), | ||
| 12 | [1] = LAYOUT( | ||
| 13 | _______, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 14 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 15 | KC_TRNS | ||
| 16 | ) | ||
| 17 | }; | ||
| 18 | |||
| 19 | #if defined(ENCODER_MAP_ENABLE) | ||
| 20 | const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = { | ||
| 21 | [0] = { ENCODER_CCW_CW(KC_1, KC_2) }, | ||
| 22 | [1] = { ENCODER_CCW_CW(KC_LEFT, KC_RIGHT) } | ||
| 23 | }; | ||
| 24 | #endif | ||
diff --git a/keyboards/takashicompany/rookey/keymaps/default/rules.mk b/keyboards/takashicompany/rookey/keymaps/default/rules.mk new file mode 100644 index 0000000000..a40474b4d5 --- /dev/null +++ b/keyboards/takashicompany/rookey/keymaps/default/rules.mk | |||
| @@ -0,0 +1 @@ | |||
| ENCODER_MAP_ENABLE = yes \ No newline at end of file | |||
diff --git a/keyboards/takashicompany/rookey/keymaps/via/keymap.c b/keyboards/takashicompany/rookey/keymaps/via/keymap.c new file mode 100644 index 0000000000..4e18986145 --- /dev/null +++ b/keyboards/takashicompany/rookey/keymaps/via/keymap.c | |||
| @@ -0,0 +1,20 @@ | |||
| 1 | // Copyright 2023 QMK | ||
| 2 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 3 | |||
| 4 | #include QMK_KEYBOARD_H | ||
| 5 | |||
| 6 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 7 | |||
| 8 | [0] = LAYOUT( | ||
| 9 | KC_Q, KC_W, KC_E, KC_R, | ||
| 10 | KC_A, KC_S, KC_D, KC_F, | ||
| 11 | KC_V | ||
| 12 | ) | ||
| 13 | }; | ||
| 14 | |||
| 15 | #if defined(ENCODER_MAP_ENABLE) | ||
| 16 | const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = { | ||
| 17 | |||
| 18 | [0] = { ENCODER_CCW_CW(KC_MS_WH_UP, KC_MS_WH_DOWN) } | ||
| 19 | }; | ||
| 20 | #endif \ No newline at end of file | ||
diff --git a/keyboards/takashicompany/rookey/keymaps/via/rules.mk b/keyboards/takashicompany/rookey/keymaps/via/rules.mk new file mode 100644 index 0000000000..6ccd6d9194 --- /dev/null +++ b/keyboards/takashicompany/rookey/keymaps/via/rules.mk | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | ENCODER_MAP_ENABLE = yes | ||
| 2 | VIA_ENABLE = yes \ No newline at end of file | ||
diff --git a/keyboards/takashicompany/rookey/readme.md b/keyboards/takashicompany/rookey/readme.md new file mode 100644 index 0000000000..f9393ca220 --- /dev/null +++ b/keyboards/takashicompany/rookey/readme.md | |||
| @@ -0,0 +1,43 @@ | |||
| 1 | # Rookey | ||
| 2 | |||
| 3 |  | ||
| 4 | |||
| 5 | Rookey, as the name implies, is a DIY keyboard "Rookie" creation. | ||
| 6 | |||
| 7 | With its small number of parts and simple structure, it can be easily completed even by first-time assemblers. | ||
| 8 | |||
| 9 | Despite its small size, it can be used as a 9-key macro pad, and a rotary encoder can also be attached. | ||
| 10 | |||
| 11 | It can be used not only as a first unit, but also as a long-lasting unit. | ||
| 12 | |||
| 13 | --- | ||
| 14 | |||
| 15 | Rookeyは名前の通り、DIYキーボードの"Rookie"のために作られた一作です。 | ||
| 16 | |||
| 17 | 部品数が少なく、構造がシンプルなため初めて組み立てる人でも容易に完成させることができます。 | ||
| 18 | |||
| 19 | 小さいながらも9キーのマクロパッドとして使用ができる上に、ロータリーエンコーダの取り付けも可能です。 | ||
| 20 | |||
| 21 | 初めての一台としてはもちろん、永く使い続ける一台としても愛用することができます。 | ||
| 22 | |||
| 23 | * Keyboard Maintainer: [takashicompany](https://github.com/takashicompany) | ||
| 24 | * Hardware Supported: Rookey PCB, Pro Micro | ||
| 25 | * Hardware Availability: https://github.com/takashicompany/rookey | ||
| 26 | |||
| 27 | Make example for this keyboard (after setting up your build environment): | ||
| 28 | |||
| 29 | make takashicompany/rookey:default | ||
| 30 | |||
| 31 | Flashing example for this keyboard: | ||
| 32 | |||
| 33 | make takashicompany/rookey:default:flash | ||
| 34 | |||
| 35 | 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). | ||
| 36 | |||
| 37 | ## Bootloader | ||
| 38 | |||
| 39 | Enter the bootloader in 3 ways: | ||
| 40 | |||
| 41 | * **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard | ||
| 42 | * **Physical reset button**: Briefly press the button on the back of the PCB - some may have pads you must short instead | ||
| 43 | * **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available | ||
diff --git a/keyboards/takashicompany/rookey/rules.mk b/keyboards/takashicompany/rookey/rules.mk new file mode 100644 index 0000000000..6e7633bfe0 --- /dev/null +++ b/keyboards/takashicompany/rookey/rules.mk | |||
| @@ -0,0 +1 @@ | |||
| # This file intentionally left blank | |||
