keybrd library is an open source library for creating custom-keyboard firmware.
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
Este repositório está arquivado. Você pode visualizar os arquivos e realizar clone, mas não poderá realizar push nem abrir issues e pull requests.

tutorial_3b_autoShift.md 1.8KB

Tutorial 3b - autoShift

Some multi-layer keyboards have a symbols layer that writes symbols without using the shift key:

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

The keybrd library does this by automatically sending a MODIFIERKEY_SHIFT scancode.

Two keybrd classes use AutoShift:

  • Code_ScS
  • Code_ScNS

The keybrd_3_autoShift.ino sketch explains the AutoShift feature. It will run on the basic breadboard keyboard described in tutorial_1_breadboard_keyboard.md. After reading the sketch you too will be able to automatically shifted characters.

basic breadboard keyboard

Exercises

1) Modify the keybrd_3_autoShift_annotated sketch to make a 3-layer keyboard with a default layer and two Code_LayerHold objects.

Layout 0 1
0 a ! 6 b @ 7
1 sym . num .


Creative Commons License
keybrd tutorial by Wolfram Volpi is licensed under a Creative Commons Attribution 4.0 International License.
Permissions beyond the scope of this license may be available at https://github.com/wolfv6/keybrd/issues/new.