Добавил ридми к раскладке
This commit is contained in:
parent
2cb0541d16
commit
c05c0245b4
3 changed files with 45 additions and 54 deletions
|
@ -158,6 +158,11 @@ bool modify_layer(uint16_t keycode, keyrecord_t *record) {
|
|||
return true;
|
||||
};
|
||||
|
||||
void reg_unreg(uint16_t keycode) {
|
||||
register_code(keycode);
|
||||
unregister_code(keycode);
|
||||
}
|
||||
|
||||
bool shift_on_next_key = false;
|
||||
|
||||
// Обработка нажатий?
|
||||
|
@ -186,8 +191,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { // В кон
|
|||
// Умная точка
|
||||
if (keycode == SMART_DOT && record->event.pressed) {
|
||||
lang_shift_tap_key(AG_DOT);
|
||||
register_code(KC_SPC);
|
||||
unregister_code(KC_SPC);
|
||||
reg_unreg(KC_SPC);
|
||||
shift_on_next_key = true;
|
||||
return false;
|
||||
}
|
||||
|
@ -196,8 +200,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { // В кон
|
|||
// Запятая + пробел
|
||||
if (keycode == COMMA_SPACE && record->event.pressed) {
|
||||
lang_shift_tap_key(AG_COMM);
|
||||
register_code(KC_SPC);
|
||||
unregister_code(KC_SPC);
|
||||
reg_unreg(KC_SPC);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,29 +1,37 @@
|
|||
# TBK Mini
|
||||
|
||||
A split, compact ergonomic keyboard.
|
||||
[Сайт](https://bastardkb.com/) и [гитхаб](https://github.com/Bastardkb/) разраба клавиатуры.
|
||||
|
||||
* Keyboard Maintainer: [Bastard Keyboards](https://github.com/Bastardkb/)
|
||||
* Hardware Supported: elite-C V4
|
||||
* Hardware Availability: [Bastardkb.com](https://bastardkb.com/)
|
||||
|
||||
## Building the firmware
|
||||
## Сборка и прошивка
|
||||
|
||||
**You must specify the shield version when compiling/flashing the firmware.**
|
||||
|
||||
The template is:
|
||||
|
||||
```shell
|
||||
qmk compile -kb bastardkb/tbkmini/{VERSION}/elitec -km {KEYMAP}
|
||||
Для клавиатур на базе микроконтроллера `rp2040` команды для сборки и прошивки выглядят так:
|
||||
```sh
|
||||
make bastardkb/tbkmini/v2/splinky_3:seoa
|
||||
```
|
||||
|
||||
| Shield Version | default | via |
|
||||
| --------------- | -------------------------------------------------------------- | ---------------------------------------------------------- |
|
||||
| v1 (Elite-C) | `qmk compile -kb bastardkb/tbkmini/v1/elitec -km default` | `qmk compile -kb bastardkb/tbkmini/v1/elitec -km via` |
|
||||
| v2 (Elite-C) | `qmk compile -kb bastardkb/tbkmini/v2/elitec -km default` | `qmk compile -kb bastardkb/tbkmini/v2/elitec -km via` |
|
||||
| v2 (Splinky v2) | `qmk compile -kb bastardkb/tbkmini/v2/splinky/v2 -km default` | `qmk compile -kb bastardkb/tbkmini/v2/splinky/v2 -km via` |
|
||||
| v2 (Splinky v3) | `qmk compile -kb bastardkb/tbkmini/v2/splinky/v3 -km default` | `qmk compile -kb bastardkb/tbkmini/v2/splinky/v3 -km via` |
|
||||
| v2 (STeMCell) | `qmk compile -kb bastardkb/tbkmini/v2/stemcell -km default` | `qmk compile -kb bastardkb/tbkmini/v2/stemcell -km via` |
|
||||
```sh
|
||||
qmk flash -kb bastardkb/tbkmini/v2/splinky_3 -km seoa
|
||||
```
|
||||
|
||||
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 [keyboard build instructions](http://docs.bastardkb.com/)
|
||||
После выполнения `qmk flash` нужно одновременно нажать 2 кнопки на микроконтроллере, либо 2 раза нажать кнопу `update`, если она уже распаяна на плате. Так прошивка будет залита на подключённый микроконтроллер.
|
||||
|
||||
|
||||
## Требования
|
||||
|
||||
Эта прошивка занимает `~101.5 kb` так что нужно иметь контроллер с достаточным количеством памяти. Все контроллеры на базе `rp2040` не меньше `2 mb` памяти, так что из них можно взять любой.
|
||||
|
||||
|
||||
## Описание
|
||||
|
||||
Автор оригинальной прошивки - [Buliway](https://github.com/Buliway)
|
||||
|
||||
В данной прошивке реализована кастомная фонетическая раскладка с большим количеством дополнительных кейкодов с разной функциональностью("умная" точка, капс на слово и тп). Часть "фишек" взята из репозитория [lang_shift](https://github.com/klavarog/lang_shift).
|
||||
|
||||
По дефолту стоит смена языка на капс, но это можно изменить под вашу систему в [config.h](./keymaps/seoa/config.h).
|
||||
|
||||
Подсветка в клавиатуре желательна. Она отвечает за цвет слоя, в котором вы сейчас находитесь.
|
||||
|
||||
В [./keymaps/seoa/img/](./keymaps/seoa/img/) лежит актуальная схема раскладки и файл для криты, если будет желание её редактировать 
|
40
readme.md
40
readme.md
|
@ -1,36 +1,16 @@
|
|||
# Included Keyboards
|
||||
# Мои раскладки
|
||||
|
||||
QMK runs on a diverse range of keyboards. Some of these keyboards are well maintained and see constant community contributions, while others are part of the repository for historical reasons.
|
||||
Для использования этого репозитория надо склонировать его в директорию `vial_qmk`. Работоспособность прошивки протестирована на коммите `159c0888457e5675c6dc0a881e7c5bd8b54203e7` [виала](https://github.com/vial-kb/vial-qmk/commit/159c0888457e5675c6dc0a881e7c5bd8b54203e7).
|
||||
|
||||
## Official QMK Keyboards
|
||||
|
||||
### Ortholinear Keyboards - Jack Humbert
|
||||
|
||||
What makes OLKB keyboards shine is a combo of lean aesthetics, compact size, and killer tactile feel. These are available through [olkb.com](http://olkb.com) as well as through [Massdrop](http://massdrop.com) from time to time, as easy to assemble kits.
|
||||
|
||||
* [Planck](/keyboards/planck/) — A 40% DIY powerhouse of customizability and modification capability. It's a lean, mean, typing machine.
|
||||
* [Preonic](/keyboards/preonic/) — Like the Planck, but bigger. 50%.
|
||||
* [Atomic](/keyboards/atomic/) — Imagine the size of the Planck. Now imagine the size of the Preonic. Now imagine _bigger_. That is the Atomic. A 60% keyboard.
|
||||
|
||||
### Clueboard - Zach White
|
||||
|
||||
Designed and built in Felton, CA, Clueboards keyboard emphasize quality and locally sourced components.
|
||||
|
||||
* [Clueboard](/keyboards/clueboard/66/) — The 66% custom keyboard.
|
||||
* [Cluecard](/keyboards/clueboard/card/) — A small board to help you hack on QMK.
|
||||
* [Cluepad](/keyboards/clueboard/17/) — A mechanical numpad with QMK superpowers.
|
||||
|
||||
### Moonlander, ErgoDox EZ and Planck EZ - ZSA Technology Labs
|
||||
|
||||
[ZSA Technology Labs](https://zsa.io) maintains its own [fork of QMK](https://github.com/zsa/qmk_firmware) which feeds its [configurator](https://configure.zsa.io), for stability and legal purposes. The ZSA boards are:
|
||||
|
||||
* [Moonlander Mark I](/keyboards/moonlander/) — A next-gen split, ergonomic keyboard with an active left side, USB type C, integrated wrist rest, and a thumb cluster that can move.
|
||||
* [ErgoDox EZ](/keyboards/ergodox_ez/) — A powerful split mechanical keyboard.
|
||||
* [Planck EZ](/keyboards/planck/ez) — A 40% DIY powerhouse of customizability and modification capability. It's a lean, mean, typing machine, which ships fully assembled with a two-year warranty.
|
||||
На данный момент доступны прошивки для:
|
||||
- [tbkmini](./bastardkb/tbkmini/readme.md)
|
||||
|
||||
|
||||
## Community-supported QMK Keyboards
|
||||
## Требования
|
||||
|
||||
These keyboards are part of the QMK repository, but their manufacturers are not official maintainers of the repository.
|
||||
Для компиляции и прошивки нужны `make` и `qmk`.
|
||||
|
||||
Since there are too many to list here and keep updated, please see the folder listing instead.
|
||||
Если вы используюте `NixOS`, то достаточно прописать эту команду в корне директории виала
|
||||
```sh
|
||||
nix-shell shell.nix --run zsh
|
||||
```
|
||||
|
|
Loading…
Add table
Reference in a new issue