qmk_firmware/keyboards/gmmk/pro/rev1/ansi/keymaps/mike1808
2023-05-15 22:27:37 +10:00
..
.gitignore Move GMMK Pro to allow for multiple revisions (#16423) 2022-05-20 01:47:22 +01:00
config.h Keymap introspection for combos. (#19670) 2023-05-15 22:27:37 +10:00
encoder.c Fix functions with empty params (#19647) 2023-01-20 16:21:17 +00:00
encoder.h Move GMMK Pro to allow for multiple revisions (#16423) 2022-05-20 01:47:22 +01:00
fun.c Fix Per Key LED Indicator Callbacks (#18450) 2022-10-04 15:24:22 -07:00
keymap.c Keymap introspection for combos. (#19670) 2023-05-15 22:27:37 +10:00
mike1808.c Fix Per Key LED Indicator Callbacks (#18450) 2022-10-04 15:24:22 -07:00
mike1808.h Fix some old keycodes (#19086) 2022-11-15 16:52:01 +00:00
process_record.c Fix functions with empty params (#19647) 2023-01-20 16:21:17 +00:00
process_record.h Move GMMK Pro to allow for multiple revisions (#16423) 2022-05-20 01:47:22 +01:00
README.md Move GMMK Pro to allow for multiple revisions (#16423) 2022-05-20 01:47:22 +01:00
rgb_matrix_ledmaps.c Fix functions with empty params (#19647) 2023-01-20 16:21:17 +00:00
rgb_matrix_ledmaps.h Fix Per Key LED Indicator Callbacks (#18450) 2022-10-04 15:24:22 -07:00
rules.mk Move GMMK Pro to allow for multiple revisions (#16423) 2022-05-20 01:47:22 +01:00
utils.c Fix functions with empty params (#19647) 2023-01-20 16:21:17 +00:00
utils.h Move GMMK Pro to allow for multiple revisions (#16423) 2022-05-20 01:47:22 +01: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 }.