diff options
Diffstat (limited to 'keyboards/handwired')
6 files changed, 212 insertions, 0 deletions
diff --git a/keyboards/handwired/phantagom/varan/info.json b/keyboards/handwired/phantagom/varan/info.json new file mode 100644 index 0000000000..5c5882f25f --- /dev/null +++ b/keyboards/handwired/phantagom/varan/info.json @@ -0,0 +1,71 @@ +{ + "manufacturer": "Dennis Kruyt", + "keyboard_name": "phantagom/varan", + "maintainer": "dkruyt", + "bootloader": "rp2040", + "diode_direction": "COL2ROW", + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true + }, + "rgblight": { + "led_count": 23, + "pin": "GP28", + "animations": { + "alternating": true, + "breathing": true, + "christmas": true, + "knight": true, + "rainbow_mood": true, + "rainbow_swirl": true, + "rgb_test": true, + "snake": true, + "static_gradient": true, + "twinkle": true + } + }, + "matrix_pins": { + "cols": ["GP17", "GP16", "GP15", "GP14"], + "rows": ["GP23", "GP22", "GP21", "GP20", "GP19", "GP18"] + }, + "processor": "RP2040", + "url": "https://github.com/dkruyt/mk/tree/main/varan", + "usb": { + "vid": "0xF8E8", + "pid": "0x0002", + "device_version": "0.0.3" + }, + "community_layouts": ["numpad_6x4"], + "layouts": { + "LAYOUT_numpad_6x4": { + "layout": [ + { "matrix": [0, 0], "x": 0, "y": 0 }, + { "matrix": [0, 1], "x": 1, "y": 0 }, + { "matrix": [0, 2], "x": 2, "y": 0 }, + { "matrix": [0, 3], "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": [1, 3], "x": 3, "y": 1 }, + { "matrix": [2, 0], "x": 0, "y": 2 }, + { "matrix": [2, 1], "x": 1, "y": 2 }, + { "matrix": [2, 2], "x": 2, "y": 2 }, + { "matrix": [3, 0], "x": 0, "y": 3 }, + { "matrix": [3, 1], "x": 1, "y": 3 }, + { "matrix": [3, 2], "x": 2, "y": 3 }, + { "h": 2, "matrix": [2, 3], "x": 3, "y": 2 }, + { "matrix": [4, 0], "x": 0, "y": 4 }, + { "matrix": [4, 1], "x": 1, "y": 4 }, + { "matrix": [4, 2], "x": 2, "y": 4 }, + { "matrix": [5, 0], "w": 2, "x": 0, "y": 5 }, + { "matrix": [5, 2], "x": 2, "y": 5 }, + { "h": 2, "matrix": [4, 3], "x": 3, "y": 4 } + ] + } + } +}
\ No newline at end of file diff --git a/keyboards/handwired/phantagom/varan/keymaps/default/keymap.c b/keyboards/handwired/phantagom/varan/keymaps/default/keymap.c new file mode 100644 index 0000000000..e80d41f888 --- /dev/null +++ b/keyboards/handwired/phantagom/varan/keymaps/default/keymap.c @@ -0,0 +1,54 @@ +// Copyright 2023 QMK +// SPDX-License-Identifier: GPL-2.0-or-later + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + /* + * ┌───┬───┬───┬───┐ + * │Esc│Tab│MO1│Bsp│ + * ├───┼───┼───┼───┤ + * │Num│ / │ * │ - │ + * ├───┼───┼───┼───┤ + * │ 7 │ 8 │ 9 │ │ + * ├───┼───┼───┤ + │ + * │ 4 │ 5 │ 6 │ │ + * ├───┼───┼───┼───┤ + * │ 1 │ 2 │ 3 │ │ + * ├───┴───┼───┤Ent│ + * │ 0 │ . │ │ + * └───────┴───┴───┘ + */ + [0] = LAYOUT_numpad_6x4( + KC_ESC, KC_TAB, MO(1), KC_BSPC, + KC_NUM, KC_PSLS, KC_PAST, KC_PMNS, + KC_P7, KC_P8, KC_P9, + KC_P4, KC_P5, KC_P6, KC_PPLS, + KC_P1, KC_P2, KC_P3, + KC_P0, KC_PDOT, KC_PENT + ), + + /* + * ┌───┐───┬───┬───┐ + * │Rst│Tab│MO1│Bsp│ + * ├───┼───┼───┼───┤ + * │RGB│RGB│RGB│ - │ + * ├───┼───┼───┼───┤ + * │Hom│ ↑ │PgU│ │ + * ├───┼───┼───┤ + │ + * │ ← │ │ → │ │ + * ├───┼───┼───┤───┤ + * │End│ ↓ │PgD│ │ + * ├───┴───┼───┤Ent│ + * │Insert │Del│ │ + * └───────┴───┘───┘ + */ + [1] = LAYOUT_numpad_6x4( + QK_BOOT, _______, _______, _______, + RGB_TOG, RGB_MOD, RGB_HUI, _______, + KC_HOME, KC_UP, KC_PGUP, + KC_LEFT, XXXXXXX, KC_RGHT, _______, + KC_END, KC_DOWN, KC_PGDN, + KC_INS, KC_DEL, _______ + ) +}; diff --git a/keyboards/handwired/phantagom/varan/keymaps/via/keymap.c b/keyboards/handwired/phantagom/varan/keymaps/via/keymap.c new file mode 100644 index 0000000000..e80d41f888 --- /dev/null +++ b/keyboards/handwired/phantagom/varan/keymaps/via/keymap.c @@ -0,0 +1,54 @@ +// Copyright 2023 QMK +// SPDX-License-Identifier: GPL-2.0-or-later + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + /* + * ┌───┬───┬───┬───┐ + * │Esc│Tab│MO1│Bsp│ + * ├───┼───┼───┼───┤ + * │Num│ / │ * │ - │ + * ├───┼───┼───┼───┤ + * │ 7 │ 8 │ 9 │ │ + * ├───┼───┼───┤ + │ + * │ 4 │ 5 │ 6 │ │ + * ├───┼───┼───┼───┤ + * │ 1 │ 2 │ 3 │ │ + * ├───┴───┼───┤Ent│ + * │ 0 │ . │ │ + * └───────┴───┴───┘ + */ + [0] = LAYOUT_numpad_6x4( + KC_ESC, KC_TAB, MO(1), KC_BSPC, + KC_NUM, KC_PSLS, KC_PAST, KC_PMNS, + KC_P7, KC_P8, KC_P9, + KC_P4, KC_P5, KC_P6, KC_PPLS, + KC_P1, KC_P2, KC_P3, + KC_P0, KC_PDOT, KC_PENT + ), + + /* + * ┌───┐───┬───┬───┐ + * │Rst│Tab│MO1│Bsp│ + * ├───┼───┼───┼───┤ + * │RGB│RGB│RGB│ - │ + * ├───┼───┼───┼───┤ + * │Hom│ ↑ │PgU│ │ + * ├───┼───┼───┤ + │ + * │ ← │ │ → │ │ + * ├───┼───┼───┤───┤ + * │End│ ↓ │PgD│ │ + * ├───┴───┼───┤Ent│ + * │Insert │Del│ │ + * └───────┴───┘───┘ + */ + [1] = LAYOUT_numpad_6x4( + QK_BOOT, _______, _______, _______, + RGB_TOG, RGB_MOD, RGB_HUI, _______, + KC_HOME, KC_UP, KC_PGUP, + KC_LEFT, XXXXXXX, KC_RGHT, _______, + KC_END, KC_DOWN, KC_PGDN, + KC_INS, KC_DEL, _______ + ) +}; diff --git a/keyboards/handwired/phantagom/varan/keymaps/via/rules.mk b/keyboards/handwired/phantagom/varan/keymaps/via/rules.mk new file mode 100644 index 0000000000..1e5b99807c --- /dev/null +++ b/keyboards/handwired/phantagom/varan/keymaps/via/rules.mk @@ -0,0 +1 @@ +VIA_ENABLE = yes diff --git a/keyboards/handwired/phantagom/varan/readme.md b/keyboards/handwired/phantagom/varan/readme.md new file mode 100644 index 0000000000..a7aaa16403 --- /dev/null +++ b/keyboards/handwired/phantagom/varan/readme.md @@ -0,0 +1,30 @@ +# phantagom/varan + +[Varan](https://en.wikipedia.org/wiki/Varan) is a fictional monster, or kaiju, which first appeared in the 1958 film Varan the Unbelievable + +![phantagom/varan](https://i.imgur.com/EuGAMyeh.jpeg) +![phantagom/varan](https://i.imgur.com/zO2ju9Ah.jpeg) + +A numpad with RGB strip based on a RP2040 controller. + +* Keyboard Maintainer: [Dennis Kruyt](https://github.com/dkruyt) +* Project page: [varan](https://github.com/dkruyt/mk/tree/main/varan) +* Hardware Supported: *RP2040-Zero* + +Make example for this keyboard (after setting up your build environment): + + make phantagom/varan:default + +Flashing example for this keyboard: + + make phantagom/varan: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 diff --git a/keyboards/handwired/phantagom/varan/rules.mk b/keyboards/handwired/phantagom/varan/rules.mk new file mode 100644 index 0000000000..bffd02535d --- /dev/null +++ b/keyboards/handwired/phantagom/varan/rules.mk @@ -0,0 +1,2 @@ +# Needed for RP2040 +WS2812_DRIVER = vendor
\ No newline at end of file |