From 6a7a6890c9c89f231a4339994cf81d0193db20eb Mon Sep 17 00:00:00 2001 From: xs5871 Date: Sat, 23 Nov 2024 10:38:07 +0000 Subject: [PATCH] Cleanup legacy `keyboard.tap_time` --- boards/atreus62/main.py | 2 -- boards/fingerpunch/ffkb/other_pro_micro/main.py | 1 - boards/keebio/iris/main.py | 2 -- boards/lunakey_pico/main.py | 1 - docs/en/config_and_keymap.md | 6 ------ docs/en/encoder.md | 2 -- 6 files changed, 14 deletions(-) diff --git a/boards/atreus62/main.py b/boards/atreus62/main.py index b2ccb63ca..b6eafd20e 100644 --- a/boards/atreus62/main.py +++ b/boards/atreus62/main.py @@ -31,8 +31,6 @@ macros = Macros() keyboard.modules = [layers, encoder, macros] -keyboard.tap_time = 250 - # custom keys NEW = KC.LCTL(KC.N) diff --git a/boards/fingerpunch/ffkb/other_pro_micro/main.py b/boards/fingerpunch/ffkb/other_pro_micro/main.py index 2aa97ab03..d94e01df1 100644 --- a/boards/fingerpunch/ffkb/other_pro_micro/main.py +++ b/boards/fingerpunch/ffkb/other_pro_micro/main.py @@ -11,7 +11,6 @@ from kmk.modules.mouse_keys import MouseKeys keyboard = KMKKeyboard() -keyboard.tap_time = 150 # Cleaner key names _______ = KC.TRNS diff --git a/boards/keebio/iris/main.py b/boards/keebio/iris/main.py index 4a043293d..9a722d1d0 100644 --- a/boards/keebio/iris/main.py +++ b/boards/keebio/iris/main.py @@ -7,8 +7,6 @@ keyboard = KMKKeyboard() -keyboard.tap_time = 750 - _______ = KC.TRNS xxxxxxx = KC.NO diff --git a/boards/lunakey_pico/main.py b/boards/lunakey_pico/main.py index 64f25be95..80a52a0fe 100644 --- a/boards/lunakey_pico/main.py +++ b/boards/lunakey_pico/main.py @@ -17,7 +17,6 @@ led.value = True keyboard = KMKKeyboard() -keyboard.tap_time = 100 layers = Layers() holdtap = HoldTap() diff --git a/docs/en/config_and_keymap.md b/docs/en/config_and_keymap.md index 664d637e8..94cfdc4b4 100644 --- a/docs/en/config_and_keymap.md +++ b/docs/en/config_and_keymap.md @@ -79,9 +79,3 @@ keyboard.keymap = [[KC.A, KC.B]] The row x column matrix structure doesn't appear explicitly in the keymap. Use `KC.NO` to mark grid positions without a physical key. For very sparse grids `keyboard.coord_mapping` can be useful to avoid `KC.NO`. - -You can further define a bunch of other stuff: - -- `keyboard.tap_time` which defines how long `KC.TT` and `KC.LT` will wait before - considering a key "held" (see `layers.md`). - diff --git a/docs/en/encoder.md b/docs/en/encoder.md index 0378d0f91..b96207788 100644 --- a/docs/en/encoder.md +++ b/docs/en/encoder.md @@ -147,8 +147,6 @@ keyboard.diode_orientation = DiodeOrientation.COLUMNS # encoder_handler.divisor = 2 # for encoders with more precision encoder_handler.pins = ((board.GP17, board.GP15, board.GP14, False),) -keyboard.tap_time = 250 - # Filler keys _______ = KC.TRNS