Skip to content

Commit

Permalink
layer lighting added
Browse files Browse the repository at this point in the history
  • Loading branch information
solartempest committed Jul 21, 2024
1 parent 360aaf8 commit e1e7dd8
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 0 deletions.
4 changes: 4 additions & 0 deletions keyboards/ploopyco/madromys/keymaps/via_ploopy_rgb/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#pragma once

#define RGBLIGHT_DEFAULT_HUE 100

23 changes: 23 additions & 0 deletions keyboards/ploopyco/madromys/keymaps/via_ploopy_rgb/keymap.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
/* Copyright 2023 Colin Lam (Ploopy Corporation)
* Copyright 2020 Christopher Courtney, aka Drashna Jael're (@drashna) <[email protected]>
* Copyright 2019 Sunjun Kim
*
* 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/>.
*/
#include QMK_KEYBOARD_H

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = LAYOUT( KC_BTN4, KC_BTN5, DRAG_SCROLL, KC_BTN2, KC_BTN1, LT(1, KC_BTN3) ),
[1] = LAYOUT( RGB_MOD, RGB_RMOD, RGB_HUI, RGB_HUD, RGB_TOG, KC_NO)
};
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This is the VIA keymap for Ploopyco Madromys Trackball, which can be used to customise the key layout. See [the VIA online app](https://usevia.app/) for how to do this.
3 changes: 3 additions & 0 deletions keyboards/ploopyco/madromys/keymaps/via_ploopy_rgb/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
VIA_ENABLE = yes
RGBLIGHT_ENABLE = yes
WS2812_DRIVER = vendor

0 comments on commit e1e7dd8

Please sign in to comment.