Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
qmk-bot committed Aug 7, 2021
2 parents 6fb9842 + 07e2c11 commit 243e756
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 22 deletions.
17 changes: 8 additions & 9 deletions keyboards/kbdfans/kbd67/rev2/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,25 +37,24 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW

/* Debouncing reduces chatter */
#define DEBOUNCE 5

/* indicators */
#define LED_CAPS_LOCK_PIN D4
#define LED_PIN_ON_STATE 0

/* number of backlight levels */
#define BACKLIGHT_PIN B5
#ifdef BACKLIGHT_PIN
#define BACKLIGHT_LEVELS 3
#endif

/* Set 0 if debouncing isn't needed */
#define DEBOUNCE 5

/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE

/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE

#define RGB_DI_PIN E2
#ifdef RGB_DI_PIN
#define RGBLIGHT_ANIMATIONS
#define RGBLED_NUM 20
#define RGBLED_NUM 16
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
#define RGBLIGHT_VAL_STEP 8
Expand Down
13 changes: 1 addition & 12 deletions keyboards/kbdfans/kbd67/rev2/rev2.c
Original file line number Diff line number Diff line change
@@ -1,12 +1 @@
#include "rev2.h"
void matrix_init_kb(void) {
setPinOutput(D4);
matrix_init_user();
}
bool led_update_kb(led_t led_state) {
bool res = led_update_user(led_state);
if(res) {
writePin(D4, !led_state.caps_lock);
}
return res;
}
#include "rev2.h"
2 changes: 1 addition & 1 deletion keyboards/kbdfans/kbd67/rev2/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ BOOTLOADER = atmel-dfu
BOOTMAGIC_ENABLE = lite # Enable Bootmagic Lite
MOUSEKEY_ENABLE = yes # Mouse keys
EXTRAKEY_ENABLE = yes # Audio control and System control
CONSOLE_ENABLE = yes # Console for debug
CONSOLE_ENABLE = no # Console for debug
COMMAND_ENABLE = no # Commands for debug and configuration
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
Expand Down

0 comments on commit 243e756

Please sign in to comment.