aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/mint60/keymaps/default
diff options
context:
space:
mode:
authorGravatar Joel Challis <git@zvecr.com>2020-02-07 13:58:55 +0000
committerGravatar GitHub <noreply@github.com>2020-02-07 13:58:55 +0000
commitc93093569ecd6024c43e9b0d2e8881e0f768c940 (patch)
treeaf5ed652e07e50815b1ee3d21c6a22858171ce14 /keyboards/mint60/keymaps/default
parentfb6f5811571dfd033eecfe3073a58fd131b3b5c4 (diff)
downloadqmk_firmware-c93093569ecd6024c43e9b0d2e8881e0f768c940.tar.gz
Refactor mint60 to use split_common (#8084)
Diffstat (limited to 'keyboards/mint60/keymaps/default')
-rw-r--r--keyboards/mint60/keymaps/default/keymap.c28
1 files changed, 0 insertions, 28 deletions
diff --git a/keyboards/mint60/keymaps/default/keymap.c b/keyboards/mint60/keymaps/default/keymap.c
index 0c65f73c7..a56bc5a1a 100644
--- a/keyboards/mint60/keymaps/default/keymap.c
+++ b/keyboards/mint60/keymaps/default/keymap.c
@@ -14,22 +14,11 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include QMK_KEYBOARD_H
-#ifdef PROTOCOL_LUFA
-#include "lufa.h"
-#include "split_util.h"
-#endif
-
-
-#ifdef RGBLIGHT_ENABLE
-//Following line allows macro to read current RGB settings
-extern rgblight_config_t rgblight_config;
-#endif
enum custom_keycodes {
RGBRST = SAFE_RANGE
};
-
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = LAYOUT( \
KC_GRV, 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, \
@@ -47,10 +36,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
)
};
-// define variables for reactive RGB
-bool TOG_STATUS = false;
-int RGB_current_mode;
-
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
switch (keycode) {
case RGBRST:
@@ -58,22 +43,9 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
if (record->event.pressed) {
eeconfig_update_rgblight_default();
rgblight_enable();
- RGB_current_mode = rgblight_config.mode;
}
#endif
break;
}
return true;
}
-
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-void led_set_user(uint8_t usb_led) {
-
-}