summaryrefslogtreecommitdiff
path: root/keyboards/dztech/dz65rgb
diff options
context:
space:
mode:
authormoyi4681 <moyi4681@users.noreply.github.com>2020-03-09 10:16:48 +0800
committerGitHub <noreply@github.com>2020-03-08 19:16:48 -0700
commitd526117896f51e42d94ad0f1180bcd559fca6f3e (patch)
tree864b3f507baaa965d44478f3d38d84c45da589b8 /keyboards/dztech/dz65rgb
parentcf40c33c907c44753bb145b9f2d5107447422fbc (diff)
downloadqmk_firmware-d526117896f51e42d94ad0f1180bcd559fca6f3e.tar.gz
qmk_firmware-d526117896f51e42d94ad0f1180bcd559fca6f3e.zip
add via support for dztech 60 and 65 pcb (#8334)
* add via support for dztech 60 and 65 pcb add via support for dztech 60 and 65 pcb * Update dz60rgb.h * Update dz60rgb.h * Update dz60rgb_ansi.h * Update dz60rgb_wkl.h * Update dz65rgb.h * Update dz60rgb.h * Update dz60rgb_ansi.h * Update dz60rgb_wkl.h * Update dz65rgb.h * Update keyboards/dztech/dz60rgb/dz60rgb.h * Update keyboards/dztech/dz60rgb_wkl/dz60rgb_wkl.h * Update keyboards/dztech/dz65rgb/dz65rgb.h * Update keyboards/dztech/dz60rgb_ansi/dz60rgb_ansi.h * Update dz60rgb_wkl.h * Update keyboards/dztech/dz65rgb/keymaps/via/keymap.c * Update keyboards/dztech/dz60rgb_wkl/keymaps/via/keymap.c
Diffstat (limited to 'keyboards/dztech/dz65rgb')
-rw-r--r--keyboards/dztech/dz65rgb/keymaps/via/keymap.c32
-rw-r--r--keyboards/dztech/dz65rgb/keymaps/via/rules.mk2
-rw-r--r--keyboards/dztech/dz65rgb/v1/config.h4
-rw-r--r--keyboards/dztech/dz65rgb/v2/config.h4
4 files changed, 38 insertions, 4 deletions
diff --git a/keyboards/dztech/dz65rgb/keymaps/via/keymap.c b/keyboards/dztech/dz65rgb/keymaps/via/keymap.c
new file mode 100644
index 0000000000..7e12b4c52f
--- /dev/null
+++ b/keyboards/dztech/dz65rgb/keymaps/via/keymap.c
@@ -0,0 +1,32 @@
+#include QMK_KEYBOARD_H
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+ [0] = LAYOUT_65_ansi(
+ KC_GESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_HOME,
+ KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_PGUP,
+ CTL_T(KC_CAPS), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGDN,
+ KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_END,
+ KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT
+ ),
+ [1] = LAYOUT_65_ansi(
+ KC_GESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, KC_HOME,
+ _______, RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, _______, KC_PSCR, KC_SLCK, KC_PAUS, RESET, KC_PGUP,
+ CTL_T(KC_CAPS), RGB_SPI, RGB_SPD, _______, _______, _______, _______, _______, _______, _______, _______, _______, EEP_RST, KC_PGDN,
+ KC_LSFT, _______, _______, _______, _______, _______, NK_TOGG, _______, _______, _______, _______, _______, KC_VOLU, KC_MUTE,
+ _______, _______, _______, _______, _______, _______, _______, KC_MPRV, KC_VOLD, KC_MNXT
+ ),
+ [2] = LAYOUT_65_ansi(
+ _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
+ _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
+ _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
+ _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
+ _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
+ ),
+ [3] = LAYOUT_65_ansi(
+ _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
+ _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
+ _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
+ _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
+ _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
+ )
+};
diff --git a/keyboards/dztech/dz65rgb/keymaps/via/rules.mk b/keyboards/dztech/dz65rgb/keymaps/via/rules.mk
new file mode 100644
index 0000000000..36b7ba9cbc
--- /dev/null
+++ b/keyboards/dztech/dz65rgb/keymaps/via/rules.mk
@@ -0,0 +1,2 @@
+VIA_ENABLE = yes
+LTO_ENABLE = yes
diff --git a/keyboards/dztech/dz65rgb/v1/config.h b/keyboards/dztech/dz65rgb/v1/config.h
index cc40fdc5a0..bf700a2384 100644
--- a/keyboards/dztech/dz65rgb/v1/config.h
+++ b/keyboards/dztech/dz65rgb/v1/config.h
@@ -1,8 +1,8 @@
#pragma once
/* USB Device descriptor parameter */
-#define VENDOR_ID 0xFEED
-#define PRODUCT_ID 0x1222
+#define VENDOR_ID 0x445A
+#define PRODUCT_ID 0x1420
#define DEVICE_VER 0x0001
#define MANUFACTURER DZTECH
#define PRODUCT DZ65RGB
diff --git a/keyboards/dztech/dz65rgb/v2/config.h b/keyboards/dztech/dz65rgb/v2/config.h
index 778d43df95..6a55f87667 100644
--- a/keyboards/dztech/dz65rgb/v2/config.h
+++ b/keyboards/dztech/dz65rgb/v2/config.h
@@ -1,8 +1,8 @@
#pragma once
/* USB Device descriptor parameter */
-#define VENDOR_ID 0xFEED
-#define PRODUCT_ID 0x1222
+#define VENDOR_ID 0x445A
+#define PRODUCT_ID 0x1421
#define DEVICE_VER 0x0002
#define MANUFACTURER DZTECH
#define PRODUCT DZ65RGB