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

[Keymap]Update keymap of rev_0106 and rev_0107 #20

Merged
merged 1 commit into from
Feb 21, 2022
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
8 changes: 1 addition & 7 deletions keyboards/keychron/q1/rev_0106/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,6 @@

#include QMK_KEYBOARD_H

#ifdef VIA_ENABLE
#define USER_START USER00
#else
#define USER_START SAFE_RANGE
#endif

enum layers{
MAC_BASE,
MAC_FN,
Expand All @@ -30,7 +24,7 @@ enum layers{
};

enum custom_keycodes {
KC_MISSION_CONTROL = USER_START,
KC_MISSION_CONTROL = SAFE_RANGE,
KC_LAUNCHPAD,
KC_LOPTN,
KC_ROPTN,
Expand Down
8 changes: 1 addition & 7 deletions keyboards/keychron/q1/rev_0106/keymaps/via/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,6 @@

#include QMK_KEYBOARD_H

#ifdef VIA_ENABLE
#define USER_START USER00
#else
#define USER_START SAFE_RANGE
#endif

enum layers{
MAC_BASE,
MAC_FN,
Expand All @@ -30,7 +24,7 @@ enum layers{
};

enum custom_keycodes {
KC_MISSION_CONTROL = USER_START,
KC_MISSION_CONTROL = USER00,
KC_LAUNCHPAD,
KC_LOPTN,
KC_ROPTN,
Expand Down
3 changes: 0 additions & 3 deletions keyboards/keychron/q1/rev_0107/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,6 @@
/* Set the maxium brightness as 192 in order to limit the current to 450mA */
#define RGB_MATRIX_MAXIMUM_BRIGHTNESS (24 * 8) // 8 = RGB_MATRIX_VAL_STEP

/* Set USB polling rate as 1 milliseconds */
#define USB_POLLING_INTERVAL_MS 1

/* We have 2KB EEPROM size on STM32L432 */
#define DYNAMIC_KEYMAP_EEPROM_MAX_ADDR 2047

Expand Down
8 changes: 1 addition & 7 deletions keyboards/keychron/q1/rev_0107/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,6 @@

#include QMK_KEYBOARD_H

#ifdef VIA_ENABLE
#define USER_START USER00
#else
#define USER_START SAFE_RANGE
#endif

enum layers{
MAC_BASE,
MAC_FN,
Expand All @@ -30,7 +24,7 @@ enum layers{
};

enum custom_keycodes {
KC_MISSION_CONTROL = USER_START,
KC_MISSION_CONTROL = SAFE_RANGE,
KC_LAUNCHPAD,
KC_LOPTN,
KC_ROPTN,
Expand Down
8 changes: 1 addition & 7 deletions keyboards/keychron/q1/rev_0107/keymaps/via/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,6 @@

#include QMK_KEYBOARD_H

#ifdef VIA_ENABLE
#define USER_START USER00
#else
#define USER_START SAFE_RANGE
#endif

enum layers{
MAC_BASE,
MAC_FN,
Expand All @@ -30,7 +24,7 @@ enum layers{
};

enum custom_keycodes {
KC_MISSION_CONTROL = USER_START,
KC_MISSION_CONTROL = USER00,
KC_LAUNCHPAD,
KC_LOPTN,
KC_ROPTN,
Expand Down