keybrd library is an open source library for creating custom-keyboard firmware.
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
此仓库已存档。您可以查看文件和克隆,但不能推送或创建工单/合并请求。
wolfv6 1eb09df387 add strobe to RowScanner_SPIShiftRegisters::scan() 8 年前
doc add keybrd_shift_reg.ino 8 年前
examples add keybrd_shift_reg.ino 8 年前
src add strobe to RowScanner_SPIShiftRegisters::scan() 8 年前
tutorials add keybrd_shift_reg.ino 8 年前
LICENSE.txt initial commit keybrd version 0.3.0 8 年前
README.md document 8 年前
library.properties initial commit keybrd version 0.3.0 8 年前

README.md

keybrd library for creating keyboard firmware

keybrd library is an open source library for creating custom-keyboard firmware. The resulting keyboard firmware is compatible with standard USB keyboard drivers.

keybrd library can support any keyboard configuration:

  • one-piece
  • split with I/O expander
  • single-layer
  • multiple-layer

Multiple-layer keyboards can write symbols without using the shift key:

~ ! @ # $ % ^ & * () _ {} | < > : ?

keybrd library leverages the Arduino environment to create keyboard firmware. The Arduino development environment is free, and easy for novice programmers to setup and learn.

The keybrd library has been tested on the Teensy 2.0 microcontroller, MCP23018 I/O expander, and PCA9655E I/O expander.

The public API should not be considered stable. Currently the keybrd library is limited to 8x8 matrices, which is enough for compact split keyboards.

Example minimal keybrd sketch

A minimal keybrd sketch. has about 50 lines of code and runs on a 4-key keyboard. It runs on a breadboard and has rows, columns, and diodes just like the big keyboards. The sketch is small because the keybrd library takes care of the low-level details.

The keybrd tutorial 1 shows how to make a breadboard keyboard. The remaining keybrd tutorials show how to create custom keybrd firmware.

Example complex keybrd sketch

The keybrd_DH emulates the DataHand keyboard. It has 72 keys, 4 layers, 6 sub-layers, 2 matrices, 8 LEDs, and blinking LEDs. The keybrd_DH and its instantiation files contain about 800 lines of code.

mainSketch.ino
instantiations_ports.h
instantiations_LEDs.h
instantiations_codes.h
instantiations_matrix.h

Support

Guides and tutorials are provided. Please ask a questions in issues if something is not clear.