Component/Keyboard: Difference between revisions

From Turing Complete
(Initial stub)
 
(Provide a demo circuit)
Line 1: Line 1:
<templatestyles src=Controls/styles.css />
{{Infobox component
{{Infobox component
| type        = io
| type        = io
Line 6: Line 7:


{{Stub}}
{{Stub}}
== Example: Store last event ==
This simple demo show how to store the most recent key event. In this picture it was the {{kbd|a}} up.
[[File:Keyboard demo.png]]
{{Note|In "run fast" mode the register will not appear to update, but the value is being saved and can be used as expected.}}
This can be adatped to store only the key value by removing the wire from <code>key_up</code> nad using an 8-bit register.
== Alpha ==
The positions and meanings of the IO pins changed with the save_breaker alpha, builds using the keyboard will need to be adapted.

Revision as of 13:02, 20 May 2025

Keyboard
Type io / sandbox
Unlocked by Lab
stub
stub

This page is a stub. Help us expand it, and you get a cookie.

Example: Store last event

This simple demo show how to store the most recent key event. In this picture it was the a up.

In "run fast" mode the register will not appear to update, but the value is being saved and can be used as expected.

This can be adatped to store only the key value by removing the wire from key_up nad using an 8-bit register.

Alpha

The positions and meanings of the IO pins changed with the save_breaker alpha, builds using the keyboard will need to be adapted.