Compare commits

..

1 Commits

Author SHA1 Message Date
Jack Humbert
50fa02ad58 initial files 2019-01-10 14:03:20 -05:00
448 changed files with 3214 additions and 6869 deletions

View File

@@ -24,10 +24,10 @@
#include "wait.h"
#endif
#include "is31fl3733.h"
#include <string.h>
#include "i2c_master.h"
#include "progmem.h"
#include "rgb_matrix.h"
// This is a 7-bit address, that gets left-shifted and bit 0
// set to 0 for write, 1 for read (as per I2C protocol)

View File

@@ -0,0 +1,3 @@
ifndef QUANTUM_DIR
include ../../../../Makefile
endif

View File

@@ -0,0 +1,3 @@
ifndef QUANTUM_DIR
include ../../../../Makefile
endif

View File

@@ -10,3 +10,6 @@ AUDIO_ENABLE ?= no
RGBLIGHT_ENABLE ?= yes
UNICODE_ENABLE ?= yes
ifndef QUANTUM_DIR
include ../../../../Makefile
endif

View File

@@ -18,3 +18,7 @@ RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight.
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
ifndef QUANTUM_DIR
include ../../../../Makefile
endif

View File

@@ -18,3 +18,6 @@ RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
ifndef QUANTUM_DIR
include ../../../../Makefile
endif

View File

@@ -13,3 +13,6 @@ BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.
BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000)
ifndef QUANTUM_DIR
include ../../../../Makefile
endif

View File

@@ -16,3 +16,6 @@ BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
ifndef QUANTUM_DIR
include ../../../../Makefile
endif

View File

@@ -16,3 +16,6 @@ BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
ifndef QUANTUM_DIR
include ../../../../Makefile
endif

View File

@@ -1,2 +1,5 @@
RGBLIGHT_ENABLE = yes
ifndef QUANTUM_DIR
include ../../../../Makefile
endif

View File

@@ -1,2 +1,5 @@
RGBLIGHT_ENABLE = yes
ifndef QUANTUM_DIR
include ../../../../Makefile
endif

View File

@@ -0,0 +1,3 @@
ifndef QUANTUM_DIR
include ../../../../Makefile
endif

View File

@@ -0,0 +1,15 @@
#define k_ KC_NO
#define LAYOUT_keymap( \
kMN, kSH, kSL, kST, \
kUP, KY, \
kLF, kRH, kX, kB, \
kDN, kA, \
kL1, kL2, kL3, kL4, kL5 \
) { \
{ kUP, kLF, kDN, kRH, kY, kX, kA, kB }, \
{ kMN, kSH, kSL, kST, k_, k_, k_, k_ }, \
{ kL1, kL2, kL3, kL4, kL5, k_, k_, k_ }, \
}

View File

@@ -1,5 +1,5 @@
/*
Copyright 2018 'Masayuki Sunahara'
Copyright 2019 Jack Humbert <jack.humb@gmail.com>
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
@@ -17,4 +17,22 @@ 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 0xD901
#define DEVICE_VER 0x0001
#define MANUFACTURER clockworkpi
#define PRODUCT keypad
#define DESCRIPTION
#define MATRIX_ROWS 3
#define MATRIX_COLS 8
#define TAPPING_TOGGLE 3
#define NO_UART 1
/* key combination for command */
#define IS_COMMAND() ( \
keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
)

View File

@@ -0,0 +1,20 @@
[0] = LAYOUT_keypad(
KC_ESC, MO(1), KC_SPC, KC_ENT,
KC_UP KC_I,
KC_LEFT, KC_RIGHT, KC_U, KC_K,
KC_DOWN, KC_J,
KC_HOME, KC_PGUP, MO(1), KC_PGDN, KC_END
),
[1] = LAYOUT_keypad(
KC_BSPC, MO(1), KC_PMNS, KC_PPLS,
KC_UP KC_O,
KC_LEFT, KC_RIGHT, KC_Y, KC_L,
KC_DOWN, KC_H
KC_H, KC_Y, MO(1), KC_O, KC_L
)

View File

@@ -0,0 +1,65 @@
// 0 DO
// 1 D1
// 2 D2
// 3 D3
// 4 D4
// 5 D5
// 6 D6
// 7 D7
// 8 B0
// 9 B1
// 10 B2
// 11 B3
// 12 B4
// 13 B5
// 14 C0
// 15 C1
// 16 C2
// 17 C3
// 18 C4
// 19 C5
// UP D3
// LF D6
// DN D7
// RH B0
// A B1 Y
// B B2 X
// C B3 A
// D B4 B
// MN C0
// SH C1
// SL C2
// ST B5
// L1 C3
// L2 C4
// L3 C5
// L4 C6
// L5 D7
matrix[0] = (
(readPin(D3) << 0) |
(readPin(D6) << 1) |
(readPin(D7) << 2) |
(readPin(B0) << 3) |
(readPin(B1) << 4) |
(readPin(B2) << 5) |
(readPin(B3) << 6) |
(readPin(B4) << 7)
);
matrix[1] = (
(readPin(C0) << 0) |
(readPin(C1) << 1) |
(readPin(C2) << 2) |
(readPin(B5) << 3)
);
matrix[2] = (
(readPin(C3) << 0) |
(readPin(C4) << 1) |
(readPin(C5) << 2) |
(readPin(C6) << 3) |
(readPin(D7) << 4)
);

View File

@@ -0,0 +1,52 @@
# Copyright 2019 Jack Humbert <jack.humb@gmail.com>
#
# 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/>.
# MCU name
MCU = atmega328p
PROTOCOL = VUSB
# unsupported features for now
NO_UART = yes
NO_SUSPEND_POWER_DOWN = yes
# processor frequency
F_CPU = 16000000
# Bootloader
# This definition is optional, and if your keyboard supports multiple bootloaders of
# different sizes, comment this out, and the correct address will be loaded
# automatically (+60). See bootloader.mk for all options.
# BOOTLOADER = usbasp
PROGRAM_CMD = avrdude -c usbasp -p m328p -U flash:w:$(BUILD_DIR)/$(TARGET).hex
# build options
BOOTMAGIC_ENABLE = no
MOUSEKEY_ENABLE = yes
EXTRAKEY_ENABLE = yes
CONSOLE_ENABLE = no
COMMAND_ENABLE = yes
KEY_LOCK_ENABLE = no
NKRO_ENABLE = no # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
AUDIO_ENABLE = no
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
OPT_DEFS = -DDEBUG_LEVEL=0
OPT_DEFS += -DBOOTLOADER_SIZE=2048
# custom matrix setup
CUSTOM_MATRIX = yes
SRC = matrix.c

View File

@@ -44,3 +44,6 @@
#
RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight.
ifndef QUANTUM_DIR
include ../../../../Makefile
endif

View File

@@ -16,3 +16,6 @@ BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight.
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
ifndef QUANTUM_DIR
include ../../../../Makefile
endif

View File

@@ -16,3 +16,6 @@ BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight.
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
ifndef QUANTUM_DIR
include ../../../../Makefile
endif

View File

@@ -5,4 +5,3 @@ SRC += ./lib/glcdfont.c \
./lib/keylogger.c \
./lib/modifier_state_reader.c \
./lib/host_led_state_reader.c

View File

@@ -20,3 +20,6 @@ RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
ifndef QUANTUM_DIR
include ../../../../Makefile
endif

View File

@@ -12,3 +12,6 @@ MIDI_ENABLE = no # MIDI controls
NKRO_ENABLE = no # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.
ifndef QUANTUM_DIR
include ../../../../Makefile
endif

View File

@@ -9,3 +9,6 @@ MOUSEKEY_ENABLE = no
CONSOLE_ENABLE = no # yes
COMMAND_ENABLE = no
ifndef QUANTUM_DIR
include ../../../../Makefile
endif

View File

@@ -23,6 +23,10 @@ ISSI_ENABLE = yes # If the I2C pullup resistors aren't install thi
WATCHDOG_ENABLE = no # Resets keyboard if matrix_scan isn't run every 250ms
ifndef QUANTUM_DIR
include ../../../../Makefile
endif
ifeq ($(strip $(ISSI_ENABLE)), yes)
TMK_COMMON_DEFS += -DISSI_ENABLE
endif

View File

@@ -23,6 +23,10 @@ ISSI_ENABLE = no # If the I2C pullup resistors aren't install this
WATCHDOG_ENABLE = yes # Resets keyboard if matrix_scan isn't run every 250ms
ifndef QUANTUM_DIR
include ../../../../Makefile
endif
ifeq ($(strip $(ISSI_ENABLE)), yes)
TMK_COMMON_DEFS += -DISSI_ENABLE
endif

View File

@@ -2,3 +2,6 @@ RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight.
AUDIO_ENABLE = no # Audio disabled while using RGB underlight.
EXTRAKEY_ENABLE = yes
ifndef QUANTUM_DIR
include ../../../../Makefile
endif

View File

@@ -6,7 +6,7 @@
"height": 6,
"layouts": {
"LAYOUT": {
"layout": [{"label":"k00", "x":0, "y":0.5}, {"label":"k01", "x":1, "y":0.5}, {"label":"k02", "x":2, "y":0.25}, {"label":"k03", "x":3, "y":0}, {"label":"k04", "x":4, "y":0.5}, {"label":"k05", "x":5, "y":0.5}, {"label":"k06", "x":7, "y":0.5}, {"label":"k07", "x":8, "y":0.5}, {"label":"k08", "x":9, "y":0}, {"label":"k09", "x":10, "y":0.25}, {"label":"k0A", "x":11, "y":0.5}, {"label":"k0B", "x":12, "y":0.5}, {"label":"k10", "x":0, "y":1.5}, {"label":"k11", "x":1, "y":1.5}, {"label":"k12", "x":2, "y":1.25}, {"label":"k13", "x":3, "y":1}, {"label":"k14", "x":4, "y":1.5}, {"label":"k15", "x":5, "y":1.5}, {"label":"k16", "x":7, "y":1.5}, {"label":"k17", "x":8, "y":1.5}, {"label":"k18", "x":9, "y":1}, {"label":"k19", "x":10, "y":1.25}, {"label":"k1A", "x":11, "y":1.5}, {"label":"k1B", "x":12, "y":1.5}, {"label":"k20", "x":0, "y":2.5}, {"label":"k21", "x":1, "y":2.5}, {"label":"k22", "x":2, "y":2.25}, {"label":"k23", "x":3, "y":2}, {"label":"k24", "x":4, "y":2.5}, {"label":"k25", "x":5, "y":2.5}, {"label":"k26", "x":7, "y":2.5}, {"label":"k27", "x":8, "y":2.5}, {"label":"k28", "x":9, "y":2}, {"label":"k29", "x":10, "y":2.25}, {"label":"k2A", "x":11, "y":2.5}, {"label":"k2B", "x":12, "y":2.5}, {"label":"k33", "x":3, "y":4}, {"label":"k34", "x":4, "y":4}, {"label":"k35", "x":5, "y":4}, {"label":"k36", "x":7, "y":4}, {"label":"k37", "x":8, "y":4}, {"label":"k38", "x":9, "y":4}, {"label":"k42", "x":2, "y":5}, {"label":"k43", "x":3, "y":5}, {"label":"k44", "x":4, "y":5}, {"label":"k45", "x":5, "y":5}, {"label":"k46", "x":7, "y":5}, {"label":"k47", "x":8, "y":5}, {"label":"k48", "x":9, "y":5}, {"label":"k49", "x":10, "y":5}]
"layout": [{"label":"k00", "x":0, "y":0.5}, {"label":"k01", "x":1, "y":0.5}, {"label":"k02", "x":2, "y":0.25}, {"label":"k03", "x":3, "y":0}, {"label":"k04", "x":4, "y":0.5}, {"label":"k05", "x":5, "y":0.5}, {"label":"k06", "x":7, "y":0.5}, {"label":"k07", "x":8, "y":0.5}, {"label":"k08", "x":9, "y":0}, {"label":"k09", "x":10, "y":0.25}, {"label":"k0A", "x":11, "y":0.5}, {"label":"k0B", "x":12, "y":0.5}, {"label":"k10", "x":0, "y":1.5}, {"label":"k11", "x":1, "y":1.5}, {"label":"k12", "x":2, "y":1.25}, {"label":"k13", "x":3, "y":1}, {"label":"k14", "x":4, "y":1.5}, {"label":"k15", "x":5, "y":1.5}, {"label":"k16", "x":7, "y":1.5}, {"label":"k17", "x":8, "y":1.5}, {"label":"k18", "x":9, "y":1}, {"label":"k19", "x":10, "y":1.25}, {"label":"k1A", "x":11, "y":1.5}, {"label":"k1B", "x":12, "y":1.5}, {"label":"k20", "x":0, "y":2.5}, {"label":"k21", "x":1, "y":2.5}, {"label":"k22", "x":2, "y":2.25}, {"label":"k23", "x":3, "y":2}, {"label":"k24", "x":4, "y":2.5}, {"label":"k25", "x":5, "y":2.5}, {"label":"k26", "x":7, "y":2.5}, {"label":"k27", "x":8, "y":2.5}, {"label":"k28", "x":9, "y":2}, {"label":"k29", "x":10, "y":2.25}, {"label":"k2A", "x":11, "y":2.5}, {"label":"k2B", "x":12, "y":2.5}, {"label":"k33", "x":3, "y":4}, {"label":"k34", "x":4, "y":4}, {"label":"k35", "x":5, "y":4}, {"label":"k36", "x":7, "y":4}, {"label":"k37", "x":8, "y":4}, {"label":"k38", "x":9, "y":4}, {"label":"k43", "x":3, "y":5}, {"label":"k44", "x":4, "y":5}, {"label":"k45", "x":5, "y":5}, {"label":"k46", "x":7, "y":5}, {"label":"k47", "x":8, "y":5}, {"label":"k48", "x":9, "y":5}]
}
}
}

View File

@@ -20,3 +20,6 @@ RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
ifndef QUANTUM_DIR
include ../../../../Makefile
endif

View File

@@ -20,3 +20,6 @@ RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
ifndef QUANTUM_DIR
include ../../../../Makefile
endif

View File

@@ -20,3 +20,6 @@ RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
ifndef QUANTUM_DIR
include ../../../../Makefile
endif

View File

@@ -30,3 +30,6 @@ KEYMAP_BRANCH = $(shell \
OPT_DEFS += -DKEYMAP_VERSION=\"$(KEYMAP_VERSION)\\\#$(KEYMAP_BRANCH)\"
ifndef QUANTUM_DIR
include ../../../../Makefile
endif

View File

@@ -1,88 +0,0 @@
/* Copyright 2018 @TurboMech /u/TurboMech <discord> @A9entOran9e#6134
*
* 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/>.
*/
#include QMK_KEYBOARD_H
#define _BL 0 //Base layer
#define _FN1 1 //Function layer
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
/* BL
____________________________________________________________________________________________________________________________________________________________________________
| | | | | | | | | | | | | | | | | | | |
| ESC | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | DEL | PRT SC | SCR LK | PAUSE | P UP | P DOWN |
|________|________|________|________|________|________|________|________|________|________|________|________|________|________|________|________|________|________|________|
| | | | | | | | | | | | | | BACK | NUM | | | |
| ~` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | _ - | = + | SPACE | LOCK | / | * | - |
|________|________|________|________|________|________|________|________|________|________|________|________|________|_________________|________|________|________|________|
| | | | | | | | | | | | [ | ] | | | | | |
| TAB | Q | W | E | R | T | Y | U | I | O | P | { | } | | \ | 7 | 8 | 9 | |
|____________|________|________|________|________|________|________|________|________|________|________|________|________|_____________|________|________|________| + |
| | | | | | | | | | | ; | ' | | | | | |
| CAPS LOCK | A | S | D | F | G | H | J | K | L | : | " | ENTER | 4 | 5 | 6 | |
|______________|________|________|________|________|________|________|________|________|________|________|________|____________________|________|________|________|________|
| | | | | | | | | , | . | / | | | | | | |
| SHIFT | Z | X | C | V | B | N | M | < | > | ? | SHIFT | UP | 1 | 2 | 3 | |
|__________________|________|________|________|________|________|________|________|________|________|________|________________|________|________|________|________| ENTER |
| | | | | | | MO | | | | | | |
| CTRL | LGUI | L ALT | SPACE | VOL Dn | VOL Up | _FN | LEFT | DOWN | RIGHT | 0 | . | |
|__________|__________|__________|________________________________________________________|________|________|________|________|________|________|________|________|________|
*/
[_BL] = LAYOUT_default(
KC_ESC, 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_DEL, KC_PSCR, KC_SLCK, KC_PAUS, KC_PGUP, KC_PGDN, \
KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_NLCK, KC_PSLS, KC_PAST, KC_PMNS, \
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_P7, KC_P8, KC_P9, KC_PPLS, \
KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_P4, KC_P5, KC_P6, \
KC_LSPO, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSPC, KC_UP, KC_P1, KC_P2, KC_P3, KC_PENT, \
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_VOLD, KC_VOLU, MO(1), KC_LEFT, KC_DOWN, KC_RGHT, KC_P0, KC_PDOT \
),
/* FN_1
____________________________________________________________________________________________________________________________________________________________________________
| | | | | | | | | | | | | | | VOL | VOL | NEXT | | |
| RESET | | | | | | | | | | | | | MUTE | DOWN | UP | TRACK | HOME | END |
|________|________|________|________|________|________|________|________|________|________|________|________|________|________|________|________|________|________|________|
| | RGB | RGB | RGB | RGB | RGB | RGB | RGB | RGB | | | | | | | | | |
| | TOGGLE | MODE |INCREASE|DECREASE| HUE | HUE | SAT | SAT | | | | | DELETE | | | | |
|________|________|________|________|________|INCREASE|DECREASE|INCREASE|DECREASE|________|________|________|________|_________________|________|________|________|________|
| | BACK | BACK | | | | | | | | | | | | | | | |
| | LIGHT | LIGHT | | | | | | | | | | | | | | | |
|____________| TOGGLE |INCREASE|DECREASE|________|________|________|________|________|________|________|________|________|_____________|________|________|________| |
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | |
|______________|________|________|________|________|________|________|________|________|________|________|________|____________________|________|________|________|________|
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | |
|__________________|________|________|________|________|________|________|________|________|________|________|________________|________|________|________|________| |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
|__________|__________|__________|________________________________________________________|________|________|________|________|________|________|________|________|________|
*/
[_FN1] = LAYOUT_default(
RESET, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_MUTE, KC_VOLD, KC_VOLU, KC_MNXT, KC_HOME, KC_END, \
_______, RGB_TOG, RGB_MOD, RGB_VAI, RGB_VAD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, _______, _______, _______, _______, KC_DEL, _______, _______, _______, _______, \
_______, BL_TOGG, BL_INC, BL_DEC, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, \
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, \
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, \
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ \
),
};

