[Keyboard] Gowla Macro Board (#9643)
Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Erovia <Erovia@users.noreply.github.com>
This commit is contained in:
parent
b30d0361c5
commit
13a8d1681c
38
keyboards/gowla/config.h
Normal file
38
keyboards/gowla/config.h
Normal file
|
@ -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
|
1
keyboards/gowla/gowla.c
Normal file
1
keyboards/gowla/gowla.c
Normal file
|
@ -0,0 +1 @@
|
|||
#include "gowla.h"
|
13
keyboards/gowla/gowla.h
Normal file
13
keyboards/gowla/gowla.h
Normal file
|
@ -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
keyboards/gowla/info.json
Normal file
24
keyboards/gowla/info.json
Normal file
|
@ -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
keyboards/gowla/keymaps/default/keymap.c
Normal file
14
keyboards/gowla/keymaps/default/keymap.c
Normal file
|
@ -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
|
||||
)
|
||||
};
|
15
keyboards/gowla/readme.md
Normal file
15
keyboards/gowla/readme.md
Normal file
|
@ -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).
|
31
keyboards/gowla/rules.mk
Normal file
31
keyboards/gowla/rules.mk
Normal file
|
@ -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
|
Loading…
Reference in a new issue