[Keyboard] adding keyboard: houndstooth (#7981)
* houndstooth * Amended with collaborator suggestions * LAYOUT fixup, left crud in keymap * Fix missing comma in keymap.c * Correct RGBLIGHT_ENABLE to no Co-authored-by: ridingqwerty <george.g.koenig@gmail.com>
This commit is contained in:
parent
f44a89ca77
commit
a86a8a236a
7 changed files with 140 additions and 0 deletions
48
keyboards/wsk/houndstooth/config.h
Normal file
48
keyboards/wsk/houndstooth/config.h
Normal file
|
@ -0,0 +1,48 @@
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
#include "config_common.h"
|
||||||
|
|
||||||
|
/* USB Device descriptor parameter */
|
||||||
|
#define VENDOR_ID 0xFEED
|
||||||
|
#define PRODUCT_ID 0xFA9C
|
||||||
|
#define DEVICE_VER 0x0001
|
||||||
|
#define MANUFACTURER Worldspawn00
|
||||||
|
#define PRODUCT Houndstooth
|
||||||
|
#define DESCRIPTION 12-column split ortho 40% keyboard
|
||||||
|
|
||||||
|
/* key matrix size */
|
||||||
|
#define MATRIX_ROWS 8
|
||||||
|
#define MATRIX_COLS 6
|
||||||
|
|
||||||
|
/* key matrix pins */
|
||||||
|
#define MATRIX_ROW_PINS { C6, F7, D7, B1, B4, B2, B5, B6 }
|
||||||
|
#define MATRIX_COL_PINS { D1, F4, D0, F5, D4, F6 }
|
||||||
|
#define UNUSED_PINS
|
||||||
|
|
||||||
|
/* COL2ROW or ROW2COL */
|
||||||
|
#define DIODE_DIRECTION COL2ROW
|
||||||
|
|
||||||
|
/* number of backlight levels */
|
||||||
|
|
||||||
|
//#ifdef BACKLIGHT_PIN
|
||||||
|
//#define BACKLIGHT_LEVELS 0
|
||||||
|
//#endif
|
||||||
|
|
||||||
|
/* Set 0 if debouncing isn't needed */
|
||||||
|
#define DEBOUNCE 5
|
||||||
|
|
||||||
|
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||||
|
#define LOCKING_SUPPORT_ENABLE
|
||||||
|
|
||||||
|
/* Locking resynchronize hack */
|
||||||
|
#define LOCKING_RESYNC_ENABLE
|
||||||
|
|
||||||
|
#define RGB_DI_PIN F1
|
||||||
|
//#ifdef RGB_DI_PIN
|
||||||
|
//#define RGBLIGHT_ANIMATIONS
|
||||||
|
//#define RGBLED_NUM 0
|
||||||
|
//#define RGBLIGHT_HUE_STEP 8
|
||||||
|
//#define RGBLIGHT_SAT_STEP 8
|
||||||
|
//#define RGBLIGHT_VAL_STEP 8
|
||||||
|
//#endif
|
||||||
|
|
1
keyboards/wsk/houndstooth/houndstooth.c
Normal file
1
keyboards/wsk/houndstooth/houndstooth.c
Normal file
|
@ -0,0 +1 @@
|
||||||
|
#include "houndstooth.h"
|
20
keyboards/wsk/houndstooth/houndstooth.h
Normal file
20
keyboards/wsk/houndstooth/houndstooth.h
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
#include "quantum.h"
|
||||||
|
|
||||||
|
#define LAYOUT( \
|
||||||
|
K00, K01, K02, K03, K04, K05, K20, K21, K22, K23, K24, K25, \
|
||||||
|
K40, K41, K42, K43, K44, K45, K60, K61, K62, K63, K64, K65, \
|
||||||
|
K10, K11, K12, K13, K14, K15, K30, K31, K32, K33, K34, K35, \
|
||||||
|
K50, K51, K52, K53, K54, K55, K70, K71, K72, K73, K74, K75 \
|
||||||
|
) { \
|
||||||
|
{ K00, K01, K02, K03, K04, K05 }, \
|
||||||
|
{ K10, K11, K12, K13, K14, K15 }, \
|
||||||
|
{ K20, K21, K22, K23, K24, K25 }, \
|
||||||
|
{ K30, K31, K32, K33, K34, K35 }, \
|
||||||
|
{ K40, K41, K42, K43, K44, K45 }, \
|
||||||
|
{ K50, K51, K52, K53, K54, K55 }, \
|
||||||
|
{ K60, K61, K62, K63, K64, K65 }, \
|
||||||
|
{ K70, K71, K72, K73, K74, K75 } \
|
||||||
|
}
|
||||||
|
|
12
keyboards/wsk/houndstooth/info.json
Normal file
12
keyboards/wsk/houndstooth/info.json
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
{
|
||||||
|
"keyboard_name": "Houndstooth",
|
||||||
|
"url": "https://qmk.fm/keyboards",
|
||||||
|
"maintainer": "worldspawn00",
|
||||||
|
"width": 12.5,
|
||||||
|
"height": 4,
|
||||||
|
"layouts": {
|
||||||
|
"LAYOUT": {
|
||||||
|
"layout": [{"label":"Tab", "x":0, "y":0}, {"label":"Q", "x":1, "y":0}, {"label":"W", "x":2, "y":0}, {"label":"E", "x":3, "y":0}, {"label":"R", "x":4, "y":0}, {"label":"T", "x":5, "y":0}, {"label":"Y", "x":6.5, "y":0}, {"label":"U", "x":7.5, "y":0}, {"label":"I", "x":8.5, "y":0}, {"label":"O", "x":9.5, "y":0}, {"label":"P", "x":10.5, "y":0}, {"label":"Back Space", "x":11.5, "y":0}, {"label":"Esc", "x":0, "y":1}, {"label":"A", "x":1, "y":1}, {"label":"S", "x":2, "y":1}, {"label":"D", "x":3, "y":1}, {"label":"F", "x":4, "y":1}, {"label":"G", "x":5, "y":1}, {"label":"H", "x":6.5, "y":1}, {"label":"J", "x":7.5, "y":1}, {"label":"K", "x":8.5, "y":1}, {"label":"L", "x":9.5, "y":1}, {"label":";", "x":10.5, "y":1}, {"label":"'", "x":11.5, "y":1}, {"label":"Shift", "x":0, "y":2}, {"label":"Z", "x":1, "y":2}, {"label":"X", "x":2, "y":2}, {"label":"C", "x":3, "y":2}, {"label":"V", "x":4, "y":2}, {"label":"B", "x":5, "y":2}, {"label":"N", "x":6.5, "y":2}, {"label":"M", "x":7.5, "y":2}, {"label":",", "x":8.5, "y":2}, {"label":".", "x":9.5, "y":2}, {"label":"/", "x":10.5, "y":2}, {"label":"Return", "x":11.5, "y":2}, {"x":0, "y":3}, {"label":"Ctrl", "x":1, "y":3}, {"label":"Alt", "x":2, "y":3}, {"label":"Super", "x":3, "y":3}, {"label":"⇓", "x":4, "y":3}, {"x":5, "y":3}, {"x":6.5, "y":3}, {"label":"⇑", "x":7.5, "y":3}, {"label":"←", "x":8.5, "y":3}, {"label":"↓", "x":9.5, "y":3}, {"label":"↑", "x":10.5, "y":3}, {"label":"→", "x":11.5, "y":3}]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
17
keyboards/wsk/houndstooth/keymaps/default/keymap.c
Normal file
17
keyboards/wsk/houndstooth/keymaps/default/keymap.c
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
#include QMK_KEYBOARD_H
|
||||||
|
|
||||||
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
|
|
||||||
|
[0] = LAYOUT(
|
||||||
|
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC,
|
||||||
|
KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT,
|
||||||
|
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT,
|
||||||
|
KC_LCTL, KC_LALT, KC_LGUI, MO(1), KC_SPC, KC_SPC, KC_SPC, KC_SPC, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT),
|
||||||
|
|
||||||
|
[1] = LAYOUT(
|
||||||
|
KC_TILD, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS,
|
||||||
|
KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12,
|
||||||
|
KC_TRNS, KC_LBRC, KC_RBRC, KC_BSLS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_INS, KC_DEL, KC_PSCR,
|
||||||
|
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_HOME, KC_PGDN, KC_PGUP, KC_END)
|
||||||
|
};
|
||||||
|
|
16
keyboards/wsk/houndstooth/readme.md
Normal file
16
keyboards/wsk/houndstooth/readme.md
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
# Houndstooth
|
||||||
|
|
||||||
|
![Houndstooth](https://i.imgur.com/YkD4GNG.png)
|
||||||
|
|
||||||
|
The Houndstooth is a 12 column split ortho 40% keyboard.
|
||||||
|
|
||||||
|
* Keyboard Maintainer: [worldspawn00](https://github.com/worldspawn00/)
|
||||||
|
* Hardware Supported: The Houndstooth PCB and kit.
|
||||||
|
* Hardware Availability: [PCB & Kit](https://geekhack.org/index.php?topic=101374)
|
||||||
|
|
||||||
|
Make example for this keyboard (after setting up your build environment):
|
||||||
|
|
||||||
|
make wsk/houndstooth: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).
|
||||||
|
|
26
keyboards/wsk/houndstooth/rules.mk
Normal file
26
keyboards/wsk/houndstooth/rules.mk
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
# 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
|
||||||
|
# comment out to disable the options.
|
||||||
|
#
|
||||||
|
BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration
|
||||||
|
MOUSEKEY_ENABLE = yes # Mouse keys
|
||||||
|
EXTRAKEY_ENABLE = yes # Audio control and System control
|
||||||
|
CONSOLE_ENABLE = no # Console for debug
|
||||||
|
COMMAND_ENABLE = no # Commands for debug and configuration
|
||||||
|
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
|
||||||
|
NKRO_ENABLE = yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
|
||||||
|
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
|
||||||
|
AUDIO_ENABLE = no
|
||||||
|
RGBLIGHT_ENABLE = no
|
Loading…
Reference in a new issue