Skip to content

Commit

Permalink
[Keyboard] update VENDOR_ID, PRODUCT_ID, and DEVICE_VER for Duck boar…
Browse files Browse the repository at this point in the history
…ds (qmk#4612)

* change VENDOR_ID, PRODUCT_ID, and DEVICE_VER as step one in getting VIA support

* fix v1 product id

* VIA doesn't use the version, so we need to encode it into PRODUCT_ID
  • Loading branch information
mechmerlin authored and dlafrance committed May 24, 2019
1 parent c78ffe5 commit def9837
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 14 deletions.
6 changes: 3 additions & 3 deletions keyboards/duck/eagle_viper/v2/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "config_common.h"

/* USB Device descriptor parameter */
#define VENDOR_ID 0xFEED
#define PRODUCT_ID 0x6050
#define DEVICE_VER 0x0104
#define VENDOR_ID 0x444B // Duck ("DK")
#define PRODUCT_ID 0x4556 // Eagle/Viper ("EV")
#define DEVICE_VER 0x0002
#define MANUFACTURER Duck
#define PRODUCT Eagle/Viper V2
#define DESCRIPTION 60% Korean custom keyboard
Expand Down
6 changes: 3 additions & 3 deletions keyboards/duck/jetfire/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "config_common.h"

/* USB Device descriptor parameter */
#define VENDOR_ID 0xFEED
#define PRODUCT_ID 0x6050
#define DEVICE_VER 0x0104
#define VENDOR_ID 0x444B // Duck ("DK")
#define PRODUCT_ID 0x4A46 // Jetfire ("JF")
#define DEVICE_VER 0x0001
#define MANUFACTURER Duck
#define PRODUCT Jetfire
#define DESCRIPTION A custom keyboard
Expand Down
4 changes: 2 additions & 2 deletions keyboards/duck/lightsaver/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "config_common.h"

/* USB Device descriptor parameter */
#define VENDOR_ID 0xFEED
#define PRODUCT_ID 0x1337
#define VENDOR_ID 0x444B // Duck ("DK")
#define PRODUCT_ID 0x4C53 // Lightsaver ("LS")
#define DEVICE_VER 0x0003
#define MANUFACTURER Duck
#define PRODUCT Lightsaver V3
Expand Down
6 changes: 3 additions & 3 deletions keyboards/duck/octagon/v1/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "config_common.h"

/* USB Device descriptor parameter */
#define VENDOR_ID 0xFEED
#define PRODUCT_ID 0x6050
#define DEVICE_VER 0x0104
#define VENDOR_ID 0x444B // Duck ("DK")
#define PRODUCT_ID 0x4F31 // Octagon V1 ("O1")
#define DEVICE_VER 0x0001
#define MANUFACTURER Duck
#define PRODUCT Octagon V1
#define DESCRIPTION Duck Octagon V1
Expand Down
6 changes: 3 additions & 3 deletions keyboards/duck/octagon/v2/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "config_common.h"

/* USB Device descriptor parameter */
#define VENDOR_ID 0xFEED
#define PRODUCT_ID 0x6050
#define DEVICE_VER 0x0104
#define VENDOR_ID 0x444B // Duck ("DK")
#define PRODUCT_ID 0x4F32 // Octagon V2 ("O2")
#define DEVICE_VER 0x0002
#define MANUFACTURER Duck
#define PRODUCT Octagon V2
#define DESCRIPTION Duck Octagon V2
Expand Down

0 comments on commit def9837

Please sign in to comment.