1
0
Fork 0

Remove "ugly hack in usb_main.c" comments (#8296)

This commit is contained in:
Ryan 2020-03-03 10:56:46 +11:00 committed by GitHub
parent ce30cd2a01
commit bff56aa46c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
21 changed files with 1 additions and 45 deletions

View file

@ -21,8 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define VENDOR_ID 0xA22A #define VENDOR_ID 0xA22A
#define PRODUCT_ID 0x6600 #define PRODUCT_ID 0x6600
#define DEVICE_VER 0x0001 #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 MANUFACTURER AT-AT
#define PRODUCT 660M #define PRODUCT 660M
#define DESCRIPTION 660M Keyboard #define DESCRIPTION 660M Keyboard

View file

@ -21,8 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define VENDOR_ID 0xCA04 #define VENDOR_ID 0xCA04
#define PRODUCT_ID 0xA00C #define PRODUCT_ID 0xA00C
#define DEVICE_VER 0x0001 #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 MANUFACTURER CannonKeys
#define PRODUCT AN-C #define PRODUCT AN-C
#define DESCRIPTION AN-C Keyboard #define DESCRIPTION AN-C Keyboard

View file

@ -21,8 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define VENDOR_ID 0xCA04 #define VENDOR_ID 0xCA04
#define PRODUCT_ID 0xC024 #define PRODUCT_ID 0xC024
#define DEVICE_VER 0x0001 #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 MANUFACTURER CannonKeys
#define PRODUCT Chimera65 #define PRODUCT Chimera65
#define DESCRIPTION Chimera65 Keyboard #define DESCRIPTION Chimera65 Keyboard

View file

@ -21,8 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define VENDOR_ID 0xCA04 #define VENDOR_ID 0xCA04
#define PRODUCT_ID 0x1600 #define PRODUCT_ID 0x1600
#define DEVICE_VER 0x0001 #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 MANUFACTURER CannonKeys
#define PRODUCT Instant60 #define PRODUCT Instant60
#define DESCRIPTION Instant 60 Keyboard #define DESCRIPTION Instant 60 Keyboard

View file

@ -21,8 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define VENDOR_ID 0x5A12 #define VENDOR_ID 0x5A12
#define PRODUCT_ID 0x5165 #define PRODUCT_ID 0x5165
#define DEVICE_VER 0x0001 #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 MANUFACTURER SmithAndRune
#define PRODUCT Iron165 #define PRODUCT Iron165
#define DESCRIPTION Iron165 Keyboard #define DESCRIPTION Iron165 Keyboard

View file

@ -21,8 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define VENDOR_ID 0xCA04 #define VENDOR_ID 0xCA04
#define PRODUCT_ID 0x0248 #define PRODUCT_ID 0x0248
#define DEVICE_VER 0x0001 #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 MANUFACTURER QMK
#define PRODUCT Ortho48 #define PRODUCT Ortho48
#define DESCRIPTION Ortho48 #define DESCRIPTION Ortho48

View file

@ -21,8 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define VENDOR_ID 0xFEED #define VENDOR_ID 0xFEED
#define PRODUCT_ID 0x6464 #define PRODUCT_ID 0x6464
#define DEVICE_VER 0x0001 #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 MANUFACTURER QMK
#define PRODUCT Ortho60 #define PRODUCT Ortho60
#define DESCRIPTION Ortho60 #define DESCRIPTION Ortho60

View file

@ -21,8 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define VENDOR_ID 0xFEED #define VENDOR_ID 0xFEED
#define PRODUCT_ID 0x6464 #define PRODUCT_ID 0x6464
#define DEVICE_VER 0x0001 #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 MANUFACTURER CannonKeys
#define PRODUCT Ortho75 #define PRODUCT Ortho75
#define DESCRIPTION Ortho75 #define DESCRIPTION Ortho75

View file

@ -21,8 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define VENDOR_ID 0xFEED #define VENDOR_ID 0xFEED
#define PRODUCT_ID 0x6464 #define PRODUCT_ID 0x6464
#define DEVICE_VER 0x0001 #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 MANUFACTURER QMK
#define PRODUCT Practice 60 #define PRODUCT Practice 60
#define DESCRIPTION Practice 60 #define DESCRIPTION Practice 60

View file

@ -21,8 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define VENDOR_ID 0xCA04 #define VENDOR_ID 0xCA04
#define PRODUCT_ID 0x6565 #define PRODUCT_ID 0x6565
#define DEVICE_VER 0x0001 #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 MANUFACTURER CannonKeys
#define PRODUCT Practice 65 #define PRODUCT Practice 65
#define DESCRIPTION Practice 65 #define DESCRIPTION Practice 65

View file

@ -21,8 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define VENDOR_ID 0xCA04 #define VENDOR_ID 0xCA04
#define PRODUCT_ID 0x57F5 #define PRODUCT_ID 0x57F5
#define DEVICE_VER 0x0001 #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 MANUFACTURER CannonKeys
#define PRODUCT Satisfaction75 #define PRODUCT Satisfaction75
#define DESCRIPTION Satisfaction 75 Keyboard #define DESCRIPTION Satisfaction 75 Keyboard

View file

@ -21,8 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define VENDOR_ID 0xCA04 #define VENDOR_ID 0xCA04
#define PRODUCT_ID 0x5A65 #define PRODUCT_ID 0x5A65
#define DEVICE_VER 0x0001 #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 MANUFACTURER CannonKeys
#define PRODUCT Savage65 #define PRODUCT Savage65
#define DESCRIPTION Savage65 Keyboard #define DESCRIPTION Savage65 Keyboard

View file

@ -21,8 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define VENDOR_ID 0xCA04 #define VENDOR_ID 0xCA04
#define PRODUCT_ID 0x70F2 #define PRODUCT_ID 0x70F2
#define DEVICE_VER 0x0001 #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 MANUFACTURER CannonKeys
#define PRODUCT TMOv2 #define PRODUCT TMOv2
#define DESCRIPTION TMOv2 Keyboard #define DESCRIPTION TMOv2 Keyboard

View file

@ -4,14 +4,10 @@
#define VENDOR_ID 0xFEED #define VENDOR_ID 0xFEED
#define PRODUCT_ID 0x6464 #define PRODUCT_ID 0x6464
#define DEVICE_VER 0x0001 #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 // Modified by Xydane
#define MANUFACTURER "QMK" #define MANUFACTURER "QMK"
#define USBSTR_MANUFACTURER 'T', '\x00', 'M', '\x00', 'K', '\x00', ' ', '\x00', '\xc6', '\x00'
#define PRODUCT "BluePill70" #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" #define DESCRIPTION "QMK keyboard firmware with ChibiOS"
/* key matrix size */ /* key matrix size */
@ -22,4 +18,4 @@
// Iso fix for Space Cadet, comment for ANSI layouts // Iso fix for Space Cadet, comment for ANSI layouts
#define LSPO_KEY KC_8 #define LSPO_KEY KC_8
#define RSPC_KEY KC_9 #define RSPC_KEY KC_9

View file

@ -21,8 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define VENDOR_ID 0xFEED #define VENDOR_ID 0xFEED
#define PRODUCT_ID 0x6464 #define PRODUCT_ID 0x6464
#define DEVICE_VER 0x0001 #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 MANUFACTURER QMK
#define PRODUCT CK4x4 #define PRODUCT CK4x4
#define DESCRIPTION Cannon Keys 4x4 MacroPad #define DESCRIPTION Cannon Keys 4x4 MacroPad

View file

@ -25,9 +25,7 @@
#define PRODUCT_ID 0xB919 #define PRODUCT_ID 0xB919
#define DEVICE_VER 0x0001 #define DEVICE_VER 0x0001
#define MANUFACTURER "bpiphany" #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 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" #define DESCRIPTION "HID Liberation powered by QMK"
/* key matrix size */ /* key matrix size */

View file

@ -22,8 +22,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define VENDOR_ID 0xFEED #define VENDOR_ID 0xFEED
#define PRODUCT_ID 0x6464 #define PRODUCT_ID 0x6464
#define DEVICE_VER 0x0001 #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 MANUFACTURER JMWS
#define PRODUCT JM60 RGB Keyboard(QMK) #define PRODUCT JM60 RGB Keyboard(QMK)
#define DESCRIPTION QMK keyboard firmware for JM60 RGB Keyboard #define DESCRIPTION QMK keyboard firmware for JM60 RGB Keyboard

View file

@ -22,8 +22,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define VENDOR_ID 0x1c11 #define VENDOR_ID 0x1c11
#define PRODUCT_ID 0xb04d #define PRODUCT_ID 0xb04d
#define DEVICE_VER 0x0001 #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 MANUFACTURER Input Club
#define PRODUCT K-Type/QMK #define PRODUCT K-Type/QMK
/* key matrix size */ /* key matrix size */

View file

@ -21,8 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define VENDOR_ID 0x0159 #define VENDOR_ID 0x0159
#define PRODUCT_ID 0xA71C #define PRODUCT_ID 0xA71C
#define DEVICE_VER 0x0001 #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 MANUFACTURER ProjectKB
#define PRODUCT Alice #define PRODUCT Alice
#define DESCRIPTION ProjectKB Alice #define DESCRIPTION ProjectKB Alice

View file

@ -21,8 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define VENDOR_ID 0xB16B #define VENDOR_ID 0xB16B
#define PRODUCT_ID 0x00B5 #define PRODUCT_ID 0x00B5
#define DEVICE_VER 0x0012 #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 MANUFACTURER Ramon Imbao
#define PRODUCT Wete #define PRODUCT Wete
#define DESCRIPTION Southpaw Full-sized Keyboard #define DESCRIPTION Southpaw Full-sized Keyboard

View file

@ -21,8 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define VENDOR_ID 0xFEED #define VENDOR_ID 0xFEED
#define PRODUCT_ID 0x0B91 #define PRODUCT_ID 0x0B91
#define DEVICE_VER 0x0001 #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 MANUFACTURER Xiaomi
#define PRODUCT MK02 #define PRODUCT MK02
#define DESCRIPTION Yuemi Pro MK02 #define DESCRIPTION Yuemi Pro MK02