diff options
Diffstat (limited to 'keyboards/sthlmkb/litl')
-rw-r--r-- | keyboards/sthlmkb/litl/info.json | 2 | ||||
-rw-r--r-- | keyboards/sthlmkb/litl/litl.c | 14 |
2 files changed, 1 insertions, 15 deletions
diff --git a/keyboards/sthlmkb/litl/info.json b/keyboards/sthlmkb/litl/info.json index 232ada4bac..9a6a2fe3dd 100644 --- a/keyboards/sthlmkb/litl/info.json +++ b/keyboards/sthlmkb/litl/info.json @@ -43,7 +43,7 @@ }, "encoder": { "rotary": [ - { "pin_a": "D3", "pin_b": "D2" } + {"pin_a": "D3", "pin_b": "D2"} ] } } diff --git a/keyboards/sthlmkb/litl/litl.c b/keyboards/sthlmkb/litl/litl.c index 40aedfbe27..230d4db52a 100644 --- a/keyboards/sthlmkb/litl/litl.c +++ b/keyboards/sthlmkb/litl/litl.c @@ -14,17 +14,3 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "litl.h" - -#ifdef ENCODER_ENABLE -bool encoder_update_kb(uint8_t index, bool clockwise) { - if (!encoder_update_user(index, clockwise)) { return false; } - if (index == 0) { - if (clockwise) { - tap_code_delay(KC_VOLU, 10); - } else { - tap_code_delay(KC_VOLD, 10); - } - } - return true; -} -#endif |