View File

@@ -0,0 +1,3 @@
ifndef QUANTUM_DIR
include ../../../../Makefile
endif

View File

@@ -1,4 +1,5 @@
#pragma once
#ifndef FRACTAL_H
#define FRACTAL_H
#include "quantum.h"
@@ -29,3 +30,7 @@
{ K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311 }, \
{ K400, K401, K402, K403, K404, KC_NO, K406, K407, K408, K409, K410, K411 } \
}
#define KEYMAP LAYOUT_preonic_mit
#endif

View File

@@ -11,4 +11,4 @@ Make example for this keyboard (after setting up your build environment):
make fractal: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).
See [build environment setup](https://docs.qmk.fm/build_environment_setup.html) then the [make instructions](https://docs.qmk.fm/make_instructions.html) for more information.

View File

@@ -57,5 +57,5 @@ UNICODE_ENABLE = no # Unicode
BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
AUDIO_ENABLE = no # Audio output on port C6
LAYOUTS = ortho_5x12 # preonic_mit
LAYOUTS = preonic_mit ortho_5x12
LAYOUTS_HAS_RGB = no

View File

@@ -106,3 +106,7 @@ NKRO_ENABLE = yes # USB Nkey Rollover - if this doesn't work, see here: htt
# BLUETOOTH_ENABLE = yes # Enable Bluetooth with the Adafruit EZ-Key HID
RGBLIGHT_ENABLE = yes # Enable RGB Underglow
ifndef QUANTUM_DIR
include ../../../../Makefile
endif

View File

@@ -106,3 +106,6 @@ NKRO_ENABLE = yes # USB Nkey Rollover - if this doesn't work, see here: htt
# BLUETOOTH_ENABLE = yes # Enable Bluetooth with the Adafruit EZ-Key HID
RGBLIGHT_ENABLE = no # Enable RGB Underglow
ifndef QUANTUM_DIR
include ../../../../Makefile
endif

View File

@@ -106,3 +106,7 @@ NKRO_ENABLE = yes # USB Nkey Rollover - if this doesn't work, see here: https:/
# BLUETOOTH_ENABLE = yes # Enable Bluetooth with the Adafruit EZ-Key HID
RGBLIGHT_ENABLE = yes # Enable RGB Underglow
ifndef QUANTUM_DIR
include ../../../../Makefile
endif

View File

@@ -0,0 +1,3 @@
ifndef QUANTUM_DIR
include ../../../../Makefile
endif

View File

@@ -16,3 +16,6 @@ BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
ifndef QUANTUM_DIR
include ../../../../Makefile
endif

View File

@@ -22,4 +22,3 @@ FAUXCLICKY_ENABLE = no # Uses buzzer to emulate clicky switches. By defaul
API_SYSEX_ENABLE = no # This enables using the Quantum SYSEX API to send strings(+5390)
KEY_LOCK_ENABLE = no # This enables key lock(+260)
SPLIT_KEYBOARD = no # This enables split keyboard support and includes all necessary files located at quantum/split_common

View File

@@ -16,3 +16,6 @@ BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
ifndef QUANTUM_DIR
include ../../../../Makefile
endif

View File

@@ -16,3 +16,6 @@ BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
ifndef QUANTUM_DIR
include ../../../../Makefile
endif

View File

@@ -21,3 +21,6 @@ SWAP_HANDS_ENABLE = no # Enable one-hand typing
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
ifndef QUANTUM_DIR
include ../../../../Makefile
endif

View File

@@ -1,3 +1,7 @@
ifndef QUANTUM_DIR
include ../../../../Makefile
endif
AUDIO_ENABLE = no
MOUSEKEY_ENABLE = yes

View File

@@ -0,0 +1,3 @@
ifndef QUANTUM_DIR
include ../../../../Makefile
endif

View File

@@ -0,0 +1,3 @@
ifndef QUANTUM_DIR
include ../../../../Makefile
endif

View File

@@ -1,245 +0,0 @@
/*
Copyright 2018 Don Chiou
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 0x0000
#define DEVICE_VER 0x0001
#define MANUFACTURER Flehrad
#define PRODUCT downbubble
#define DESCRIPTION An Ergonomic Centered Numpad Keyboard
/* key matrix size */
#define MATRIX_ROWS 6
#define MATRIX_COLS 20
/*
* Keyboard Matrix Assignments
*
* Change this to how you wired your keyboard
* COLS: AVR pins used for columns, left to right
* ROWS: AVR pins used for rows, top to bottom
* DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
* ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
*
*/
#define MATRIX_ROW_PINS { F1, F2, F3, F4, F5, F6 }
#define MATRIX_COL_PINS { F7, C7, C6, C5, C4, C3, C2, C1, C0, E1, E0, D7, D6, D5, D4, D3, D2, D1, D0, B7 }
#define UNUSED_PINS
/* COL2ROW, ROW2COL, or CUSTOM_MATRIX */
#define DIODE_DIRECTION COL2ROW
/*
* Split Keyboard specific options, make sure you have 'SPLIT_KEYBOARD = yes' in your rules.mk, and define SOFT_SERIAL_PIN.
*/
//#define SOFT_SERIAL_PIN D0 // or D1, D2, D3, E6
// #define BACKLIGHT_PIN B7
// #define BACKLIGHT_BREATHING
// #define BACKLIGHT_LEVELS 3
// #define RGB_DI_PIN E2
// #ifdef RGB_DI_PIN
// #define RGBLED_NUM 16
// #define RGBLIGHT_HUE_STEP 8
// #define RGBLIGHT_SAT_STEP 8
// #define RGBLIGHT_VAL_STEP 8
// #define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
// #define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
// /*== all animations enable ==*/
// #define RGBLIGHT_ANIMATIONS
// /*== or choose animations ==*/
// #define RGBLIGHT_EFFECT_BREATHING
// #define RGBLIGHT_EFFECT_RAINBOW_MOOD
// #define RGBLIGHT_EFFECT_RAINBOW_SWIRL
// #define RGBLIGHT_EFFECT_SNAKE
// #define RGBLIGHT_EFFECT_KNIGHT
// #define RGBLIGHT_EFFECT_CHRISTMAS
// #define RGBLIGHT_EFFECT_STATIC_GRADIENT
// #define RGBLIGHT_EFFECT_RGB_TEST
// #define RGBLIGHT_EFFECT_ALTERNATING
// #endif
/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
#define DEBOUNCING_DELAY 5
/* define if matrix has ghost (lacks anti-ghosting diodes) */
//#define MATRIX_HAS_GHOST
/* number of backlight levels */
/* 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
/* If defined, GRAVE_ESC will always act as ESC when CTRL is held.
* This is userful for the Windows task manager shortcut (ctrl+shift+esc).
*/
// #define GRAVE_ESC_CTRL_OVERRIDE
/*
* Force NKRO
*
* Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved
* state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the
* makefile for this to work.)
*
* If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N)
* until the next keyboard reset.
*
* NKRO may prevent your keystrokes from being detected in the BIOS, but it is
* fully operational during normal computer usage.
*
* For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N)
* or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by
* bootmagic, NKRO mode will always be enabled until it is toggled again during a
* power-up.
*
*/
//#define FORCE_NKRO
/*
* Magic Key Options
*
* Magic keys are hotkey commands that allow control over firmware functions of
* the keyboard. They are best used in combination with the HID Listen program,
* found here: https://www.pjrc.com/teensy/hid_listen.html
*
* The options below allow the magic key functionality to be changed. This is
* useful if your keyboard/keypad is missing keys and you want magic key support.
*
*/
/* key combination for magic key command */
#define IS_COMMAND() ( \
keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
)
/* control how magic key switches layers */
//#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS true
//#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS true
//#define MAGIC_KEY_SWITCH_LAYER_WITH_CUSTOM false
/* override magic key keymap */
//#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS
//#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS
//#define MAGIC_KEY_SWITCH_LAYER_WITH_CUSTOM
//#define MAGIC_KEY_HELP1 H
//#define MAGIC_KEY_HELP2 SLASH
//#define MAGIC_KEY_DEBUG D
//#define MAGIC_KEY_DEBUG_MATRIX X
//#define MAGIC_KEY_DEBUG_KBD K
//#define MAGIC_KEY_DEBUG_MOUSE M
//#define MAGIC_KEY_VERSION V
//#define MAGIC_KEY_STATUS S
//#define MAGIC_KEY_CONSOLE C
//#define MAGIC_KEY_LAYER0_ALT1 ESC
//#define MAGIC_KEY_LAYER0_ALT2 GRAVE
//#define MAGIC_KEY_LAYER0 0
//#define MAGIC_KEY_LAYER1 1
//#define MAGIC_KEY_LAYER2 2
//#define MAGIC_KEY_LAYER3 3
//#define MAGIC_KEY_LAYER4 4
//#define MAGIC_KEY_LAYER5 5
//#define MAGIC_KEY_LAYER6 6
//#define MAGIC_KEY_LAYER7 7
//#define MAGIC_KEY_LAYER8 8
//#define MAGIC_KEY_LAYER9 9
//#define MAGIC_KEY_BOOTLOADER PAUSE
//#define MAGIC_KEY_LOCK CAPS
//#define MAGIC_KEY_EEPROM E
//#define MAGIC_KEY_NKRO N
//#define MAGIC_KEY_SLEEP_LED Z
/*
* Feature disable options
* These options are also useful to firmware size reduction.
*/
/* disable debug print */
//#define NO_DEBUG
/* disable print */
//#define NO_PRINT
/* disable action features */
//#define NO_ACTION_LAYER
//#define NO_ACTION_TAPPING
//#define NO_ACTION_ONESHOT
//#define NO_ACTION_MACRO
//#define NO_ACTION_FUNCTION
/*
* MIDI options
*/
/* Prevent use of disabled MIDI features in the keymap */
//#define MIDI_ENABLE_STRICT 1
/* enable basic MIDI features:
- MIDI notes can be sent when in Music mode is on
*/
//#define MIDI_BASIC
/* enable advanced MIDI features:
- MIDI notes can be added to the keymap
- Octave shift and transpose
- Virtual sustain, portamento, and modulation wheel
- etc.
*/
//#define MIDI_ADVANCED
/* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */
//#define MIDI_TONE_KEYCODE_OCTAVES 1
/*
* HD44780 LCD Display Configuration
*/
/*
#define LCD_LINES 2 //< number of visible lines of the display
#define LCD_DISP_LENGTH 16 //< visibles characters per line of the display
#define LCD_IO_MODE 1 //< 0: memory mapped mode, 1: IO port mode
#if LCD_IO_MODE
#define LCD_PORT PORTB //< port for the LCD lines
#define LCD_DATA0_PORT LCD_PORT //< port for 4bit data bit 0
#define LCD_DATA1_PORT LCD_PORT //< port for 4bit data bit 1
#define LCD_DATA2_PORT LCD_PORT //< port for 4bit data bit 2
#define LCD_DATA3_PORT LCD_PORT //< port for 4bit data bit 3
#define LCD_DATA0_PIN 4 //< pin for 4bit data bit 0
#define LCD_DATA1_PIN 5 //< pin for 4bit data bit 1
#define LCD_DATA2_PIN 6 //< pin for 4bit data bit 2
#define LCD_DATA3_PIN 7 //< pin for 4bit data bit 3
#define LCD_RS_PORT LCD_PORT //< port for RS line
#define LCD_RS_PIN 3 //< pin for RS line
#define LCD_RW_PORT LCD_PORT //< port for RW line
#define LCD_RW_PIN 2 //< pin for RW line
#define LCD_E_PORT LCD_PORT //< port for Enable line
#define LCD_E_PIN 1 //< pin for Enable line
#endif
*/
/* Bootmagic Lite key configuration */
// #define BOOTMAGIC_LITE_ROW 0
// #define BOOTMAGIC_LITE_COLUMN 0

View File

@@ -1,16 +0,0 @@
/* Copyright 2018 REPLACE_WITH_YOUR_NAME
*
* 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/>.
*/
#include "downbubble.h"

View File

