dalsik
1.0.0
da Vs l et s pl i t k eyboard固件。
我将其作为一个有趣的学习项目。自2017年以来,该代码正常工作,我一直在键盘上使用它。您可以将其视为“ QMK Lite”。由于仅为单个键盘和MCU编写代码,因此应该更容易理解为QMK。
该代码是为WootPatoot创建的Let's Split键盘而设计的。
如果您必须以下安装的软件包,则可以在Linux上编译该项目:
HID和Serial库以及USB实施)在Arch Linux上,您可以运行:
$ pacman -S arduino avr-gcc avrdude python-pyserial您需要通过DALSIK_KEYMAP env变量指定keymap文件的位置(请参阅sample_keymap/sample_keymap.cpp )。我建议对此使用Direnv:
$ cd ~ /where/the/dalsik/project/is/cloned
$ cat .envrc
export DALSIK_KEYMAP=/path/to/my/keymap/file.cpp # Clean the previous build artifacts (optional)
$ make clean
# Compile the project
$ make verify
# Run the tests
$ make test
# Flash the MCU
$ make upload该项目假设拆分键盘的一侧始终在左边,另一侧在右侧。方面是用EEPROM编码的。要最初设置键盘的侧面性,请在src/dalsik/dalsik.h中取消点击相应的#define SET_KEYBOARD行,并在两侧进行clean verify upload闪烁。
大选是根据USB连接自动的。在更改KeyMap时,只有主侧需要重新刷新。如果USB连接器断开主键盘上的断路,则可以将USB电缆连接到另一侧,并使用当前的KeyMap(如有必要)重新升级它,并且可以工作。