def METHOD_NAME(key, modifier):
    if key == pyglet.window.key.Z:
        if scroller.scale == .75:
            scroller.do(actions.ScaleTo(1, 2))
        else:
            scroller.do(actions.ScaleTo(.75, 2))
    elif key == pyglet.window.key.D:
        test_layer.set_debug(True)
    elif key == pyglet.window.key.Q:
        tint_red_hexmap_borders(test_layer)