|
2 yıl önce | |
---|---|---|
.. | ||
keymap.c | bbc3bc55f2 RESET -> QK_BOOT user keymaps (#17940) | 2 yıl önce |
readme.md | 3f3fa07918 Reorganize clueboard into a single directory (#1855) | 7 yıl önce |
rules.mk | 04d6d25ec3 make the tetris keymap fit | 4 yıl önce |
tetris_text.c | 3f3fa07918 Reorganize clueboard into a single directory (#1855) | 7 yıl önce |
tetris_text.h | 3f3fa07918 Reorganize clueboard into a single directory (#1855) | 7 yıl önce |
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.c
You can find a simple tetris keyboard definition at https://github.com/danamlund/meckb_tetris/