Browse Source

Add Handwired Bouvet Macropad (#26040)

* Bouvet MacroPad v1

* Working macropad and encoders

* Fix matrix, and custom keymap

* The perfect developer keyboard

* Move to handwired

* Rev 1.1

* Move to handwired

* Turn off debugging

* Fix copyright

* qmk lint

* Update keyboard.json

* cleanup

* Update image

* Move encoder config

* Update keyboards/handwired/bouvet/macropad/v1/keyboard.json

Co-authored-by: Joel Challis <git@zvecr.com>

* Cleanup

---------

Co-authored-by: Joel Challis <git@zvecr.com>
Kenneth Fossen 3 months ago
parent
commit
c9f942e43c

+ 51 - 0
keyboards/handwired/bouvet/macropad/v1/keyboard.json

@@ -0,0 +1,51 @@
+{
+    "manufacturer": "Kenneth Fossen",
+    "keyboard_name": "Bouvet Macropad v1",
+    "maintainer": "spydx",
+    "development_board": "promicro",
+    "diode_direction": "COL2ROW",
+    "features": {
+        "extrakey": true,
+        "mousekey": true,
+        "nkro": true
+    },
+    "matrix_pins": {
+        "cols": ["D7","E6","B4","B5"],
+        "rows": ["B1", "B3", "B2", "B6"]
+    },
+    "encoders": {
+        "rotary": [
+            {"pin_a": "C6", "pin_b": "D4"},
+            {"pin_a": "F6", "pin_b": "F7"}
+        ]
+    },
+    "url": "https://kefo.no",
+    "usb": {
+        "device_version": "1.0.0",
+        "pid": "0x0000",
+        "vid": "0xFEED"
+    },
+    "layouts": {
+        "LAYOUT": {
+            "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": [2, 3], "x": 3, "y": 2},
+
+                {"matrix": [3, 1], "x": 1, "y": 3},
+                {"matrix": [3, 2], "x": 2, "y": 3}
+            ]
+        }
+    }
+}

+ 19 - 0
keyboards/handwired/bouvet/macropad/v1/keymaps/default/keymap.c

@@ -0,0 +1,19 @@
+// Copyright 2026 Kenneth Fossen
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#include QMK_KEYBOARD_H
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+    [0] = LAYOUT(
+        KC_MCTL,   LCS(KC_TAB), C(KC_TAB), KC_MPLY,
+        KC_P4,   KC_P5,   KC_P6,   KC_PAST,
+        KC_P1,   KC_P2,   KC_P3,   KC_PENT,
+                 LCMD(KC_C), LCMD(KC_V)
+    )
+};
+
+#if defined(ENCODER_MAP_ENABLE)
+const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
+    [0] = { ENCODER_CCW_CW(KC_MPRV, KC_MNXT), ENCODER_CCW_CW(KC_VOLD, KC_VOLU) }
+};
+#endif

+ 27 - 0
keyboards/handwired/bouvet/macropad/v1/readme.md

@@ -0,0 +1,27 @@
+# bouvet/macropad/v1
+
+![bouvet/macropad/v1](https://www.kefo.no/assets/macropad/macropad_v1.png)
+Small macropad, with two rotary encoder buttons and 14 keys.
+Optional OLED 128x16 screen, small learning and sharing project.
+
+* Keyboard Maintainer: [Kenneth Fossen](https://github.com/spydx)
+* Hardware Supported: Bouvet Macropad
+* Hardware Availability: [Shop](https://www.kefo.no/macropad)
+
+Make example for this keyboard (after setting up your build environment):
+
+    make handwired/bouvet/macropad/v1:default
+
+Flashing example for this keyboard:
+
+    make handwired/bouvet/macropad/v1: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