diff options
author | QMK Bot <hello@qmk.fm> | 2020-12-06 20:04:55 +0000 |
---|---|---|
committer | QMK Bot <hello@qmk.fm> | 2020-12-06 20:04:55 +0000 |
commit | 0e65e9ad517938edf1849042cd0cb5a2f21b0da2 (patch) | |
tree | 1ab8b30fc276e20b068f2b7a96f53e3b49db3cbc /keyboards/spaceman/2_milk/keymaps/encg/readme.md | |
parent | 7fba37db068bb8d2a1dccce013a56f57425c8a74 (diff) | |
parent | 3a69d688f2d9bc18a1e8a1f1951025d107c52855 (diff) |
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'keyboards/spaceman/2_milk/keymaps/encg/readme.md')
-rw-r--r-- | keyboards/spaceman/2_milk/keymaps/encg/readme.md | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/keyboards/spaceman/2_milk/keymaps/encg/readme.md b/keyboards/spaceman/2_milk/keymaps/encg/readme.md new file mode 100644 index 0000000000..f1f9cd6c6d --- /dev/null +++ b/keyboards/spaceman/2_milk/keymaps/encg/readme.md @@ -0,0 +1,26 @@ +# encg's Keymap + +## What is this? + +A simple slot machine emulator for the [2% Milk Keyboard](https://github.com/Spaceman/SpaceboardsHardware/tree/master/Keyboards/2%25%20Milk). This idea is based on the [implementation by /u/ln8r on /r/mechanicalkeyboards](https://www.reddit.com/r/MechanicalKeyboards/comments/hcw21b/2_milk_slot_machine/). + +## How does it work? + +The top button outputs all possible winning emoji combinations followed by a corresponding "score." Emojis are output one-by-one with a short delay to simulate the "slots" feel. + +![IMG](https://i.imgur.com/rUc3IOn.gif) + +The bottom button outputs 3 random emojis one by one. The random function takes `timer_read()` as its seed value [(referenced here)](https://beta.docs.qmk.fm/developing-qmk/qmk-reference/ref_functions#software-timers). + +![IMG](https://i.imgur.com/4EREsIq.png) + +## Unicode Setup + +This keymap's default unicode input mode is `UC_WINC` which requires [WinCompose](https://github.com/samhocevar/wincompose). For other OSes, see [QMK documentation on unicode input modes](https://docs.qmk.fm/#/feature_unicode?id=input-modes). + +## Ideas for the future + +- [ ] Factor in emoji hierarchy into RNG algorithm +- [ ] Random/Wildcard emoji +- [ ] Keep a count for winng combinations +- [ ] Implement tap dance for easily switching unicode input types |