formatting
This commit is contained in:
parent
b91974bce2
commit
ff3f7234d4
@ -1,9 +1,10 @@
|
|||||||
import neopixel
|
import neopixel
|
||||||
|
|
||||||
|
from storage import getmount
|
||||||
|
|
||||||
from kmk.extensions import Extension
|
from kmk.extensions import Extension
|
||||||
from kmk.handlers.stock import passthrough as handler_passthrough
|
from kmk.handlers.stock import passthrough as handler_passthrough
|
||||||
from kmk.keys import make_key
|
from kmk.keys import make_key
|
||||||
from storage import getmount
|
|
||||||
|
|
||||||
|
|
||||||
class Color:
|
class Color:
|
||||||
@ -53,9 +54,9 @@ class Rgb_matrix(Extension):
|
|||||||
self.split = split
|
self.split = split
|
||||||
self.rightSide = rightSide
|
self.rightSide = rightSide
|
||||||
if name.endswith('L'):
|
if name.endswith('L'):
|
||||||
self.rightSide = False
|
self.rightSide = False
|
||||||
elif name.endswith('R'):
|
elif name.endswith('R'):
|
||||||
self.rightSide = True
|
self.rightSide = True
|
||||||
if type(ledDisplay) is Rgb_matrix_data:
|
if type(ledDisplay) is Rgb_matrix_data:
|
||||||
self.ledDisplay = ledDisplay.data
|
self.ledDisplay = ledDisplay.data
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user