diff options
author | SjB <steve@sagacity.ca> | 2017-01-17 21:47:07 -0500 |
---|---|---|
committer | SjB <steve@sagacity.ca> | 2017-01-17 21:57:32 -0500 |
commit | 9eb8d05246fba4f46c04b8fa1884b8f2d2ee0664 (patch) | |
tree | b423092318863773fe81beb6bf5c9c6317ae0ab6 /tmk_core | |
parent | 3d264adfc5e4538b57315cb8d3d429b9ed310f25 (diff) |
added mods status bit to visualizer.
Since we can't read the real_mods and oneshot_mods static variable
directly within the update_user_visualizer_state
function (Threading and serial link). We are know storing the mods
states in the visualizer_keyboard_status_t structure. We can now
display the status of the modifier keys on the LCD display.
Diffstat (limited to 'tmk_core')
-rw-r--r-- | tmk_core/common/keyboard.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tmk_core/common/keyboard.c b/tmk_core/common/keyboard.c index 371d93f3e5..7653507928 100644 --- a/tmk_core/common/keyboard.c +++ b/tmk_core/common/keyboard.c @@ -188,7 +188,7 @@ MATRIX_LOOP_END: #endif #ifdef VISUALIZER_ENABLE - visualizer_update(default_layer_state, layer_state, host_keyboard_leds()); + visualizer_update(default_layer_state, layer_state, visualizer_get_mods(), host_keyboard_leds()); #endif // update LED |