@@ -1,111 +0,0 @@
/* Copyright 2018 REPLACE_WITH_YOUR_NAME
*
* 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 "quantum.h"
/* This a shortcut to help you visually see your layout.
*
* The first section contains all of the arguments representing the physical
* layout of the board and position of the keys.
*
* The second converts the arguments into a two-dimensional array which
* represents the switch matrix.
*/
#define LAYOUT_downbubble_standard( \
K00, K01, K02, K03, K04, K05, K06, K010, K011, K012, K013, K014, K015, K016, K017, K018, K019,\
K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K110, K111, K112, K113, K114, K115, K116, K118, K119,\
K20, K21, K22, K23, K24, K25, K26, K27, K28, K210, K211, K212, K213, K214, K215, K216, K217, K218, K219,\
K30, K31, K32, K33, K34, K35, K36, K37, K38, K29, K310, K311, K312, K313, K314, K315, K317, \
K40, K41, K42, K43, K44, K45, K46, K47, K48, K410, K411, K412, K413, K414, K416, K418, \
K50, K51, K52, K53, K54, K56, K58, K49, K510, K512, K513, K514, K516, K517, K518, K519 \
) \
{ \
{ K00, K01, K02, K03, K04, K05, K06, KC_NO, KC_NO, KC_NO, K010, K011, K012, K013, K014, K015, K016, K017, K018, K019 }, \
{ K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K110, K111, K112, K113, K114, K115, K116, KC_NO, K118, K119 }, \
{ K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K210, K211, K212, K213, K214, K215, K216, K217, K218, K219 }, \
{ K30, K31, K32, K33, K34, K35, K36, K37, K38, KC_NO, K310, K311, K312, K313, K314, K315, KC_NO, K317, KC_NO, KC_NO }, \
{ K40, K41, K42, K43, K44, K45, K46, K47, K48, K49, K410, K411, K412, K413, K414, KC_NO, K416, KC_NO, K418, KC_NO }, \
{ K50, K51, K52, K53, K54, KC_NO, K56, KC_NO, K58, KC_NO, K510, KC_NO, K512, K513, K514, KC_NO, K516, K517, K518, K519 }, \
}
#define LAYOUT_downbubble_splitbackspace( \
K00, K01, K02, K03, K04, K05, K06, K010, K011, K012, K013, K014, K015, K016, K017, K018, K019,\
K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K110, K111, K112, K113, K114, K115, K116, K117, K118, K119,\
K20, K21, K22, K23, K24, K25, K26, K27, K28, K210, K211, K212, K213, K214, K215, K216, K217, K218, K219,\
K30, K31, K32, K33, K34, K35, K36, K37, K38, K29, K310, K311, K312, K313, K314, K315, K317, \
K40, K41, K42, K43, K44, K45, K46, K47, K48, K410, K411, K412, K413, K414, K416, K418, \
K50, K51, K52, K53, K54, K56, K58, K49, K510, K512, K513, K514, K516, K517, K518, K519 \
) \
{ \
{ K00, K01, K02, K03, K04, K05, K06, KC_NO, KC_NO, KC_NO, K010, K011, K012, K013, K014, K015, K016, K017, K018, K019 }, \
{ K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K110, K111, K112, K113, K114, K115, K116, K117, K118, K119 }, \
{ K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K210, K211, K212, K213, K214, K215, K216, K217, K218, K219 }, \
{ K30, K31, K32, K33, K34, K35, K36, K37, K38, KC_NO, K310, K311, K312, K313, K314, K315, KC_NO, K317, KC_NO, KC_NO }, \
{ K40, K41, K42, K43, K44, K45, K46, K47, K48, K49, K410, K411, K412, K413, K414, KC_NO, K416, KC_NO, K418, KC_NO }, \
{ K50, K51, K52, K53, K54, KC_NO, K56, KC_NO, K58, KC_NO, K510, KC_NO, K512, K513, K514, KC_NO, K516, K517, K518, K519 }, \
}
#define LAYOUT_downbubble_splitrightshift( \
K00, K01, K02, K03, K04, K05, K06, K010, K011, K012, K013, K014, K015, K016, K017, K018, K019,\
K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K110, K111, K112, K113, K114, K115, K116, K118, K119,\
K20, K21, K22, K23, K24, K25, K26, K27, K28, K210, K211, K212, K213, K214, K215, K216, K217, K218, K219,\
K30, K31, K32, K33, K34, K35, K36, K37, K38, K29, K310, K311, K312, K313, K314, K315, K317, \
K40, K41, K42, K43, K44, K45, K46, K47, K48, K410, K411, K412, K413, K414, K416, K417, K418, \
K50, K51, K52, K53, K54, K56, K58, K49, K510, K512, K513, K514, K516, K517, K518, K519 \
) \
{ \
{ K00, K01, K02, K03, K04, K05, K06, KC_NO, KC_NO, KC_NO, K010, K011, K012, K013, K014, K015, K016, K017, K018, K019 }, \
{ K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K110, K111, K112, K113, K114, K115, K116, KC_NO, K118, K119 }, \
{ K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K210, K211, K212, K213, K214, K215, K216, K217, K218, K219 }, \
{ K30, K31, K32, K33, K34, K35, K36, K37, K38, KC_NO, K310, K311, K312, K313, K314, K315, KC_NO, K317, KC_NO, KC_NO }, \
{ K40, K41, K42, K43, K44, K45, K46, K47, K48, K49, K410, K411, K412, K413, K414, KC_NO, K416, K417, K418, KC_NO }, \
{ K50, K51, K52, K53, K54, KC_NO, K56, KC_NO, K58, KC_NO, K510, KC_NO, K512, K513, K514, KC_NO, K516, K517, K518, K519 }, \
}
#define LAYOUT_downbubble_splitnumpad( \
K00, K01, K02, K03, K04, K05, K06, K010, K011, K012, K013, K014, K015, K016, K017, K018, K019,\
K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K110, K111, K112, K113, K114, K115, K116, K118, K119,\
K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K210, K211, K212, K213, K214, K215, K216, K217, K218, K219,\
K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K310, K311, K312, K313, K314, K315, K317, \
K40, K41, K42, K43, K44, K45, K46, K47, K48, K49, K410, K411, K412, K413, K414, K416, K418, \
K50, K51, K52, K53, K54, K56, K57, K58, K59, K510, K512, K513, K514, K516, K517, K518, K519 \
) \
{ \
{ K00, K01, K02, K03, K04, K05, K06, KC_NO, KC_NO, KC_NO, K010, K011, K012, K013, K014, K015, K016, K017, K018, K019 }, \
{ K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K110, K111, K112, K113, K114, K115, K116, KC_NO, K118, K119 }, \
{ K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K210, K211, K212, K213, K214, K215, K216, K217, K218, K219 }, \
{ K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K310, K311, K312, K313, K314, K315, KC_NO, K317, KC_NO, KC_NO }, \
{ K40, K41, K42, K43, K44, K45, K46, K47, K48, K49, K410, K411, K412, K413, K414, KC_NO, K416, KC_NO, K418, KC_NO }, \
{ K50, K51, K52, K53, K54, KC_NO, K56, K57, K58, K59, K510, KC_NO, K512, K513, K514, KC_NO, K516, K517, K518, K519 }, \
}
#define LAYOUT_downbubble_spliteverything( \
K00, K01, K02, K03, K04, K05, K06, K010, K011, K012, K013, K014, K015, K016, K017, K018, K019,\
K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K110, K111, K112, K113, K114, K115, K116, K117, K118, K119,\
K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K210, K211, K212, K213, K214, K215, K216, K217, K218, K219,\
K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K310, K311, K312, K313, K314, K315, K317, \
K40, K41, K42, K43, K44, K45, K46, K47, K48, K49, K410, K411, K412, K413, K414, K416, K417, K418, \
K50, K51, K52, K53, K54, K56, K57, K58, K59, K510, K512, K513, K514, K516, K517, K518, K519 \
) \
{ \
{ K00, K01, K02, K03, K04, K05, K06, KC_NO, KC_NO, KC_NO, K010, K011, K012, K013, K014, K015, K016, K017, K018, K019 }, \
{ K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K110, K111, K112, K113, K114, K115, K116, K117, K118, K119 }, \
{ K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K210, K211, K212, K213, K214, K215, K216, K217, K218, K219 }, \
{ K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K310, K311, K312, K313, K314, K315, KC_NO, K317, KC_NO, KC_NO }, \
{ K40, K41, K42, K43, K44, K45, K46, K47, K48, K49, K410, K411, K412, K413, K414, KC_NO, K416, K417, K418, KC_NO }, \
{ K50, K51, K52, K53, K54, KC_NO, K56, K57, K58, K59, K510, KC_NO, K512, K513, K514, KC_NO, K516, K517, K518, K519 }, \
}

View File

