Add lilBAE support (#25259)

This commit is contained in:
SneakboxKB 2025-07-06 00:59:20 -05:00 committed by GitHub
parent 9e103614f8
commit da7811f82a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
8 changed files with 225 additions and 0 deletions

View File

@ -0,0 +1,69 @@
{
"keyboard_name": "Lil' BAE",
"manufacturer": "Sneakbox",
"maintainer": "mujimanic",
"bootloader": "atmel-dfu",
"build": {
"lto": true
},
"diode_direction": "COL2ROW",
"encoder": {
"rotary": [
{"pin_a": "D2", "pin_b": "D3"}
]
},
"bootmagic": {
"matrix": [0, 2]
},
"features": {
"bootmagic": true,
"encoder": true,
"extrakey": true,
"mousekey": true
},
"matrix_pins": {
"cols": ["B7", "D4", "D5", "D6"],
"rows": ["B4"]
},
"processor": "atmega32u2",
"url": "https://sneakbox.com",
"usb": {
"device_version": "0.0.1",
"pid": "0x0012",
"vid": "0x5342"
},
"layouts": {
"LAYOUT_all": {
"layout": [
{"matrix": [0, 0], "x": 1.75, "y": 0, "w": 1.5},
{"matrix": [0, 1], "x": 0, "y": 1},
{"matrix": [0, 2], "x": 1, "y": 1},
{"matrix": [0, 3], "x": 2, "y": 1, "w": 1.25}
]
},
"LAYOUT_ansi_enter": {
"layout": [
{"matrix": [0, 0], "x": 0.75, "y": 0, "w": 1.5},
{"matrix": [0, 2], "x": 0, "y": 1, "w": 2.25}
]
},
"LAYOUT_bae": {
"layout": [
{"matrix": [0, 2], "x": 0, "y": 0, "w": 2.25, "h": 2}
]
},
"LAYOUT_iso": {
"layout": [
{"matrix": [0, 0], "x": 1, "y": 0, "w": 1.25, "h": 2},
{"matrix": [0, 1], "x": 0, "y": 1}
]
},
"LAYOUT_split_ansi_enter": {
"layout": [
{"matrix": [0, 0], "x": 0.75, "y": 0, "w": 1.5},
{"matrix": [0, 1], "x": 0, "y": 1},
{"matrix": [0, 3], "x": 1, "y": 1, "w": 1.25}
]
}
}
}

View File

@ -0,0 +1,29 @@
/*
Copyright 2022 Bryan Ong
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include QMK_KEYBOARD_H
// Defines names for use in layer keycodes and the keymap
enum layer_names {
_BASE
};
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[_BASE] = LAYOUT_ansi_enter(
KC_BSLS,
KC_ENT)
};

View File

@ -0,0 +1,28 @@
/*
Copyright 2022 Bryan Ong
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include QMK_KEYBOARD_H
// Defines names for use in layer keycodes and the keymap
enum layer_names {
_BASE
};
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[_BASE] = LAYOUT_bae(
KC_ENT)
};

View File

@ -0,0 +1,35 @@
/*
Copyright 2022 Bryan Ong
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include QMK_KEYBOARD_H
// Defines names for use in layer keycodes and the keymap
enum layer_names {
_BASE
};
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[_BASE] = LAYOUT_iso(
KC_ENT,
KC_UNDO )
};
#if defined(ENCODER_MAP_ENABLE)
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
[_BASE] = { ENCODER_CCW_CW(KC_1, KC_2)}
};
#endif

View File

@ -0,0 +1 @@
ENCODER_MAP_ENABLE = yes

View File

@ -0,0 +1,35 @@
/*
Copyright 2022 Bryan Ong
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include QMK_KEYBOARD_H
// Defines names for use in layer keycodes and the keymap
enum layer_names {
_BASE
};
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[_BASE] = LAYOUT_split_ansi_enter(
KC_BSLS,
KC_UNDO, KC_LGUI)
};
#if defined(ENCODER_MAP_ENABLE)
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
[_BASE] = { ENCODER_CCW_CW(KC_1, KC_2)}
};
#endif

View File

@ -0,0 +1 @@
ENCODER_MAP_ENABLE = yes

View File

@ -0,0 +1,27 @@
# Sneakbox Lil' BAE
![Lil' BAE](https://i.imgur.com/WGNgOhM.jpeg)
A small macropad featuring key positions for a Big-Ass Enter (Reverse L-shaped enter key)
Keyboard Maintainer: [mujimanic](https://sneakbox.com)
Hardware Supported: Lil' BAE Case
Hardware Availability: [sneakbox.design](https://sneakbox.com/products/lil-bae-macropad)
Make example for this keyboard (after setting up your build environment):
make sneakbox/lilbae:default
Flashing example for this keyboard:
make sneakbox/lilbae: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,2) in the matrix (position mapped to ANSI enter key) 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