From 9b4e17f3ad800617ba2f6e12bc5d2086678280d5 Mon Sep 17 00:00:00 2001 From: Zach White Date: Sat, 8 May 2021 20:56:07 -0700 Subject: [PATCH] New command: qmk console (#12828) * stash poc * stash * tidy up implementation * Tidy up slightly for review * Tidy up slightly for review * Bodge environment to make tests pass * Refactor away from asyncio due to windows issues * Filter devices * align vid/pid printing * Add hidapi to the installers * start preparing for multiple hid_listeners * udev rules for hid_listen * refactor to move closer to end state * very basic implementation of the threaded model * refactor how vid/pid/index are supplied and parsed * windows improvements * read the report directly when usage page isn't available * add per-device colors, the choice to show names or numbers, and refactor * add timestamps * Add support for showing bootloaders * tweak the color for bootloaders * Align bootloader disconnect with connect color * add support for showing all bootloaders * fix the pyusb check * tweaks * fix exception * hide a stack trace behind -v * add --no-bootloaders option * add documentation for qmk console * Apply suggestions from code review Co-authored-by: Ryan * pyformat * clean up and flesh out KNOWN_BOOTLOADERS Co-authored-by: zvecr Co-authored-by: Ryan --- bin/qmk | 0 requirements-dev.txt | 2 ++ util/install/debian.sh | 0 util/install/fedora.sh | 0 4 files changed, 2 insertions(+) mode change 100755 => 100644 bin/qmk mode change 100755 => 100644 util/install/debian.sh mode change 100755 => 100644 util/install/fedora.sh diff --git a/bin/qmk b/bin/qmk old mode 100755 new mode 100644 diff --git a/requirements-dev.txt b/requirements-dev.txt index 1db3b6d73315..12d570e70c6b 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -4,5 +4,7 @@ # Python development requirements nose2 flake8 +hid pep8-naming +pyusb yapf diff --git a/util/install/debian.sh b/util/install/debian.sh old mode 100755 new mode 100644 diff --git a/util/install/fedora.sh b/util/install/fedora.sh old mode 100755 new mode 100644