From b8091360c8c1f5355f71e3e43ef6e06576658978 Mon Sep 17 00:00:00 2001 From: dekunukem Date: Wed, 27 Apr 2022 13:32:50 +0100 Subject: [PATCH] removed debug printout --- user_program/usb4vc_usb_scan.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/user_program/usb4vc_usb_scan.py b/user_program/usb4vc_usb_scan.py index bf6d242..33759eb 100644 --- a/user_program/usb4vc_usb_scan.py +++ b/user_program/usb4vc_usb_scan.py @@ -293,7 +293,7 @@ def make_15pin_gamepad_spi_packet(gp_status_dict, this_device_info, mapping_info usb_gamepad_type = this_device_info['gamepad_type'] gp_id = this_device_info['id'] this_gp_dict = gp_status_dict[gp_id] - print(this_gp_dict) + # print(this_gp_dict) curr_gp_output = { 'IBM_GGP_BTN_1':set([0]), 'IBM_GGP_BTN_2':set([0]), @@ -460,7 +460,6 @@ def make_15pin_gamepad_spi_packet(gp_status_dict, this_device_info, mapping_info gp_spi_msg[10], gp_spi_msg[11] = apply_curve(gp_spi_msg[10], gp_spi_msg[11]) return gp_spi_msg, kb_spi_msg, mouse_spi_msg - def make_unknown_raw_gamepad_spi_packet(gp_status_dict, this_device_info): gp_id = this_device_info['id'] this_msg = list(raw_usb_unknown_gamepad_event_spi_msg_template)