def get_element_usage_name(usage_page, usage):
    if usage_page == 0x09:
        return 'button%d' % usage

    try:
        return element_usage_names[(usage_page, usage)]
    except __HOLE__:
        return '(%x, %x)' % (usage_page, usage)
dataset/ETHPy150Open ardekantur/pyglet/experimental/input/usage.py/get_element_usage_name