示例#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)
示例#2
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)
示例#3
0
def main():
    app = wx.App()
    KeyboardFrame(msikeys.get_keyboard())
    app.MainLoop()
示例#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()
示例#6
0
def main():
    app = wx.App()
    KeyboardFrame(msikeys.get_keyboard())
    app.MainLoop()