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

@ -0,0 +1 @@
#include "6ball.h"

View file

@ -0,0 +1,10 @@
#pragma once
#include "quantum.h"
#define LAYOUT( \
k05, k00, k01, \
k04, k03, k02 \
) { \
{ k00, k01, k02, k03, k04, k05 } \
}

View file

@ -0,0 +1,47 @@
/*
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 0xCEEB
#define PRODUCT_ID 0x0007
#define DEVICE_VER 0x0001
#define MANUFACTURER That-Canadian
#define PRODUCT 6-Ball
/* key matrix size */
#define MATRIX_ROWS 1
#define MATRIX_COLS 6
/* pin-out */
#define MATRIX_ROW_PINS { F5 }
#define MATRIX_COL_PINS { F4, D4, B5, B6, B2, F6 }
#define UNUSED_PINS
/* ws2812 RGB LED */
#define RGB_DI_PIN F7
#define RGBLIGHT_ANIMATIONS
#define RGBLED_NUM 6 // Number of LEDs
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
#define TAPPING_TERM 200

View file

@ -0,0 +1,18 @@
{
"keyboard_name": "6-Ball",
"url": "",
"maintainer": "qmk",
"layouts": {
"LAYOUT": {
"layout": [
{"x":0, "y":0.5},
{"x":1, "y":0},
{"x":2, "y":0.5},
{"x":0, "y":1.5},
{"x":1, "y":2},
{"x":2, "y":1.5}
]
}
}
}

View file

@ -0,0 +1,22 @@
#include QMK_KEYBOARD_H
#define _MAIN 0
#define _FN 1
#define KC_CAPW LGUI(LSFT(KC_3)) // Capture whole screen
#define KC_CPYW LGUI(LSFT(LCTL(KC_3))) // Copy whole screen
#define KC_CAPP LGUI(LSFT(KC_4)) // Capture portion of screen
#define KC_CPYP LGUI(LSFT(LCTL(KC_4))) // Copy portion of screen
#define KC_X0 LT(_FN, KC_ESC)
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[_MAIN] = LAYOUT(
KC_F, KC_X0, KC_LCTL,
KC_R, KC_D, KC_M
),
[_FN] = LAYOUT(
KC_F, KC_TRNS, RGB_HUI,
RGB_TOG, RGB_MOD, RGB_HUD
)
};

View file

@ -0,0 +1,14 @@
6-Ball
======
A circular 6-key macropad made by ThatCanadian.
Keyboard Maintainer: QMK Community
Hardware Supported: Pro Micro ATmega32U4
Hardware Availability: ThatCanadian
Make example for this keyboard (after setting up your build environment):
make maple_computing/6ball:default
See [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) then the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information.

View file

@ -0,0 +1,19 @@
# MCU name
MCU = atmega32u4
# Bootloader selection
BOOTLOADER = caterina
# Build Options
# change yes to no to disable
#
BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
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
NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
AUDIO_ENABLE = no # Audio output
UNICODE_ENABLE = yes # Unicode
RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight.