Example #1
0
teensy = False
hw_boot_key = True

display_height = int(5 * 4)
display_width = int(15 * 4)

num_rows = 5
num_cols = 15

strobe_cols = False
strobe_low = True

matrix_hardware, matrix_strobe, matrix_sense = make_matrix_config(
    strobe_cols=strobe_cols,
    strobe_low=strobe_low,
    rows=[B7, B3, B2, B1, B0],
    cols=[D0, D1, D2, D3, D5, D4, D6, D7, B4, B5, B6, C6, C7, E6, F1],
    device=firmware.device,
)

num_leds = 1
num_ind = 1
num_bl_enab = 2

led_definition = [("Caps Key", "Caps Lock")]

led_hardware = [
    #       Port    Pin    Direction
    (REF_PORTB, 2, LED_DRIVER_PULLDOWN)
]
Example #2
0
teensy = True
hw_boot_key = False

display_height = int(4*4)
display_width = int(13*4)

num_rows = 4
num_cols = 12

strobe_cols = True
strobe_low = True

matrix_hardware, matrix_strobe, matrix_sense = make_matrix_config(
    strobe_cols=strobe_cols,
    strobe_low=strobe_low,
    rows=[F0, F1, F4, F5],
    cols=[B3, B7, D0, D1, D2, D3, C6, C7, B5, B4, D6, B6],
    device=firmware.device
)

num_leds = 1
num_ind = 1
num_bl_enab = 2

led_definition = [
    ('LED1', 'Backlight')
]