@@ -1,554 +0,0 @@
{
"keyboard_name": "downbubble",
"url": "",
"maintainer": "flehrad",
"width": 22.75,
"height": 6,
"layouts": {
"LAYOUT_downbubble_standard": {
"layout": [
{"label":"K00", "x":0, "y":0.5},
{"label":"K01", "x":1, "y":0.5},
{"label":"K02", "x":2, "y":0.5},
{"label":"K03", "x":3, "y":0.5},
{"label":"K04", "x":4, "y":0.5},
{"label":"K05", "x":5, "y":0.5},
{"label":"K06", "x":6, "y":0.5},
{"label":"K010", "x":12.75, "y":0.5},
{"label":"K011", "x":13.75, "y":0.5},
{"label":"K012", "x":14.75, "y":0.5},
{"label":"K013", "x":15.75, "y":0.5},
{"label":"K014", "x":16.75, "y":0.5},
{"label":"K015", "x":17.75, "y":0.5},
{"label":"K016", "x":18.75, "y":0.5},
{"label":"K017", "x":19.75, "y":0.5},
{"label":"K018", "x":20.75, "y":0.5},
{"label":"K019", "x":21.75, "y":0.5},
{"label":"K10", "x":0, "y":1.5},
{"label":"K11", "x":1, "y":1.5},
{"label":"K12", "x":2, "y":1.5},
{"label":"K13", "x":3, "y":1.5},
{"label":"K14", "x":4, "y":1.5},
{"label":"K15", "x":5, "y":1.5},
{"label":"K16", "x":6, "y":1.5},
{"label":"K17", "x":8.75, "y":1.5},
{"label":"K18", "x":9.75, "y":1.5},
{"label":"K19", "x":10.75, "y":1.5},
{"label":"K110", "x":12.75, "y":1.5},
{"label":"K111", "x":13.75, "y":1.5},
{"label":"K112", "x":14.75, "y":1.5},
{"label":"K113", "x":15.75, "y":1.5},
{"label":"K114", "x":16.75, "y":1.5},
{"label":"K115", "x":17.75, "y":1.5},
{"label":"K116", "x":18.75, "y":1.5, "w":2},
{"label":"K118", "x":20.75, "y":1.5},
{"label":"K119", "x":21.75, "y":1.5},
{"label":"K20", "x":0, "y":2.5, "w":1.5},
{"label":"K21", "x":1.5, "y":2.5},
{"label":"K22", "x":2.5, "y":2.5},
{"label":"K23", "x":3.5, "y":2.5},
{"label":"K24", "x":4.5, "y":2.5},
{"label":"K25", "x":5.5, "y":2.5},
{"label":"K26", "x":7.75, "y":2.5},
{"label":"K17", "x":8.75, "y":2.5},
{"label":"K28", "x":9.75, "y":2.5},
{"label":"K210", "x":12.25, "y":2.5},
{"label":"K211", "x":13.25, "y":2.5},
{"label":"K212", "x":14.25, "y":2.5},
{"label":"K213", "x":15.25, "y":2.5},
{"label":"K214", "x":16.25, "y":2.5},
{"label":"K215", "x":17.25, "y":2.5},
{"label":"K216", "x":18.25, "y":2.5},
{"label":"K217", "x":19.25, "y":2.5, "w":1.5},
{"label":"K218", "x":20.75, "y":2.5},
{"label":"K219", "x":21.75, "y":2.5},
{"label":"K30", "x":0, "y":3.5, "w":1.75},
{"label":"K31", "x":1.75, "y":3.5},
{"label":"K32", "x":2.75, "y":3.5},
{"label":"K33", "x":3.75, "y":3.5},
{"label":"K34", "x":4.75, "y":3.5},
{"label":"K35", "x":5.75, "y":3.5},
{"label":"K36", "x":7.75, "y":3.5},
{"label":"K37", "x":8.75, "y":3.5},
{"label":"K38", "x":9.75, "y":3.5},
{"label":"K29", "x":10.75, "y":2.5, "h":2},
{"label":"K310", "x":12.5, "y":3.5},
{"label":"K311", "x":13.5, "y":3.5},
{"label":"K312", "x":14.5, "y":3.5},
{"label":"K313", "x":15.5, "y":3.5},
{"label":"K314", "x":16.5, "y":3.5},
{"label":"K315", "x":17.5, "y":3.5},
{"label":"K317", "x":18.5, "y":3.5, "w":2.25},
{"label":"K40", "x":0, "y":4.5, "w":2.25},
{"label":"K41", "x":2.25, "y":4.5},
{"label":"K42", "x":3.25, "y":4.5},
{"label":"K43", "x":4.25, "y":4.5},
{"label":"K44", "x":5.25, "y":4.5},
{"label":"K45", "x":6.25, "y":4.5},
{"label":"K46", "x":7.75, "y":4.5},
{"label":"K47", "x":8.75, "y":4.5},
{"label":"K48", "x":9.75, "y":4.5},
{"label":"K410", "x":13, "y":4.5},
{"label":"K411", "x":14, "y":4.5},
{"label":"K412", "x":15, "y":4.5},
{"label":"K413", "x":16, "y":4.5},
{"label":"K414", "x":17, "y":4.5},
{"label":"K416", "x":18, "y":4.5, "w":2.75},
{"label":"K418", "x":20.75, "y":4.5},
{"label":"K50", "x":0, "y":5.5, "w":1.25},
{"label":"K51", "x":1.25, "y":5.5, "w":1.25},
{"label":"K52", "x":2.5, "y":5.5, "w":1.25},
{"label":"K53", "x":3.75, "y":5.5, "w":1.25},
{"label":"K54", "x":5, "y":5.5, "w":2.25},
{"label":"K56", "x":7.75, "y":5.5, "w":2},
{"label":"K58", "x":9.75, "y":5.5},
{"label":"K49", "x":10.75, "y":4.5, "h":2},
{"label":"K510", "x":13, "y":5.5, "w":2},
{"label":"K512", "x":15, "y":5.5, "w":1.25},
{"label":"K513", "x":16.25, "y":5.5, "w":1.25},
{"label":"K514", "x":17.5, "y":5.5, "w":1.25},
{"label":"K516", "x":18.75, "y":5.5},
{"label":"K517", "x":19.75, "y":5.5},
{"label":"K518", "x":20.75, "y":5.5},
{"label":"K519", "x":21.75, "y":5.5}]
},
"LAYOUT_downbubbled_splitbackspace": {
"layout": [
{"label":"K00", "x":0, "y":0.5},
{"label":"K01", "x":1, "y":0.5},
{"label":"K02", "x":2, "y":0.5},
{"label":"K03", "x":3, "y":0.5},
{"label":"K04", "x":4, "y":0.5},
{"label":"K05", "x":5, "y":0.5},
{"label":"K06", "x":6, "y":0.5},
{"label":"K010", "x":12.75, "y":0.5},
{"label":"K011", "x":13.75, "y":0.5},
{"label":"K012", "x":14.75, "y":0.5},
{"label":"K013", "x":15.75, "y":0.5},
{"label":"K014", "x":16.75, "y":0.5},
{"label":"K015", "x":17.75, "y":0.5},
{"label":"K016", "x":18.75, "y":0.5},
{"label":"K017", "x":19.75, "y":0.5},
{"label":"K018", "x":20.75, "y":0.5},
{"label":"K019", "x":21.75, "y":0.5},
{"label":"K10", "x":0, "y":1.5},
{"label":"K11", "x":1, "y":1.5},
{"label":"K12", "x":2, "y":1.5},
{"label":"K13", "x":3, "y":1.5},
{"label":"K14", "x":4, "y":1.5},
{"label":"K15", "x":5, "y":1.5},
{"label":"K16", "x":6, "y":1.5},
{"label":"K17", "x":8.75, "y":1.5},
{"label":"K18", "x":9.75, "y":1.5},
{"label":"K19", "x":10.75, "y":1.5},
{"label":"K110", "x":12.75, "y":1.5},
{"label":"K111", "x":13.75, "y":1.5},
{"label":"K112", "x":14.75, "y":1.5},
{"label":"K113", "x":15.75, "y":1.5},
{"label":"K114", "x":16.75, "y":1.5},
{"label":"K115", "x":17.75, "y":1.5},
{"label":"K116", "x":18.75, "y":1.5},
{"label":"K117", "x":19.75, "y":1},
{"label":"K118", "x":20.75, "y":1.5},
{"label":"K119", "x":21.75, "y":1.5},
{"label":"K20", "x":0, "y":2.5, "w":1.5},
{"label":"K21", "x":1.5, "y":2.5},
{"label":"K22", "x":2.5, "y":2.5},
{"label":"K23", "x":3.5, "y":2.5},
{"label":"K24", "x":4.5, "y":2.5},
{"label":"K25", "x":5.5, "y":2.5},
{"label":"K26", "x":7.75, "y":2.5},
{"label":"K17", "x":8.75, "y":2.5},
{"label":"K28", "x":9.75, "y":2.5},
{"label":"K210", "x":12.25, "y":2.5},
{"label":"K211", "x":13.25, "y":2.5},
{"label":"K212", "x":14.25, "y":2.5},
{"label":"K213", "x":15.25, "y":2.5},
{"label":"K214", "x":16.25, "y":2.5},
{"label":"K215", "x":17.25, "y":2.5},
{"label":"K216", "x":18.25, "y":2.5},
{"label":"K217", "x":19.25, "y":2.5, "w":1.5},
{"label":"K218", "x":20.75, "y":2.5},
{"label":"K219", "x":21.75, "y":2.5},
{"label":"K30", "x":0, "y":3.5, "w":1.75},
{"label":"K31", "x":1.75, "y":3.5},
{"label":"K32", "x":2.75, "y":3.5},
{"label":"K33", "x":3.75, "y":3.5},
{"label":"K34", "x":4.75, "y":3.5},
{"label":"K35", "x":5.75, "y":3.5},
{"label":"K36", "x":7.75, "y":3.5},
{"label":"K37", "x":8.75, "y":3.5},
{"label":"K38", "x":9.75, "y":3.5},
{"label":"K29", "x":10.75, "y":2.5, "h":2},
{"label":"K310", "x":12.5, "y":3.5},
{"label":"K311", "x":13.5, "y":3.5},
{"label":"K312", "x":14.5, "y":3.5},
{"label":"K313", "x":15.5, "y":3.5},
{"label":"K314", "x":16.5, "y":3.5},
{"label":"K315", "x":17.5, "y":3.5},
{"label":"K317", "x":18.5, "y":3.5, "w":2.25},
{"label":"K40", "x":0, "y":4.5, "w":2.25},
{"label":"K41", "x":2.25, "y":4.5},
{"label":"K42", "x":3.25, "y":4.5},
{"label":"K43", "x":4.25, "y":4.5},
{"label":"K44", "x":5.25, "y":4.5},
{"label":"K45", "x":6.25, "y":4.5},
{"label":"K46", "x":7.75, "y":4.5},
{"label":"K47", "x":8.75, "y":4.5},
{"label":"K48", "x":9.75, "y":4.5},
{"label":"K410", "x":13, "y":4.5},
{"label":"K411", "x":14, "y":4.5},
{"label":"K412", "x":15, "y":4.5},
{"label":"K413", "x":16, "y":4.5},
{"label":"K414", "x":17, "y":4.5},
{"label":"K416", "x":18, "y":4.5, "w":2.75},
{"label":"K418", "x":20.75, "y":4.5},
{"label":"K50", "x":0, "y":5.5, "w":1.25},
{"label":"K51", "x":1.25, "y":5.5, "w":1.25},
{"label":"K52", "x":2.5, "y":5.5, "w":1.25},
{"label":"K53", "x":3.75, "y":5.5, "w":1.25},
{"label":"K54", "x":5, "y":5.5, "w":2.25},
{"label":"K56", "x":7.75, "y":5.5, "w":2},
{"label":"K58", "x":9.75, "y":5.5},
{"label":"K49", "x":10.75, "y":4.5, "h":2},
{"label":"K510", "x":13, "y":5.5, "w":2},
{"label":"K512", "x":15, "y":5.5, "w":1.25},
{"label":"K513", "x":16.25, "y":5.5, "w":1.25},
{"label":"K514", "x":17.5, "y":5.5, "w":1.25},
{"label":"K516", "x":18.75, "y":5.5},
{"label":"K517", "x":19.75, "y":5.5},
{"label":"K518", "x":20.75, "y":5.5},
{"label":"K519", "x":21.75, "y":5.5}]
},
"LAYOUT_downbubble_splitrightshift": {
"layout": [
{"label":"K00", "x":0, "y":0.5},
{"label":"K01", "x":1, "y":0.5},
{"label":"K02", "x":2, "y":0.5},
{"label":"K03", "x":3, "y":0.5},
{"label":"K04", "x":4, "y":0.5},
{"label":"K05", "x":5, "y":0.5},
{"label":"K06", "x":6, "y":0.5},
{"label":"K010", "x":12.75, "y":0.5},
{"label":"K011", "x":13.75, "y":0.5},
{"label":"K012", "x":14.75, "y":0.5},
{"label":"K013", "x":15.75, "y":0.5},
{"label":"K014", "x":16.75, "y":0.5},
{"label":"K015", "x":17.75, "y":0.5},
{"label":"K016", "x":18.75, "y":0.5},
{"label":"K017", "x":19.75, "y":0.5},
{"label":"K018", "x":20.75, "y":0.5},
{"label":"K019", "x":21.75, "y":0.5},
{"label":"K10", "x":0, "y":1.5},
{"label":"K11", "x":1, "y":1.5},
{"label":"K12", "x":2, "y":1.5},
{"label":"K13", "x":3, "y":1.5},
{"label":"K14", "x":4, "y":1.5},
{"label":"K15", "x":5, "y":1.5},
{"label":"K16", "x":6, "y":1.5},
{"label":"K17", "x":8.75, "y":1.5},
{"label":"K18", "x":9.75, "y":1.5},
{"label":"K19", "x":10.75, "y":1.5},
{"label":"K110", "x":12.75, "y":1.5},
{"label":"K111", "x":13.75, "y":1.5},
{"label":"K112", "x":14.75, "y":1.5},
{"label":"K113", "x":15.75, "y":1.5},
{"label":"K114", "x":16.75, "y":1.5},
{"label":"K115", "x":17.75, "y":1.5},
{"label":"K116", "x":18.75, "y":1.5, "w":2},
{"label":"K118", "x":20.75, "y":1.5},
{"label":"K119", "x":21.75, "y":1.5},
{"label":"K20", "x":0, "y":2.5, "w":1.5},
{"label":"K21", "x":1.5, "y":2.5},
{"label":"K22", "x":2.5, "y":2.5},
{"label":"K23", "x":3.5, "y":2.5},
{"label":"K24", "x":4.5, "y":2.5},
{"label":"K25", "x":5.5, "y":2.5},
{"label":"K26", "x":7.75, "y":2.5},
{"label":"K17", "x":8.75, "y":2.5},
{"label":"K28", "x":9.75, "y":2.5},
{"label":"K210", "x":12.25, "y":2.5},
{"label":"K211", "x":13.25, "y":2.5},
{"label":"K212", "x":14.25, "y":2.5},
{"label":"K213", "x":15.25, "y":2.5},
{"label":"K214", "x":16.25, "y":2.5},
{"label":"K215", "x":17.25, "y":2.5},
{"label":"K216", "x":18.25, "y":2.5},
{"label":"K217", "x":19.25, "y":2.5, "w":1.5},
{"label":"K218", "x":20.75, "y":2.5},
{"label":"K219", "x":21.75, "y":2.5},
{"label":"K30", "x":0, "y":3.5, "w":1.75},
{"label":"K31", "x":1.75, "y":3.5},
{"label":"K32", "x":2.75, "y":3.5},
{"label":"K33", "x":3.75, "y":3.5},
{"label":"K34", "x":4.75, "y":3.5},
{"label":"K35", "x":5.75, "y":3.5},
{"label":"K36", "x":7.75, "y":3.5},
{"label":"K37", "x":8.75, "y":3.5},
{"label":"K38", "x":9.75, "y":3.5},
{"label":"K29", "x":10.75, "y":2.5, "h":2},
{"label":"K310", "x":12.5, "y":3.5},
{"label":"K311", "x":13.5, "y":3.5},
{"label":"K312", "x":14.5, "y":3.5},
{"label":"K313", "x":15.5, "y":3.5},
{"label":"K314", "x":16.5, "y":3.5},
{"label":"K315", "x":17.5, "y":3.5},
{"label":"K317", "x":18.5, "y":3.5, "w":2.25},
{"label":"K40", "x":0, "y":4.5, "w":2.25},
{"label":"K41", "x":2.25, "y":4.5},
{"label":"K42", "x":3.25, "y":4.5},
{"label":"K43", "x":4.25, "y":4.5},
{"label":"K44", "x":5.25, "y":4.5},
{"label":"K45", "x":6.25, "y":4.5},
{"label":"K46", "x":7.75, "y":4.5},
{"label":"K47", "x":8.75, "y":4.5},
{"label":"K48", "x":9.75, "y":4.5},
{"label":"K410", "x":13, "y":4.5},
{"label":"K411", "x":14, "y":4.5},
{"label":"K412", "x":15, "y":4.5},
{"label":"K413", "x":16, "y":4.5},
{"label":"K414", "x":17, "y":4.5},
{"label":"K416", "x":18, "y":4.5, "w":1.75},
{"label":"K417", "x":19.75, "y":4},
{"label":"K418", "x":20.75, "y":4.5},
{"label":"K50", "x":0, "y":5.5, "w":1.25},
{"label":"K51", "x":1.25, "y":5.5, "w":1.25},
{"label":"K52", "x":2.5, "y":5.5, "w":1.25},
{"label":"K53", "x":3.75, "y":5.5, "w":1.25},
{"label":"K54", "x":5, "y":5.5, "w":2.25},
{"label":"K56", "x":7.75, "y":5.5, "w":2},
{"label":"K58", "x":9.75, "y":5.5},
{"label":"K49", "x":10.75, "y":4.5, "h":2},
{"label":"K510", "x":13, "y":5.5, "w":2},
{"label":"K512", "x":15, "y":5.5, "w":1.25},
{"label":"K513", "x":16.25, "y":5.5, "w":1.25},
{"label":"K514", "x":17.5, "y":5.5, "w":1.25},
{"label":"K516", "x":18.75, "y":5.5},
{"label":"K517", "x":19.75, "y":5.5},
{"label":"K518", "x":20.75, "y":5.5},
{"label":"K519", "x":21.75, "y":5.5}]
},
"LAYOUT_downbubble_splitnumpad": {
"layout": [
{"label":"K00", "x":0, "y":0.5},
{"label":"K01", "x":1, "y":0.5},
{"label":"K02", "x":2, "y":0.5},
{"label":"K03", "x":3, "y":0.5},
{"label":"K04", "x":4, "y":0.5},
{"label":"K05", "x":5, "y":0.5},
{"label":"K06", "x":6, "y":0.5},
{"label":"K010", "x":12.75, "y":0.5},
{"label":"K011", "x":13.75, "y":0.5},
{"label":"K012", "x":14.75, "y":0.5},
{"label":"K013", "x":15.75, "y":0.5},
{"label":"K014", "x":16.75, "y":0.5},
{"label":"K015", "x":17.75, "y":0.5},
{"label":"K016", "x":18.75, "y":0.5},
{"label":"K017", "x":19.75, "y":0.5},
{"label":"K018", "x":20.75, "y":0.5},
{"label":"K019", "x":21.75, "y":0.5},
{"label":"K10", "x":0, "y":1.5},
{"label":"K11", "x":1, "y":1.5},
{"label":"K12", "x":2, "y":1.5},
{"label":"K13", "x":3, "y":1.5},
{"label":"K14", "x":4, "y":1.5},
{"label":"K15", "x":5, "y":1.5},
{"label":"K16", "x":6, "y":1.5},
{"label":"K17", "x":8.75, "y":1.5},
{"label":"K18", "x":9.75, "y":1.5},
{"label":"K19", "x":10.75, "y":1.5},
{"label":"K110", "x":12.75, "y":1.5},
{"label":"K111", "x":13.75, "y":1.5},
{"label":"K112", "x":14.75, "y":1.5},
{"label":"K113", "x":15.75, "y":1.5},
{"label":"K114", "x":16.75, "y":1.5},
{"label":"K115", "x":17.75, "y":1.5},
{"label":"K116", "x":18.75, "y":1.5, "w":2},
{"label":"K118", "x":20.75, "y":1.5},
{"label":"K119", "x":21.75, "y":1.5},
{"label":"K20", "x":0, "y":2.5, "w":1.5},
{"label":"K21", "x":1.5, "y":2.5},
{"label":"K22", "x":2.5, "y":2.5},
{"label":"K23", "x":3.5, "y":2.5},
{"label":"K24", "x":4.5, "y":2.5},
{"label":"K25", "x":5.5, "y":2.5},
{"label":"K26", "x":7.75, "y":2.5},
{"label":"K17", "x":8.75, "y":2.5},
{"label":"K28", "x":9.75, "y":2.5},
{"label":"K29", "x":10.75, "y":2},
{"label":"K210", "x":12.25, "y":2.5},
{"label":"K211", "x":13.25, "y":2.5},
{"label":"K212", "x":14.25, "y":2.5},
{"label":"K213", "x":15.25, "y":2.5},
{"label":"K214", "x":16.25, "y":2.5},
{"label":"K215", "x":17.25, "y":2.5},
{"label":"K216", "x":18.25, "y":2.5},
{"label":"K217", "x":19.25, "y":2.5, "w":1.5},
{"label":"K218", "x":20.75, "y":2.5},
{"label":"K219", "x":21.75, "y":2.5},
{"label":"K30", "x":0, "y":3.5, "w":1.75},
{"label":"K31", "x":1.75, "y":3.5},
{"label":"K32", "x":2.75, "y":3.5},
{"label":"K33", "x":3.75, "y":3.5},
{"label":"K34", "x":4.75, "y":3.5},
{"label":"K35", "x":5.75, "y":3.5},
{"label":"K36", "x":7.75, "y":3.5},
{"label":"K37", "x":8.75, "y":3.5},
{"label":"K38", "x":9.75, "y":3.5},
{"label":"K39", "x":10.75, "y":3},
{"label":"K310", "x":12.5, "y":3.5},
{"label":"K311", "x":13.5, "y":3.5},
{"label":"K312", "x":14.5, "y":3.5},
{"label":"K313", "x":15.5, "y":3.5},
{"label":"K314", "x":16.5, "y":3.5},
{"label":"K315", "x":17.5, "y":3.5},
{"label":"K317", "x":18.5, "y":3.5, "w":2.25},
{"label":"K40", "x":0, "y":4.5, "w":2.25},
{"label":"K41", "x":2.25, "y":4.5},
{"label":"K42", "x":3.25, "y":4.5},
{"label":"K43", "x":4.25, "y":4.5},
{"label":"K44", "x":5.25, "y":4.5},
{"label":"K45", "x":6.25, "y":4.5},
{"label":"K46", "x":7.75, "y":4.5},
{"label":"K47", "x":8.75, "y":4.5},
{"label":"K48", "x":9.75, "y":4.5},
{"label":"K49", "x":10.75, "y":4},
{"label":"K410", "x":13, "y":4.5},
{"label":"K411", "x":14, "y":4.5},
{"label":"K412", "x":15, "y":4.5},
{"label":"K413", "x":16, "y":4.5},
{"label":"K414", "x":17, "y":4.5},
{"label":"K416", "x":18, "y":4.5, "w":2.75},
{"label":"K418", "x":20.75, "y":4.5},
{"label":"K50", "x":0, "y":5.5, "w":1.25},
{"label":"K51", "x":1.25, "y":5.5, "w":1.25},
{"label":"K52", "x":2.5, "y":5.5, "w":1.25},
{"label":"K53", "x":3.75, "y":5.5, "w":1.25},
{"label":"K54", "x":5, "y":5.5, "w":2.25},
{"label":"K56", "x":7.75, "y":5.5},
{"Label":"K57", "x":8.75, "y":5},
{"label":"K58", "x":9.75, "y":5},
{"label":"K59", "x":10.75, "y":5},
{"label":"K510", "x":13, "y":5.5, "w":2},
{"label":"K512", "x":15, "y":5.5, "w":1.25},
{"label":"K513", "x":16.25, "y":5.5, "w":1.25},
{"label":"K514", "x":17.5, "y":5.5, "w":1.25},
{"label":"K516", "x":18.75, "y":5.5},
{"label":"K517", "x":19.75, "y":5.5},
{"label":"K518", "x":20.75, "y":5.5},
{"label":"K519", "x":21.75, "y":5.5}]
},
"LAYOUT_downbubble_spliteverything": {
"layout": [
{"label":"K00", "x":0, "y":0},
{"label":"K01", "x":1, "y":0},
{"label":"K02", "x":2, "y":0},
{"label":"K03", "x":3, "y":0},
{"label":"K04", "x":4, "y":0},
{"label":"K05", "x":5, "y":0},
{"label":"K06", "x":6, "y":0},
{"label":"K010", "x":12.75, "y":0},
{"label":"K011", "x":13.75, "y":0},
{"label":"K012", "x":14.75, "y":0},
{"label":"K013", "x":15.75, "y":0},
{"label":"K014", "x":16.75, "y":0},
{"label":"K015", "x":17.75, "y":0},
{"label":"K016", "x":18.75, "y":0},
{"label":"K017", "x":19.75, "y":0},
{"label":"K018", "x":20.75, "y":0},
{"label":"K019", "X":21.75, "y":0},
{"label":"K10", "x":0, "y":1},
{"label":"K11", "x":1, "y":1},
{"label":"K12", "x":2, "y":1},
{"label":"K13", "x":3, "y":1},
{"label":"K14", "x":4, "y":1},
{"label":"K15", "x":5, "y":1},
{"label":"K16", "x":6, "y":1},
{"label":"K17", "x":8.75, "y":1},
{"label":"K18", "x":9.75, "y":1},
{"label":"K19", "x":10.75, "y":1},
{"label":"K110", "x":12.75, "y":1},
{"label":"K111", "x":13.75, "y":1},
{"label":"K112", "x":14.75, "y":1},
{"label":"K113", "x":15.75, "y":1},
{"label":"K114", "x":16.75, "y":1},
{"label":"K115", "x":17.75, "y":1},
{"label":"K116", "x":18.75, "y":1},
{"label":"K117", "x":19.75, "y":1},
{"label":"K118", "x":20.75, "y":1},
{"label":"K119", "x":21.75, "y":1},
{"label":"K20", "x":0, "y":2, "w":1.5},
{"label":"K21", "x":1.5, "y":2},
{"label":"K22", "x":2.5, "y":2},
{"label":"K23", "x":3.5, "y":2},
{"label":"K24", "x":4.5, "y":2},
{"label":"K25", "x":5.5, "y":2},
{"label":"K26", "x":7.75, "y":2},
{"label":"K27", "x":8.75, "y":2},
{"label":"K28", "x":9.75, "y":2},
{"label":"K29", "x":10.75, "y":2},
{"label":"K210", "x":12.25, "y":2},
{"label":"K211", "x":13.25, "y":2},
{"label":"K212", "x":14.25, "y":2},
{"label":"K213", "x":15.25, "y":2},
{"label":"K214", "x":16.25, "y":2},
{"label":"K215", "x":17.25, "y":2},
{"label":"K216", "x":18.25, "y":2},
{"label":"K217", "x":19.25, "y":2, "w":1.5},
{"label":"K218", "x":20.75, "y":2},
{"label":"K219", "x":21.75, "y":2},
{"label":"K30", "x":0, "y":3, "w":1.75},
{"label":"K31", "x":1.75, "y":3},
{"label":"K32", "x":2.75, "y":3},
{"label":"K33", "x":3.75, "y":3},
{"label":"K34", "x":4.75, "y":3},
{"label":"K35", "x":5.75, "y":3},
{"label":"K36", "x":7.75, "y":3},
{"label":"K37", "x":8.75, "y":3},
{"label":"K38", "x":9.75, "y":3},
{"label":"K39", "x":10.75, "y":3},
{"label":"K310", "x":12.5, "y":3},
{"label":"K311", "x":13.5, "y":3},
{"label":"K312", "x":14.5, "y":3},
{"label":"K313", "x":15.5, "y":3},
{"label":"K314", "x":16.5, "y":3},
{"label":"K315", "x":17.5, "y":3},
{"label":"K317", "x":18.5, "y":3, "w":2.25},
{"label":"K40", "x":0, "y":4, "w":2.25},
{"label":"K41", "x":2.25, "y":4},
{"label":"K42", "x":3.25, "y":4},
{"label":"K43", "x":4.25, "y":4},
{"label":"K44", "x":5.25, "y":4},
{"label":"K45", "x":6.25, "y":4},
{"label":"K46", "x":7.75, "y":4},
{"label":"K47", "x":8.75, "y":4},
{"label":"K48", "x":9.75, "y":4},
{"label":"K49", "x":10.75, "y":4},
{"label":"K410", "x":13, "y":4},
{"label":"K411", "x":14, "y":4},
{"label":"K412", "x":15, "y":4},
{"label":"K413", "x":16, "y":4},
{"label":"K414", "x":17, "y":4},
{"label":"K416", "x":18, "y":4, "w":1.75},
{"label":"K417", "x":19.75, "y":4},
{"label":"K418", "x":20.75, "y":4},
{"label":"K50", "x":0, "y":5, "w":1.25},
{"label":"K51", "x":1.25, "y":5, "w":1.25},
{"label":"K52", "x":2.5, "y":5, "w":1.25},
{"label":"K53", "x":3.75, "y":5, "w":1.25},
{"label":"K54", "x":5, "y":5, "w":2.25},
{"label":"K56", "x":7.75, "y":5},
{"label":"K57", "x":8.75, "y":5},
{"label":"K58", "x":9.75, "y":5},
{"label":"K59", "x":10.75, "y":5},
{"label":"K510", "x":13, "y":5, "w":2},
{"label":"K512", "x":15, "y":5, "w":1.25},
{"label":"K513", "x":16.25, "y":5, "w":1.25},
{"label":"K514", "x":17.5, "y":5, "w":1.25},
{"label":"K516", "x":18.75, "y":5},
{"label":"K517", "x":19.75, "y":5},
{"label":"K518", "x":20.75, "y":5},
{"label":"K519", "x":21.75, "y":5}]
}
}
}

