In some github projects I have seen that for HID keyboard report it is used a python structure like the following:
self.state = [ 0xA1