summaryrefslogtreecommitdiffstats
path: root/keyboards/facew/usbconfig.h
diff options
context:
space:
mode:
authorMechMerlin <30334081+mechmerlin@users.noreply.github.com>2019-04-07 16:30:40 +0200
committerDrashna Jaelre <drashna@live.com>2019-04-07 16:30:40 +0200
commit0231caa25aa258a79a7fb73cc57723655055b928 (patch)
tree90624a1942962dcf78a50a5c13bc355c1f43a321 /keyboards/facew/usbconfig.h
parent5c1ef2bddc0fa5d4753d33a5ec8fed5d9da736c8 (diff)
downloadqmk_firmware-0231caa25aa258a79a7fb73cc57723655055b928.tar.gz
qmk_firmware-0231caa25aa258a79a7fb73cc57723655055b928.tar.xz
[Keyboard] Refactor FaceW for new BMC changes (#5575)
* use #pragma once for guards * update readme and fix pyusb install instructions * replace custom i2c code with QMK i2c_master * remove unneeded code from config.h * fix keyboard name * remove custom matrix and i2c driver * turn off bootmagic, turn on leds * remove keymap in favor of userspace/community layouts keymap * remove custom matrix * update readme
Diffstat (limited to 'keyboards/facew/usbconfig.h')
-rw-r--r--keyboards/facew/usbconfig.h13
1 files changed, 5 insertions, 8 deletions
diff --git a/keyboards/facew/usbconfig.h b/keyboards/facew/usbconfig.h
index d2d848fcd..f3d663f8a 100644
--- a/keyboards/facew/usbconfig.h
+++ b/keyboards/facew/usbconfig.h
@@ -8,8 +8,7 @@
* This Revision: $Id: usbconfig-prototype.h 785 2010-05-30 17:57:07Z cs $
*/
-#ifndef __usbconfig_h_included__
-#define __usbconfig_h_included__
+#pragma once
#include "config.h"
@@ -241,8 +240,8 @@ section at the end of this file).
#define USB_CFG_DEVICE_VERSION 0x00, 0x02
/* Version number of the device: Minor number first, then major number.
*/
-#define USB_CFG_VENDOR_NAME 'w', 'i', 'n', 'k', 'e', 'y', 'l', 'e', 's', 's', '.', 'k', 'r'
-#define USB_CFG_VENDOR_NAME_LEN 13
+#define USB_CFG_VENDOR_NAME 'S', 'p', 'r', 'i', 't'
+#define USB_CFG_VENDOR_NAME_LEN 5
/* These two values define the vendor name returned by the USB device. The name
* must be given as a list of characters under single quotes. The characters
* are interpreted as Unicode (UTF-16) entities.
@@ -251,8 +250,8 @@ section at the end of this file).
* obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for
* details.
*/
-#define USB_CFG_DEVICE_NAME 'p', 's', '2', 'a', 'v', 'r', 'G', 'B'
-#define USB_CFG_DEVICE_NAME_LEN 8
+#define USB_CFG_DEVICE_NAME 'F', 'a', 'c', 'e', 'W'
+#define USB_CFG_DEVICE_NAME_LEN 5
/* Same as above for the device name. If you don't want a device name, undefine
* the macros. See the file USB-IDs-for-free.txt before you assign a name if
* you use a shared VID/PID.
@@ -392,5 +391,3 @@ section at the end of this file).
/* #define USB_INTR_PENDING EIFR */
#define USB_INTR_PENDING_BIT INTF1
#define USB_INTR_VECTOR INT1_vect
-
-#endif /* __usbconfig_h_included__ */