Update kmk/modules/split.py so that ble boards work with ee hands.

Co-authored-by: Tonasz <27835465+Tonasz@users.noreply.github.com>
This commit is contained in:
patrickmcquay 2022-01-25 07:12:00 -05:00 committed by Kyle Brown
parent fa0062326b
commit 1387cb2660

View File

@ -98,7 +98,7 @@ class Split(Module):
):
self._is_target = runtime.usb_connected
elif self.split_type == SplitType.BLE:
self._is_target = bool(self.split_target_left)
self._is_target = name.endswith('L') == self.split_target_left
if name.endswith('L'):
self.split_side = SplitSide.LEFT