The easiest way to learn the keyboard library is to read some simple sketches.
[keybrd_2_single-layer_annotated.ino](keybrd_2_single-layer_annotated/keybrd_2_single-layer_annotated.ino) is a simple sketch with annotations that explain how a keybrd sketch works.
<arel="license"href="http://creativecommons.org/licenses/by/4.0/"><imgalt="Creative Commons License"style="border-width:0"src="https://i.creativecommons.org/l/by/4.0/88x31.png"/></a><br/><spanxmlns:dct="http://purl.org/dc/terms/"property="dct:title">keybrd tutorial</span> by <axmlns:cc="http://creativecommons.org/ns#"href="https://github.com/wolfv6/keybrd"property="cc:attributionName"rel="cc:attributionURL">Wolfram Volpi</a> is licensed under a <arel="license"href="http://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 <axmlns:cc="http://creativecommons.org/ns#"href="https://github.com/wolfv6/keybrd/issues/new"rel="cc:morePermissions">https://github.com/wolfv6/keybrd/issues/new</a>.