Removed unneeded code from keymap

master
unknown 2017-09-24 14:07:16 -04:00 committed by Jack Humbert
parent 169d46ce83
commit 56d750659a
1 changed files with 0 additions and 55 deletions

View File

@ -112,61 +112,6 @@ const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) {
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
switch (keycode) {
// case PS:
// if (record->event.pressed) {
// layer_on(_PS);
// RGB_current_mode = rgblight_config.mode;
// RGB_current_hue = rgblight_config.hue;
// rgblight_mode(1);
// rgblight_setrgb(0,0,255);
// }
// // else {
// // layer_off(_PS);
// // rgblight_mode(RGB_current_mode);
// // rgblight_sethsv(RGB_current_hue, rgblight_config.sat, rgblight_config.val);
// // }
// return false;
// break;
// case AI:
// if (record->event.pressed) {
// layer_on(_AI);
// RGB_current_mode = rgblight_config.mode;
// RGB_current_hue = rgblight_config.hue;
// // Set to orange.
// rgblight_mode(1);
// rgblight_setrgb(255, 0, 0);
// }
// // else {
// // layer_off(_AI);
// // rgblight_mode(RGB_current_mode);
// // rgblight_sethsv(RGB_current_hue, rgblight_config.sat, rgblight_config.val);
// // }
// return false;
// break;
// case PR:
// if (record->event.pressed) {
// layer_on(_PR);
// RGB_current_mode = rgblight_config.mode;
// RGB_current_hue = rgblight_config.hue;
// // Set to purple.
// rgblight_mode(1);
// rgblight_setrgb(0, 255, 0);
// } else {
// layer_off(_PR);
// rgblight_mode(RGB_current_mode);
// rgblight_sethsv(RGB_current_hue, rgblight_config.sat, rgblight_config.val);
// }
// return false;
// break;
}
return true;
}