keybrd library is an open source library for creating custom-keyboard firmware.
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
Repozitorijs ir arhivēts. Tam var aplūkot failus un to var klonēt, bet nevar iesūtīt jaunas izmaiņas, kā arī atvērt jaunas problēmas/izmaiņu pieprasījumus.

pirms 8 gadiem
pirms 7 gadiem
pirms 8 gadiem
pirms 7 gadiem
1234567891011121314151617181920212223242526272829303132333435
  1. Tutorial 3f - autoShift
  2. =======================
  3. Some multi-layer keyboards have a symbols layer that writes symbols without using the shift key:
  4. ~ ! @ # $ % ^ & * () _ {} | < > : ?
  5. The keybrd AutoShift class automatically sends a MODIFIERKEY_SHIFT scancode as needed.
  6. Two keybrd classes use AutoShift:
  7. * Code_ScS
  8. * Code_ScNS
  9. The [keybrd_3f_autoShift.ino](keybrd_3f_autoShift/keybrd_3f_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 shift characters.
  12. ![basic breadboard keyboard](keybrd_1_breadboard/basic_breadboard_keyboard_front.JPG "basic breadboard keyboard")
  13. Exercises
  14. ---------
  15. 1) Modify the keybrd_3f_autoShift sketch to make a 3-layer keyboard with a default layer and two Code_LayerHold objects.
  16. | Layout | **0** | **1** |
  17. |:------:|:-----:|:-----:|
  18. | **0** | a ! 1 | b @ 2 |
  19. | **1** | sym | num |
  20. 2) Modify the keybrd_3f_autoShift sketch to write 1 and 2, regardless of if shift is held down or not (hint: use Code_ScNS).
  21. | Layout | **0** | **1** |
  22. |:------:|-------|-------|
  23. | **0** | a 1 | b 2 |
  24. | **1** | fn | shift |
  25. <br>
  26. <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>.