f487b726cd31f51f652f0c498e9767118faeff10

Author
Alby Barber <alby@albybarber.com>
Committer
GitHub <noreply@github.com>
Date

Message

[Keyboard] Adding Little Alby the Arduino Keyboard (#10713)

* Adding little Alby keyboard

* Adding readme and expanding programs

* Updating readme

* adding spirit guide

* changes based on review

* Updating config name and readme

* Update keyboards/littlealby/mute/rules.mk

Update tabbing

Co-authored-by: Ryan <fauxpark@gmail.com>

* Update keyboards/littlealby/mute/rules.mk

Remove other boards

Co-authored-by: Ryan <fauxpark@gmail.com>

* Changes based on review

* Update keyboards/littlealby/mute/config.h

Co-authored-by: Ryan <fauxpark@gmail.com>

* Update keyboards/littlealby/mute/rules.mk

Co-authored-by: Ryan <fauxpark@gmail.com>

* Update keyboards/littlealby/readme.md

Co-authored-by: Ryan <fauxpark@gmail.com>

* Update keyboards/littlealby/readme.md

Co-authored-by: Ryan <fauxpark@gmail.com>

* Update keyboards/littlealby/mute/config.h

Co-authored-by: Ryan <fauxpark@gmail.com>

* Adding unique vendor and Product IDs

* Update keyboards/littlealby/mute/config.h

Co-authored-by: Ryan <fauxpark@gmail.com>

* 0x4D55 = MU

* Adding default map

Co-authored-by: Alby Barber <albybarber@gmail.com>
Co-authored-by: Ryan <fauxpark@gmail.com>

Diff

This diff is truncated to protect this page.

  1diff --git a/keyboards/littlealby/mute/config.h b/keyboards/littlealby/mute/config.h
  2new file mode 100644
  3index 0000000000000000000000000000000000000000..302b02a24ab964f9719b7a8ddf9a2812c17ba9b1
  4--- /dev/null
  5+++ b/keyboards/littlealby/mute/config.h
  6@@ -0,0 +1,45 @@
  7+/* Copyright 2019 albybarber
  8+ *
  9+ * This program is free software: you can redistribute it and/or modify
 10+ * it under the terms of the GNU General Public License as published by
 11+ * the Free Software Foundation, either version 2 of the License, or
 12+ * (at your option) any later version.
 13+ *
 14+ * This program is distributed in the hope that it will be useful,
 15+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
 16+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 17+ * GNU General Public License for more details.
 18+ *
 19+ * You should have received a copy of the GNU General Public License
 20+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 21+ */
 22+#pragma once
 23+#include "config_common.h"
 24+
 25+/* USB Device descriptor parameter */
 26+#define VENDOR_ID       0x4142 // "AB"
 27+#define PRODUCT_ID      0x4D55 // "MU"
 28+#define DEVICE_VER      0x0001
 29+#define MANUFACTURER    Little Alby
 30+#define PRODUCT         Mute
 31+
 32+#define USB_MAX_POWER_CONSUMPTION 100
 33+
 34+/* key matrix size */
 35+#define MATRIX_ROWS 1
 36+#define MATRIX_COLS 1
 37+
 38+/* Default pinout */
 39+/* See arduino micro pinout: https://content.arduino.cc/assets/Pinout-Micro_latest.png
 40+ * for pins e.g.
 41+ * PB5 = digital pin 9 / analog pin 9
 42+ */
 43+#define DIRECT_PINS { \
 44+    {B5} \
 45+}
 46+#define UNUSED_PINS
 47+
 48+#ifdef RGBLIGHT_ENABLE
 49+#define RGB_DI_PIN B6
 50+#define RGBLED_NUM 1
 51+#endif
 52diff --git a/keyboards/littlealby/mute/info.json b/keyboards/littlealby/mute/info.json
 53new file mode 100644
 54index 0000000000000000000000000000000000000000..47a936d2976e9dd1c5c8aa216d6072f4543a8025
 55--- /dev/null
 56+++ b/keyboards/littlealby/mute/info.json
 57@@ -0,0 +1,13 @@
 58+{
 59+  "keyboard_name": "Little Alby",
 60+  "keyboard_folder": "mute",
 61+  "url": "",
 62+  "maintainer": "albybarber",
 63+  "width": 1,
 64+  "height": 1,
 65+  "layouts": {
 66+    "LAYOUT": {
 67+      "layout": [ {"x": 0, "y": 0 }]
 68+    }
 69+  }
 70+}
 71diff --git a/keyboards/littlealby/mute/keymaps/default/keymap.c b/keyboards/littlealby/mute/keymaps/default/keymap.c
 72new file mode 100644
 73index 0000000000000000000000000000000000000000..c6cf9836e389f32ea5ad872ba56fd3e5e98d912d
 74--- /dev/null
 75+++ b/keyboards/littlealby/mute/keymaps/default/keymap.c
 76@@ -0,0 +1,23 @@
 77+/* Copyright 2019 albybarber
 78+ *
 79+ * This program is free software: you can redistribute it and/or modify
 80+ * it under the terms of the GNU General Public License as published by
 81+ * the Free Software Foundation, either version 2 of the License, or
 82+ * (at your option) any later version.
 83+ *
 84+ * This program is distributed in the hope that it will be useful,
 85+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
 86+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 87+ * GNU General Public License for more details.
 88+ *
 89+ * You should have received a copy of the GNU General Public License
 90+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 91+ */
 92+
 93+#include QMK_KEYBOARD_H
 94+
 95+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
 96+      [0] = LAYOUT(
 97+            SGUI(KC_A)
 98+          )
 99+};
