Files
437025dcb1 Add HEER S1 macropad (#26373)
* Add HEER S1 macropad

* Address review feedback for HEER S1

- readme: add product image, correct maintainer link and availability URL
- config.h: drop OLED_DISPLAY_ADDRESS, already the driver default
- keyboard.json: drop the i2c block, which only feeds split transport
- move the OLED to heer_s1.c as oled_task_kb
- default keymap reduced to keymaps[] and encoder_map[]

The default keymap also configured GP16/GP17 as GPIO inputs at boot. Those are
the OLED's I2C SDA/SCL lines, so it tore down the display bus on every start.
The encoder switches are on GP2/GP14. Removed along with the rest of the code.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

* Update keyboards/heer_s1/keymaps/default/keymap.c

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

* Update keyboards/heer_s1/keymaps/default/keymap.c

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

* Update keyboards/heer_s1/keymaps/default/keymap.c

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

* Update keyboards/heer_s1/keymaps/default/keymap.c

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

* Update keyboards/heer_s1/keyboard.json

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

* Update keyboards/heer_s1/readme.md

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

* Update keyboards/heer_s1/keymaps/default/keymap.c

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

* Update keyboards/heer_s1/keyboard.json

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

* Update keyboards/heer_s1/keyboard.json

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

* Fix duplicated enumerators in default keymap

The suggested enum replacement was applied alongside the original entries
rather than in place of them, leaving L_BASE, L_MEDIA and L_EDIT declared
twice.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

* Update keyboards/heer_s1/readme.md

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

* Update keyboards/heer_s1/keyboard.json

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

---------

Co-authored-by: HEER <heerelectronix@gmail.com>
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
Co-authored-by: Joel Challis <git@zvecr.com>
2026-08-04 22:46:16 -07:00

57 lines
1.8 KiB
JSON

{
"manufacturer": "Heer Works",
"keyboard_name": "HEER S1",
"maintainer": "heer",
"bootloader": "rp2040",
"processor": "RP2040",
"usb": {
"vid": "0x4857",
"pid": "0x5331",
"device_version": "1.0.0"
},
"matrix_pins": {
"masked": true,
"cols": ["GP8", "GP9", "GP10", "GP11"],
"rows": ["GP4", "GP5", "GP6", "GP7", "GP2", "GP14"]
},
"diode_direction": "ROW2COL",
"encoder": {
"rotary": [
{"pin_a": "GP0", "pin_b": "GP1"},
{"pin_a": "GP12", "pin_b": "GP13"}
]
},
"features": {
"bootmagic": true,
"encoder": true,
"extrakey": true,
"mousekey": true,
"nkro": true,
"oled": true
},
"layouts": {
"LAYOUT": {
"layout": [
{"matrix": [4, 0], "x": 0, "y": 0, "encoder": 0},
{"matrix": [5, 0], "x": 1, "y": 0, "encoder": 1},
{"matrix": [0, 0], "x": 0, "y": 1},
{"matrix": [0, 1], "x": 1, "y": 1},
{"matrix": [0, 2], "x": 2, "y": 1},
{"matrix": [0, 3], "x": 3, "y": 1},
{"matrix": [1, 0], "x": 0, "y": 2},
{"matrix": [1, 1], "x": 1, "y": 2},
{"matrix": [1, 2], "x": 2, "y": 2},
{"matrix": [1, 3], "x": 3, "y": 2},
{"matrix": [2, 0], "x": 0, "y": 3},
{"matrix": [2, 1], "x": 1, "y": 3},
{"matrix": [2, 2], "x": 2, "y": 3},
{"matrix": [2, 3], "x": 3, "y": 3},
{"matrix": [3, 0], "x": 0, "y": 4},
{"matrix": [3, 1], "x": 1, "y": 4},
{"matrix": [3, 2], "x": 2, "y": 4},
{"matrix": [3, 3], "x": 3, "y": 4}
]
}
}
}