diff --git a/boards/draculad/README.md b/boards/draculad/README.md index 35df6891b..3a4afa91b 100644 --- a/boards/draculad/README.md +++ b/boards/draculad/README.md @@ -2,19 +2,13 @@ The [DracuLad](https://github.com/MangoIV/dracuLad) is a feature-packed 30% sized, split bodied, columnar staggered keyboard. -![KeycaplessTopElev](https://github.com/mangoiv/draculad/raw/master/pictures/rev1/both_sides_underglow_oleds.jpg) +![Top View](https://github.com/mangoiv/draculad/raw/master/pictures/rev1/both_sides_underglow_oleds.jpg) -Retailers (USA) -[Boardsource](https://boardsource.xyz/store) - -Extensions enabled by default +Extensions enabled by default - [Layers](/docs/en/layers.md) Need more keys than switches? Use layers. - [Split](/docs/en/split_keyboards.md) Connects halves using a wire. -- [peg_RGB_matrix](/docs/en/peg_rgb_matrix.md) Allows mod keys to act as different keys when tapped. -- [peg_oled_display](/docs/en/peg_oled_display.md) Connects halves using a wire. - -Common Extensions -- [Power](/docs/enpower.md) Powersaving features for battery life +- [Peg RGB](/docs/en/peg_rgb_matrix.md) +- [Peg OLED](/docs/en/peg_oled_display.md) ## Microcontroller support diff --git a/boards/draculad/kb.py b/boards/draculad/kb.py index 144fc68cd..f8a6357f0 100644 --- a/boards/draculad/kb.py +++ b/boards/draculad/kb.py @@ -14,8 +14,8 @@ def __init__(self): self.matrix = [ MatrixScanner( # required arguments: - column_pins = self.col_pins, - row_pins = self.row_pins, + column_pins=self.col_pins, + row_pins=self.row_pins, # optional arguments with defaults: columns_to_anodes=DiodeOrientation.COL2ROW, interval=0.02, @@ -34,6 +34,7 @@ def __init__(self): # divisor=4, # ) ] + col_pins = ( pins[avr['F4']], pins[avr['F5']], @@ -51,20 +52,18 @@ def __init__(self): rgb_pixel_pin = pins[avr['D3']] rgb_num_pixels = 20 i2c = board.I2C - SCL=pins[5] - SDA=pins[4] - pin_a1=pins[avr['B2']] - pin_a2=pins[avr['B4']] - pin_b1=pins[avr['B6']] - pin_b2=pins[avr['B5']] - led_key_pos=[ + SCL = pins[5] + SDA = pins[4] + pin_a1 = pins[avr['B2']] + pin_a2 = pins[avr['B4']] + pin_b1 = pins[avr['B6']] + pin_b2 = pins[avr['B5']] + led_key_pos = [ 5, 6, 7, 8, 9, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 0, 1, 2, 3, 4 ] brightness_limit = 1.0 num_pixels = 20 - - # NOQA - # flake8: noqa + # fmt: off coord_mapping = [ 0, 1, 2, 3, 4, 24, 23, 22, 21, 20, @@ -72,3 +71,4 @@ def __init__(self): 10, 11, 12, 13, 14, 34, 33, 32, 31, 30, 17, 18, 19, 39, 38, 37 ] + # fmt: on diff --git a/boards/draculad/main.py b/boards/draculad/main.py index b278d91d8..a8f58c8c6 100644 --- a/boards/draculad/main.py +++ b/boards/draculad/main.py @@ -15,7 +15,7 @@ keyboard.debug_enable = True keyboard.modules.append(Layers()) # oled -oled_ext = Oled( +oled = Oled( OledData( corner_one={ 0: OledReactionType.STATIC, @@ -37,10 +37,9 @@ toDisplay=OledDisplayMode.TXT, flip=True, ) -# oled -keyboard.extensions.append(oled_ext) +keyboard.extensions.append(oled) # ledmap -rgb_ext = Rgb_matrix( +rgb = Rgb_matrix( ledDisplay=[ [255, 255, 255], [255, 255, 255], @@ -68,7 +67,7 @@ disable_auto_write=True, ) # ledmap -keyboard.extensions.append(rgb_ext) +keyboard.extensions.append(rgb) split = Split(use_pio=True) keyboard.modules.append(split) _______ = KC.TRNS diff --git a/util/aspell.en.pws b/util/aspell.en.pws index 24c70b82e..4a76dcdd1 100644 --- a/util/aspell.en.pws +++ b/util/aspell.en.pws @@ -38,6 +38,7 @@ Dal DisplayIO Dispositivos DotStar +DracuLad EE EVQWGD EasyPoint