diff options
author | benlyall <ben@lyall.me> | 2018-01-02 09:49:26 +1100 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2018-01-01 17:49:26 -0500 |
commit | feac994f6fa971b3cc2ba8b3792fe179aa8955c5 (patch) | |
tree | db856038dbe3ea3535233bdb01cc9617b85e3079 /keyboards/v60_type_r/keymaps/default | |
parent | 4931510ad38aadb1769c9241bfad0c3d77ad687f (diff) |
Added support for V60 Type R Polestar backlight and RGB underglow (#1852)
* Added V60 Type R Polestar Backlight and RGB Underglow support
* made RGB Underglow stuff optional, to support the non Polestar V60
* updated readme and rules
* fixed typo in readme
Diffstat (limited to 'keyboards/v60_type_r/keymaps/default')
-rw-r--r-- | keyboards/v60_type_r/keymaps/default/config.h | 26 | ||||
-rw-r--r-- | keyboards/v60_type_r/keymaps/default/keymap.c | 16 |
2 files changed, 28 insertions, 14 deletions
diff --git a/keyboards/v60_type_r/keymaps/default/config.h b/keyboards/v60_type_r/keymaps/default/config.h new file mode 100644 index 0000000000..9561b0255f --- /dev/null +++ b/keyboards/v60_type_r/keymaps/default/config.h @@ -0,0 +1,26 @@ +/* Copyright 2017 REPLACE_WITH_YOUR_NAME + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + +#ifndef CONFIG_USER_H +#define CONFIG_USER_H + +#include "../../config.h" + +#ifdef V60_POLESTAR +#undef V60_POLESTAR +#endif + +#endif diff --git a/keyboards/v60_type_r/keymaps/default/keymap.c b/keyboards/v60_type_r/keymaps/default/keymap.c index 58ae81c4be..e277254b9e 100644 --- a/keyboards/v60_type_r/keymaps/default/keymap.c +++ b/keyboards/v60_type_r/keymaps/default/keymap.c @@ -15,7 +15,7 @@ */ /* This is the default layout provided by the KBP V60 Type R -* as depicted in their manual and on the stock keycaps. +* as depicted in their manual and on the stock keycaps. */ #include "v60_type_r.h" @@ -60,7 +60,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { KC_TRNS, KC_LEFT, KC_DOWN, KC_RIGHT, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_HOME, KC_PGUP, KC_LEFT, KC_RIGHT, KC_TRNS, \ KC_TRNS, KC_NO, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_VOLD, KC_VOLU, KC_MUTE, KC_END, KC_PGDN, KC_DOWN, KC_TRNS, KC_NO, \ KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,KC_TRNS, KC_TRNS), - + }; @@ -86,18 +86,6 @@ const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) }; -void matrix_init_user(void) { - -} - -void matrix_scan_user(void) { - -} - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - return true; -} - void led_set_user(uint8_t usb_led) { } |