|
|
7 anos atrás | |
|---|---|---|
| .. | ||
| keymap.c | d1f735b6d2 Clueboard refresh (#4902) | 7 anos atrás |
| readme.md | 3f3fa07918 Reorganize clueboard into a single directory (#1855) | 8 anos atrás |
| rules.mk | 3f3fa07918 Reorganize clueboard into a single directory (#1855) | 8 anos atrás |
| tetris_text.c | 3f3fa07918 Reorganize clueboard into a single directory (#1855) | 8 anos atrás |
| tetris_text.h | 3f3fa07918 Reorganize clueboard into a single directory (#1855) | 8 anos atrás |
Tetris works by outputting key-presses to make ascii-art in a regular text editor. It reads key presses to rotate and move the bricks like a regular tetris game.
1) Open a default text editor 2) Press the tetris button (Fn + t) 3) Play tetris
It makes ascii-art by sending keycodes: left, right, up, down, qwerty characters, and numbers.
Drawing ascii-art is too slow to make a pleasant playing experience. While drawing ascii-art, the keyboard does not record key-presses, so its pretty unresponsive.
Adds 5000 bytes to the hex file.
SRC = tetris_text.cYou can find a simple tetris keyboard definition at https://github.com/danamlund/meckb_tetris/
