diff options
author | Ryan <fauxpark@gmail.com> | 2020-03-03 10:56:46 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-02 23:56:46 +0000 |
commit | bff56aa46c7c89d0e5363e3bbcae78341c069c14 (patch) | |
tree | c74aeb864160ed252760f826380ab3baca085d96 /keyboards | |
parent | ce30cd2a010b7cad383b34432cc28d808a45266d (diff) | |
download | qmk_firmware-bff56aa46c7c89d0e5363e3bbcae78341c069c14.tar.gz qmk_firmware-bff56aa46c7c89d0e5363e3bbcae78341c069c14.zip |
Remove "ugly hack in usb_main.c" comments (#8296)
Diffstat (limited to 'keyboards')
-rw-r--r-- | keyboards/at_at/660m/config.h | 2 | ||||
-rw-r--r-- | keyboards/cannonkeys/an_c/config.h | 2 | ||||
-rw-r--r-- | keyboards/cannonkeys/chimera65/config.h | 2 | ||||
-rw-r--r-- | keyboards/cannonkeys/instant60/config.h | 2 | ||||
-rw-r--r-- | keyboards/cannonkeys/iron165/config.h | 2 | ||||
-rw-r--r-- | keyboards/cannonkeys/ortho48/config.h | 2 | ||||
-rw-r--r-- | keyboards/cannonkeys/ortho60/config.h | 2 | ||||
-rw-r--r-- | keyboards/cannonkeys/ortho75/config.h | 2 | ||||
-rw-r--r-- | keyboards/cannonkeys/practice60/config.h | 2 | ||||
-rw-r--r-- | keyboards/cannonkeys/practice65/config.h | 2 | ||||
-rw-r--r-- | keyboards/cannonkeys/satisfaction75/config.h | 2 | ||||
-rw-r--r-- | keyboards/cannonkeys/savage65/config.h | 2 | ||||
-rw-r--r-- | keyboards/cannonkeys/tmov2/config.h | 2 | ||||
-rw-r--r-- | keyboards/handwired/bluepill/bluepill70/config.h | 6 | ||||
-rw-r--r-- | keyboards/handwired/ck4x4/config.h | 2 | ||||
-rwxr-xr-x | keyboards/hid_liber/config.h | 2 | ||||
-rw-r--r-- | keyboards/jm60/config.h | 2 | ||||
-rw-r--r-- | keyboards/k_type/config.h | 2 | ||||
-rw-r--r-- | keyboards/projectkb/alice/config.h | 2 | ||||
-rw-r--r-- | keyboards/wete/config.h | 2 | ||||
-rw-r--r-- | keyboards/xiaomi/mk02/config.h | 2 |
21 files changed, 1 insertions, 45 deletions
diff --git a/keyboards/at_at/660m/config.h b/keyboards/at_at/660m/config.h index f9b19c0181..93b58b30af 100644 --- a/keyboards/at_at/660m/config.h +++ b/keyboards/at_at/660m/config.h @@ -21,8 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define VENDOR_ID 0xA22A #define PRODUCT_ID 0x6600 #define DEVICE_VER 0x0001 -/* in python2: list(u"whatever".encode('utf-16-le')) */ -/* at most 32 characters or the ugly hack in usb_main.c borks */ #define MANUFACTURER AT-AT #define PRODUCT 660M #define DESCRIPTION 660M Keyboard diff --git a/keyboards/cannonkeys/an_c/config.h b/keyboards/cannonkeys/an_c/config.h index 6390e07897..7f8d7e8ff6 100644 --- a/keyboards/cannonkeys/an_c/config.h +++ b/keyboards/cannonkeys/an_c/config.h @@ -21,8 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define VENDOR_ID 0xCA04 #define PRODUCT_ID 0xA00C #define DEVICE_VER 0x0001 -/* in python2: list(u"whatever".encode('utf-16-le')) */ -/* at most 32 characters or the ugly hack in usb_main.c borks */ #define MANUFACTURER CannonKeys #define PRODUCT AN-C #define DESCRIPTION AN-C Keyboard diff --git a/keyboards/cannonkeys/chimera65/config.h b/keyboards/cannonkeys/chimera65/config.h index c76fd6c1c5..663d9cca9a 100644 --- a/keyboards/cannonkeys/chimera65/config.h +++ b/keyboards/cannonkeys/chimera65/config.h @@ -21,8 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define VENDOR_ID 0xCA04 #define PRODUCT_ID 0xC024 #define DEVICE_VER 0x0001 -/* in python2: list(u"whatever".encode('utf-16-le')) */ -/* at most 32 characters or the ugly hack in usb_main.c borks */ #define MANUFACTURER CannonKeys #define PRODUCT Chimera65 #define DESCRIPTION Chimera65 Keyboard diff --git a/keyboards/cannonkeys/instant60/config.h b/keyboards/cannonkeys/instant60/config.h index 4fa76cb883..6f8f6bd011 100644 --- a/keyboards/cannonkeys/instant60/config.h +++ b/keyboards/cannonkeys/instant60/config.h @@ -21,8 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define VENDOR_ID 0xCA04 #define PRODUCT_ID 0x1600 #define DEVICE_VER 0x0001 -/* in python2: list(u"whatever".encode('utf-16-le')) */ -/* at most 32 characters or the ugly hack in usb_main.c borks */ #define MANUFACTURER CannonKeys #define PRODUCT Instant60 #define DESCRIPTION Instant 60 Keyboard diff --git a/keyboards/cannonkeys/iron165/config.h b/keyboards/cannonkeys/iron165/config.h index 6350514d75..c8be89da95 100644 --- a/keyboards/cannonkeys/iron165/config.h +++ b/keyboards/cannonkeys/iron165/config.h @@ -21,8 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define VENDOR_ID 0x5A12 #define PRODUCT_ID 0x5165 #define DEVICE_VER 0x0001 -/* in python2: list(u"whatever".encode('utf-16-le')) */ -/* at most 32 characters or the ugly hack in usb_main.c borks */ #define MANUFACTURER SmithAndRune #define PRODUCT Iron165 #define DESCRIPTION Iron165 Keyboard diff --git a/keyboards/cannonkeys/ortho48/config.h b/keyboards/cannonkeys/ortho48/config.h index 497e08bcf5..094be01388 100644 --- a/keyboards/cannonkeys/ortho48/config.h +++ b/keyboards/cannonkeys/ortho48/config.h @@ -21,8 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define VENDOR_ID 0xCA04 #define PRODUCT_ID 0x0248 #define DEVICE_VER 0x0001 -/* in python2: list(u"whatever".encode('utf-16-le')) */ -/* at most 32 characters or the ugly hack in usb_main.c borks */ #define MANUFACTURER QMK #define PRODUCT Ortho48 #define DESCRIPTION Ortho48 diff --git a/keyboards/cannonkeys/ortho60/config.h b/keyboards/cannonkeys/ortho60/config.h index 9b85952d78..412f0df493 100644 --- a/keyboards/cannonkeys/ortho60/config.h +++ b/keyboards/cannonkeys/ortho60/config.h @@ -21,8 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define VENDOR_ID 0xFEED #define PRODUCT_ID 0x6464 #define DEVICE_VER 0x0001 -/* in python2: list(u"whatever".encode('utf-16-le')) */ -/* at most 32 characters or the ugly hack in usb_main.c borks */ #define MANUFACTURER QMK #define PRODUCT Ortho60 #define DESCRIPTION Ortho60 diff --git a/keyboards/cannonkeys/ortho75/config.h b/keyboards/cannonkeys/ortho75/config.h index 588e2b9215..95bb014520 100644 --- a/keyboards/cannonkeys/ortho75/config.h +++ b/keyboards/cannonkeys/ortho75/config.h @@ -21,8 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define VENDOR_ID 0xFEED #define PRODUCT_ID 0x6464 #define DEVICE_VER 0x0001 -/* in python2: list(u"whatever".encode('utf-16-le')) */ -/* at most 32 characters or the ugly hack in usb_main.c borks */ #define MANUFACTURER CannonKeys #define PRODUCT Ortho75 #define DESCRIPTION Ortho75 diff --git a/keyboards/cannonkeys/practice60/config.h b/keyboards/cannonkeys/practice60/config.h index c015bb7465..af23eff322 100644 --- a/keyboards/cannonkeys/practice60/config.h +++ b/keyboards/cannonkeys/practice60/config.h @@ -21,8 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define VENDOR_ID 0xFEED #define PRODUCT_ID 0x6464 #define DEVICE_VER 0x0001 -/* in python2: list(u"whatever".encode('utf-16-le')) */ -/* at most 32 characters or the ugly hack in usb_main.c borks */ #define MANUFACTURER QMK #define PRODUCT Practice 60 #define DESCRIPTION Practice 60 diff --git a/keyboards/cannonkeys/practice65/config.h b/keyboards/cannonkeys/practice65/config.h index d09b521bfa..7ebac8d8e1 100644 --- a/keyboards/cannonkeys/practice65/config.h +++ b/keyboards/cannonkeys/practice65/config.h @@ -21,8 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define VENDOR_ID 0xCA04 #define PRODUCT_ID 0x6565 #define DEVICE_VER 0x0001 -/* in python2: list(u"whatever".encode('utf-16-le')) */ -/* at most 32 characters or the ugly hack in usb_main.c borks */ #define MANUFACTURER CannonKeys #define PRODUCT Practice 65 #define DESCRIPTION Practice 65 diff --git a/keyboards/cannonkeys/satisfaction75/config.h b/keyboards/cannonkeys/satisfaction75/config.h index 3639a3eaa2..ff31e37c4b 100644 --- a/keyboards/cannonkeys/satisfaction75/config.h +++ b/keyboards/cannonkeys/satisfaction75/config.h @@ -21,8 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define VENDOR_ID 0xCA04 #define PRODUCT_ID 0x57F5 #define DEVICE_VER 0x0001 -/* in python2: list(u"whatever".encode('utf-16-le')) */ -/* at most 32 characters or the ugly hack in usb_main.c borks */ #define MANUFACTURER CannonKeys #define PRODUCT Satisfaction75 #define DESCRIPTION Satisfaction 75 Keyboard diff --git a/keyboards/cannonkeys/savage65/config.h b/keyboards/cannonkeys/savage65/config.h index 98ec1067a8..0839c0111e 100644 --- a/keyboards/cannonkeys/savage65/config.h +++ b/keyboards/cannonkeys/savage65/config.h @@ -21,8 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define VENDOR_ID 0xCA04 #define PRODUCT_ID 0x5A65 #define DEVICE_VER 0x0001 -/* in python2: list(u"whatever".encode('utf-16-le')) */ -/* at most 32 characters or the ugly hack in usb_main.c borks */ #define MANUFACTURER CannonKeys #define PRODUCT Savage65 #define DESCRIPTION Savage65 Keyboard diff --git a/keyboards/cannonkeys/tmov2/config.h b/keyboards/cannonkeys/tmov2/config.h index e6d2afbbf5..d8d95ae552 100644 --- a/keyboards/cannonkeys/tmov2/config.h +++ b/keyboards/cannonkeys/tmov2/config.h @@ -21,8 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define VENDOR_ID 0xCA04 #define PRODUCT_ID 0x70F2 #define DEVICE_VER 0x0001 -/* in python2: list(u"whatever".encode('utf-16-le')) */ -/* at most 32 characters or the ugly hack in usb_main.c borks */ #define MANUFACTURER CannonKeys #define PRODUCT TMOv2 #define DESCRIPTION TMOv2 Keyboard diff --git a/keyboards/handwired/bluepill/bluepill70/config.h b/keyboards/handwired/bluepill/bluepill70/config.h index 87fd74633f..ae00a470aa 100644 --- a/keyboards/handwired/bluepill/bluepill70/config.h +++ b/keyboards/handwired/bluepill/bluepill70/config.h @@ -4,14 +4,10 @@ #define VENDOR_ID 0xFEED #define PRODUCT_ID 0x6464 #define DEVICE_VER 0x0001 -/* in python2: list(u"whatever".encode('utf-16-le')) */ -/* at most 32 characters or the ugly hack in usb_main.c works */ // Modified by Xydane #define MANUFACTURER "QMK" -#define USBSTR_MANUFACTURER 'T', '\x00', 'M', '\x00', 'K', '\x00', ' ', '\x00', '\xc6', '\x00' #define PRODUCT "BluePill70" -#define USBSTR_PRODUCT 'C', '\x00', 'h', '\x00', 'i', '\x00', 'b', '\x00', 'i', '\x00', 'O', '\x00', 'S', '\x00', ' ', '\x00', 'Q', '\x00', 'M', '\x00', 'K', '\x00' #define DESCRIPTION "QMK keyboard firmware with ChibiOS" /* key matrix size */ @@ -22,4 +18,4 @@ // Iso fix for Space Cadet, comment for ANSI layouts #define LSPO_KEY KC_8 -#define RSPC_KEY KC_9
\ No newline at end of file +#define RSPC_KEY KC_9 diff --git a/keyboards/handwired/ck4x4/config.h b/keyboards/handwired/ck4x4/config.h index 4ee5e8f4a8..3f353affb8 100644 --- a/keyboards/handwired/ck4x4/config.h +++ b/keyboards/handwired/ck4x4/config.h @@ -21,8 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define VENDOR_ID 0xFEED #define PRODUCT_ID 0x6464 #define DEVICE_VER 0x0001 -/* in python2: list(u"whatever".encode('utf-16-le')) */ -/* at most 32 characters or the ugly hack in usb_main.c borks */ #define MANUFACTURER QMK #define PRODUCT CK4x4 #define DESCRIPTION Cannon Keys 4x4 MacroPad diff --git a/keyboards/hid_liber/config.h b/keyboards/hid_liber/config.h index c21307e1a2..a94daff294 100755 --- a/keyboards/hid_liber/config.h +++ b/keyboards/hid_liber/config.h @@ -25,9 +25,7 @@ #define PRODUCT_ID 0xB919 #define DEVICE_VER 0x0001 #define MANUFACTURER "bpiphany" -#define USBSTR_MANUFACTURER 'b', '\x00', 'p', '\x00', 'i', '\x00', 'p', '\x00', 'h', '\x00', 'a', '\x00', 'n', '\x00', 'y', '\x00' #define PRODUCT "HIDLiberation" -#define USBSTR_PRODUCT 'H', '\x00', 'I', '\x00', 'D', '\x00', ' ', '\x00', 'L', '\x00', 'i', '\x00', 'b', '\x00', 'e', '\x00', 'r', '\x00', 'a', '\x00', 't', '\x00', 'i', '\x00', 'o', '\x00', 'n', '\x00' #define DESCRIPTION "HID Liberation powered by QMK" /* key matrix size */ diff --git a/keyboards/jm60/config.h b/keyboards/jm60/config.h index 0d2d0730e7..f490037f6e 100644 --- a/keyboards/jm60/config.h +++ b/keyboards/jm60/config.h @@ -22,8 +22,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define VENDOR_ID 0xFEED #define PRODUCT_ID 0x6464 #define DEVICE_VER 0x0001 -/* in python2: list(u"whatever".encode('utf-16-le')) */ -/* at most 32 characters or the ugly hack in usb_main.c borks */ #define MANUFACTURER JMWS #define PRODUCT JM60 RGB Keyboard(QMK) #define DESCRIPTION QMK keyboard firmware for JM60 RGB Keyboard diff --git a/keyboards/k_type/config.h b/keyboards/k_type/config.h index a841a57107..86b08769d1 100644 --- a/keyboards/k_type/config.h +++ b/keyboards/k_type/config.h @@ -22,8 +22,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define VENDOR_ID 0x1c11 #define PRODUCT_ID 0xb04d #define DEVICE_VER 0x0001 -/* in python2: list(u"whatever".encode('utf-16-le')) */ -/* at most 32 characters or the ugly hack in usb_main.c borks */ #define MANUFACTURER Input Club #define PRODUCT K-Type/QMK /* key matrix size */ diff --git a/keyboards/projectkb/alice/config.h b/keyboards/projectkb/alice/config.h index 94c1fd16d6..ed54af2394 100644 --- a/keyboards/projectkb/alice/config.h +++ b/keyboards/projectkb/alice/config.h @@ -21,8 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define VENDOR_ID 0x0159 #define PRODUCT_ID 0xA71C #define DEVICE_VER 0x0001 -/* in python2: list(u"whatever".encode('utf-16-le')) */ -/* at most 32 characters or the ugly hack in usb_main.c borks */ #define MANUFACTURER ProjectKB #define PRODUCT Alice #define DESCRIPTION ProjectKB Alice diff --git a/keyboards/wete/config.h b/keyboards/wete/config.h index c8d66b7a6e..2440d147f5 100644 --- a/keyboards/wete/config.h +++ b/keyboards/wete/config.h @@ -21,8 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define VENDOR_ID 0xB16B #define PRODUCT_ID 0x00B5 #define DEVICE_VER 0x0012 -/* in python2: list(u"whatever".encode('utf-16-le')) */ -/* at most 32 characters or the ugly hack in usb_main.c borks */ #define MANUFACTURER Ramon Imbao #define PRODUCT Wete #define DESCRIPTION Southpaw Full-sized Keyboard diff --git a/keyboards/xiaomi/mk02/config.h b/keyboards/xiaomi/mk02/config.h index 14ce3875b1..785f44097f 100644 --- a/keyboards/xiaomi/mk02/config.h +++ b/keyboards/xiaomi/mk02/config.h @@ -21,8 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define VENDOR_ID 0xFEED #define PRODUCT_ID 0x0B91 #define DEVICE_VER 0x0001 -/* in python2: list(u"whatever".encode('utf-16-le')) */ -/* at most 32 characters or the ugly hack in usb_main.c borks */ #define MANUFACTURER Xiaomi #define PRODUCT MK02 #define DESCRIPTION Yuemi Pro MK02 |