View File

@@ -1,19 +0,0 @@
/* Copyright 2018 REPLACE_WITH_YOUR_NAME
*
* 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
// place overrides here

View File

@@ -1,103 +0,0 @@
/* Copyright 2018 REPLACE_WITH_YOUR_NAME
*
* 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/>.
*/
#include QMK_KEYBOARD_H
// Defines the keycodes used by our macros in process_record_user
enum custom_keycodes {
QMKBEST = SAFE_RANGE,
QMKURL
};
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = LAYOUT_downbubble_standard(\
KC_ESC, 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_PSCR, KC_NLCK, KC_HOME, KC_TRNS,
KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_PSLS, KC_PAST, KC_PMNS, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_END, KC_PGUP,
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_P7, KC_P8, KC_P9, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_DEL, KC_PGDN,
KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_P4, KC_P5, KC_P6, KC_PPLS, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT,
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_P1, KC_P2, KC_P3, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP,
KC_LCTL, KC_LGUI, KC_LALT, KC_BSPC, KC_SPC, KC_P0, KC_PDOT, KC_PENT, KC_BSPC, KC_RALT, KC_RGUI, KC_APP, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT
),
LAYOUT_downbubble_splitbackspace(\
KC_ESC, 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_PSCR, KC_NLCK, KC_HOME, KC_TRNS,
KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_PSLS, KC_PAST, KC_PMNS, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_TRNS, KC_END, KC_PGUP,
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_P7, KC_P8, KC_P9, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_DEL, KC_PGDN,
KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_P4, KC_P5, KC_P6, KC_PPLS, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT,
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_P1, KC_P2, KC_P3, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP,
KC_LCTL, KC_LGUI, KC_LALT, KC_BSPC, KC_SPC, KC_P0, KC_PDOT, KC_PENT, KC_BSPC, KC_RALT, KC_RGUI, KC_APP, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT
),
LAYOUT_downbubble_splitrightshift(\
KC_ESC, 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_PSCR, KC_NLCK, KC_HOME, KC_TRNS,
KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_PSLS, KC_PAST, KC_PMNS, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_END, KC_PGUP,
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_P7, KC_P8, KC_P9, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_DEL, KC_PGDN,
KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_P4, KC_P5, KC_P6, KC_PPLS, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT,
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_P1, KC_P2, KC_P3, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_TRNS, KC_UP,
KC_LCTL, KC_LGUI, KC_LALT, KC_BSPC, KC_SPC, KC_P0, KC_PDOT, KC_PENT, KC_BSPC, KC_RALT, KC_RGUI, KC_APP, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT
),
LAYOUT_downbubble_splitnumpad(\
KC_ESC, 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_PSCR, KC_NLCK, KC_HOME, KC_TRNS,
KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_PSLS, KC_PAST, KC_PMNS, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_END, KC_PGUP,
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_P7, KC_P8, KC_P9, KC_PPLS, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_DEL, KC_PGDN,
KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_P4, KC_P5, KC_P6, KC_TRNS, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT,
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_P1, KC_P2, KC_P3, KC_PENT, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP,
KC_LCTL, KC_LGUI, KC_LALT, KC_BSPC, KC_SPC, KC_P0, KC_TRNS, KC_PDOT, KC_TRNS, KC_BSPC, KC_RALT, KC_RGUI, KC_APP, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT
),
LAYOUT_downbubble_spliteverything(\
KC_ESC, 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_PSCR, KC_NLCK, KC_HOME, KC_TRNS,
KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_PSLS, KC_PAST, KC_PMNS, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_TRNS, KC_END, KC_PGUP,
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_P7, KC_P8, KC_P9, KC_PPLS, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_DEL, KC_PGDN,
KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_P4, KC_P5, KC_P6, KC_TRNS, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT,
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_P1, KC_P2, KC_P3, KC_PENT, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_TRNS, KC_UP,
KC_LCTL, KC_LGUI, KC_LALT, KC_BSPC, KC_SPC, KC_P0, KC_TRNS, KC_PDOT, KC_TRNS, KC_BSPC, KC_RALT, KC_RGUI, KC_APP, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT
),
};
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
switch (keycode) {
case QMKBEST:
if (record->event.pressed) {
// when keycode QMKBEST is pressed
SEND_STRING("QMK is the best thing ever!");
} else {
// when keycode QMKBEST is released
}
break;
case QMKURL:
if (record->event.pressed) {
// when keycode QMKURL is pressed
SEND_STRING("https://qmk.fm/" SS_TAP(X_ENTER));
} else {
// when keycode QMKURL is released
}
break;
}
return true;
}
void matrix_init_user(void) {
}
void matrix_scan_user(void) {
}
void led_set_user(uint8_t usb_led) {
}

View File

@@ -1 +0,0 @@
# The default keymaps for downbubble

View File

@@ -1,201 +0,0 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

View File

@@ -1,15 +0,0 @@
# downbubble
Prototype hand-wired version of this keyboard - https://imgur.com/a/0KbX1JH
This is an ergonomic keyboard with a 5 degree rotation on keyboard halves, and a rotated numpad in the center for RH users.
Keyboard Maintainer: [Flehrad](https://github.com/flehrad)
Hardware Supported: downbubble PCB, AT90USB1286 MCU, MX switches and MiniUSB connector
Hardware Availability: The Board Podcast Slack
Make example for this keyboard (after setting up your build environment):
make downbubble: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).

View File

@@ -1,81 +0,0 @@
# MCU name
MCU = at90usb1286
#MCU = atmega32u4
# Processor frequency.
# This will define a symbol, F_CPU, in all source code files equal to the
# processor frequency in Hz. You can then use this symbol in your source code to
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
# This will be an integer division of F_USB below, as it is sourced by
# F_USB after it has run through any CPU prescalers. Note that this value
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
F_CPU = 16000000
#
# LUFA specific
#
# Target architecture (see library "Board Types" documentation).
ARCH = AVR8
# Input clock frequency.
# This will define a symbol, F_USB, in all source code files equal to the
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
# clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL'
# at the end, this will be done automatically to create a 32-bit value in your
# source code.
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
F_USB = $(F_CPU)
# Interrupt driven control endpoint task(+60)
OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
# Bootloader selection
# Teensy halfkay
# Pro Micro caterina
# Atmel DFU atmel-dfu
# LUFA DFU lufa-dfu
# QMK DFU qmk-dfu
# atmega32a bootloadHID
BOOTLOADER = atmel-dfu
# If you don't know the bootloader type, then you can specify the
# Boot Section Size in *bytes* by uncommenting out the OPT_DEFS line
# Teensy halfKay 512
# Teensy++ halfKay 1024
# Atmel DFU loader 4096
# LUFA bootloader 4096
# USBaspLoader 2048
# OPT_DEFS += -DBOOTLOADER_SIZE=4096
# Build Options
# change yes to no to disable
#
BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000)
MOUSEKEY_ENABLE = yes # Mouse keys(+4700)
EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
CONSOLE_ENABLE = yes # Console for debug(+400)
COMMAND_ENABLE = yes # 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 = no # USB Nkey Rollover
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality on B7 by default
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
MIDI_ENABLE = no # MIDI support (+2400 to 4200, depending on config)
UNICODE_ENABLE = no # Unicode
BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
AUDIO_ENABLE = no # Audio output on port C6
FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches
HD44780_ENABLE = no # Enable support for HD44780 based LCDs (+400)

View File

@@ -87,3 +87,6 @@ AUDIO_ENABLE = no # Audio output on port C6
RGBLIGHT_ENABLE = no
API_SYSEX_ENABLE = no
#ifndef QUANTUM_DIR
# include ../../../Makefile
#endif

View File

@@ -1,51 +0,0 @@
#pragma once
#include "config_common.h"
/* USB Device descriptor parameter */
#define VENDOR_ID 0xFEED
#define PRODUCT_ID 0x6060
#define DEVICE_VER 0x0001
#define MANUFACTURER Flehrad
#define PRODUCT Numbrero
#define DESCRIPTION Pro Micro-powered Reversible L/H Numpad with Extra Macro Keys
/* key matrix size */
#define MATRIX_ROWS 5
#define MATRIX_COLS 5
/* key matrix pins */
#define MATRIX_ROW_PINS { F6, B5, B4, E6, F7 }
#define MATRIX_COL_PINS { D1, D0, D4, F5, F4 }
#define UNUSED_PINS
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
/* number of backlight levels */
#ifdef BACKLIGHT_PIN
#define BACKLIGHT_LEVELS 3
#endif
/* Set 0 if debouncing isn't needed */
#define DEBOUNCING_DELAY 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
/* key combination for command */
#define IS_COMMAND() ( \
keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
)
#ifdef RGB_DI_PIN
#define RGBLIGHT_ANIMATIONS
#define RGBLED_NUM 5
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
#define RGBLIGHT_VAL_STEP 8
#endif

View File

@@ -1,62 +0,0 @@
{
"keyboard_name": "Numbrero",
"url": "",
"maintainer": "Flehrad",
"width": 5,
"height": 5,
"layouts": {
"LAYOUT_numbrero_numpad": {
"layout": [
{"label":"K00", "x":0, "y":0},
{"label":"K01", "x":1, "y":0},
{"label":"K02", "x":2, "y":0},
{"label":"K03", "x":3, "y":0},
{"label":"K04", "x":4, "y":0},
{"label":"K10", "x":0, "y":1, "h":1.5},
{"label":"K11", "x":1, "y":1},
{"label":"K12", "x":2, "y":1},
{"label":"K13", "x":3, "y":1},
{"label":"K20", "x":0, "y":2.5},
{"label":"K21", "x":1, "y":2},
{"label":"K22", "x":2, "y":2},
{"label":"K23", "x":3, "y":2},
{"label":"K14", "x":4, "y":1, "h":2},
{"label":"K30", "x":0, "y":3.5, "h":1.5},
{"label":"K31", "x":1, "y":3},
{"label":"K32", "x":2, "y":3},
{"label":"K33", "x":3, "y":3},
{"label":"K41", "x":1, "y":4, "w":2},
{"label":"K43", "x":3, "y":4},
{"label":"K34", "x":4, "y":3, "h":2}
]
},
"LAYOUT_numbrero_ortho": {
"layout": [
{"label":"K00", "x":0, "y":0},
{"label":"K01", "x":1, "y":0},
{"label":"K02", "x":2, "y":0},
{"label":"K03", "x":3, "y":0},
{"label":"K04", "x":4, "y":0},
{"label":"K10", "x":0, "y":1, "h":1.5},
{"label":"K11", "x":1, "y":1},
{"label":"K12", "x":2, "y":1},
{"label":"K13", "x":3, "y":1},
{"label":"K14", "x":4, "y":1},
{"label":"K20", "x":0, "y":2.5},
{"label":"K21", "x":1, "y":2},
{"label":"K22", "x":2, "y":2},
{"label":"K23", "x":3, "y":2},
{"label":"K24", "x":4, "y":2},
{"label":"K30", "x":0, "y":3.5, "h":1.5},
{"label":"K31", "x":1, "y":3},
{"label":"K32", "x":2, "y":3},
{"label":"K33", "x":3, "y":3},
{"label":"K34", "x":4, "y":3},
{"label":"K41", "x":1, "y":4},
{"label":"K42", "x":2, "y":4},
{"label":"K43", "x":3, "y":4},
{"label":"K44", "x":4, "y":4}
]
}
}
}

View File

@@ -1,30 +0,0 @@
#include QMK_KEYBOARD_H
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
LAYOUT_numbrero_numpad(
KC_TRNS, KC_NLCK, KC_PSLS, KC_PAST, KC_PMNS,
KC_TRNS, KC_P7, KC_P8, KC_P9,
KC_TRNS, KC_P4, KC_P5, KC_P6, KC_PPLS,
KC_TRNS, KC_P1, KC_P2, KC_P3,
KC_P0, KC_PDOT, KC_PENT),
LAYOUT_numbrero_ortho(
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS),
};
void matrix_init_user(void) {
}
void matrix_scan_user(void) {
}
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
return true;
}

View File

@@ -1,201 +0,0 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

View File

@@ -1 +0,0 @@
#include "numbrero.h"

View File

@@ -1,30 +0,0 @@
#pragma once
#include "quantum.h"
#define LAYOUT_numbrero_numpad( \
K00, K01, K02, K03, K04, \
K10, K11, K12, K13, \
K20, K21, K22, K23, K14, \
K30, K31, K32, K33, \
K41, K43, K34 \
) { \
{ K00, K01, K02, K03, K04 }, \
{ K10, K11, K12, K13, K14 }, \
{ K20, K21, K22, K23, KC_NO }, \
{ K30, K31, K32, K33, K34 }, \
{ KC_NO, K41, KC_NO, K43, KC_NO } \
}
#define LAYOUT_numbrero_ortho(\
K00, K01, K02, K03, K04, \
K10, K11, K12, K13, K14, \
K20, K21, K22, K23, K24, \
K30, K31, K32, K33, K34, \
K41, K42, K43, K44 \
){ \
{ K00, K01, K02, K03, K04 }, \
{ K10, K11, K12, K13, K14 }, \
{ K20, K21, K22, K23, K24 }, \
{ K30, K31, K32, K33, K34 }, \
{ KC_NO, K41, K42, K43, K44 } \
}

View File

@@ -1,13 +0,0 @@
# Numbrero
A reversible numpad (left/right-handed) with extra macro keys.
Keyboard Maintainer: [Flehrad](https://github.com/flehrad)
Hardware Supported: Numbrero PCB, Pro Micro
Hardware Availability: The Board Podcast Slack
Make example for this keyboard (after setting up your build environment):
make handwired/numbrero/numbrero: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).

View File

@@ -1,59 +0,0 @@
# MCU name
MCU = atmega32u4
# Processor frequency.
# This will define a symbol, F_CPU, in all source code files equal to the
# processor frequency in Hz. You can then use this symbol in your source code to
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
# This will be an integer division of F_USB below, as it is sourced by
# F_USB after it has run through any CPU prescalers. Note that this value
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
F_CPU = 16000000
#
# LUFA specific
#
# Target architecture (see library "Board Types" documentation).
ARCH = AVR8
# Input clock frequency.
# This will define a symbol, F_USB, in all source code files equal to the
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
# clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL'
# at the end, this will be done automatically to create a 32-bit value in your
# source code.
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
F_USB = $(F_CPU)
# Interrupt driven control endpoint task(+60)
OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
#Bootloder
#Pro Micro = caterina
BOOTLOADER = caterina
# Boot Section Size in *bytes*
#OPT_DEFS += -DBOOTLOADER_SIZE=4096
# Build Options
# comment out to disable the options.
#
BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration(+1000)
MOUSEKEY_ENABLE = yes # Mouse keys(+4700)
EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
CONSOLE_ENABLE = no # Console for debug(+400)
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

View File

@@ -2,14 +2,14 @@
"keyboard_name": "Tradestation",
"url": "",
"maintainer": "Flehrad",
"width": 4.375,
"height": 4.375,
"bootloader": "",
"width": 4.3,
"height": 4.5,
"layouts": {
"LAYOUT_tradestation": {
"layout": [{"x":0, "y":0},{"x":1.125, "y":0},{"x":2.25, "y":0},{"x":3.375, "y":0},{"x":0, "y":1.1},{"x":1.125, "y":1.1},{"x":2.25, "y":1.1},{"x":3.375, "y":1.1},{"x":0, "y":2.25, "w":2},{"x":2.25, "y":2.25, "w":2},{"x":0, "y":3.5, "w":2},{"x":2.25, "y":3.5, "w":2}]
"layout": [{"x":0, "y":0}, {"x":1.1, "y":0}, {"x":2.2, "y":0}, {"x":3.3, "y":0}, {"x":0, "y":1.1}, {"x":1.1, "y":1.1}, {"x":2.2, "y":1.1}, {"x":3.3, "y":1.1}, {"x":0, "y":2.25, "w":2}, {"x":2.25, "y":2.25, "w":2}, {"x":0, "y":3.5, "w":2}, {"x":2.25, "y":3.5, "w":2}]
},
"LAYOUT_ortho_4x4": {
"layout": [{"x":0, "y":0},{"x":1.125, "y":0},{"x":2.25, "y":0},{"x":3.375, "y":0},{"x":0, "y":1.1},{"x":1.125, "y":1.1},{"x":2.25, "y":1.1},{"x":3.375, "y":1.1},{"x":0, "y":2.25},{"x":1.125, "y":2.25},{"x":2.25, "y":2.25},{"x":3.375, "y":2.25},{"x":0, "y":3.5},{"x":1.125, "y":3.5},{"x":2.25, "y":3.5},{"x":3.375, "y":3.5}]
}
"LAYOUT_ortho_4x4": {
"layout": [{"x":0, "y":0}, {"x":1.1, "y":0}, {"x":2.2, "y":0}, {"x":3.3, "y":0}, {"x":0, "y":1.1}, {"x":1.1, "y":1.1}, {"x":2.2, "y":1.1}, {"x":3.3, "y":1.1}, {"x":0, "y":2.25}, {"x":1, "y":2.25}, {"x":2.25, "y":2.25}, {"x":3.25, "y":2.25}, {"x":0, "y":3.5}, {"x":1, "y":3.5}, {"x":2.25, "y":3.5}, {"x":3.25, "y":3.5}]
}
}

