forked from qmk/qmk_firmware
-
Notifications
You must be signed in to change notification settings - Fork 112
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Keyboard] Add LATE-9 keyboard (qmk#13966)
- Loading branch information
1 parent
1b92171
commit ed76a32
Showing
14 changed files
with
587 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
/* | ||
Copyright 2021 rookiebwoy | ||
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 0x3777 | ||
#define MANUFACTURER rookiebwoy | ||
#define PRODUCT LATE-9 | ||
|
||
/* COL2ROW or ROW2COL */ | ||
#define DIODE_DIRECTION ROW2COL | ||
|
||
/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
#define DEBOUNCE 5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# LATE-9 | ||
|
||
|
||
The LATE-9 is a multi-tap input keyboard based on mobile phones from the late '90s. LATE-9 is intended as a dev board with 18 buttons and an OLED screen, made by through-hole components only. With this, you can experiment QMK OLED capabilities with very little expense. | ||
|
||
![LATE-9](https://i.imgur.com/QXycTC3h.jpg "LATE-9 first proto") | ||
|
||
See the project repository for gerbers. | ||
|
||
* Keyboard maintainer: [rookiebwoy](https://github.com/rookiebwoy) | ||
* Hardware supported: ProMicro, _Elite-C (not tested)_ | ||
* Project repository: [LATE-9 on github](https://github.com/rookiebwoy/late-9) | ||
|
||
Make example for this keyboard (after setting up your build environment): | ||
|
||
make late9/rev1:default | ||
|
||
Flashing example for this keyboard: | ||
|
||
make late9/rev1:default:flash | ||
|
||
|
||
When asked by the terminal, short with a metal wire the pins on the backside of the board highlighted as `RST` (one is the `RESET` and the other one is `GROUND`) to enter the bootloader and let the OS detects the device. | ||
After installing this firmware you can use Bootmagic to enter the bootloader while plugging in your LATE-9. By default it's the button on the upper-left of the keyboard. | ||
|
||
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 [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
/* | ||
Copyright 2021 rookiebwoy | ||
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 DEVICE_VER 0x0010 | ||
|
||
/* Column/Row IO definitions */ | ||
#define MATRIX_ROWS 6 | ||
#define MATRIX_COLS 3 | ||
#define MATRIX_ROW_PINS { B4, E6, D7, B3, B2, B6 } | ||
#define MATRIX_COL_PINS { B5, C6, D4 } | ||
|
||
/* Bootmagic - hold down top left button while plugging in to enter bootloader */ | ||
#define BOOTMAGIC_LITE_ROW 0 | ||
#define BOOTMAGIC_LITE_COLUMN 0 | ||
|
||
/* Tap interval for tap dance */ | ||
#define TAPPING_TERM 400 | ||
|
||
/* Oneshot interval */ | ||
#define ONESHOT_TIMEOUT 5000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"keyboard_name": "LATE-9", | ||
"keyboard_folder": "late9/rev1", | ||
"url": "https://github.com/rookiebwoy/late-9)", | ||
"maintainer": "rookiebwoy", | ||
"layouts": { | ||
"LAYOUT": { | ||
"layout": [ | ||
{"x":0, "y":0}, {"x":1, "y":0}, {"x":2, "y":0}, | ||
{"x":0, "y":1}, {"x":1, "y":1}, {"x":2, "y":1}, | ||
{"x":0, "y":2}, {"x":1, "y":2}, {"x":2, "y":2}, | ||
{"x":0, "y":3}, {"x":1, "y":3}, {"x":2, "y":3}, | ||
{"x":0, "y":4}, {"x":1, "y":4}, {"x":2, "y":4}, | ||
{"x":0, "y":5}, {"x":1, "y":5}, {"x":2, "y":5} | ||
] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
/* Copyright 2021 rookiebwoy | ||
* | ||
* 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 | ||
|
||
// Layers declarations | ||
enum layers { | ||
_BL, | ||
_OL | ||
}; | ||
|
||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
/* Keymap _BL: Base Layer | ||
* ,-----------------------. | ||
* |MO(OP) | ↑ | BSPC | | ||
* | | | | | ||
* |-------|-------|-------| | ||
* | <- | ↓ | -> | | ||
* | | | | | ||
* |-------|-------|-------| | ||
* | 1 | 2 | 3 | | ||
* | | | | | ||
* |-------|-------|-------| | ||
* | 4 | 5 | 6 | | ||
* | | | | | ||
* |-------|-------|-------| | ||
* | 7 | 8 | 9 | | ||
* | | | | | ||
* |-------|-------|-------| | ||
* | 0 | . | = | | ||
* | | | | | ||
* `-----------------------' | ||
*/ | ||
[_BL] = LAYOUT( | ||
MO(1), KC_UP, KC_BSPC, | ||
KC_LEFT, KC_DOWN, KC_RIGHT, | ||
KC_P1, KC_P2, KC_P3, | ||
KC_P4, KC_P5, KC_P6, | ||
KC_P7, KC_P8, KC_P9, | ||
KC_P0, KC_PDOT, KC_PEQL | ||
), | ||
|
||
/* Keymap _OP: Operators Layer | ||
* ,-----------------------. | ||
* |MO(OP) | ↑ | BSPC | | ||
* | | | | | ||
* |-------|-------|-------| | ||
* | <- | ↓ | -> | | ||
* | | | | | ||
* |-------|-------|-------| | ||
* | / | * | - | | ||
* | | | | | ||
* |-------|-------|-------| | ||
* | ( | ) | + | | ||
* | | | | | ||
* |-------|-------|-------| | ||
* | & | % | ^ | | ||
* | | | | | ||
* |-------|-------|-------| | ||
* | | | . | = | | ||
* | | | | | ||
* `-----------------------' | ||
*/ | ||
[_OL] = LAYOUT( | ||
MO(1), KC_UP, KC_BSPC, | ||
KC_LEFT, KC_DOWN, KC_RIGHT, | ||
KC_PSLS, KC_PAST, KC_PMNS, | ||
LSFT(KC_9), LSFT(KC_0), KC_PPLS, | ||
LSFT(KC_7), LSFT(KC_5), LSFT(KC_6), | ||
LSFT(KC_BSLS), KC_PDOT, KC_PEQL | ||
), | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# LATE-9 default keymap | ||
|
||
This is a simple 2-layer calculator look-a-like layout. |
Oops, something went wrong.