100diff --git a/keyboards/littlealby/mute/keymaps/default/readme.md b/keyboards/littlealby/mute/keymaps/default/readme.md
101new file mode 100644
102index 0000000000000000000000000000000000000000..9ff489505f3c01637f459c289c8b44aa16c2926e
103--- /dev/null
104+++ b/keyboards/littlealby/mute/keymaps/default/readme.md
105@@ -0,0 +1,8 @@
106+# Default keymap for arduino micro for Zoom
107+
108+Default for Mute is to use ```PB5 / digital pin 9 / analog pin 9```
109+
110+Key commands that are emulated for Zoom is `CTL + SHIFT + W`
111+
112+## Example pinout
113+![Pinout](https://assets.codepen.io/18215/littleAlby_bb.png)
114diff --git a/keyboards/littlealby/mute/keymaps/g_meet/keymap.c b/keyboards/littlealby/mute/keymaps/g_meet/keymap.c
115new file mode 100644
116index 0000000000000000000000000000000000000000..38624a01abe2793a57ed81fb180b6abd3f2596e9
117--- /dev/null
118+++ b/keyboards/littlealby/mute/keymaps/g_meet/keymap.c
119@@ -0,0 +1,23 @@
120+/* Copyright 2019 albybarber
121+ *
122+ * This program is free software: you can redistribute it and/or modify
123+ * it under the terms of the GNU General Public License as published by
124+ * the Free Software Foundation, either version 2 of the License, or
125+ * (at your option) any later version.
126+ *
127+ * This program is distributed in the hope that it will be useful,
128+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
129+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
130+ * GNU General Public License for more details.
131+ *
132+ * You should have received a copy of the GNU General Public License
133+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
134+ */
135+
136+#include QMK_KEYBOARD_H
137+
138+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
139+      [0] = LAYOUT(
140+            RCTL(KC_D)
141+          )
142+};
143diff --git a/keyboards/littlealby/mute/keymaps/g_meet/readme.md b/keyboards/littlealby/mute/keymaps/g_meet/readme.md
144new file mode 100644
145index 0000000000000000000000000000000000000000..24732c67a1e90a7db3ff5022f0a2b39e7001e2b2
146--- /dev/null
147+++ b/keyboards/littlealby/mute/keymaps/g_meet/readme.md
148@@ -0,0 +1,8 @@
149+# Default keymap for arduino micro for Google Meet
150+
151+Default for Mute is to use ```PB5 / digital pin 9 / analog pin 9```
152+
153+Key commands that are emulated for google meet is `CTL + d`
154+
155+## Example pinout
156+![Pinout](https://assets.codepen.io/18215/littleAlby_bb.png)
157diff --git a/keyboards/littlealby/mute/keymaps/ms_teams/keymap.c b/keyboards/littlealby/mute/keymaps/ms_teams/keymap.c
158new file mode 100644
159index 0000000000000000000000000000000000000000..bb2cf1147cf596e894d3c73d769270e94f48319c
160--- /dev/null
161+++ b/keyboards/littlealby/mute/keymaps/ms_teams/keymap.c
162@@ -0,0 +1,23 @@
163+/* Copyright 2019 albybarber
164+ *
165+ * This program is free software: you can redistribute it and/or modify
166+ * it under the terms of the GNU General Public License as published by
167+ * the Free Software Foundation, either version 2 of the License, or
168+ * (at your option) any later version.
169+ *
170+ * This program is distributed in the hope that it will be useful,
171+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
172+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
173+ * GNU General Public License for more details.
174+ *
175+ * You should have received a copy of the GNU General Public License
176+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
177+ */
178+
179+#include QMK_KEYBOARD_H
180+
181+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
182+      [0] = LAYOUT(
183+            SGUI(KC_M)
184+          )
185+};
186diff --git a/keyboards/littlealby/mute/keymaps/ms_teams/readme.md b/keyboards/littlealby/mute/keymaps/ms_teams/readme.md
187new file mode 100644
188index 0000000000000000000000000000000000000000..a5874386230844b579a3b593d63917964dccd2ee
189--- /dev/null
190+++ b/keyboards/littlealby/mute/keymaps/ms_teams/readme.md
191@@ -0,0 +1,8 @@
192+# Default keymap for arduino micro for Microsoft teams
193+
194+Default for Mute is to use ```PB5 / digital pin 9 / analog pin 9```
195+
196+Key commands that are emulated for Microsoft teams is `CTL + SHIFT + M`
197+
198+## Example pinout
199+![Pinout](https://assets.codepen.io/18215/littleAlby_bb.png)
200diff --git a/keyboards/littlealby/mute/keymaps/zoom/keymap.c b/keyboards/littlealby/mute/keymaps/zoom/keymap.c
201new file mode 100644
202index 0000000000000000000000000000000000000000..c6cf9836e389f32ea5ad872ba56fd3e5e98d912d
203--- /dev/null
204+++ b/keyboards/littlealby/mute/keymaps/zoom/keymap.c
205@@ -0,0 +1,23 @@
206+/* Copyright 2019 albybarber
207+ *
208+ * This program is free software: you can redistribute it and/or modify
209+ * it under the terms of the GNU General Public License as published by
210+ * the Free Software Foundation, either version 2 of the License, or
211+ * (at your option) any later version.
212+ *
213+ * This program is distributed in the hope that it will be useful,
214+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
215+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
216+ * GNU General Public License for more details.
217+ *
218+ * You should have received a copy of the GNU General Public License
219+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
220+ */
221+
222+#include QMK_KEYBOARD_H
223+
224+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
225+      [0] = LAYOUT(
226+            SGUI(KC_A)
227+          )
228+};
229diff --git a/keyboards/littlealby/mute/keymaps/zoom/readme.md b/keyboards/littlealby/mute/keymaps/zoom/readme.md
230new file mode 100644
231index 0000000000000000000000000000000000000000..9ff489505f3c01637f459c289c8b44aa16c2926e
232--- /dev/null
233+++ b/keyboards/littlealby/mute/keymaps/zoom/readme.md
234@@ -0,0 +1,8 @@
235+# Default keymap for arduino micro for Zoom
236+
237+Default for Mute is to use ```PB5 / digital pin 9 / analog pin 9```
238+
239+Key commands that are emulated for Zoom is `CTL + SHIFT + W`
240+
241+## Example pinout
242+![Pinout](https://assets.codepen.io/18215/littleAlby_bb.png)
243diff --git a/keyboards/littlealby/mute/mute.c b/keyboards/littlealby/mute/mute.c
244new file mode 100644
245index 0000000000000000000000000000000000000000..4a207b8f380bee8d7f72b10783dd408d1c2f1853
246--- /dev/null
247+++ b/keyboards/littlealby/mute/mute.c
248@@ -0,0 +1,16 @@
249+/* Copyright 2019 albybatber
250+ *
251+ * This program is free software: you can redistribute it and/or modify
252+ * it under the terms of the GNU General Public License as published by
253+ * the Free Software Foundation, either version 2 of the License, or
254+ * (at your option) any later version.
255+ *
256+ * This program is distributed in the hope that it will be useful,
257+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
258+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
259+ * GNU General Public License for more details.
260+ *
261+ * You should have received a copy of the GNU General Public License
262+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
263+ */
264+#include "mute.h"
265diff --git a/keyboards/littlealby/mute/mute.h b/keyboards/littlealby/mute/mute.h
266new file mode 100644
267index 0000000000000000000000000000000000000000..ea8acd815ff6092a130df98fbf8a3b8450e64d16
268--- /dev/null
269+++ b/keyboards/littlealby/mute/mute.h
270@@ -0,0 +1,24 @@
271+/* Copyright 2019 albybarber
272+ *
273+ * This program is free software: you can redistribute it and/or modify
274+ * it under the terms of the GNU General Public License as published by
275+ * the Free Software Foundation, either version 2 of the License, or
276+ * (at your option) any later version.
277+ *
278+ * This program is distributed in the hope that it will be useful,
279+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
280+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
281+ * GNU General Public License for more details.
282+ *
283+ * You should have received a copy of the GNU General Public License
284+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
285+ */
286+#pragma once
287+
288+#include "quantum.h"
289+
290+#define LAYOUT( \
291+  K00  \
292+) { \
293+  { K00 } \
294+}
295diff --git a/keyboards/littlealby/mute/rules.mk b/keyboards/littlealby/mute/rules.mk
296new file mode 100644
297index 0000000000000000000000000000000000000000..0ea77b0552a27b08142650b3c579f1d3597f851b
298--- /dev/null
299+++ b/keyboards/littlealby/mute/rules.mk
300@@ -0,0 +1,22 @@
301+# MCU name
302+MCU = atmega32u4
303+
304+# Bootloader selection
305+BOOTLOADER = caterina
306+
307+# Build Options
308+#   change yes to no to disable
309+#
310+BOOTMAGIC_ENABLE = no       # Virtual DIP switch configuration
311+MOUSEKEY_ENABLE = no        # Mouse keys
312+EXTRAKEY_ENABLE = yes       # Audio control and System control
313+CONSOLE_ENABLE = no         # Console for debug
314+COMMAND_ENABLE = no         # Commands for debug and configuration
315+# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
316+SLEEP_LED_ENABLE = no       # Breathing sleep LED during USB suspend
317+# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
318+NKRO_ENABLE = no            # USB Nkey Rollover
319+BACKLIGHT_ENABLE = no       # Enable keyboard backlight functionality
320+RGBLIGHT_ENABLE = yes       # Enable keyboard RGB underglow
321+BLUETOOTH_ENABLE = no       # Enable Bluetooth
322+AUDIO_ENABLE = no           # Audio output
323diff --git a/keyboards/littlealby/readme.md b/keyboards/littlealby/readme.md
324new file mode 100644
325index 0000000000000000000000000000000000000000..039b09a584bbe79bd860ad51604d2b7c41443b93
326--- /dev/null
327+++ b/keyboards/littlealby/readme.md
328@@ -0,0 +1,34 @@
329+# Little Alby
330+
331+Little Alby is a keyboard library using QMK used to create Arduino based keyboards.
332+
333+## Keyboard Layouts
334+
335+[Mute:](keyboards/littlealby/mute)