diff options
author | IBNobody <IBNobody@users.noreply.github.com> | 2016-09-06 23:19:01 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-06 23:19:01 -0500 |
commit | 558f3ec1eb325caf706efc15e2fab26121aba442 (patch) | |
tree | a14b00c189492426beadc69c2094055f833b811f /tmk_core/common/keyboard.c | |
parent | f0388a5b1334ce0b8c8a359a0a8a1460e456b8c5 (diff) | |
download | firmware-558f3ec1eb325caf706efc15e2fab26121aba442.tar.gz firmware-558f3ec1eb325caf706efc15e2fab26121aba442.tar.bz2 firmware-558f3ec1eb325caf706efc15e2fab26121aba442.zip |
Use keyboard config for nkro (#7)
* removing nkro references - wip
* changed NKRO to be defined by keymap_config
Diffstat (limited to 'tmk_core/common/keyboard.c')
-rw-r--r-- | tmk_core/common/keyboard.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tmk_core/common/keyboard.c b/tmk_core/common/keyboard.c index c46a701b3..371d93f3e 100644 --- a/tmk_core/common/keyboard.c +++ b/tmk_core/common/keyboard.c @@ -57,6 +57,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. # include "visualizer/visualizer.h" #endif + + #ifdef MATRIX_HAS_GHOST static bool has_ghost_in_row(uint8_t row) { @@ -106,7 +108,7 @@ void keyboard_init(void) { rgblight_init(); #endif #if defined(NKRO_ENABLE) && defined(FORCE_NKRO) - keyboard_nkro = true; + keymap_config.nkro = 1; #endif } |