mirror of
https://github.com/jmwtsn/qmk_firmware.git
synced 2026-06-03 19:53:31 -03:00
ccc6c6ce0b
* Initial commit of Nifty Numpad keyboard * Initial commit of Nifty Numpad keyboard * Fixed double repo * Updated available effects * Added a default and VIA keymap, moved cadence to its own keymap * Fixed qmk_firmware submodule issue * Updated Nifty Numpad readme Updated Cadence keymap Updated vscode settings to match QMK master * Added Nifty Numpad * Added config.h to idle_rgb_example * renamed info.json, removed rules.mk * Updated to conform with most recent PR checklist - Removed VIA keymap - Formatted keyboard.json with qmk format-json - Updated custom keycodes in nifty_numpad.h to start at QK_USER * Address review feedback - Remove the config.h file from the idle_rgb_example keymap as the only settings was equal to the default - Added empty endline to the end of idle_rgb_example/rules.mk and post_rules.mk - Updated RGB_DEF custom keycode to QK_KB * Removed commented layout visuals * Updated RGB Matrix keycodes * Updated use of eeconfig_update_kb_datablock to new signature
35 lines
955 B
C
35 lines
955 B
C
/* Copyright 2023 Acliad
|
|
*
|
|
* 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/>.
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "quantum.h"
|
|
|
|
enum custom_keycodes {
|
|
RM_DMOD = QK_KB,
|
|
RM_IMOD
|
|
};
|
|
#define LAYER_RGB (MAX_LAYER - 1)
|
|
|
|
#ifdef RGB_IDLE_ENABLE
|
|
|
|
#define RGB_IDLE_TIMEOUT_MS (10*60*1000)
|
|
|
|
// Functions exposed by nifty_numpad.c
|
|
bool rgb_matrix_idle_mode(void);
|
|
|
|
#endif
|