aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/gowla
diff options
context:
space:
mode:
authorSam Gowland <10119462+SamGowland@users.noreply.github.com>2020-07-04 11:51:42 +0100
committerGitHub <noreply@github.com>2020-07-04 11:51:42 +0100
commit13a8d1681ca89b14931b0f9246dad4a4f60705fa (patch)
tree01a8d5ff855e0528688edecfee03b66b7eda8b99 /keyboards/gowla
parentb30d0361c52ac3b0c0ae2c4a6f90d1666a767a86 (diff)
downloadfirmware-13a8d1681ca89b14931b0f9246dad4a4f60705fa.tar.gz
firmware-13a8d1681ca89b14931b0f9246dad4a4f60705fa.tar.bz2
firmware-13a8d1681ca89b14931b0f9246dad4a4f60705fa.zip
[Keyboard] Gowla Macro Board (#9643)
Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Erovia <Erovia@users.noreply.github.com>
Diffstat (limited to 'keyboards/gowla')
-rw-r--r--keyboards/gowla/config.h38
-rw-r--r--keyboards/gowla/gowla.c1
-rw-r--r--keyboards/gowla/gowla.h13
-rw-r--r--keyboards/gowla/info.json24
-rw-r--r--keyboards/gowla/keymaps/default/keymap.c14
-rw-r--r--keyboards/gowla/readme.md15
-rw-r--r--keyboards/gowla/rules.mk31
7 files changed, 136 insertions, 0 deletions
diff --git a/keyboards/gowla/config.h b/keyboards/gowla/config.h
new file mode 100644
index 000000000..65fd8ca1e
--- /dev/null
+++ b/keyboards/gowla/config.h
@@ -0,0 +1,38 @@
+/*
+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/>.
+*/
+
+#pragma once
+
+#include "config_common.h"
+
+/* USB Device descriptor parameter */
+#define VENDOR_ID 0xFEED
+#define PRODUCT_ID 0xE9B6
+#define DEVICE_VER 0x0001
+#define MANUFACTURER Gowla
+#define PRODUCT Gowla Macro Board
+#define DESCRIPTION 3x3 PCB
+
+/* Matrix size */
+#define MATRIX_ROWS 3
+#define MATRIX_COLS 3
+
+/* Pin-out */
+#define MATRIX_ROW_PINS { D1, D0, D4 }
+#define MATRIX_COL_PINS { B5, B4, E6 }
+#define UNUSED_PINS
+
+/* ROW2COL */
+#define DIODE_DIRECTION ROW2COL
diff --git a/keyboards/gowla/gowla.c b/keyboards/gowla/gowla.c
new file mode 100644
index 000000000..13781bce3
--- /dev/null
+++ b/keyboards/gowla/gowla.c
@@ -0,0 +1 @@
+#include "gowla.h"
diff --git a/keyboards/gowla/gowla.h b/keyboards/gowla/gowla.h
new file mode 100644
index 000000000..fa98c1f40
--- /dev/null
+++ b/keyboards/gowla/gowla.h
@@ -0,0 +1,13 @@
+#pragma once
+
+#include "quantum.h"
+
+#define LAYOUT_ortho_3x3( \
+ k00, k01, k02, \
+ k10, k11, k12, \
+ k20, k21, k22 \
+) { \
+ { k00, k01, k02 }, \
+ { k10, k11, k12 }, \
+ { k20, k21, k22 } \
+}
diff --git a/keyboards/gowla/info.json b/keyboards/gowla/info.json
new file mode 100644
index 000000000..4d1a5e167
--- /dev/null
+++ b/keyboards/gowla/info.json
@@ -0,0 +1,24 @@
+{
+ "keyboard_name": "Gowla Macro Pad",
+ "url": "https://github.com/SamGowland/Gowla-Macro-Board",
+ "maintainer": "Gowla",
+ "width": 3,
+ "height": 3,
+ "layouts": {
+ "LAYOUT_ortho_3x3": {
+ "layout": [
+ {"x": 0, "y": 0},
+ {"x": 1, "y": 0},
+ {"x": 2, "y": 0},
+
+ {"x": 0, "y": 1},
+ {"x": 1, "y": 1},
+ {"x": 2, "y": 1},
+
+ {"x": 0, "y": 2},
+ {"x": 1, "y": 2},
+ {"x": 2, "y": 2}
+ ]
+ }
+ }
+}
diff --git a/keyboards/gowla/keymaps/default/keymap.c b/keyboards/gowla/keymaps/default/keymap.c
new file mode 100644
index 000000000..326c8f0e9
--- /dev/null
+++ b/keyboards/gowla/keymaps/default/keymap.c
@@ -0,0 +1,14 @@
+#include QMK_KEYBOARD_H
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+ [0] = LAYOUT_ortho_3x3(
+ LT(1, KC_MPRV), KC_MNXT, KC_MPLY,
+ KC_VOLD, KC_UP, KC_VOLU,
+ KC_LEFT, KC_DOWN, KC_RGHT
+ ),
+ [1] = LAYOUT_ortho_3x3(
+ KC_ESC, KC_MPLY, RESET,
+ KC_P7, KC_P1, KC_F1,
+ KC_F2, KC_F3, KC_F4
+ )
+};
diff --git a/keyboards/gowla/readme.md b/keyboards/gowla/readme.md
new file mode 100644
index 000000000..caf27c75f
--- /dev/null
+++ b/keyboards/gowla/readme.md
@@ -0,0 +1,15 @@
+# Gowla Macro Board
+
+![Gowla](https://github.com/SamGowland/Gowla-Macro-Board/blob/master/Images/comp.jpg)
+
+Simple Compact 3x3 Macro Board for use with QMK, designed and sold by Gowla.
+
+* Keyboard Maintainer: [Gowla](https://github.com/SamGowland/)
+* Hardware Supported: Pro Micro ATmega32U4, Cherry Mount Switches
+* Hardware Availability: [Repo](https://github.com/SamGowland/Gowla-Macro-Board)
+
+Make example for this keyboard (after setting up your build environment):
+
+ make gowla:default
+
+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).
diff --git a/keyboards/gowla/rules.mk b/keyboards/gowla/rules.mk
new file mode 100644
index 000000000..19b6f44b8
--- /dev/null
+++ b/keyboards/gowla/rules.mk
@@ -0,0 +1,31 @@
+# MCU name
+MCU = atmega32u4
+
+# Bootloader selection
+# Teensy halfkay
+# Pro Micro caterina
+# Atmel DFU atmel-dfu
+# LUFA DFU lufa-dfu
+# QMK DFU qmk-dfu
+# ATmega32A bootloadHID
+# ATmega328P USBasp
+BOOTLOADER = caterina
+
+# Build Options
+# change yes to no to disable
+#
+BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration
+MOUSEKEY_ENABLE = no # Mouse keys
+EXTRAKEY_ENABLE = yes # Audio control and System control
+CONSOLE_ENABLE = no # Console for debug
+COMMAND_ENABLE = no # Commands for debug and configuration
+# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
+SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
+# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
+NKRO_ENABLE = yes # USB Nkey Rollover
+BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
+RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
+MIDI_ENABLE = no # MIDI support
+BLUETOOTH_ENABLE = no # Enable Bluetooth
+AUDIO_ENABLE = no # Audio output
+FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches