|
|
@@ -44,7 +44,7 @@ class HIDDescriptor(ComplexDescriptorEmitter): |
|
|
|
"null": null, |
|
|
|
"volatile": volatile, |
|
|
|
}) |
|
|
|
self.add_report(HIDPrefixes.INPUT, ord(item_flags)) |
|
|
|
self.add_report(HIDPrefix.INPUT, ord(item_flags)) |
|
|
|
|
|
|
|
def add_output_item(self, |
|
|
|
data_constant = False, |
|
|
@@ -65,7 +65,7 @@ class HIDDescriptor(ComplexDescriptorEmitter): |
|
|
|
"null": null, |
|
|
|
"volatile": volatile, |
|
|
|
}) |
|
|
|
self.add_report(HIDPrefixes.OUTPUT, ord(item_flags)) |
|
|
|
self.add_report(HIDPrefix.OUTPUT, ord(item_flags)) |
|
|
|
|
|
|
|
def __init__(self, parent_descriptor): |
|
|
|
super().__init__() |
|
|
|