qmk-firmware/keyboards/gmmk/pro/keymaps/mike1808
Drashna Jaelre c5f41d42d8
Updated RGB Matrix suspend define part 3 (#13954)
* Updated RGB Matrix suspend define part 3

* Revert "Update config.h for kbdfans/kbd67/mkiirgb/v3 (#13978)"

This reverts commit 80015f7fb0.

* Add additional boards/keymaps
2021-08-22 09:46:35 +10:00
..
.gitignore gmmk/pro/mike1808 keymap (#13398) 2021-08-18 07:10:46 +10:00
config.h Updated RGB Matrix suspend define part 3 (#13954) 2021-08-22 09:46:35 +10:00
encoder.c gmmk/pro/mike1808 keymap (#13398) 2021-08-18 07:10:46 +10:00
encoder.h gmmk/pro/mike1808 keymap (#13398) 2021-08-18 07:10:46 +10:00
fun.c gmmk/pro/mike1808 keymap (#13398) 2021-08-18 07:10:46 +10:00
keymap.c gmmk/pro/mike1808 keymap (#13398) 2021-08-18 07:10:46 +10:00
mike1808.c gmmk/pro/mike1808 keymap (#13398) 2021-08-18 07:10:46 +10:00
mike1808.h gmmk/pro/mike1808 keymap (#13398) 2021-08-18 07:10:46 +10:00
process_record.c gmmk/pro/mike1808 keymap (#13398) 2021-08-18 07:10:46 +10:00
process_record.h gmmk/pro/mike1808 keymap (#13398) 2021-08-18 07:10:46 +10:00
README.md gmmk/pro/mike1808 keymap (#13398) 2021-08-18 07:10:46 +10:00
rgb_matrix_ledmaps.c gmmk/pro/mike1808 keymap (#13398) 2021-08-18 07:10:46 +10:00
rgb_matrix_ledmaps.h gmmk/pro/mike1808 keymap (#13398) 2021-08-18 07:10:46 +10:00
rules.mk gmmk/pro/mike1808 keymap (#13398) 2021-08-18 07:10:46 +10:00
utils.c gmmk/pro/mike1808 keymap (#13398) 2021-08-18 07:10:46 +10:00
utils.h gmmk/pro/mike1808 keymap (#13398) 2021-08-18 07:10:46 +10:00

QMK layout for gmmk/pro

Secrets

The format is the same as drashna's secrets implementation. Create a secret.h and define your secrets like this:

static const char* secrets[] = {"secret1", "secret2", "secret3", "secret4", "secret5"};

Rotary encoder knob

You can hookup your encoder functions by defining new encoder states in encoder.h, then in encoder.c assign static variable state your new state depending on your desired condition and add callbacks to encoder_mapping array.

RGB Matrix Ledmaps

RGB Matrix ledmaps is the future allowing you assign colors to individual keys on every keymap layer.

You can see some examples of my usage in the bottom of keymap.c.

Color defines are just HSV colors wrapped in curly braces, like #define RED { HSV_RED }.