diff options
author | Jack Humbert <jack.humb@gmail.com> | 2017-08-30 17:27:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-30 17:27:52 +0200 |
commit | a729d852fe502d62e09bab1a31f49b738f8892e4 (patch) | |
tree | 5caaf1de34f2d46afa2b5991a7ea4e0663f2db85 /keyboards/clueboard/keymaps/tetris/readme.md | |
parent | da7aece043759f055063cb5d20bea4109891f917 (diff) | |
parent | 4a9e16b39499294a3ccc0e52e97696cab5d77668 (diff) | |
download | qmk_firmware-a729d852fe502d62e09bab1a31f49b738f8892e4.tar.gz qmk_firmware-a729d852fe502d62e09bab1a31f49b738f8892e4.tar.xz |
Merge pull request #1574 from danamlund/master
New clueboard keymap that is a tetris game
Diffstat (limited to 'keyboards/clueboard/keymaps/tetris/readme.md')
-rw-r--r-- | keyboards/clueboard/keymaps/tetris/readme.md | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/keyboards/clueboard/keymaps/tetris/readme.md b/keyboards/clueboard/keymaps/tetris/readme.md new file mode 100644 index 000000000..20e97fb19 --- /dev/null +++ b/keyboards/clueboard/keymaps/tetris/readme.md @@ -0,0 +1,33 @@ +Default layout but with a tetris game +===================================== +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. + +Example +======= +![tetris](https://raw.githubusercontent.com/danamlund/meckb_tetris/master/tetris.gif) + +Usage +===== +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. + +Problems +======== +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. + +Implement in other keyboards +============================ + - Copy-paste the files tetris_text.c and tetrix_text.h to your keymap folder. + - Add/update your-keyboard/your-keymap/Makefile to include ``SRC = tetris_text.c`` + - Copy-paste the tetris-related code from this keymap.c to yours. + - Set a key to trigger F(1) to start tetris mode. + - Its also a good idea to set a key to stop tetris, here its escape. + +You can find a simple tetris keyboard definition at <https://github.com/danamlund/meckb_tetris/> |