1
0
Fork 0

[Keyboard] move That-Canadian 's boards into /maple_computing (#16050)

This commit is contained in:
peepeetee 2022-01-31 03:28:04 +08:00 committed by GitHub
parent 07bb65384c
commit a1b39e6db2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
169 changed files with 22 additions and 22 deletions

View file

View file

@ -0,0 +1,66 @@
/*
Copyright 2012 Jun Wako <wakojun@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/>.
*/
#pragma once
#include "config_common.h"
/* USB Device descriptor parameter */
#define VENDOR_ID 0x1337
#define PRODUCT_ID 0x6012
#define MANUFACTURER Maple Computing
#define PRODUCT Ivy
/* key matrix size */
#define MATRIX_ROWS 3
#define MATRIX_COLS 3
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
/* define if matrix has ghost */
//#define MATRIX_HAS_GHOST
/* Set 0 if debouncing isn't needed */
#define DEBOUNCE 5
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
#define BACKLIGHT_PIN D2
/* number of backlight levels */
#define BACKLIGHT_LEVELS 3
/*
* 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

View file

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

View file

@ -0,0 +1,7 @@
#pragma once
#ifdef KEYBOARD_maple_computing_ivy_rev1
#include "rev1.h"
#endif
#include "quantum.h"

View file

@ -0,0 +1,41 @@
#include QMK_KEYBOARD_H
// Each layer gets a name for readability, which is then used in the keymap matrix below.
// The underscores don't mean anything - you can have a layer called STUFF or any other name.
// Layer names don't all need to be of the same length, obviously, and you can also skip them
// entirely and just use numbers.
enum pad_layers {
_L1,
_FUNC
};
// Defines for task manager and such
#define CALTDEL LCTL(LALT(KC_DEL))
#define TSKMGR LCTL(LSFT(KC_ESC))
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
/* Layer 1
* ,------.
* | 1 |
* |------|
* | 2 |
* |------|
* | FN |
* `------'
*/
[_L1] = LAYOUT(
KC_1,
KC_2,
MO(_FUNC)
),
[_FUNC] = LAYOUT(
CALTDEL,
TSKMGR,
_______
)
};

View file

@ -0,0 +1,15 @@
IVY
===
![Ivy](https://i.imgur.com/fnVQet6.jpg)
Make example for this keyboard (after setting up your build environment):
make maple_computing/ivy/rev1:default
Install examples:
make maple_computing/ivy/rev1:default:dfu
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

@ -0,0 +1,27 @@
/*
Copyright 2012 Jun Wako <wakojun@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/>.
*/
#pragma once
#define DEVICE_VER 0x0001
/* Let's Macro V2 pin-out */
#define MATRIX_ROW_PINS { F1, B2, D3 }
#define MATRIX_COL_PINS { F5, B3, D5 }
#define UNUSED_PINS
#define DIODE_DIRECTION COL2ROW

View file

@ -0,0 +1,14 @@
{
"keyboard_name": "IVY",
"url": "",
"maintainer": "That-Canadian",
"layouts": {
"LAYOUT": {
"layout": [
{"x":0, "y":0},
{"x":1, "y":0},
{"x":2, "y":0}
]
}
}
}

View file

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

View file

@ -0,0 +1,14 @@
#pragma once
#include "ivy.h"
#define LAYOUT( \
K00, \
K01, \
K02 \
) \
{ \
{ K00, KC_NO, KC_NO }, \
{ KC_NO, K01, KC_NO }, \
{ KC_NO, KC_NO, K02 }, \
}

View file

@ -0,0 +1,20 @@
# MCU name
MCU = atmega32u4
# Bootloader selection
BOOTLOADER = caterina
# Build Options
# change yes to no to disable
#
BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
MOUSEKEY_ENABLE = no # Mouse keys
EXTRAKEY_ENABLE = yes # Audio control and System control
CONSOLE_ENABLE = no # Console for debug
COMMAND_ENABLE = no # Commands for debug and configuration
NKRO_ENABLE = no # Enable N-Key Rollover
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
AUDIO_ENABLE = no # Audio output
RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.
DEFAULT_FOLDER = ivy/rev1