keyboard/qmk/keyboards/spaceman/2_milk/keymaps/encg
2020-12-25 15:21:40 -05:00
..
config.h Update qmk sources 2020-12-25 15:21:40 -05:00
keymap.c Update qmk sources 2020-12-25 15:21:40 -05:00
readme.md Update qmk sources 2020-12-25 15:21:40 -05:00
rules.mk Update qmk sources 2020-12-25 15:21:40 -05:00

encg's Keymap

What is this?

A simple slot machine emulator for the 2% Milk Keyboard. This idea is based on the implementation by /u/ln8r on /r/mechanicalkeyboards.

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

The bottom button outputs 3 random emojis one by one. The random function takes timer_read() as its seed value (referenced here).

IMG

Unicode Setup

This keymap's default unicode input mode is UC_WINC which requires WinCompose. For other OSes, see QMK documentation on unicode 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