View File

@@ -1,27 +1,25 @@
# Tradestation
QMK for Tradestation Macropad
[Image Gallery](https://imgur.com/a/yxQJXMT)
A 4x4 ortholinear macropad, with options for 2U keys on the bottom half. Can be built as single PCB with custom case, or as two-PCB style with standoffs. Requires a Pro Micro.
This macropad was layout designed by Didier Luximon
This PCB supports an overall 4x4 matrix with unique spacing.
* Top two rows are 1U keys with 1/8U spacing
* Bottom two rows are available with 4x2 1U as clusters of 2x1U or as 2x2 2U, spaced with 1/4U
If you like this simple PCB and want to make a donation, you can do so at [paypal.me/theboardpodcast](https://paypal.me/theboardpodcast).
For QMK Configurator, the info.json is utilised.
- For 2U keys , the first 1u row/column key assignment is the same as the 2u position.
- [The Board Podcast on YouTube](https://www.youtube.com/channel/UCg98oJZNffR9nDLJNkorjqw)
- [The Board Podcast on Libsyn](http://theboard.libsyn.com/)
- [The Board Podcast on Patreon](https://www.patreon.com/theboardpodcast)
Build requires a pro micro.
Designed by Didier Luximon.
Can be built as single PCB with custom case, or as two PCB style with standoffs.
Keyboard Maintainer: [flehrad](https://github.com/flehrad)
Hardware Supported: Tradestation PCB, Pro Micro
If you like this simple PCB and want to make a donation, you can at https://paypal.me/theboardpodcast
Make example for this keyboard (after setting up your build environment):
Check out our:
make tradestation:default
YouTube (https://www.youtube.com/channel/UCg98oJZNffR9nDLJNkorjqw)
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).
Podcast (www.libsyn.com/theboardpodcast)
Patreon (www.patreon.com/theboardpodcast)

View File

@@ -62,5 +62,4 @@ NKRO_ENABLE = yes # USB Nkey Rollover - if this doesn't work, see here: https:/
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
AUDIO_ENABLE = no
RGBLIGHT_ENABLE = no
LAYOUTS = ortho_4x4
LAYOUTS = ortho_4x4

View File

@@ -3,25 +3,25 @@
#include "quantum.h"
#define LAYOUT_ortho_4x4( \
K00, K01, K02, K03, \
K10, K11, K12, K13, \
K20, K21, K22, K23, \
K30, K31, K32, K33 \
K00, K01, K02, K03, \
K10, K11, K12, K13, \
K20, K21, K22, K23, \
K30, K31, K32, K33 \
) { \
{ K00, K01, K02, K03 }, \
{ K10, K11, K12, K13 }, \
{ K20, K21, K22, K23 }, \
{ K30, K31, K32, K33 } \
{ K00, K01, K02, K03 }, \
{ K10, K11, K12, K13 }, \
{ K20, K21, K22, K23 }, \
{ K30, K31, K32, K33 } \
}
#define LAYOUT_tradestation( \
K00, K01, K02, K03, \
K10, K11, K12, K13, \
K20, K22, \
K30, K32 \
K00, K01, K02, K03, \
K10, K11, K12, K13, \
K20, K22, \
K30, K32 \
) { \
{ K00, K01, K02, K03 }, \
{ K10, K11, K12, K13 }, \
{ K20, KC_NO, K22, KC_NO }, \
{ K30, KC_NO, K32, KC_NO } \
{ K00, K01, K02, K03 }, \
{ K10, K11, K12, K13 }, \
{ K20, KC_NO, K22, KC_NO }, \
{ K30, KC_NO, K32, KC_NO } \
}

View File

@@ -32,3 +32,6 @@ BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
ifndef QUANTUM_DIR
include ../../../../Makefile
endif

View File

@@ -8,3 +8,6 @@ MOUSEKEY_ENABLE = no
EXTRAFLAGS = -flto
ifndef QUANTUM_DIR
include ../../../../Makefile
endif

View File

@@ -119,6 +119,10 @@ endif
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
ifndef QUANTUM_DIR
include ../../../../Makefile
endif
# Uncomment these for debugging
# $(info -- RGBLIGHT_ENABLE=$(RGBLIGHT_ENABLE))
# $(info -- OPT_DEFS=$(OPT_DEFS))

View File

@@ -119,6 +119,10 @@ endif
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
ifndef QUANTUM_DIR
include ../../../../Makefile
endif
# Uncomment these for debugging
# $(info -- RGBLIGHT_ENABLE=$(RGBLIGHT_ENABLE))
# $(info -- OPT_DEFS=$(OPT_DEFS))

View File

@@ -0,0 +1,3 @@
ifndef QUANTUM_DIR
include ../../../../Makefile
endif

View File

@@ -118,6 +118,10 @@ endif
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
ifndef QUANTUM_DIR
include ../../../../Makefile
endif
# Uncomment these for debugging
# $(info -- RGBLIGHT_ENABLE=$(RGBLIGHT_ENABLE))
# $(info -- OPT_DEFS=$(OPT_DEFS))

View File

@@ -121,6 +121,10 @@ endif
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
ifndef QUANTUM_DIR
include ../../../../Makefile
endif
# Uncomment these for debugging
# $(info -- RGBLIGHT_ENABLE=$(RGBLIGHT_ENABLE))
# $(info -- OPT_DEFS=$(OPT_DEFS))

View File

@@ -125,6 +125,10 @@ endif
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
ifndef QUANTUM_DIR
include ../../../../Makefile
endif
# Uncomment these for debugging
# $(info -- RGBLIGHT_ENABLE=$(RGBLIGHT_ENABLE))
# $(info -- OPT_DEFS=$(OPT_DEFS))

View File

@@ -118,6 +118,10 @@ endif
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
ifndef QUANTUM_DIR
include ../../../../Makefile
endif
# Uncomment these for debugging
# $(info -- RGBLIGHT_ENABLE=$(RGBLIGHT_ENABLE))
# $(info -- OPT_DEFS=$(OPT_DEFS))

View File

@@ -118,6 +118,10 @@ endif
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
ifndef QUANTUM_DIR
include ../../../../Makefile
endif
# Uncomment these for debugging
# $(info -- RGBLIGHT_ENABLE=$(RGBLIGHT_ENABLE))
# $(info -- OPT_DEFS=$(OPT_DEFS))

View File

@@ -120,6 +120,10 @@ SRC += led_test_init.c
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
ifndef QUANTUM_DIR
include ../../../../Makefile
endif
# Uncomment these for debugging
# $(info -- RGBLIGHT_ENABLE=$(RGBLIGHT_ENABLE))
# $(info -- OPT_DEFS=$(OPT_DEFS))

View File

@@ -18,3 +18,6 @@ BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
ifndef QUANTUM_DIR
include ../../../../Makefile
endif

View File

@@ -20,9 +20,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "config_common.h"
/* USB Device descriptor parameter */
#define VENDOR_ID 0x8968
#define PRODUCT_ID 0x4853
#define DEVICE_VER 0x0002
#define VENDOR_ID 0xFEED
#define PRODUCT_ID 0x0258
#define DEVICE_VER 0x0001
#define MANUFACTURER Yiancar-Designs
#define PRODUCT HS60 V2
#define DESCRIPTION GH60 compatible, tool free RGB keyboard
@@ -39,7 +39,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define DIODE_DIRECTION COL2ROW
/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
#define DEBOUNCING_DELAY 5
#define DEBOUNCE 0
/* define if matrix has ghost (lacks anti-ghosting diodes) */
//#define MATRIX_HAS_GHOST
@@ -70,63 +70,48 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
//#define FORCE_NKRO
/*
* Magic Key Options
*
* Magic keys are hotkey commands that allow control over firmware functions of
* the keyboard. They are best used in combination with the HID Listen program,
* found here: https://www.pjrc.com/teensy/hid_listen.html
*
* The options below allow the magic key functionality to be changed. This is
* useful if your keyboard/keypad is missing keys and you want magic key support.
*
*/
/* key combination for magic key command */
#define IS_COMMAND() ( \
keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
)
/*
* Feature disable options
* These options are also useful to firmware size reduction.
*/
/* disable debug print */
//#define NO_DEBUG
/* disable print */
//#define NO_PRINT
/* Backlight options */
#define RGB_BACKLIGHT_ENABLED 1
#define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects
#define RGB_DISABLE_WHEN_USB_SUSPENDED false // turn off effects when suspended
#define RGB_MATRIX_SKIP_FRAMES 3
#define RGB_BACKLIGHT_HS60
// they aren't really used if RGB_BACKLIGHT_HS60 defined
#define RGB_BACKLIGHT_USE_SPLIT_BACKSPACE 0
#define RGB_BACKLIGHT_USE_SPLIT_LEFT_SHIFT 0
#define RGB_BACKLIGHT_USE_SPLIT_RIGHT_SHIFT 0
#define RGB_BACKLIGHT_USE_7U_SPACEBAR 0
#define RGB_BACKLIGHT_USE_ISO_ENTER 0
#define RGB_BACKLIGHT_DISABLE_HHKB_BLOCKER_LEDS 0
// disable backlight when USB suspended (PC sleep/hibernate/shutdown)
#define RGB_BACKLIGHT_DISABLE_WHEN_USB_SUSPENDED 0
// disable backlight after timeout in minutes, 0 = no timeout
#define RGB_BACKLIGHT_DISABLE_AFTER_TIMEOUT 0
// the default effect (RGB test)
#define RGB_BACKLIGHT_EFFECT 255
#define DRIVER_ADDR_1 0b1010000
#define DRIVER_ADDR_2 0b1010000 // this is here for compliancy reasons.
#define DRIVER_COUNT 2
#define DRIVER_LED_TOTAL 64
#ifdef HS60_ANSI
#define DRIVER_1_LED_TOTAL 61
#else
#define DRIVER_1_LED_TOTAL 62
#endif
// These define which keys in the matrix are alphas/mods
// Used for backlight effects so colors are different for
// alphas vs. mods
// Each value is for a row, bit 0 is column 0
// Alpha=0 Mod=1
#define RGB_BACKLIGHT_ALPHAS_MODS_ROW_0 0b0010000000000001
#define RGB_BACKLIGHT_ALPHAS_MODS_ROW_1 0b0000000000000001
#define RGB_BACKLIGHT_ALPHAS_MODS_ROW_2 0b0010000000000001
#define RGB_BACKLIGHT_ALPHAS_MODS_ROW_3 0b0010000000000001
#define RGB_BACKLIGHT_ALPHAS_MODS_ROW_4 0b0011110000000111
// TODO: refactor with new user EEPROM code (coming soon)
#define EEPROM_MAGIC 0x451F
#define EEPROM_MAGIC_ADDR 32
// Bump this every time we change what we store
// This will automatically reset the EEPROM with defaults
// and avoid loading invalid data from the EEPROM
#define EEPROM_VERSION 0x08
#define EEPROM_VERSION_ADDR 34
// Backlight config starts after EEPROM version
#define RGB_BACKLIGHT_CONFIG_EEPROM_ADDR 35
// Dynamic keymap starts after backlight config (35+31)
#define DYNAMIC_KEYMAP_EEPROM_ADDR 66
#define DYNAMIC_KEYMAP_LAYER_COUNT 4
// Dynamic macro starts after dynamic keymaps (66+(4*5*14*2)) = (66+560)
#define DYNAMIC_KEYMAP_MACRO_EEPROM_ADDR 626
#define DYNAMIC_KEYMAP_MACRO_EEPROM_SIZE 398
#define DYNAMIC_KEYMAP_MACRO_COUNT 16
#define DRIVER_LED_TOTAL DRIVER_1_LED_TOTAL

View File

@@ -19,5 +19,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* Include overwrites for specific keymap */
#define HS60_ANSI
#undef PRODUCT_ID
#define PRODUCT_ID 0x4854

View File

@@ -26,25 +26,11 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1) , KC_APP, KC_RCTL),
[1] = LAYOUT_60_ansi( /* FN */
KC_GRV, 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_DEL ,\
KC_TRNS, KC_TRNS, KC_UP, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, RESET, KC_TRNS,\
KC_TRNS, KC_LEFT, KC_DOWN, KC_RGHT, S1_DEC, S1_INC, S2_DEC, S2_INC, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,\
KC_TRNS, EF_DEC, EF_INC, H1_DEC, H1_INC, H2_DEC, H2_INC, BR_DEC, BR_INC, ES_DEC, ES_INC, KC_TRNS,\
KC_TRNS, 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_DEL ,\
KC_TRNS, KC_TRNS, KC_UP, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, RESET , KC_TRNS,\
KC_TRNS, KC_LEFT, KC_DOWN, KC_RGHT, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,\
KC_TRNS, RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, RGB_SPI, RGB_SPD, KC_TRNS,\
KC_VOLU, KC_VOLD, KC_MUTE, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS),
[2] = LAYOUT_60_ansi( /* Empty for dynamic keymaps */
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,\
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,\
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,\
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,\
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS),
[3] = LAYOUT_60_ansi( /* Empty for dynamic keymaps */
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,\
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,\
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,\
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,\
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS),
};
void matrix_init_user(void) {

View File

@@ -1,6 +1,6 @@
The default keymap for ANSI HS60 V2
===================================
The default keymap for ANSI HS60
================================
![Layout image](https://i.imgur.com/m8t5CfE.png)
![Layout image](https://imgur.com/CSyPw0J.png)
Default layer is normal ANSI and Fn layer is used for RGB functions, Volume control and arrow cluster

View File

@@ -26,25 +26,11 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1) , KC_APP, KC_RCTL),
[1] = LAYOUT_60_iso( /* FN */
KC_GRV, 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_DEL ,\
KC_TRNS, 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_DEL ,\
KC_TRNS, KC_TRNS, KC_UP, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, RESET , \
KC_TRNS, KC_LEFT, KC_DOWN, KC_RGHT, S1_DEC, S1_INC, S2_DEC, S2_INC, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,\
KC_TRNS, KC_TRNS, EF_DEC, EF_INC, H1_DEC, H1_INC, H2_DEC, H2_INC, BR_DEC, BR_INC, ES_DEC, ES_INC, KC_TRNS,\
KC_TRNS, KC_LEFT, KC_DOWN, KC_RGHT, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,\
KC_TRNS, RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, RGB_SPI, RGB_SPD, KC_TRNS, KC_TRNS,\
KC_VOLU, KC_VOLD, KC_MUTE, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS),
[2] = LAYOUT_60_iso( /* Empty for dynamic keymaps */
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,\
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, \
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,\
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,\
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS),
[3] = LAYOUT_60_iso( /* Empty for dynamic keymaps */
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,\
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, \
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,\
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,\
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS),
};
void matrix_init_user(void) {

View File

@@ -1,6 +1,6 @@
The default keymap for ISO HS60 V2
==================================
The default keymap for ISO HS60
===============================
![Layout image](https://imgur.com/6go4vQV.png)
![Layout image](https://imgur.com/HXj4tYL.png)
Default layer is normal ISO and Fn layer is used for RGB functions, Volume control and arrow cluster

View File

@@ -19,16 +19,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* Include overwrites for specific keymap */
#define HS60_HHKB
#undef PRODUCT_ID
#define PRODUCT_ID 0x4855
#undef RGB_BACKLIGHT_ALPHAS_MODS_ROW_0
#undef RGB_BACKLIGHT_ALPHAS_MODS_ROW_1
#undef RGB_BACKLIGHT_ALPHAS_MODS_ROW_2
#undef RGB_BACKLIGHT_ALPHAS_MODS_ROW_3
#undef RGB_BACKLIGHT_ALPHAS_MODS_ROW_4
#define RGB_BACKLIGHT_ALPHAS_MODS_ROW_0 0b0000000000000001
#define RGB_BACKLIGHT_ALPHAS_MODS_ROW_1 0b0000000000000001
#define RGB_BACKLIGHT_ALPHAS_MODS_ROW_2 0b0011000000000001
#define RGB_BACKLIGHT_ALPHAS_MODS_ROW_3 0b0011000000000001
#define RGB_BACKLIGHT_ALPHAS_MODS_ROW_4 0b0011100000000111

View File

@@ -19,32 +19,18 @@
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = LAYOUT_60_hhkb( /* Base */
KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_GRV, KC_BSLS,\
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSPC,\
KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, \
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1),\
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, KC_RCTL ),
KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_GRV, KC_BSLS, \
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSPC, \
KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, \
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1), \
KC_LCTL, KC_LGUI,KC_LALT, KC_SPC, KC_RALT, KC_RGUI, KC_RCTL ),
[1] = LAYOUT_60_hhkb( /* FN */
RESET, 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_TRNS,\
KC_TRNS, EF_DEC, EF_INC, H1_DEC, H1_INC, H2_DEC, H2_INC, BR_DEC, BR_INC, ES_DEC, ES_INC, KC_UP, KC_TRNS, KC_DEL, \
KC_TRNS, KC_VOLD, KC_VOLU, KC_MUTE, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_HOME, KC_PGUP, KC_LEFT, KC_RGHT, KC_TRNS, \
KC_TRNS, KC_TRNS, S1_DEC, S1_INC, S2_DEC, S2_INC, KC_TRNS, KC_TRNS, KC_END, KC_PGDN, KC_DOWN, KC_TRNS, KC_TRNS,\
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS ),
[2] = LAYOUT_60_hhkb( /* Empty for dynamic keymaps */
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,\
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,\
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, \
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,\
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS ),
[3] = LAYOUT_60_hhkb( /* Empty for dynamic keymaps */
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,\
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,\
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, \
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,\
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS ),
RESET, 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_TRNS,\
KC_TRNS, RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, RGB_SPI, RGB_SPD, KC_UP, KC_TRNS, KC_DEL, \
KC_TRNS, KC_VOLD, KC_VOLU, KC_MUTE, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_HOME, KC_PGUP, KC_LEFT, KC_RGHT, KC_TRNS, \
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_END, KC_PGDN, KC_DOWN, KC_TRNS, KC_TRNS, \
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS )
};
void matrix_init_user(void) {

View File

@@ -1,6 +0,0 @@
The default keymap for HHKB HS60 V2
===================================
![Layout image](https://imgur.com/usbrQWL.png)
Default layer is normal HHKB with 7U space. Fn layer is used for RGB functions, Volume control and arrow cluster

View File

@@ -139,7 +139,7 @@
#define STM32_GPT_USE_TIM1 FALSE
#define STM32_GPT_USE_TIM2 FALSE
#define STM32_GPT_USE_TIM3 FALSE
#define STM32_GPT_USE_TIM4 TRUE
#define STM32_GPT_USE_TIM4 FALSE
#define STM32_GPT_USE_TIM6 TRUE
#define STM32_GPT_USE_TIM7 TRUE
#define STM32_GPT_USE_TIM8 TRUE

View File

@@ -1,9 +1,4 @@
# project specific files
SRC = keyboards/zeal60/zeal60.c \
keyboards/zeal60/rgb_backlight.c \
drivers/issi/is31fl3733.c \
quantum/color.c \
drivers/arm/i2c_master.c
## chip/board settings
# the next two should match the directories in
@@ -49,18 +44,15 @@ DFU_ARGS = -d 0483:df11 -a 0 -s 0x08000000:leave
# Build Options
# comment out to disable the options.
#
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration
BACKLIGHT_ENABLE = no
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
#SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend
NKRO_ENABLE = yes # USB Nkey Rollover
AUDIO_ENABLE = no # Audio output on port C6
AUDIO_ENABLE = no
RGB_MATRIX_ENABLE = IS31FL3733 # Use RGB matrix
NO_USB_STARTUP_CHECK = no # Disable initialization only when usb is plugged in
#SERIAL_LINK_ENABLE = yes
RAW_ENABLE = yes
DYNAMIC_KEYMAP_ENABLE = yes
CIE1931_CURVE = yes

View File

@@ -13,6 +13,623 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef RGB_BACKLIGHT_HS60
#error RGB_BACKLIGHT_M60_A not defined, recheck config.h
#include "v2.h"
//#include "is31fl3733.h"
// Please ignore this is for upcoming features
/*#ifdef RAW_ENABLE
void raw_hid_receive( uint8_t *data, uint8_t length )
{
uint8_t command = data[0];
switch ( command )
{
case id_protocol_version:
{
msg_protocol_version *msg = (msg_protocol_version*)&data[1];
msg->version = PROTOCOL_VERSION;
break;
}
#if USE_KEYMAPS_IN_EEPROM
case id_keymap_keycode_load:
{
msg_keymap_keycode_load *msg = (msg_keymap_keycode_load*)&data[1];
msg->keycode = keymap_keycode_load( msg->layer, msg->row, msg->column );
break;
}
case id_keymap_keycode_save:
{
msg_keymap_keycode_save *msg = (msg_keymap_keycode_save*)&data[1];
keymap_keycode_save( msg->layer, msg->row, msg->column, msg->keycode);
break;
}
case id_keymap_default_save:
{
keymap_default_save();
break;
}
#endif // USE_KEYMAPS_IN_EEPROM
case id_backlight_config_set_values:
{
msg_backlight_config_set_values *msg = (msg_backlight_config_set_values*)&data[1];
backlight_config_set_values(msg);
backlight_config_save();
break;
}
case id_backlight_config_set_alphas_mods:
{
msg_backlight_config_set_alphas_mods *msg = (msg_backlight_config_set_alphas_mods*)&data[1];
backlight_config_set_alphas_mods( msg->alphas_mods );
backlight_config_save();
break;
}
case id_backlight_set_key_color:
{
msg_backlight_set_key_color *msg = (msg_backlight_set_key_color*)&data[1];
backlight_set_key_color(msg->row, msg->column, msg->hsv);
break;
}
case id_system_get_state:
{
msg_system_state *msg = (msg_system_state*)&data[1];
msg->value = backlight_get_tick();
break;
}
default:
{
// Unhandled message.
data[0] = id_unhandled;
break;
}
}
// Return same buffer with values changed
raw_hid_send( data, length );
}
#endif*/
#ifdef HS60_ANSI
const is31_led g_is31_leds[DRIVER_LED_TOTAL] = {
/* Refer to IS31 manual for these locations
* driver
* | R location
* | | G location
* | | | B location
* | | | | */
{0, B_1, A_1, C_1}, //MX1
{0, E_1, D_1, F_1}, //MX2
{0, H_1, G_1, I_1}, //MX3
{0, K_1, J_1, L_1}, //MX4
{0, B_2, A_2, C_2}, //MX6
{0, E_2, D_2, F_2}, //MX7
{0, H_2, G_2, I_2}, //MX8
{0, K_2, J_2, L_2}, //MX14
{0, B_3, A_3, C_3}, //MX11
{0, E_3, D_3, F_3}, //MX12
{0, H_3, G_3, I_3}, //MX13
{0, K_3, J_3, L_3}, //MX19
{0, B_4, A_4, C_4}, //MX16
{0, E_4, D_4, F_4}, //MX17
{0, H_4, G_4, I_4}, //MX18
{0, K_4, J_4, L_4}, //MX23
{0, B_5, A_5, C_5}, //MX20
{0, E_5, D_5, F_5}, //MX21
{0, H_5, G_5, I_5}, //MX22
{0, K_5, J_5, L_5}, //MX27
{0, B_6, A_6, C_6}, //MX24
{0, E_6, D_6, F_6}, //MX25
{0, H_6, G_6, I_6}, //MX26
{0, K_6, J_6, L_6}, //MX31
{0, B_7, A_7, C_7}, //MX28
{0, E_7, D_7, F_7}, //MX29
{0, H_7, G_7, I_7}, //MX30
{0, K_7, J_7, L_7}, //MX36
{0, B_8, A_8, C_8}, //MX33
{0, E_8, D_8, F_8}, //MX34
{0, H_8, G_8, I_8}, //MX35
{0, K_8, J_8, L_8}, //MX40
{0, B_9, A_9, C_9}, //MX37
{0, E_9, D_9, F_9}, //MX38
{0, H_9, G_9, I_9}, //MX39
{0, K_9, J_9, L_9}, //MX44
{0, B_10, A_10, C_10}, //MX41
{0, E_10, D_10, F_10}, //MX42
{0, H_10, G_10, I_10}, //MX43
{0, K_10, J_10, L_10}, //MX48
{0, B_11, A_11, C_11}, //MX45
{0, E_11, D_11, F_11}, //MX46
{0, H_11, G_11, I_11}, //MX47
{0, K_11, J_11, L_11}, //MX53
{0, B_12, A_12, C_12}, //MX50
{0, E_12, D_12, F_12}, //MX51
{0, H_12, G_12, I_12}, //MX52
{0, B_13, A_13, C_13}, //MX55
{0, E_13, D_13, F_13}, //MX56
{0, K_13, J_13, L_13}, //MX61
{0, B_14, A_14, C_14}, //MX59
{0, E_14, D_14, F_14}, //MX57
{0, H_14, G_14, I_14}, //MX60
{0, K_14, J_14, L_14}, //MX62
{0, B_15, A_15, C_15}, //MX5
{0, E_15, D_15, F_15}, //MX10
{0, H_15, G_15, I_15}, //MX15
{0, K_15, J_15, L_15}, //MX32
{0, E_16, D_16, F_16}, //MX49
{0, H_16, G_16, I_16}, //MX54
{0, K_16, J_16, L_16}, //MX58
};
const rgb_led g_rgb_leds[DRIVER_LED_TOTAL] = {
//
// MX1, MX6, MX11, MX16, MX20, MX24, MX28, MX33, MX37, MX41, MX45, MX50, MX55, MX59,
// MX2, MX7, MX12, MX17, MX21, MX25, MX29, MX34, MX38, MX42, MX46, MX51, MX56, ---,
// MX3, MX8, MX13, MX18, MX22, MX26, MX30, MX35, MX39, MX43, MX47, MX52, MX57, MX60,
// MX4, ---, MX14, MX19, MX23, MX27, MX31, MX36, MX40, MX44, MX48, MX53, ---, MX61,
// MX5, MX10, MX15, ---, ---, ---, MX32, ---, ---, ---, MX49, MX54, MX58, MX62
/* {row | col << 4}
* | {x=0..224, y=0..64}
* | | modifier
* | | | */
{{0|(0<<4)}, { 0, 0}, 1}, //MX1
{{1|(0<<4)}, { 0, 16}, 1}, //MX2
{{2|(0<<4)}, { 0, 32}, 1}, //MX3
{{3|(0<<4)}, { 0, 48}, 1}, //MX4
{{0|(1<<4)}, { 17, 0}, 0}, //MX6
{{1|(1<<4)}, { 17, 16}, 0}, //MX7
{{2|(1<<4)}, { 17, 32}, 0}, //MX8
{{3|(2<<4)}, { 34, 48}, 0}, //MX14
{{0|(2<<4)}, { 34, 0}, 0}, //MX11
{{1|(2<<4)}, { 34, 16}, 0}, //MX12
{{2|(2<<4)}, { 34, 32}, 0}, //MX13
{{3|(3<<4)}, { 51, 48}, 0}, //MX19
{{0|(3<<4)}, { 51, 0}, 0}, //MX16
{{1|(3<<4)}, { 51, 16}, 0}, //MX17
{{2|(3<<4)}, { 51, 32}, 0}, //MX18
{{3|(4<<4)}, { 68, 48}, 0}, //MX23
{{0|(4<<4)}, { 68, 0}, 0}, //MX20
{{1|(4<<4)}, { 68, 16}, 0}, //MX21
{{2|(4<<4)}, { 68, 32}, 0}, //MX22
{{3|(5<<4)}, { 85, 48}, 0}, //MX27
{{0|(5<<4)}, { 85, 0}, 0}, //MX24
{{1|(5<<4)}, { 85, 16}, 0}, //MX25
{{2|(5<<4)}, { 85, 32}, 0}, //MX26
{{3|(6<<4)}, {102, 48}, 0}, //MX31
{{0|(6<<4)}, {102, 0}, 0}, //MX28
{{1|(6<<4)}, {102, 16}, 0}, //MX29
{{2|(6<<4)}, {102, 32}, 0}, //MX30
{{3|(7<<4)}, {119, 48}, 0}, //MX36
{{0|(7<<4)}, {119, 0}, 0}, //MX33
{{1|(7<<4)}, {119, 16}, 0}, //MX34
{{2|(7<<4)}, {119, 32}, 0}, //MX35
{{3|(8<<4)}, {136, 48}, 0}, //MX40
{{0|(8<<4)}, {136, 0}, 0}, //MX37
{{1|(8<<4)}, {136, 16}, 0}, //MX38
{{2|(8<<4)}, {136, 32}, 0}, //MX39
{{3|(9<<4)}, {153, 48}, 0}, //MX44
{{0|(9<<4)}, {153, 0}, 0}, //MX41
{{1|(9<<4)}, {153, 16}, 0}, //MX42
{{2|(9<<4)}, {153, 32}, 0}, //MX43
{{3|(10<<4)}, {170, 48}, 0}, //MX48
{{0|(10<<4)}, {170, 0}, 0}, //MX45
{{1|(10<<4)}, {170, 16}, 0}, //MX46
{{2|(10<<4)}, {170, 32}, 0}, //MX47
{{3|(11<<4)}, {187, 48}, 0}, //MX53
{{0|(11<<4)}, {187, 0}, 0}, //MX50
{{1|(11<<4)}, {187, 16}, 0}, //MX51
{{2|(11<<4)}, {187, 32}, 0}, //MX52
{{0|(12<<4)}, {204, 0}, 0}, //MX55
{{1|(12<<4)}, {204, 16}, 0}, //MX56
{{3|(13<<4)}, {221, 48}, 1}, //MX61
{{0|(13<<4)}, {221, 0}, 1}, //MX59
{{2|(12<<4)}, {221, 16}, 0}, //MX57
{{2|(13<<4)}, {221, 32}, 1}, //MX60
{{4|(13<<4)}, {221, 64}, 1}, //MX62
{{4|(0<<4)}, { 0, 64}, 1}, //MX5
{{4|(1<<4)}, { 17, 64}, 1}, //MX10
{{4|(2<<4)}, { 34, 64}, 1}, //MX15
{{4|(5<<4)}, {102, 64}, 0}, //MX32
{{4|(10<<4)}, {170, 64}, 1}, //MX49
{{4|(11<<4)}, {187, 64}, 1}, //MX54
{{4|(12<<4)}, {204, 64}, 1} //MX58
};
#elif defined(HS60_HHKB)
const is31_led g_is31_leds[DRIVER_LED_TOTAL] = {
/* Refer to IS31 manual for these locations
* driver
* | R location
* | | G location
* | | | B location
* | | | | */
{0, B_1, A_1, C_1}, //MX1
{0, E_1, D_1, F_1}, //MX2
{0, H_1, G_1, I_1}, //MX3
{0, K_1, J_1, L_1}, //MX4
{0, B_2, A_2, C_2}, //MX6
{0, E_2, D_2, F_2}, //MX7
{0, H_2, G_2, I_2}, //MX8
{0, K_2, J_2, L_2}, //MX14
{0, B_3, A_3, C_3}, //MX11
{0, E_3, D_3, F_3}, //MX12
{0, H_3, G_3, I_3}, //MX13
{0, K_3, J_3, L_3}, //MX19
{0, B_4, A_4, C_4}, //MX16
{0, E_4, D_4, F_4}, //MX17
{0, H_4, G_4, I_4}, //MX18
{0, K_4, J_4, L_4}, //MX23
{0, B_5, A_5, C_5}, //MX20
{0, E_5, D_5, F_5}, //MX21
{0, H_5, G_5, I_5}, //MX22
{0, K_5, J_5, L_5}, //MX27
{0, B_6, A_6, C_6}, //MX24
{0, E_6, D_6, F_6}, //MX25
{0, H_6, G_6, I_6}, //MX26
{0, K_6, J_6, L_6}, //MX31
{0, B_7, A_7, C_7}, //MX28
{0, E_7, D_7, F_7}, //MX29
{0, H_7, G_7, I_7}, //MX30
{0, K_7, J_7, L_7}, //MX36
{0, B_8, A_8, C_8}, //MX33
{0, E_8, D_8, F_8}, //MX34
{0, H_8, G_8, I_8}, //MX35
{0, K_8, J_8, L_8}, //MX40
{0, B_9, A_9, C_9}, //MX37
{0, E_9, D_9, F_9}, //MX38
{0, H_9, G_9, I_9}, //MX39
{0, K_9, J_9, L_9}, //MX44
{0, B_10, A_10, C_10}, //MX41
{0, E_10, D_10, F_10}, //MX42
{0, H_10, G_10, I_10}, //MX43
{0, K_10, J_10, L_10}, //MX48
{0, B_11, A_11, C_11}, //MX45
{0, E_11, D_11, F_11}, //MX46
{0, H_11, G_11, I_11}, //MX47
{0, K_11, J_11, L_11}, //MX53
{0, B_12, A_12, C_12}, //MX50
{0, E_12, D_12, F_12}, //MX51
{0, H_12, G_12, I_12}, //MX52
{0, K_12, J_12, L_12}, //MX64
{0, B_13, A_13, C_13}, //MX55
{0, E_13, D_13, F_13}, //MX56
{0, H_13, G_13, I_13}, //MX63
{0, K_13, J_13, L_13}, //MX61
{0, B_14, A_14, C_14}, //MX59
{0, E_14, D_14, F_14}, //MX57
{0, H_14, G_14, I_14}, //MX60
{0, K_14, J_14, L_14}, //MX62
{0, B_15, A_15, C_15}, //MX5
{0, E_15, D_15, F_15}, //MX10
{0, H_15, G_15, I_15}, //MX15
{0, K_15, J_15, L_15}, //MX32
{0, H_16, G_16, I_16}, //MX54
{0, K_16, J_16, L_16}, //MX58
};
const rgb_led g_rgb_leds[DRIVER_LED_TOTAL] = {
//
// MX1, MX6, MX11, MX16, MX20, MX24, MX28, MX33, MX37, MX41, MX45, MX50, MX55, MX59,
// MX2, MX7, MX12, MX17, MX21, MX25, MX29, MX34, MX38, MX42, MX46, MX51, MX56, MX64,
// MX3, MX8, MX13, MX18, MX22, MX26, MX30, MX35, MX39, MX43, MX47, MX52, MX57, MX60,
// MX4, ----, MX14, MX19, MX23, MX27, MX31, MX36, MX40, MX44, MX48, MX53, MX63, MX61,
// MX5, MX10, MX15, ----, ----, ----, MX32, ----, ---, ----, ----, MX54, MX58, MX62
/* {row | col << 4}
* | {x=0..224, y=0..64}
* | | modifier
* | | | */
{{0|(0<<4)}, { 0, 0}, 1}, //MX1
{{1|(0<<4)}, { 0, 16}, 1}, //MX2
{{2|(0<<4)}, { 0, 32}, 1}, //MX3
{{3|(0<<4)}, { 0, 48}, 1}, //MX4
{{0|(1<<4)}, { 17, 0}, 0}, //MX6
{{1|(1<<4)}, { 17, 16}, 0}, //MX7
{{2|(1<<4)}, { 17, 32}, 0}, //MX8
{{3|(2<<4)}, { 34, 48}, 0}, //MX14
{{0|(2<<4)}, { 34, 0}, 0}, //MX11
{{1|(2<<4)}, { 34, 16}, 0}, //MX12
{{2|(2<<4)}, { 34, 32}, 0}, //MX13
{{3|(3<<4)}, { 51, 48}, 0}, //MX19
{{0|(3<<4)}, { 51, 0}, 0}, //MX16
{{1|(3<<4)}, { 51, 16}, 0}, //MX17
{{2|(3<<4)}, { 51, 32}, 0}, //MX18
{{3|(4<<4)}, { 68, 48}, 0}, //MX23
{{0|(4<<4)}, { 68, 0}, 0}, //MX20
{{1|(4<<4)}, { 68, 16}, 0}, //MX21
{{2|(4<<4)}, { 68, 32}, 0}, //MX22
{{3|(5<<4)}, { 85, 48}, 0}, //MX27
{{0|(5<<4)}, { 85, 0}, 0}, //MX24
{{1|(5<<4)}, { 85, 16}, 0}, //MX25
{{2|(5<<4)}, { 85, 32}, 0}, //MX26
{{3|(6<<4)}, {102, 48}, 0}, //MX31
{{0|(6<<4)}, {102, 0}, 0}, //MX28
{{1|(6<<4)}, {102, 16}, 0}, //MX29
{{2|(6<<4)}, {102, 32}, 0}, //MX30
{{3|(7<<4)}, {119, 48}, 0}, //MX36
{{0|(7<<4)}, {119, 0}, 0}, //MX33
{{1|(7<<4)}, {119, 16}, 0}, //MX34
{{2|(7<<4)}, {119, 32}, 0}, //MX35
{{3|(8<<4)}, {136, 48}, 0}, //MX40
{{0|(8<<4)}, {136, 0}, 0}, //MX37
{{1|(8<<4)}, {136, 16}, 0}, //MX38
{{2|(8<<4)}, {136, 32}, 0}, //MX39
{{3|(9<<4)}, {153, 48}, 0}, //MX44
{{0|(9<<4)}, {153, 0}, 0}, //MX41
{{1|(9<<4)}, {153, 16}, 0}, //MX42
{{2|(9<<4)}, {153, 32}, 0}, //MX43
{{3|(10<<4)}, {170, 48}, 0}, //MX48
{{0|(10<<4)}, {170, 0}, 0}, //MX45
{{1|(10<<4)}, {170, 16}, 0}, //MX46
{{2|(10<<4)}, {170, 32}, 0}, //MX47
{{3|(11<<4)}, {187, 48}, 0}, //MX53
{{0|(11<<4)}, {187, 0}, 0}, //MX50
{{1|(11<<4)}, {187, 16}, 0}, //MX51
{{2|(11<<4)}, {187, 32}, 0}, //MX52
{{1|(13<<4)}, {221, 0}, 1}, //MX64
{{0|(12<<4)}, {204, 0}, 0}, //MX55
{{1|(12<<4)}, {204, 16}, 0}, //MX56
{{3|(12<<4)}, {204, 48}, 0}, //MX63
{{3|(13<<4)}, {212, 48}, 1}, //MX61
{{0|(13<<4)}, {221, 0}, 0}, //MX59
{{2|(12<<4)}, {221, 16}, 0}, //MX57
{{2|(13<<4)}, {221, 32}, 1}, //MX60
{{4|(13<<4)}, {221, 64}, 1}, //MX62
{{4|(0<<4)}, { 0, 64}, 1}, //MX5
{{4|(1<<4)}, { 17, 64}, 1}, //MX10
{{4|(2<<4)}, { 34, 64}, 1}, //MX15
{{4|(5<<4)}, {102, 64}, 0}, //MX32
{{4|(11<<4)}, {187, 64}, 1}, //MX54
{{4|(12<<4)}, {204, 64}, 1} //MX58
};
#else //ISO layout
const is31_led g_is31_leds[DRIVER_LED_TOTAL] = {
/* Refer to IS31 manual for these locations
* driver
* | R location
* | | G location
* | | | B location
* | | | | */
{0, B_1, A_1, C_1}, //MX1
{0, E_1, D_1, F_1}, //MX2
{0, H_1, G_1, I_1}, //MX3
{0, K_1, J_1, L_1}, //MX4
{0, B_2, A_2, C_2}, //MX6
{0, E_2, D_2, F_2}, //MX7
{0, H_2, G_2, I_2}, //MX8
{0, K_2, J_2, L_2}, //MX14
{0, B_3, A_3, C_3}, //MX11
{0, E_3, D_3, F_3}, //MX12
{0, H_3, G_3, I_3}, //MX13
{0, K_3, J_3, L_3}, //MX19
{0, B_4, A_4, C_4}, //MX16
{0, E_4, D_4, F_4}, //MX17
{0, H_4, G_4, I_4}, //MX18
{0, K_4, J_4, L_4}, //MX23
{0, B_5, A_5, C_5}, //MX20
{0, E_5, D_5, F_5}, //MX21
{0, H_5, G_5, I_5}, //MX22
{0, K_5, J_5, L_5}, //MX27
{0, B_6, A_6, C_6}, //MX24
{0, E_6, D_6, F_6}, //MX25
{0, H_6, G_6, I_6}, //MX26
{0, K_6, J_6, L_6}, //MX31
{0, B_7, A_7, C_7}, //MX28
{0, E_7, D_7, F_7}, //MX29
{0, H_7, G_7, I_7}, //MX30
{0, K_7, J_7, L_7}, //MX36
{0, B_8, A_8, C_8}, //MX33
{0, E_8, D_8, F_8}, //MX34
{0, H_8, G_8, I_8}, //MX35
{0, K_8, J_8, L_8}, //MX40
{0, B_9, A_9, C_9}, //MX37
{0, E_9, D_9, F_9}, //MX38
{0, H_9, G_9, I_9}, //MX39
{0, K_9, J_9, L_9}, //MX44
{0, B_10, A_10, C_10}, //MX41
{0, E_10, D_10, F_10}, //MX42
{0, H_10, G_10, I_10}, //MX43
{0, K_10, J_10, L_10}, //MX48
{0, B_11, A_11, C_11}, //MX45
{0, E_11, D_11, F_11}, //MX46
{0, H_11, G_11, I_11}, //MX47
{0, K_11, J_11, L_11}, //MX53
{0, B_12, A_12, C_12}, //MX50
{0, E_12, D_12, F_12}, //MX51
{0, H_12, G_12, I_12}, //MX52
{0, K_12, J_12, L_12}, //MX9
{0, B_13, A_13, C_13}, //MX55
{0, E_13, D_13, F_13}, //MX56
{0, K_13, J_13, L_13}, //MX61
{0, B_14, A_14, C_14}, //MX59
{0, E_14, D_14, F_14}, //MX57
{0, H_14, G_14, I_14}, //MX60
{0, K_14, J_14, L_14}, //MX62
{0, B_15, A_15, C_15}, //MX5
{0, E_15, D_15, F_15}, //MX10
{0, H_15, G_15, I_15}, //MX15
{0, K_15, J_15, L_15}, //MX32
{0, E_16, D_16, F_16}, //MX49
{0, H_16, G_16, I_16}, //MX54
{0, K_16, J_16, L_16}, //MX58
};
const rgb_led g_rgb_leds[DRIVER_LED_TOTAL] = {
//
// MX1, MX6, MX11, MX16, MX20, MX24, MX28, MX33, MX37, MX41, MX45, MX50, MX55, MX59,
// MX2, MX7, MX12, MX17, MX21, MX25, MX29, MX34, MX38, MX42, MX46, MX51, MX56, ---,
// MX3, MX8, MX13, MX18, MX22, MX26, MX30, MX35, MX39, MX43, MX47, MX52, MX57, MX60,
// MX4, ---, MX14, MX19, MX23, MX27, MX31, MX36, MX40, MX44, MX48, MX53, ---, MX61,
// MX5, MX10, MX15, ---, ---, ---, MX32, ---, ---, ---, MX49, MX54, MX58, MX62
/* {row | col << 4}
* | {x=0..224, y=0..64}
* | | modifier
* | | | */
{{0|(0<<4)}, { 0, 0}, 1}, //MX1
{{1|(0<<4)}, { 0, 16}, 1}, //MX2
{{2|(0<<4)}, { 0, 32}, 1}, //MX3
{{3|(0<<4)}, { 0, 48}, 1}, //MX4
{{0|(1<<4)}, { 17, 0}, 0}, //MX6
{{1|(1<<4)}, { 17, 16}, 0}, //MX7
{{2|(1<<4)}, { 17, 32}, 0}, //MX8
{{3|(2<<4)}, { 34, 48}, 0}, //MX14
{{0|(2<<4)}, { 34, 0}, 0}, //MX11
{{1|(2<<4)}, { 34, 16}, 0}, //MX12
{{2|(2<<4)}, { 34, 32}, 0}, //MX13
{{3|(3<<4)}, { 51, 48}, 0}, //MX19
{{0|(3<<4)}, { 51, 0}, 0}, //MX16
{{1|(3<<4)}, { 51, 16}, 0}, //MX17
{{2|(3<<4)}, { 51, 32}, 0}, //MX18
{{3|(4<<4)}, { 68, 48}, 0}, //MX23
{{0|(4<<4)}, { 68, 0}, 0}, //MX20
{{1|(4<<4)}, { 68, 16}, 0}, //MX21
{{2|(4<<4)}, { 68, 32}, 0}, //MX22
{{3|(5<<4)}, { 85, 48}, 0}, //MX27
{{0|(5<<4)}, { 85, 0}, 0}, //MX24
{{1|(5<<4)}, { 85, 16}, 0}, //MX25
{{2|(5<<4)}, { 85, 32}, 0}, //MX26
{{3|(6<<4)}, {102, 48}, 0}, //MX31
{{0|(6<<4)}, {102, 0}, 0}, //MX28
{{1|(6<<4)}, {102, 16}, 0}, //MX29
{{2|(6<<4)}, {102, 32}, 0}, //MX30
{{3|(7<<4)}, {119, 48}, 0}, //MX36
{{0|(7<<4)}, {119, 0}, 0}, //MX33
{{1|(7<<4)}, {119, 16}, 0}, //MX34
{{2|(7<<4)}, {119, 32}, 0}, //MX35
{{3|(8<<4)}, {136, 48}, 0}, //MX40
{{0|(8<<4)}, {136, 0}, 0}, //MX37
{{1|(8<<4)}, {136, 16}, 0}, //MX38
{{2|(8<<4)}, {136, 32}, 0}, //MX39
{{3|(9<<4)}, {153, 48}, 0}, //MX44
{{0|(9<<4)}, {153, 0}, 0}, //MX41
{{1|(9<<4)}, {153, 16}, 0}, //MX42
{{2|(9<<4)}, {153, 32}, 0}, //MX43
{{3|(10<<4)}, {170, 48}, 0}, //MX48
{{0|(10<<4)}, {170, 0}, 0}, //MX45
{{1|(10<<4)}, {170, 16}, 0}, //MX46
{{2|(10<<4)}, {170, 32}, 0}, //MX47
{{3|(11<<4)}, {187, 48}, 0}, //MX53
{{0|(11<<4)}, {187, 0}, 0}, //MX50
{{1|(11<<4)}, {187, 16}, 0}, //MX51
{{2|(11<<4)}, {187, 32}, 0}, //MX52
{{3|(2<<4)}, { 17, 32}, 1}, //MX9
{{0|(12<<4)}, {204, 0}, 0}, //MX55
{{1|(12<<4)}, {204, 16}, 0}, //MX56
{{3|(13<<4)}, {221, 48}, 1}, //MX61
{{0|(13<<4)}, {221, 0}, 1}, //MX59
{{2|(12<<4)}, {204, 32}, 0}, //MX57
{{2|(13<<4)}, {221, 24}, 1}, //MX60
{{4|(13<<4)}, {221, 64}, 1}, //MX62
{{4|(0<<4)}, { 0, 64}, 1}, //MX5
{{4|(1<<4)}, { 17, 64}, 1}, //MX10
{{4|(2<<4)}, { 34, 64}, 1}, //MX15
{{4|(5<<4)}, {102, 64}, 0}, //MX32
{{4|(10<<4)}, {170, 64}, 1}, //MX49
{{4|(11<<4)}, {187, 64}, 1}, //MX54
{{4|(12<<4)}, {204, 64}, 1} //MX58
};
#endif
void bootmagic_lite(void)
{
// The lite version of TMK's bootmagic made by Wilba.
// 100% less potential for accidentally making the
// keyboard do stupid things.
// We need multiple scans because debouncing can't be turned off.
matrix_scan();
wait_ms(10);
matrix_scan();
// If the Esc and space bar are held down on power up,
// reset the EEPROM valid state and jump to bootloader.
// Assumes Esc is at [0,0] and spacebar is at [4,6].
// This isn't very generalized, but we need something that doesn't
// rely on user's keymaps in firmware or EEPROM.
if ( ( matrix_get_row(0) & (1<<0) ) &&
( matrix_get_row(4) & (1<<6) ) )
{
// Set the TMK/QMK EEPROM state as invalid.
eeconfig_disable();
//eeprom_set_valid(false);
// Jump to bootloader.
bootloader_jump();
}
}
void matrix_init_kb(void) {
// put your keyboard start-up code here
// runs once when the firmware starts up
bootmagic_lite();
// Please ignore this is for upcoming features
// If the EEPROM has the magic, the data is good.
// OK to load from EEPROM.
/*if (eeprom_is_valid())
{
backlight_config_load();
// TODO: do something to "turn on" keymaps in EEPROM?
}
else
{
// If the EEPROM has not been saved before, or is out of date,
// save the default values to the EEPROM. Default values
// come from construction of the zeal_backlight_config instance.
backlight_config_save();
// Clear the LED colors stored in EEPROM
for ( int row=0; row < MATRIX_ROWS; row++ )
{
HSV hsv;
for ( int column=0; column < MATRIX_COLS; column++ )
{
hsv.h = rand() & 0xFF;
hsv.s = rand() & 0x7F;
hsv.v = 255;
backlight_set_key_color( row, column, hsv );
}
}
#ifdef USE_KEYMAPS_IN_EEPROM
keymap_default_save();
#endif
// Save the magic number last, in case saving was interrupted
eeprom_set_valid(true);
}*/
matrix_init_user();
}
void matrix_scan_kb(void) {
matrix_scan_user();
}
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
return process_record_user(keycode, record);
}
void led_set_kb(uint8_t usb_led) {
//backlight_set_indicator_state(usb_led);
}

View File

@@ -13,13 +13,12 @@
* 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
#ifndef HS60_H
#define HS60_H
#define XXX KC_NO
#include "quantum.h"
#include "../../zeal60/rgb_backlight_keycodes.h"
#include "../../zeal60/zeal60_keycodes.h"
// This a shortcut to help you visually see your layout.
@@ -64,3 +63,5 @@
{ K30, XXX, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3D }, \
{ K40, K41, K42, XXX, XXX, XXX, K46, XXX, XXX, XXX, XXX, K4B, K4C, K4D } \
}
#endif

View File

@@ -2,3 +2,6 @@ RGBLIGHT_ENABLE = no
BACKLIGHT_ENABLE = no
TAP_DANCE_ENABLE = yes
ifndef QUANTUM_DIR
include ../../../../Makefile
endif

View File

@@ -1,3 +1,6 @@
RGBLIGHT_ENABLE = yes
BACKLIGHT_ENABLE = yes
ifndef QUANTUM_DIR
include ../../../../Makefile
endif

Some files were not shown because too many files have changed in this diff Show More