[Keyboard] Add ISOlation and some kb-elmo keyboard updates (#14656)
Co-authored-by: Drashna Jaelre <drashna@live.com>fix/just_return_false
parent
bedecd3cbc
commit
25eac95348
@ -0,0 +1,62 @@ |
|||||||
|
/*
|
||||||
|
Copyright 2021 kb-elmo<mail@elmo.space> |
||||||
|
|
||||||
|
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 0xA68C |
||||||
|
#define PRODUCT_ID 0x4EE6 |
||||||
|
#define DEVICE_VER 0x0001 |
||||||
|
#define MANUFACTURER kb-elmo |
||||||
|
#define PRODUCT ISOlation |
||||||
|
|
||||||
|
/* key matrix size */ |
||||||
|
#define MATRIX_ROWS 1 |
||||||
|
#define MATRIX_COLS 1 |
||||||
|
|
||||||
|
/* direct key pin */ |
||||||
|
#define DIRECT_PINS {{ B0 }} |
||||||
|
#define UNUSED_PINS |
||||||
|
|
||||||
|
/* RGB backlight */ |
||||||
|
#define RGB_DI_PIN B2 |
||||||
|
#ifdef RGB_DI_PIN |
||||||
|
# define RGBLED_NUM 3 |
||||||
|
# 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 */ |
||||||
|
# define RGBLIGHT_EFFECT_BREATHING |
||||||
|
# define RGBLIGHT_EFFECT_RAINBOW_MOOD |
||||||
|
# define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
||||||
|
# define RGBLIGHT_EFFECT_KNIGHT |
||||||
|
# define RGBLIGHT_EFFECT_CHRISTMAS |
||||||
|
# define RGBLIGHT_EFFECT_STATIC_GRADIENT |
||||||
|
# define RGBLIGHT_EFFECT_RGB_TEST |
||||||
|
# define RGBLIGHT_EFFECT_ALTERNATING |
||||||
|
# define RGBLIGHT_EFFECT_TWINKLE |
||||||
|
#endif |
||||||
|
|
||||||
|
/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ |
||||||
|
#define DEBOUNCE 5 |
||||||
|
|
||||||
|
/* disable these deprecated features by default */ |
||||||
|
#define NO_ACTION_MACRO |
||||||
|
#define NO_ACTION_FUNCTION |
@ -0,0 +1,12 @@ |
|||||||
|
{ |
||||||
|
"keyboard_name": "isolation", |
||||||
|
"url": "", |
||||||
|
"maintainer": "kb-elmo", |
||||||
|
"layouts": { |
||||||
|
"LAYOUT": { |
||||||
|
"layout": [ |
||||||
|
{"x":0.25, "y":0, "w":1.25, "h":2} |
||||||
|
] |
||||||
|
} |
||||||
|
} |
||||||
|
} |
@ -0,0 +1,17 @@ |
|||||||
|
/* Copyright 2021 kb-elmo<mail@elmo.space>
|
||||||
|
* |
||||||
|
* 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 "isolation.h" |
@ -0,0 +1,25 @@ |
|||||||
|
/* Copyright 2021 kb-elmo<mail@elmo.space>
|
||||||
|
* |
||||||
|
* 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" |
||||||
|
|
||||||
|
#define LAYOUT( \ |
||||||
|
k00 \
|
||||||
|
) { \
|
||||||
|
{ k00 } \
|
||||||
|
} |
@ -0,0 +1,22 @@ |
|||||||
|
/* Copyright 2021 kb-elmo<mail@elmo.space>
|
||||||
|
* |
||||||
|
* 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 |
||||||
|
|
||||||
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { |
||||||
|
[0] = LAYOUT( |
||||||
|
KC_ENT |
||||||
|
) |
||||||
|
}; |
@ -0,0 +1,24 @@ |
|||||||
|
# ISOlation |
||||||
|
|
||||||
|
 |
||||||
|
|
||||||
|
A seamless ISO single-key "macropad" |
||||||
|
|
||||||
|
* Keyboard Maintainer: [kb-elmo](https://github.com/kb-elmo) |
||||||
|
* Hardware Supported: ISOlation RGB PCB |
||||||
|
* Hardware Availability: [Open source project](https://github.com/kb-elmo/ISOlation) |
||||||
|
|
||||||
|
Make example for this keyboard (after setting up your build environment): |
||||||
|
|
||||||
|
make kb_elmo/isolation:default |
||||||
|
|
||||||
|
Flashing example for this keyboard: |
||||||
|
|
||||||
|
make kb_elmo/isolation:default:flash |
||||||
|
|
||||||
|
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). |
||||||
|
|
||||||
|
## Bootloader |
||||||
|
|
||||||
|
* **Bootmagic reset**: Hold down the enter key and plug in the keyboard |
||||||
|
* **Bootloader pins**: Short the two pins labeled "BOOT" while plugging the board |
@ -0,0 +1,24 @@ |
|||||||
|
# MCU name
|
||||||
|
MCU = atmega328p
|
||||||
|
|
||||||
|
# Processor frequency
|
||||||
|
F_CPU = 16000000
|
||||||
|
|
||||||
|
# Bootloader selection
|
||||||
|
BOOTLOADER = usbasploader
|
||||||
|
|
||||||
|
# Build Options
|
||||||
|
# change yes to no to disable
|
||||||
|
#
|
||||||
|
BOOTMAGIC_ENABLE = yes # 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
|
||||||
|
# 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
|
||||||
|
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
|
||||||
|
AUDIO_ENABLE = no # Audio output
|
@ -1,15 +1,24 @@ |
|||||||
# Sesame |
# Sesame |
||||||
|
|
||||||
 |
 |
||||||
|
|
||||||
Alice layout THT keyboard |
Alice layout THT keyboard |
||||||
|
|
||||||
* Keyboard Maintainer: [kb-elmo](https://github.com/kb-elmo) |
* Keyboard Maintainer: [kb-elmo](https://github.com/kb-elmo) |
||||||
* Hardware Supported: Sesame |
* Hardware Supported: Sesame PCB rev.1 and rev.2 |
||||||
* Hardware Availability: [Project is open source](https://github.com/kb-elmo/sesame) |
* Hardware Availability: [Open source project](https://github.com/kb-elmo/sesame) |
||||||
|
|
||||||
Make example for this keyboard (after setting up your build environment): |
Make example for this keyboard (after setting up your build environment): |
||||||
|
|
||||||
make kb_elmo/sesame:default |
make kb_elmo/sesame:default |
||||||
|
|
||||||
|
Flashing example for this keyboard: |
||||||
|
|
||||||
|
make kb_elmo/sesame:default:flash |
||||||
|
|
||||||
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 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). |
||||||
|
|
||||||
|
## Bootloader |
||||||
|
|
||||||
|
* **Bootmagic reset**: Hold down the top left key and plug in the keyboard |
||||||
|
* **Physical reset button**: Hold down the button labeled "BOOT" and briefly press the button labeled "RESET" on the back of the PCB |
Loading…
Reference in new issue