Decrease typing lag by about 80 billion percent by upping the logging threshold to WARNING on SAMD51

This commit is contained in:
Josh Klar 2018-10-06 22:15:55 -07:00
parent 472b08d77b
commit c4c28ad039
No known key found for this signature in database
GPG Key ID: 220F99BD7DB7A99E
2 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
import sys import sys
from logging import DEBUG from logging import WARNING
from kmk.circuitpython.hid import HIDHelper from kmk.circuitpython.hid import HIDHelper
from kmk.circuitpython.matrix import MatrixScanner from kmk.circuitpython.matrix import MatrixScanner
@ -22,7 +22,7 @@ def main():
col_pins=cols, col_pins=cols,
diode_orientation=diode_orientation, diode_orientation=diode_orientation,
unicode_mode=unicode_mode, unicode_mode=unicode_mode,
log_level=DEBUG, log_level=WARNING,
matrix_scanner=MatrixScanner, matrix_scanner=MatrixScanner,
hid=HIDHelper, hid=HIDHelper,
) )

View File

@ -51,7 +51,7 @@ keymap = [
[KC.GESC, KC.A, KC.RESET], [KC.GESC, KC.A, KC.RESET],
[KC.MO(1), KC.B, KC.MUTE], [KC.MO(1), KC.B, KC.MUTE],
[KC.LT(2, KC.EXCLAIM), KC.HASH, KC.ENTER], [KC.LT(2, KC.EXCLAIM), KC.HASH, KC.ENTER],
[KC.TT(3), KC.SPACE, KC.LSHIFT], [KC.TT(3), KC.SPACE, ANGRY_TABLE_FLIP],
], ],
[ [
[KC.TRNS, KC.B, KC.C], [KC.TRNS, KC.B, KC.C],