Skip to content
New issue

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

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

Merged
merged 1 commit into from
Mar 2, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions keyboards/at_at/660m/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions keyboards/cannonkeys/an_c/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions keyboards/cannonkeys/chimera65/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions keyboards/cannonkeys/instant60/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions keyboards/cannonkeys/iron165/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions keyboards/cannonkeys/ortho48/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions keyboards/cannonkeys/ortho60/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions keyboards/cannonkeys/ortho75/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions keyboards/cannonkeys/practice60/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions keyboards/cannonkeys/practice65/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions keyboards/cannonkeys/satisfaction75/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions keyboards/cannonkeys/savage65/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions keyboards/cannonkeys/tmov2/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 1 addition & 5 deletions keyboards/handwired/bluepill/bluepill70/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand All @@ -22,4 +18,4 @@

// Iso fix for Space Cadet, comment for ANSI layouts
#define LSPO_KEY KC_8
#define RSPC_KEY KC_9
#define RSPC_KEY KC_9
2 changes: 0 additions & 2 deletions keyboards/handwired/ck4x4/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions keyboards/hid_liber/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down
2 changes: 0 additions & 2 deletions keyboards/jm60/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions keyboards/k_type/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down
2 changes: 0 additions & 2 deletions keyboards/projectkb/alice/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions keyboards/wete/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions keyboards/xiaomi/mk02/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down