aboutsummaryrefslogtreecommitdiff
path: root/keyboards/sneakbox
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/sneakbox')
-rw-r--r--keyboards/sneakbox/aliceclone/keyboard.json2
-rw-r--r--keyboards/sneakbox/aliceclonergb/keyboard.json2
-rw-r--r--keyboards/sneakbox/ava/keyboard.json2
-rw-r--r--keyboards/sneakbox/disarray/ortho/keyboard.json2
-rw-r--r--keyboards/sneakbox/disarray/staggered/keyboard.json2
-rw-r--r--keyboards/sneakbox/lilbae/keyboard.json69
-rw-r--r--keyboards/sneakbox/lilbae/keymaps/ansi_enter/keymap.c29
-rw-r--r--keyboards/sneakbox/lilbae/keymaps/default/keymap.c28
-rw-r--r--keyboards/sneakbox/lilbae/keymaps/iso/keymap.c35
-rw-r--r--keyboards/sneakbox/lilbae/keymaps/iso/rules.mk1
-rw-r--r--keyboards/sneakbox/lilbae/keymaps/split_ansi_enter/keymap.c35
-rw-r--r--keyboards/sneakbox/lilbae/keymaps/split_ansi_enter/rules.mk1
-rw-r--r--keyboards/sneakbox/lilbae/readme.md27
13 files changed, 225 insertions, 10 deletions
diff --git a/keyboards/sneakbox/aliceclone/keyboard.json b/keyboards/sneakbox/aliceclone/keyboard.json
index bb0cd8e4b8..ecf6aad57c 100644
--- a/keyboards/sneakbox/aliceclone/keyboard.json
+++ b/keyboards/sneakbox/aliceclone/keyboard.json
@@ -10,8 +10,6 @@
},
"features": {
"bootmagic": true,
- "command": false,
- "console": false,
"encoder": true,
"extrakey": true,
"mousekey": true,
diff --git a/keyboards/sneakbox/aliceclonergb/keyboard.json b/keyboards/sneakbox/aliceclonergb/keyboard.json
index be3d48fa87..b80ba95f91 100644
--- a/keyboards/sneakbox/aliceclonergb/keyboard.json
+++ b/keyboards/sneakbox/aliceclonergb/keyboard.json
@@ -10,8 +10,6 @@
},
"features": {
"bootmagic": true,
- "command": false,
- "console": false,
"encoder": true,
"extrakey": true,
"mousekey": true,
diff --git a/keyboards/sneakbox/ava/keyboard.json b/keyboards/sneakbox/ava/keyboard.json
index 41712f7e95..b871f6b14e 100644
--- a/keyboards/sneakbox/ava/keyboard.json
+++ b/keyboards/sneakbox/ava/keyboard.json
@@ -10,8 +10,6 @@
},
"features": {
"bootmagic": true,
- "command": false,
- "console": false,
"encoder": true,
"extrakey": true,
"mousekey": true,
diff --git a/keyboards/sneakbox/disarray/ortho/keyboard.json b/keyboards/sneakbox/disarray/ortho/keyboard.json
index 31a201e0d2..c9fc1e5012 100644
--- a/keyboards/sneakbox/disarray/ortho/keyboard.json
+++ b/keyboards/sneakbox/disarray/ortho/keyboard.json
@@ -10,8 +10,6 @@
},
"features": {
"bootmagic": true,
- "command": false,
- "console": false,
"encoder": true,
"extrakey": true,
"mousekey": true,
diff --git a/keyboards/sneakbox/disarray/staggered/keyboard.json b/keyboards/sneakbox/disarray/staggered/keyboard.json
index 4631795130..df5b0983ce 100644
--- a/keyboards/sneakbox/disarray/staggered/keyboard.json
+++ b/keyboards/sneakbox/disarray/staggered/keyboard.json
@@ -10,8 +10,6 @@
},
"features": {
"bootmagic": true,
- "command": false,
- "console": false,
"encoder": true,
"extrakey": true,
"mousekey": true,
diff --git a/keyboards/sneakbox/lilbae/keyboard.json b/keyboards/sneakbox/lilbae/keyboard.json
new file mode 100644
index 0000000000..b1aa92cb68
--- /dev/null
+++ b/keyboards/sneakbox/lilbae/keyboard.json
@@ -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}
+ ]
+ }
+ }
+}
diff --git a/keyboards/sneakbox/lilbae/keymaps/ansi_enter/keymap.c b/keyboards/sneakbox/lilbae/keymaps/ansi_enter/keymap.c
new file mode 100644
index 0000000000..775d33ff15
--- /dev/null
+++ b/keyboards/sneakbox/lilbae/keymaps/ansi_enter/keymap.c
@@ -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)
+};
diff --git a/keyboards/sneakbox/lilbae/keymaps/default/keymap.c b/keyboards/sneakbox/lilbae/keymaps/default/keymap.c
new file mode 100644
index 0000000000..4a4f4c80a6
--- /dev/null
+++ b/keyboards/sneakbox/lilbae/keymaps/default/keymap.c
@@ -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)
+};
diff --git a/keyboards/sneakbox/lilbae/keymaps/iso/keymap.c b/keyboards/sneakbox/lilbae/keymaps/iso/keymap.c
new file mode 100644
index 0000000000..3f15660c07
--- /dev/null
+++ b/keyboards/sneakbox/lilbae/keymaps/iso/keymap.c
@@ -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
diff --git a/keyboards/sneakbox/lilbae/keymaps/iso/rules.mk b/keyboards/sneakbox/lilbae/keymaps/iso/rules.mk
new file mode 100644
index 0000000000..ee32568148
--- /dev/null
+++ b/keyboards/sneakbox/lilbae/keymaps/iso/rules.mk
@@ -0,0 +1 @@
+ENCODER_MAP_ENABLE = yes
diff --git a/keyboards/sneakbox/lilbae/keymaps/split_ansi_enter/keymap.c b/keyboards/sneakbox/lilbae/keymaps/split_ansi_enter/keymap.c
new file mode 100644
index 0000000000..00d44fb935
--- /dev/null
+++ b/keyboards/sneakbox/lilbae/keymaps/split_ansi_enter/keymap.c
@@ -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
diff --git a/keyboards/sneakbox/lilbae/keymaps/split_ansi_enter/rules.mk b/keyboards/sneakbox/lilbae/keymaps/split_ansi_enter/rules.mk
new file mode 100644
index 0000000000..ee32568148
--- /dev/null
+++ b/keyboards/sneakbox/lilbae/keymaps/split_ansi_enter/rules.mk
@@ -0,0 +1 @@
+ENCODER_MAP_ENABLE = yes
diff --git a/keyboards/sneakbox/lilbae/readme.md b/keyboards/sneakbox/lilbae/readme.md
new file mode 100644
index 0000000000..f637df1c1b
--- /dev/null
+++ b/keyboards/sneakbox/lilbae/readme.md
@@ -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