updating action labels

Arthur Paulino 2017-12-31 18:07:56 -03:00
parent f732be56bd
commit a786274933

@ -9,9 +9,9 @@ Hardware ID: `0x0004`
### Interrupt Behavior ### Interrupt Behavior
| Value of A | Action | Energy cost | Result | | Value of A | Action | Energy cost | Result |
| --- | --- | --- | --- | | --- | --- | --- | --- |
| `0` | `CLEAR` | `0 kJ` | Clear the keypress buffer | | `0` | `KEYBOARD_CLEAR` | `0 kJ` | Clear the keypress buffer |
| `1` | `FETCH_KEY` | `0 kJ` | Reads the oldest keycode from the buffer into the B register and remove it| | `1` | `KEYBOARD_FETCH_KEY` | `0 kJ` | Reads the oldest keycode from the buffer into the B register and remove it|
The `FETCH_KEY` operation will return `0` when the buffer is empty. The `KEYBOARD_FETCH_KEY` operation will return `0` when the buffer is empty.
Keycodes: [keycode.info](http://keycode.info/) Keycodes: [keycode.info](http://keycode.info/)