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