implemented 0x30 input report

This commit is contained in:
Robert Martin
2020-02-05 16:37:27 +09:00
parent 6f11ee0b22
commit 7d5a4f05fe
8 changed files with 291 additions and 176 deletions
+1 -1
View File
@@ -69,7 +69,7 @@ async def test_controller_buttons(controller_state: ControllerState):
async def main():
transport, protocol = await create_hid_server(controller_protocol_factory(Controller.PRO_CONTROLLER), 17, 19)
await test_controller_buttons(ControllerState(transport, protocol))
await test_controller_buttons(protocol.get_controller_state())
logger.info('Stopping communication...')
await transport.close()