keybrd library is an open source library for creating custom-keyboard firmware.
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
このリポジトリはアーカイブされています。 ファイルの閲覧とクローンは可能ですが、プッシュや、課題・プルリクエストのオープンはできません。

tutorial_3b_autoShift.md 1.8KB

8年前
1234567891011121314151617181920212223242526272829
  1. Tutorial 3b - autoShift
  2. =======================
  3. Some multi-layer keyboards have a symbols layer that writes symbols without using the shift key:
  4. ~ ! @ # $ % ^ & * () _ {} | < > : ?
  5. The keybrd library does this by automatically sending a MODIFIERKEY_SHIFT scancode.
  6. Two keybrd classes use AutoShift:
  7. * Code_ScS
  8. * Code_ScNS
  9. The [keybrd_3_autoShift.ino](keybrd_3_autoShift/keybrd_3_autoShift.ino) sketch explains the AutoShift feature.
  10. It will run on the basic breadboard keyboard described in [tutorial_1_breadboard_keyboard.md](tutorial_1_breadboard_keyboard.md).
  11. After reading the sketch you too will be able to automatically shifted characters.
  12. ![basic breadboard keyboard](keybrd_1_breadboard/breadboard_keyboard_2x2.JPG "basic breadboard keyboard")
  13. Exercises
  14. ---------
  15. 1) Modify the keybrd_3_autoShift_annotated sketch to make a 3-layer keyboard with a default layer and two Code_LayerHold objects.
  16. | Layout | **0** | **1** |
  17. |:------:|:-----:|:-----:|
  18. | **0** | a ! 6 | b @ 7 |
  19. | **1** | sym |. num .|
  20. <br>
  21. <a rel="license" href="https://creativecommons.org/licenses/by/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://licensebuttons.net/l/by/4.0/88x31.png" /></a><br /><span xmlns:dct="http://purl.org/dc/terms/" property="dct:title">keybrd tutorial</span> by <a xmlns:cc="https://creativecommons.org/ns" href="https://github.com/wolfv6/keybrd" property="cc:attributionName" rel="cc:attributionURL">Wolfram Volpi</a> is licensed under a <a rel="license" href="https://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a>.<br />Permissions beyond the scope of this license may be available at <a xmlns:cc="https://creativecommons.org/ns" href="https://github.com/wolfv6/keybrd/issues/new" rel="cc:morePermissions">https://github.com/wolfv6/keybrd/issues/new</a>.