Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Keyboard] Gowla Macro Board #9643

Merged
merged 21 commits into from
Jul 4, 2020
Merged
Show file tree
Hide file tree
Changes from 20 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions keyboards/gowla/config.h
Original file line number Diff line number Diff line change
@@ -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
SamGowland marked this conversation as resolved.
Show resolved Hide resolved
#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
1 change: 1 addition & 0 deletions keyboards/gowla/gowla.c
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#include "gowla.h"
13 changes: 13 additions & 0 deletions keyboards/gowla/gowla.h
Original file line number Diff line number Diff line change
@@ -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 } \
}
24 changes: 24 additions & 0 deletions keyboards/gowla/info.json
Original file line number Diff line number Diff line change
@@ -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}
]
}
}
}
14 changes: 14 additions & 0 deletions keyboards/gowla/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
@@ -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
)
};
13 changes: 13 additions & 0 deletions keyboards/gowla/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Gowla Macro Board
SamGowland marked this conversation as resolved.
Show resolved Hide resolved

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).
31 changes: 31 additions & 0 deletions keyboards/gowla/rules.mk
Original file line number Diff line number Diff line change
@@ -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