keybrd library is an open source library for creating custom-keyboard firmware.
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
此仓库已存档。您可以查看文件和克隆,但不能推送或创建工单/合并请求。

tutorial_3b_autoShift.md 918B

1234567891011121314151617181920212223
  1. Tutorial 3b - autoShift
  2. =======================
  3. After reading this tutorial your keyboard will be able to be able to automatically shifted characters.
  4. ## AutoShift
  5. Some mulit-layer keyboards have a symbols layer that writes symbols and numbers without using the shift key:
  6. ~ ! @ # $ % ^ & * () _ {} | < > ? 1 2 3 4 5 6 7 8 9 0
  7. The keybrd library does this by automatically sending the MODIFIERKEY_SHIFT scancode.
  8. This annotated sketch demonstrates the AutoShift feature: [keybrd_3_autoShift_annotated.ino](keybrd_proj/keybrd/examples/keybrd_3_autoShift_annotated/keybrd_3_autoShift_annotated.ino)
  9. Two keybrd classes use AutoShift:
  10. * Code_ScS
  11. * Code_ScNS
  12. ## Exercises
  13. 1) Modify the keybrd_3_autoShift_annotated sketch to make a 3-layer keyboard with two Code_LayerHold objects.
  14. | Layout | **0** | **1** |
  15. |:------:|-------|-------|
  16. | **0** | a ! 6 | b @ 7 |
  17. | **1** | sym | num |