From bb3af86e1c2e8b2de74ecbc2e1b143ed78c04013 Mon Sep 17 00:00:00 2001 From: takashicompany Date: Sat, 9 Nov 2024 17:55:34 +0900 Subject: [PATCH] add left_slinger --- .../takashicompany/left_slinger/keyboard.json | 187 ++++++++++++++++++ .../left_slinger/keymaps/default/keymap.c | 25 +++ .../takashicompany/left_slinger/readme.md | 27 +++ 3 files changed, 239 insertions(+) create mode 100644 keyboards/takashicompany/left_slinger/keyboard.json create mode 100644 keyboards/takashicompany/left_slinger/keymaps/default/keymap.c create mode 100644 keyboards/takashicompany/left_slinger/readme.md diff --git a/keyboards/takashicompany/left_slinger/keyboard.json b/keyboards/takashicompany/left_slinger/keyboard.json new file mode 100644 index 00000000000..137de5c0035 --- /dev/null +++ b/keyboards/takashicompany/left_slinger/keyboard.json @@ -0,0 +1,187 @@ +{ + "manufacturer": "takashicompany", + "keyboard_name": "Left Slinger", + "maintainer": "takashicompany", + "bootloader": "rp2040", + "diode_direction": "COL2ROW", + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, + "matrix_pins": { + "cols": [ + "GP5", + "GP6", + "GP7" + ], + "rows": [ + "GP8", + "GP9", + "GP10", + "GP11", + "GP12", + "GP13" + ] + }, + "processor": "RP2040", + "url": "", + "usb": { + "device_version": "1.0.0", + "pid": "0x0061", + "vid": "0x7463" + }, + "layouts": { + "LAYOUT": { + "layout": [ + { + "matrix": [ + 0, + 0 + ], + "x": 1, + "y": 0 + }, + { + "matrix": [ + 0, + 1 + ], + "x": 2, + "y": 0 + }, + { + "matrix": [ + 0, + 2 + ], + "x": 3, + "y": 0 + }, + { + "matrix": [ + 1, + 0 + ], + "x": 0, + "y": 1 + }, + { + "matrix": [ + 1, + 1 + ], + "x": 1, + "y": 1 + }, + { + "matrix": [ + 1, + 2 + ], + "x": 2, + "y": 1 + }, + { + "matrix": [ + 2, + 0 + ], + "x": 3, + "y": 1 + }, + { + "matrix": [ + 3, + 0 + ], + "x": 0, + "y": 2 + }, + { + "matrix": [ + 3, + 1 + ], + "x": 1, + "y": 2 + }, + { + "matrix": [ + 3, + 2 + ], + "x": 2, + "y": 2 + }, + { + "matrix": [ + 2, + 1 + ], + "x": 3, + "y": 2 + }, + { + "matrix": [ + 2, + 2 + ], + "x": 4.25, + "y": 2.25 + }, + { + "matrix": [ + 4, + 0 + ], + "x": 1, + "y": 3.25 + }, + { + "matrix": [ + 4, + 1 + ], + "x": 2, + "y": 3.25 + }, + { + "matrix": [ + 4, + 2 + ], + "x": 3, + "y": 3.25 + }, + { + "matrix": [ + 5, + 0 + ], + "x": 1, + "y": 4.25 + }, + { + "matrix": [ + 5, + 1 + ], + "x": 2, + "y": 4.25 + }, + { + "matrix": [ + 5, + 2 + ], + "x": 3, + "y": 4.25 + } + ] + } + } +} \ No newline at end of file diff --git a/keyboards/takashicompany/left_slinger/keymaps/default/keymap.c b/keyboards/takashicompany/left_slinger/keymaps/default/keymap.c new file mode 100644 index 00000000000..5bf2989a196 --- /dev/null +++ b/keyboards/takashicompany/left_slinger/keymaps/default/keymap.c @@ -0,0 +1,25 @@ +// Copyright 2023 QMK +// SPDX-License-Identifier: GPL-2.0-or-later + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + /* + * ┌───┬───┬───┬───┐ + * │ 7 │ 8 │ 9 │ / │ + * ├───┼───┼───┼───┤ + * │ 4 │ 5 │ 6 │ * │ + * ├───┼───┼───┼───┤ + * │ 1 │ 2 │ 3 │ - │ + * ├───┼───┼───┼───┤ + * │ 0 │ . │Ent│ + │ + * └───┴───┴───┴───┘ + */ + [0] = LAYOUT( + KC_1, KC_2, KC_3, + KC_4, KC_5, KC_6, KC_7, + KC_8, KC_9, KC_0, KC_A, KC_B, + KC_C, KC_D, KC_E, + KC_F, KC_G, KC_H + ) +}; diff --git a/keyboards/takashicompany/left_slinger/readme.md b/keyboards/takashicompany/left_slinger/readme.md new file mode 100644 index 00000000000..798c3556f9d --- /dev/null +++ b/keyboards/takashicompany/left_slinger/readme.md @@ -0,0 +1,27 @@ +# takashicompany/left_slinger + +![takashicompany/left_slinger](imgur.com image replace me!) + +*A short description of the keyboard/project* + +* Keyboard Maintainer: [takashicompany](https://github.com/takashicompany) +* Hardware Supported: *The PCBs, controllers supported* +* Hardware Availability: *Links to where you can find this hardware* + +Make example for this keyboard (after setting up your build environment): + + make takashicompany/left_slinger:default + +Flashing example for this keyboard: + + make takashicompany/left_slinger:default:flash + +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). + +## Bootloader + +Enter the bootloader in 3 ways: + +* **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard +* **Physical reset button**: Briefly press the button on the back of the PCB - some may have pads you must short instead +* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available