mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-07-16 12:51:47 +00:00
Merge remote-tracking branch 'origin/master' into develop
This commit is contained in:
commit
a9a2b699cd
69
keyboards/sneakbox/lilbae/keyboard.json
Normal file
69
keyboards/sneakbox/lilbae/keyboard.json
Normal 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}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
29
keyboards/sneakbox/lilbae/keymaps/ansi_enter/keymap.c
Normal file
29
keyboards/sneakbox/lilbae/keymaps/ansi_enter/keymap.c
Normal 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)
|
||||||
|
};
|
28
keyboards/sneakbox/lilbae/keymaps/default/keymap.c
Normal file
28
keyboards/sneakbox/lilbae/keymaps/default/keymap.c
Normal 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)
|
||||||
|
};
|
35
keyboards/sneakbox/lilbae/keymaps/iso/keymap.c
Normal file
35
keyboards/sneakbox/lilbae/keymaps/iso/keymap.c
Normal 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
|
1
keyboards/sneakbox/lilbae/keymaps/iso/rules.mk
Normal file
1
keyboards/sneakbox/lilbae/keymaps/iso/rules.mk
Normal file
@ -0,0 +1 @@
|
|||||||
|
ENCODER_MAP_ENABLE = yes
|
35
keyboards/sneakbox/lilbae/keymaps/split_ansi_enter/keymap.c
Normal file
35
keyboards/sneakbox/lilbae/keymaps/split_ansi_enter/keymap.c
Normal 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
|
@ -0,0 +1 @@
|
|||||||
|
ENCODER_MAP_ENABLE = yes
|
27
keyboards/sneakbox/lilbae/readme.md
Normal file
27
keyboards/sneakbox/lilbae/readme.md
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
# Sneakbox Lil' BAE
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
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
|
Loading…
Reference in New Issue
Block a user