led_hardware = [
#       Port    Pin    Direction
    ( REF_PORTD, 7, LED_DRIVER_PULLUP )
Example #3
0
teensy = False
hw_boot_key = True

display_height = int(4*4)
display_width = int(12*4)

num_rows = 4
num_cols = 11

strobe_cols = False
strobe_low = True

matrix_hardware, matrix_strobe, matrix_sense = make_matrix_config(
    strobe_cols=strobe_cols,
    strobe_low=strobe_low,
    rows=[D0, D1, D3, D2],
    cols=[D7, C6, B5, B4, E6, D4, B6, F6, F7, D6, B7],
    device=firmware.device
)
num_leds = 1
num_ind = 1
num_bl_enab = 2

led_definition = [
    ('A* LED 13', 'Caps Lock')
]

led_hardware = [
#       Port    Pin    Direction
    ( REF_PORTC, 7, LED_DRIVER_PULLUP )
]
Example #4
0
teensy = False
hw_boot_key = False

display_height = int(5 * 4)
display_width = int(15 * 4)

num_rows = 5
num_cols = 15

strobe_cols = False
strobe_low = True

matrix_hardware, matrix_strobe, matrix_sense = make_matrix_config(
    strobe_cols=strobe_cols,
    strobe_low=strobe_low,
    rows=[D0, D5, B5, B6, C6],
    cols=[F1, F0, B0, C7, F4, F5, F6, F7, D4, D6, B4, D7, D3, D2, D1],
    device=firmware.device)

num_leds = 2
num_ind = 1
num_bl_enab = 2

led_definition = [('Caps Key', 'Any Fn Active')]

led_hardware = [
    #       Port    Pin    Direction
    (REF_PORTE, 6, LED_DRIVER_PULLUP),
    (REF_PORTB, 7, LED_DRIVER_PULLUP)
]
Example #5
0
teensy = False
hw_boot_key = True

display_height = int(5 * 4)
display_width = int(15 * 4)

num_rows = 5
num_cols = 14

strobe_cols = False
strobe_low = True

matrix_hardware, matrix_strobe, matrix_sense = make_matrix_config(
    strobe_cols=strobe_cols,
    strobe_low=strobe_low,
    #	   3,  2, RX, TX, ??
    rows=[D0, D1, D2, D3, D5],
    #	  A5, A4,  7, 13, ??,  5,
    cols=[F0, F1, E6, C7, C6, B6, D4, B1, B7, B5, B4, D7, D6, B3],
    device=firmware.device)

num_leds = 5
num_ind = 5
num_bl_enab = 4

led_definition = [('Caps Key', 'Caps Lock'), ('Esc Key', 'Num Lock'),
                  ('WASD', 'Fn Active'), ('Poker Arrows', 'Fn2 Active'),
                  ('Fn Key', 'Fn3 Active')]

led_hardware = [
    #       Port    Pin    Direction
    (REF_PORTB, 2, LED_DRIVER_PULLDOWN),
Example #6
0
# True.
strobe_cols = False
# strobe_low tells the firmware if a row/column should be activated
# by pulling the pin high or low.  Hand-wired boards will almost always
# use strobe_low = True
strobe_low = True

# The matrix_hardware, matrix_strobe, matrix_sense parameters tell
# the firmware how to initialize the ports, what pins must be set
# for each row/column, and what order to strobe/sense.  These are
# complicated and are explained fully elsewhere.  It is easiest to
# configure the matrix by using the make_matrix_config function as
# shown below.  Just customize 'rows' and 'cols' for your project.
matrix_hardware, matrix_strobe, matrix_sense = make_matrix_config(
    strobe_cols=strobe_cols,
    strobe_low=strobe_low,
    rows=[D0, D1, F6, F7, D5],
    cols=[F0, F1, E6, C7, C6, B7, D4, B1, B0, B5, B4, D7, D6, B3, F4],
    device=firmware.device)

# The total number of LED outputs (indicators + backlights)
num_leds = 2
# The number of LED indicators (for example, caps lock)
num_ind = 2
# The number of backlight enable modes.  This counts the number of
# options available for the BL_ENABLE key.  Boards without backlights
# should use the minimum value of 2.
num_bl_enab = 2

# Define the default assignments of the indicator LEDs.  The length
# of this list must equal num_ind.  For each LED, the first string
# is the description of the key shown in the GUI.  The second string
Example #7
0
cfg_name = "gh122"

teensy = True
hw_boot_key = False

num_rows = 7
num_cols = 24

strobe_cols = False
strobe_low = True

matrix_hardware, matrix_strobe, matrix_sense = make_matrix_config(
    strobe_cols=strobe_cols,
    strobe_low=strobe_low,
    rows=[B6, B5, B1, D4, D3, D2, D1],
    cols=[
        F7, F6, F5, F4, F3, F2, C7, F0, F1, E1, C0, C1, C2, C3, C4, C5, C6, E7,
        D7, E6, E0, D6, B0, D5
    ],
    device=firmware.device)

num_leds = 5
num_ind = 3
num_bl_enab = 2

led_definition = [('Scroll LED', 'Scroll Lock'), ('Caps LED', 'Caps Lock'),
                  ('Num LED', 'Num Lock')]

led_hardware = [
    #       Port    Pin    Direction
    (REF_PORTB, 2, LED_DRIVER_PULLUP),
Example #8
0
teensy = True
hw_boot_key = False

display_height = int(7.5*4)
display_width = int(24.75*4)

num_rows = 7
num_cols = 24

strobe_cols = False
strobe_low = True

matrix_hardware, matrix_strobe, matrix_sense = make_matrix_config(
    strobe_cols=strobe_cols,
    strobe_low=strobe_low,
    rows=[B6, B5, B1, D4, D3, D2, D1],
    cols=[F7, F6, F5, F4, F3, F2, C7, F0, F1, E1, C0, C1, C2, C3, C4, C5, C6, E7, D7, E6, E0, D6, B0, D5],
    device=firmware.device
)

num_leds = 5
num_ind = 3
num_bl_enab = 2

led_definition = [
    ('Scroll LED', 'Scroll Lock'),
    ('Caps LED', 'Caps Lock'),
    ('Num LED', 'Num Lock')
]

led_hardware = [
Example #9
0
teensy = True
hw_boot_key = False

display_height = int(4*4)
display_width = int(12*4)

num_rows = 4
num_cols = 12

strobe_cols = False
strobe_low = True

matrix_hardware, matrix_strobe, matrix_sense = make_matrix_config(
    strobe_cols=strobe_cols,
    strobe_low=strobe_low,
    rows=[D0, D1, D2, D3],
    cols=[F0, F1, F4, F5, F6, F7, B0, B1, B2, B3, B5, B6],
    device=firmware.device
)

num_leds = 1
num_ind = 1
num_bl_enab = 2

led_definition = [
    ('Caps Key', 'Caps Lock')
]

led_hardware = [
#       Port    Pin    Direction
    ( REF_PORTD, 7, LED_DRIVER_PULLUP )
Example #10
0
teensy = False
hw_boot_key = True

display_height = int(5 * 4)
display_width = int(13 * 4)

num_rows = 5
num_cols = 13

strobe_cols = True
strobe_low = True

matrix_hardware, matrix_strobe, matrix_sense = make_matrix_config(
    strobe_cols=strobe_cols,
    strobe_low=strobe_low,
    rows=[D2, D3, D1, D0, D4],
    cols=[F4, F5, F6, F7, B1, B3, B2, B6, B5, B4, E6, D7, C6],
    device=firmware.device)

num_leds = 0
num_ind = 0
num_bl_enab = 2

led_definition = []

led_hardware = []

backlighting = False

bl_modes = [(0, 0), (1, 1)]
Example #11
0
strobe_cols = True
# strobe_low tells the firmware if a row/column should be activated
# by pulling the pin high or low.  Hand-wired boards will almost always
# use strobe_low = True
strobe_low = True

# The matrix_hardware, matrix_strobe, matrix_sense parameters tell
# the firmware how to initialize the ports, what pins must be set
# for each row/column, and what order to strobe/sense.  These are
# complicated and are explained fully elsewhere.  It is easiest to
# configure the matrix by using the make_matrix_config function as
# shown below.  Just customize 'rows' and 'cols' for your project.
matrix_hardware, matrix_strobe, matrix_sense = make_matrix_config(
    strobe_cols=strobe_cols,
    strobe_low=strobe_low,
    rows=[B3, B2, B1, B0, F0],
    cols=[F7, F6, F5, F4, F1, B7, D0, D1, D2, D3, D5, D4, D6, D7, B4],
    device=firmware.device
)

# The total number of LED outputs (indicators + backlights)
num_leds = 0
# The number of LED indicators (for example, caps lock)
num_ind = 0
# The number of backlight enable modes.  This counts the number of
# options available for the BL_ENABLE key
num_bl_enab = 0

# Define the default assignments of the indicator LEDs.  The length
# of this list must equal num_ind.  For each LED, the first string
# is the description of the key shown in the GUI.  The second string
Example #12
0
teensy = False
hw_boot_key = True

display_height = int(4*4)
display_width = int(12*4)

num_rows = 4
num_cols = 12

strobe_cols = False
strobe_low = True

matrix_hardware, matrix_strobe, matrix_sense = make_matrix_config(
    strobe_cols=strobe_cols,
    strobe_low=strobe_low,
    rows=[F0, F1, F5, B4],
    cols=[F4, D7, B5, B6, C6, C7, D4, D6, D5, D0, D1, D2],
    device=firmware.device
)

num_leds = 2
num_ind = 1
num_bl_enab = 2

led_definition = [
    ('Underside', 'Backlight')
]

led_hardware = [
#       Port    Pin    Direction
    ( REF_PORTE, 6, LED_DRIVER_PULLUP ),
Example #13
0
teensy = False
hw_boot_key = False

display_height = int(5*4)
display_width = int(15*4)

num_rows = 5
num_cols = 15

strobe_cols = False
strobe_low = True

matrix_hardware, matrix_strobe, matrix_sense = make_matrix_config(
    strobe_cols=strobe_cols,
    strobe_low=strobe_low,
    rows=[D0, D5, B5, B6, C6],
    cols=[F1, F0, B0, C7, F4, F5, F6, F7, D4, D6, B4, D7, D3, D2, D1],
    device=firmware.device
)

num_leds = 2
num_ind = 1
num_bl_enab = 2

led_definition = [
    ('Caps Key', 'Any Fn Active')
]

led_hardware = [
#       Port    Pin    Direction
    ( REF_PORTE, 6, LED_DRIVER_PULLUP ),
Example #14
0
teensy = False
hw_boot_key = True

display_height = int(1 * 4)
display_width = int(2 * 4)

num_rows = 1
num_cols = 2

strobe_cols = False
strobe_low = True

matrix_hardware, matrix_strobe, matrix_sense = make_matrix_config(
    strobe_cols=strobe_cols,
    strobe_low=strobe_low,
    rows=[],
    cols=[D1, D2],
    device=firmware.device)

num_leds, num_ind, led_hardware, backlighting, num_bl_enab, bl_modes = make_led_config(
    led_pins=[B6, B5],
    led_dir=LED_DRIVER_PULLUP,
    backlight_pins=[],
    backlight_dir=LED_DRIVER_PULLDOWN)

led_definition = [
    ('left', 'Unassigned'),
    ('right', 'Unassigned'),
]

KMAC_key = None
Example #15
0
description = "Techkeys NineKeyBoard"
unique_id = "NINEKEYBOARD_001"
cfg_name = "NineKeyBoard"

teensy = False
hw_boot_key = True

num_rows = 1
num_cols = 9

strobe_cols = False
strobe_low = True

matrix_hardware, matrix_strobe, matrix_sense = make_matrix_config(
    strobe_cols=strobe_cols,
    strobe_low=strobe_low,
    rows=[],
    cols=[C7, B7, B5, D6, D1, D4, C2, B2, B1],
    device=firmware.device)

num_leds = 9
num_ind = 8
num_bl_enab = 2

led_definition = [('Upper left', 'Backlight'), ('Upper center', 'Backlight'),
                  ('Upper right', 'Backlight'), ('Middle left', 'Backlight'),
                  ('Middle right', 'Backlight'), ('Lower left', 'Backlight'),
                  ('Lower center', 'Backlight'), ('Lower right', 'Backlight')]

led_hardware = [
    #       Port    Pin    Direction
    (REF_PORTC, 6, LED_DRIVER_PULLDOWN),
Example #16
0
strobe_cols = True
# strobe_low tells the firmware if a row/column should be activated
# by pulling the pin high or low.  Hand-wired boards will almost always
# use strobe_low = True
strobe_low = True

# The matrix_hardware, matrix_strobe, matrix_sense parameters tell
# the firmware how to initialize the ports, what pins must be set
# for each row/column, and what order to strobe/sense.  These are
# complicated and are explained fully elsewhere.  It is easiest to
# configure the matrix by using the make_matrix_config function as
# shown below.  Just customize 'rows' and 'cols' for your project.
matrix_hardware, matrix_strobe, matrix_sense = make_matrix_config(
    strobe_cols=strobe_cols,
    strobe_low=strobe_low,
    rows=[B5, B4, B3, B2, B1, B0],
    cols=[D5, C7, C6, D4, D0, E6, F0, F1, F4, F5, F6, F7, D7, D6, D1, D2, D3],
    device=firmware.device
)

# The total number of LED outputs (indicators + backlights)
num_leds = 2
# The number of LED indicators (for example, caps lock)
num_ind = 2
# The number of backlight enable modes.  This counts the number of
# options available for the BL_ENABLE key.  Boards without backlights
# should use the minimum value of 2.
num_bl_enab = 2

# Define the default assignments of the indicator LEDs.  The length
# of this list must equal num_ind.  For each LED, the first string
Example #17
0
teensy = False
hw_boot_key = True

display_height = int(5 * 4)
display_width = int(15 * 4)

num_rows = 5
num_cols = 15

strobe_cols = False
strobe_low = True

matrix_hardware, matrix_strobe, matrix_sense = make_matrix_config(
    strobe_cols=strobe_cols,
    strobe_low=strobe_low,
    rows=[B7, B3, B2, B1, B0],
    cols=[D0, D1, D2, D3, D5, D4, D6, D7, B4, B5, B6, C6, C7, E6, F1],
    device=firmware.device)

num_leds = 1
num_ind = 1
num_bl_enab = 2

led_definition = [('Caps Key', 'Caps Lock')]

led_hardware = [
    #       Port    Pin    Direction
    (REF_PORTB, 2, LED_DRIVER_PULLDOWN)
]

backlighting = False
Example #18
0
# strobe_low tells the firmware if a row/column should be activated
# by pulling the pin high or low.  Hand-wired boards will almost always
# use strobe_low = True
strobe_low = True

# The matrix_hardware, matrix_strobe, matrix_sense parameters tell
# the firmware how to initialize the ports, what pins must be set
# for each row/column, and what order to strobe/sense.  These are
# complicated and are explained fully elsewhere.  It is easiest to
# configure the matrix by using the make_matrix_config function as
# shown below.  Just customize 'rows' and 'cols' for your project.
matrix_hardware, matrix_strobe, matrix_sense = make_matrix_config(
    strobe_cols=strobe_cols,
    strobe_low=strobe_low,
    rows=[B3, F5, D2, B5],
    #     R0  R1  R2  R3
    #cols=[F7, F5, F4, B5, B6, F6, D5, C7, C6, D3, B2, B7],
    cols=[B2, B7, B1, D0, B0, D1, B6, F0, F7, F1, F6, F4],
    #     C0  C1  C2  C3  C4  C5  C6  C7  C8  C9  C10 C11
    device=firmware.device
)

# The total number of LED outputs (indicators + backlights)
num_leds = 1
# The number of LED indicators (for example, caps lock)
num_ind = 1
# The number of backlight enable modes.  This counts the number of
# options available for the BL_ENABLE key.  Boards without backlights
# should use the minimum value of 2.
num_bl_enab = 2

# Define the default assignments of the indicator LEDs.  The length
Example #19
0
unique_id = "MONARCH_001"
cfg_name = "monarch"

teensy = False
hw_boot_key = False

num_rows = 5
num_cols = 18

strobe_cols = False
strobe_low = True

matrix_hardware, matrix_strobe, matrix_sense = make_matrix_config(
    strobe_cols=strobe_cols,
    strobe_low=strobe_low,
    rows=[E6, F5, F6, F7, C7],
    cols=[
        F4, F1, F0, B0, B1, B2, B3, B7, D0, D1, D2, D3, D5, D4, D6, D7, B4, B5
    ],
    device=firmware.device)

num_leds = 2
num_ind = 2
num_bl_enab = 2

led_definition = [('Caps Key', 'Caps Lock'), ('Num Key', 'Num Lock')]

led_hardware = [
    #       Port    Pin    Direction
    (REF_PORTB, 6, LED_DRIVER_PULLUP),
    (REF_PORTC, 6, LED_DRIVER_PULLUP)
]
Example #20
0
description = "JD45 (Teensy version)"
unique_id = "JD45_001"
cfg_name = "jd45"

teensy = True
hw_boot_key = False

num_rows = 4
num_cols = 12

strobe_cols = True
strobe_low = True

matrix_hardware, matrix_strobe, matrix_sense = make_matrix_config(
    strobe_cols=strobe_cols,
    strobe_low=strobe_low,
    rows=[F0, F1, F4, F5],
    cols=[B3, B7, D0, D1, D2, D3, C6, C7, B5, B4, D6, B6],
    device=firmware.device)

num_leds = 1
num_ind = 1
num_bl_enab = 2

led_definition = [('LED1', 'Backlight')]

led_hardware = [
    #       Port    Pin    Direction
    (REF_PORTD, 7, LED_DRIVER_PULLUP)
]

backlighting = False
Example #21
0
teensy = False
hw_boot_key = True

display_height = int(4 * 4)
display_width = int(13 * 4)

num_rows = 4
num_cols = 13

strobe_cols = False
strobe_low = True

matrix_hardware, matrix_strobe, matrix_sense = make_matrix_config(
    strobe_cols=strobe_cols,
    strobe_low=strobe_low,
    rows=[F0, F1, F5, B4],
    cols=[F4, D7, B5, B6, C6, C7, D4, D6, D5, D0, D1, D2, B0],
    device=firmware.device)

num_leds = 2
num_ind = 1
num_bl_enab = 2

led_definition = [('Underside', 'Backlight')]

led_hardware = [
    #       Port    Pin    Direction
    (REF_PORTE, 6, LED_DRIVER_PULLUP),
    (REF_PORTB, 7, LED_DRIVER_PULLUP)
]
Example #22
0
# True.
strobe_cols = False
# strobe_low tells the firmware if a row/column should be activated
# by pulling the pin high or low.  Hand-wired boards will almost always
# use strobe_low = True
strobe_low = True

# The matrix_hardware, matrix_strobe, matrix_sense parameters tell
# the firmware how to initialize the ports, what pins must be set
# for each row/column, and what order to strobe/sense.  These are
# complicated and are explained fully elsewhere.  It is easiest to
# configure the matrix by using the make_matrix_config function as
# shown below.  Just customize 'rows' and 'cols' for your project.
matrix_hardware, matrix_strobe, matrix_sense = make_matrix_config(
    strobe_cols=strobe_cols,
    strobe_low=strobe_low,
    rows=[B0, B1, B2, B3],
    cols=[D4, D6, D7, B4, B5, B6, F7, F6, F5, F4, F1, F0],
    device=firmware.device)

# The total number of LED outputs (indicators + backlights)
num_leds = 0
# The number of LED indicators (for example, caps lock)
num_ind = 0
# The number of backlight enable modes.  This counts the number of
# options available for the BL_ENABLE key.  Boards without backlights
# should use the minimum value of 2.
num_bl_enab = 2

# Define the default assignments of the indicator LEDs.  The length
# of this list must equal num_ind.  For each LED, the first string
# is the description of the key shown in the GUI.  The second string
Example #23
0
teensy = False
hw_boot_key = False

display_height = int(5*4)
display_width = int(15*4)

num_rows = 5
num_cols = 14

strobe_cols = False
strobe_low = True

matrix_hardware, matrix_strobe, matrix_sense = make_matrix_config(
    strobe_cols=strobe_cols,
    strobe_low=strobe_low,
    rows=[D0, D1, D2, D3, D5],
    cols=[F0, F1, E6, C7, C6, B7, D4, B1, B0, B5, B4, D7, D6, B3],
    device=firmware.device
)

num_leds = 2
num_ind = 1
num_bl_enab = 2

led_definition = [
    ('Caps Key', 'Caps Lock')
]

led_hardware = [
#       Port    Pin    Direction
    ( REF_PORTB, 2, LED_DRIVER_PULLDOWN ),
strobe_cols = True
# strobe_low tells the firmware if a row/column should be activated
# by pulling the pin high or low.  Hand-wired boards will almost always
# use strobe_low = True
strobe_low = True

# The matrix_hardware, matrix_strobe, matrix_sense parameters tell
# the firmware how to initialize the ports, what pins must be set
# for each row/column, and what order to strobe/sense.  These are
# complicated and are explained fully elsewhere.  It is easiest to
# configure the matrix by using the make_matrix_config function as
# shown below.  Just customize 'rows' and 'cols' for your project.
matrix_hardware, matrix_strobe, matrix_sense = make_matrix_config(
    strobe_cols=strobe_cols,
    strobe_low=strobe_low,
    rows=[B0, B1, B2, B3],
    cols=[C7, C6, D3, D2, D1, D0, F1, D7, B4, B5, F4, F7, F6, F5],
    device=firmware.device
)

# The total number of LED outputs (indicators + backlights)
num_leds = 1
# The number of LED indicators (for example, caps lock)
num_ind = 1
# The number of backlight enable modes.  This counts the number of
# options available for the BL_ENABLE key.  Boards without backlights
# should use the minimum value of 2.
num_bl_enab = 2

# Define the default assignments of the indicator LEDs.  The length
# of this list must equal num_ind.  For each LED, the first string