1
0
Fork 0

update dp60 configuration (#7561)

* update dp60 configuration

* disable rgb underglow to avoid firmware overflow

* cleanup rules.mk

* Update keyboards/dp60/keymaps/allleds/rules.mk

Co-Authored-By: fauxpark <fauxpark@gmail.com>

* Update keyboards/dp60/keymaps/allleds/rules.mk

Co-Authored-By: fauxpark <fauxpark@gmail.com>

* Update keyboards/dp60/keymaps/allleds/rules.mk

Co-Authored-By: fauxpark <fauxpark@gmail.com>

* Update keyboards/dp60/keymaps/allleds/rules.mk

Co-Authored-By: fauxpark <fauxpark@gmail.com>

* Update keyboards/dp60/keymaps/allleds/rules.mk

Co-Authored-By: fauxpark <fauxpark@gmail.com>

* cleanup all rules.mk
This commit is contained in:
yulei 2019-12-13 10:44:14 +08:00 committed by fauxpark
parent 77efa1c620
commit f5638e54f5
8 changed files with 108 additions and 58 deletions

View file

@ -159,4 +159,28 @@ webusb_pos_t webusb_keymap[] = {
{4, 0}, {4, 1}, {4, 2}, {4, 6}, {4, 10}, {4, 11}, {4, 12}, {4, 13},
};
#endif
#endif
#ifndef RAW_ENABLE
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
#else
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
#endif
if (record->event.pressed) {
switch(keycode) {
#ifdef RGBLIGHT_ENABLE
#ifdef RGB_MATRIX_ENABLE
case KC_F13: // toggle rgb matrix
rgb_matrix_toggle();
return false;
case KC_F14:
rgb_matrix_step();
return false;
#endif
#endif
default:
break;
}
}
return true;
}