def get_usage_page_id(full_usage_id):
    return (full_usage_id >> 16) & 0xffff
Extract 16 bits page id from full usage id (32 bits)
dataset/ETHPy150Open rene-aguirre/pywinusb/pywinusb/hid/core.py/get_usage_page_id