Add support for Smart 68 keyboard (#23043)

This commit is contained in:
Alexei Robyn 2024-05-05 01:38:32 +00:00 committed by GitHub
parent 8075003e60
commit e3e587fc74
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 419 additions and 0 deletions

328
keyboards/smart68/info.json Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,55 @@
// Copyright 2024 Alexei Robyn (@Shados)
// SPDX-License-Identifier: GPL-2.0-or-later
#include QMK_KEYBOARD_H
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
/*
*
* Esc 1 2 3 4 5 6 7 8 9 0 - = Backspc`
*
* Tab Q W E R T Y U I O P [ ] \ Del
*
* Caps A S D F G H J K L ; ' Enter PgU
*
* Shift Z X C V B N M , . / Shift PgD
*
* Ctrl GUI Alt Alt Ctrl
*
*
* Fn
*
*/
[0] = LAYOUT(
KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_GRV,
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_DEL,
KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGUP,
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_PGDN,
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RCTL, KC_LEFT, KC_DOWN, KC_RIGHT,
MO(1)
),
/* FN Layer
*
* MutF1 F2 F3 F4 F5 F6 F7 F8 F9 F10F11F12QK_BOOT
*
* PscSlkPau Ins
*
* BL_TOGG Hom
*
* VoUEnd
*
* BL-VoDBL+
*
*
*
*
*/
[1] = LAYOUT(
KC_MUTE, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, QK_BOOT, _______,
_______, _______, KC_UP, _______, _______, _______, _______, _______, _______, _______, KC_PSCR, KC_SCRL, KC_PAUS, KC_INS, _______,
_______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, _______, _______, _______, _______, _______, _______, BL_TOGG, KC_HOME,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_VOLU, KC_END,
_______, _______, _______, _______, _______, _______, BL_DOWN, KC_VOLD, BL_UP,
_______
),
};

View File

@ -0,0 +1 @@
COMMAND_ENABLE = yes

View File

@ -0,0 +1,34 @@
# Smart 68
![Smart 68 V1 and V2](https://i.imgur.com/Ed2e083h.jpg)
![Smart 68 front shot](https://i.imgur.com/0NgcWqyh.jpg)
A 68% keyboard with hot-swappable switches & backlight LEDs, and a
front-mounted Fn key/bar using an Omron switch.
* Keyboard Maintainer: [Shados](https://github.com/Shados)
* Hardware Supported: Smart 68 PCB
* Hardware Availability: [A 2016 Geekhack group buy](https://web.archive.org/web/20180703134842/https://geekhack.org/index.php?topic=83442.0)
Make example for this keyboard (after setting up your build environment):
make smart68:default
Flashing example for this keyboard:
make smart68: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
You can enter the bootloader in three different ways:
1. **Bootmagic reset**: Hold down the key at (3,5) in the matrix (the 'B' key
in qwerty layouts) and plug in the keyboard. This will also work if the
board is still running its original TMK firmware.
2. **Physical reset button**: Briefly press the button on the back of the PCB.
This will also work if the board is still running its original TMK firmware.
3. **Keycode in layout**: Press the key mapped to `QK_BOOT` (Fn + Backspace, in
the default layout). This will *not* work if the board is still running its
original TMK firmware.

View File

@ -0,0 +1 @@
# This file intentionally left blank