Exemple #1
0
def main():
    """
    Doesn't do much....just loads the keyboard config from the ini
    """
    colors = [
        Color.YELLOW, Color.ORANGE, Color.RED, Color.PURPLE, Color.BLUE,
        Color.PURPLE, Color.RED, Color.ORANGE
    ]
    kb = msikeys.get_keyboard()
    colors_len = len(colors)
    while True:
        for i in xrange(colors_len):
            for ii, region in enumerate(kb):
                region.color = colors[(i + ii) % colors_len]
            kb.commit()
            time.sleep(.1)
def main():
    """
    Doesn't do much....just loads the keyboard config from the ini
    """
    colors = [
        Color.YELLOW, Color.ORANGE, Color.RED, Color.PURPLE, Color.BLUE,
        Color.PURPLE, Color.RED, Color.ORANGE
    ]
    kb = msikeys.get_keyboard()
    colors_len = len(colors)
    while True:
        for i in xrange(colors_len):
            for ii, region in enumerate(kb):
                region.color = colors[(i+ii) % colors_len]
            kb.commit()
            time.sleep(.1)
Exemple #3
0
def main():
    app = wx.App()
    KeyboardFrame(msikeys.get_keyboard())
    app.MainLoop()
Exemple #4
0
def main():
    """
    Doesn't do much....just loads the keyboard config from the ini
    """
    msikeys.get_keyboard()
def main():
    """
    Doesn't do much....just loads the keyboard config from the ini
    """
    msikeys.get_keyboard()
Exemple #6
0
def main():
    app = wx.App()
    KeyboardFrame(msikeys.get_keyboard())
    app.MainLoop()