We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The wrong variable appears to have been used in the repr() function. The following patch fixes this.
--- pywinusb/pywinusb-0.3.2/pywinusb/hid/usage_pages.py Sun Mar 02 14:32:49 2014 +++ pywinusb/pywinusb-0.3.2_fixed_usages/pywinusb/hid/usage_pages.py Mon Feb 17 20:40:31 2014 @@ -1075,11 +1075,11 @@ page = self.Usages[self.page_id] if self.usage_id in page: return "%s device, %s usage" % (str(UsagePage(self.page_id)), page[self.usage_id][0]) else: - return "%s device, Unknown usage" % str(UsagePage(page)) + return "%s device, Unknown usage" % str(UsagePage(self.page_id)) return "Unknown Page/usage" if __name__ == '__main__': #simple testing PAGES = [
Once that was fixed this module worked perfectly for me. Thank you!
Chris
The text was updated successfully, but these errors were encountered:
Thanks Chris!
The patch is applied already.
Best regards
Rene
Sorry, something went wrong.
No branches or pull requests
The wrong variable appears to have been used in the repr() function. The following patch fixes this.
Once that was fixed this module worked perfectly for me. Thank you!
Chris
The text was updated successfully, but these errors were encountered: