Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ISOlation and some kb-elmo keyboard updates #14656

Merged
merged 6 commits into from
Oct 12, 2021
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 54 additions & 0 deletions keyboards/kb_elmo/isolation/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
/*
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_ANIMATIONS
kb-elmo marked this conversation as resolved.
Show resolved Hide resolved
#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
12 changes: 12 additions & 0 deletions keyboards/kb_elmo/isolation/info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"keyboard_name": "isolation",
"url": "",
"maintainer": "kb-elmo",
"layouts": {
"LAYOUT": {
"layout": [
{"x":0.25, "y":0, "w":1.25, "h":2}
]
}
}
}
17 changes: 17 additions & 0 deletions keyboards/kb_elmo/isolation/isolation.c
Original file line number Diff line number Diff line change
@@ -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"
25 changes: 25 additions & 0 deletions keyboards/kb_elmo/isolation/isolation.h
Original file line number Diff line number Diff line change
@@ -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 } \
}
22 changes: 22 additions & 0 deletions keyboards/kb_elmo/isolation/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
@@ -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
)
};
24 changes: 24 additions & 0 deletions keyboards/kb_elmo/isolation/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# ISOlation

![isolation](https://i.imgur.com/Pe1tWzJl.jpg)

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
24 changes: 24 additions & 0 deletions keyboards/kb_elmo/isolation/rules.mk
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion keyboards/kb_elmo/qez/qez.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,5 @@
{ k00, k01, k02, k03, k04, k05, k06, k07, k08, k09 }, \
{ k10, k11, k12, k13, k14, k15, k16, k17, k18, k19 }, \
{ k20, k21, k22, k23, k24, k25, k26, k27, k28, k29 }, \
{ ___, k31, k32, ___, ___, k35, ___, k37, k38, k39 } \
{ ___, k31, ___, ___, ___, k35, ___, ___, k38, k39 } \
}
15 changes: 12 additions & 3 deletions keyboards/kb_elmo/sesame/readme.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,24 @@
# Sesame

![sesame](https://i.imgur.com/IdudbWjl.jpg)
![sesame](https://i.imgur.com/DNQMl8hl.jpg)

Alice layout THT keyboard

* Keyboard Maintainer: [kb-elmo](https://github.com/kb-elmo)
* Hardware Supported: Sesame
* Hardware Availability: [Project is open source](https://github.com/kb-elmo/sesame)
* Hardware Supported: Sesame PCB rev.1 and rev.2
* Hardware Availability: [Open source project](https://github.com/kb-elmo/sesame)

Make example for this keyboard (after setting up your build environment):

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).

## 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
7 changes: 6 additions & 1 deletion keyboards/kb_elmo/twelvekey/readme.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Twelvekey

![twelvekey](https://i.imgur.com/xBQIvpml.png)
![twelvekey](https://i.imgur.com/59sSO8kl.jpg)

Simple 12-key macropad

Expand All @@ -17,3 +17,8 @@ Flashing example for this keyboard:
make kb_elmo/twelvekey: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 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