From 5fd68266f5d90b2c7045f44f678d71b782907752 Mon Sep 17 00:00:00 2001 From: skullydazed Date: Fri, 29 Sep 2017 16:17:30 -0700 Subject: Clueboard 60% support (#1746) * initial clueboard_60 support * LED lighting support * fix the clueboard->clueboard_66 rename * Add layout support to clueboard_60 * Fix the 60_iso layout so it's actually iso * add a default keymap for AEK layout * fix clueboard_17 * Fixup the ISO layouts * Fix the `wait_ms()/wait_us()` definitions for chibios * Fix up the wait_ms/wait_us hack. Reduce stack size. * Add a missing #include "wait.h" * commit files that should have already been comitted --- keyboards/clueboard_66/keymaps/tetris/readme.md | 33 +++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 keyboards/clueboard_66/keymaps/tetris/readme.md (limited to 'keyboards/clueboard_66/keymaps/tetris/readme.md') diff --git a/keyboards/clueboard_66/keymaps/tetris/readme.md b/keyboards/clueboard_66/keymaps/tetris/readme.md new file mode 100644 index 0000000000..20e97fb19f --- /dev/null +++ b/keyboards/clueboard_66/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 -- cgit v1.2.3