* Remove empty override functions, 0-9 * Remove empty override functions, A-D * Remove empty override functions, E-H * Remove empty override functions, handwired * Remove empty override functions, I-L * Remove empty override functions, M-P * Remove empty override functions, Q-T * Remove empty override functions, U-Z
@@ -14,30 +14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "1up60hse.h"
-
-void matrix_init_kb(void) {
- // put your keyboard start-up code here
- // runs once when the firmware starts up
- matrix_init_user();
-}
-void matrix_scan_kb(void) {
- // put your looping keyboard code here
- // runs every cycle (a lot)
- matrix_scan_user();
-bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
- // put your per-action keyboard code here
- // runs for every action, just before processing by the firmware
- return process_record_user(keycode, record);
-void led_set_kb(uint8_t usb_led) {
- // put your keyboard LED indicator (ex: Caps Lock LED) toggling code here
- led_set_user(usb_led);
@@ -18,46 +18,12 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
};
-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) {
- if (usb_led & (1 << USB_LED_NUM_LOCK)) {
- } else {
- }
if (usb_led & (1 << USB_LED_CAPS_LOCK)) {
- DDRB |= (1 << 2); PORTB &= ~(1 << 2);
- DDRB &= ~(1 << 2); PORTB &= ~(1 << 2);
- if (usb_led & (1 << USB_LED_SCROLL_LOCK)) {
- if (usb_led & (1 << USB_LED_COMPOSE)) {
+ setPinOutput(B2);
+ writePinLow(B2);
} else {
+ setPinInput(B2);
}
- if (usb_led & (1 << USB_LED_KANA)) {
@@ -23,19 +23,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
RGB_MOD, KC_1, KC_U, KC_P
),
-void led_set_user(uint8_t usb_led) {
@@ -15,33 +15,6 @@
#include "25.h"
#ifdef SWAP_HANDS_ENABLE
__attribute__ ((weak))
const keypos_t PROGMEM hand_swap_config[MATRIX_ROWS][MATRIX_COLS] = {
@@ -70,18 +70,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
_______, _______, _______, _______, _______, _______, KC_HOME, KC_PGDN, KC_PGUP, KC_END \
@@ -24,19 +24,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_SPC \
@@ -29,26 +29,3 @@ void matrix_init_kb(void) {
// Do the rest
matrix_init_user();
-/*
-*/
@@ -21,6 +21,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
KC_A, KC_S, KC_D, KC_F
-void matrix_init_user(void) { }
@@ -1,29 +1 @@
#include "4x4.h"
@@ -86,19 +86,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
#include "5x5.h"
@@ -98,20 +98,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
#include "6lit.h"
@@ -21,19 +21,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
KC_F19, KC_F20, KC_F21, KC_F22, KC_F23, KC_F24 \
KC_F22, KC_F23, KC_F24 \
#include "foobar.h"
@@ -73,19 +73,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
_______, _______, _______, _______, _______, RESET, _______, _______, _______, _______
@@ -22,19 +22,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
KC_F21, KC_F22, KC_F23, KC_F14, KC_INT5 \
#include "half_n_half.h"
@@ -51,15 +51,3 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
return true;
#include "i75.h"
@@ -52,15 +52,3 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
@@ -1,8 +1 @@
#include "mf68.h"
@@ -1,5 +1 @@
#include "nano.h"
KC_F21, KC_F22, KC_F23, KC_F24 \
#include "nori.h"
@@ -97,47 +97,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
, _______,_______,_______,_______,RESET, _______,_______,_______,_______,_______
- if (usb_led & (1 << USB_LED_CAPS_LOCK)) {
@@ -18,20 +18,6 @@
#include "protocol/serial.h"
#endif
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
// put your per-action keyboard code here
// runs for every action, just before processing by the firmware
@@ -42,9 +28,3 @@ bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
return process_record_user(keycode, record);
#include "6ball.h"
#include "9key.h"
@@ -27,22 +27,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
)
-/*bool process_record_user(uint16_t keycode, keyrecord_t *record) {
-}*/
-/*void matrix_init_user(void) {
-/*void matrix_scan_user(void) {
-/*void led_set_user(uint8_t usb_led) {
bool encoder_update_user(uint8_t index, bool clockwise) {
if (index == 0) { /* First encoder */
if (clockwise) {
#include "rev1.h"
-/*void matrix_init_kb(void) {
@@ -14,38 +14,3 @@
#include "shark.h"
-// Optional override functions below.
-// You can leave any or all of these undefined.
-// These are only required if you want to perform custom actions.
@@ -1,15 +1 @@
#include "adkb96.h"
- // // green led on
- // DDRD |= (1<<5);
- // PORTD &= ~(1<<5);
- // // orange led on
- // DDRB |= (1<<0);
- // PORTB &= ~(1<<0);
-};
@@ -76,15 +76,3 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
@@ -14,9 +14,3 @@
#include "lunar.h"
@@ -72,20 +72,3 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
-layer_state_t layer_state_set_user(layer_state_t state) {
- return state;
@@ -172,20 +172,6 @@ void matrix_init_kb(void) {
void led_set_kb(uint8_t usb_led) {
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here
@@ -222,5 +208,3 @@ uint32_t layer_state_set_kb(uint32_t state) {
return layer_state_set_user(state);
@@ -43,19 +43,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
_______, _______, _______, _______, _______, _______, _______, _______
#include "quasar.h"
KC_P0, KC_P0, KC_PDOT, KC_PENT \
#include "soyuz.h"
#include "eb46.h"
@@ -32,19 +32,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
@@ -19,20 +19,12 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS),
@@ -41,9 +41,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO,
KC_NO, KC_NO, KC_NO, TO(0), MACRO1, KC_NO, KC_NO, KC_NO),
#include "amj96.h"
@@ -35,19 +35,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ \
#include "amj66.h"
#include "alpha.h"
@@ -36,19 +36,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
RGB_TOG, KC_NO, KC_NO
@@ -19,35 +19,26 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS),
- DDRB |= (1 << 4);
- DDRD |= (1 << 6) | (1 << 7);
+ setPinOutput(B4);
+ setPinOutput(D6);
+ setPinOutput(D7);
if (usb_led & (1 << USB_LED_NUM_LOCK)) {
- PORTD |= (1 << 7);
+ writePinHigh(D7);
- PORTD &= ~(1 << 7);
+ writePinLow(D7);
- PORTB |= (1 << 4);
+ writePinHigh(B4);
- PORTB &= ~(1 << 4);
+ writePinLow(B4);
if (usb_led & (1 << USB_LED_SCROLL_LOCK)) {
- PORTD |= (1 << 6);
+ writePinHigh(D6);
- PORTD &= ~(1 << 6);
+ writePinLow(D6);
+}
@@ -49,23 +49,3 @@ void matrix_init_kb(void) {
@@ -30,21 +30,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
KC_TRNS, KC_TRNS, BL_TOGG, BL_STEP, BL_BRTG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, \
KC_TRNS, KC_TRNS, KC_TRNS, KC_RCTL, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS),
@@ -39,9 +39,6 @@ void matrix_init_user(void) {
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
switch (keycode) {
case KC_A:
@@ -53,37 +50,3 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
@@ -42,9 +42,6 @@ void matrix_init_user(void) {
@@ -56,37 +53,3 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
@@ -40,44 +40,3 @@ void matrix_init_user(void) {
initialized = 1;
@@ -42,44 +42,3 @@ void matrix_init_user(void) {
@@ -41,44 +41,3 @@ void matrix_init_user(void) {
@@ -41,9 +41,6 @@ void matrix_init_user(void) {
@@ -55,37 +52,3 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
@@ -15,9 +15,3 @@ 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 "4key.h"
- // Looping keyboard code goes here
- // This runs every cycle (a lot)
@@ -40,46 +40,9 @@ void matrix_init_user(void) {
if (record->event.pressed) {
rgblight_step();
@@ -37,19 +37,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
@@ -156,10 +156,3 @@ bool music_mask_user(uint16_t keycode) {
@@ -13,19 +13,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
KC_LSFT,KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M,KC_COMM, KC_DOT,KC_SLSH, KC_RSFT, KC_UP, KC_P1, KC_P2, KC_P3,KC_PENT, \
KC_LCTL,KC_LGUI,KC_LALT, KC_SPC, KC_RALT,KC_RGUI, KC_APP,KC_RCTL, KC_LEFT,KC_DOWN,KC_RGHT, KC_P0,KC_PDOT)
@@ -23,37 +23,3 @@ extern inline void ph_caps_led_off(void);
extern inline void ph_sclk_led_on(void);
extern inline void ph_sclk_led_off(void);
-__attribute__ ((weak))
-bool process_action_user(keyrecord_t *record) {
-bool process_action_kb(keyrecord_t *record) {
- return process_action_user(record);
@@ -23,36 +23,3 @@ extern inline void ph_caps_led_off(void);
@@ -16,23 +16,3 @@ extern inline void sixshooter_led_5_off(void);
extern inline void sixshooter_led_all_on(void);
extern inline void sixshooter_led_all_off(void);
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM,KC_DOT, KC_SLSH, KC_RSFT, KC_UP, \
KC_LCTL,KC_LGUI,KC_LALT, KC_SPC, KC_RALT,KC_RGUI, KC_APP, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT )
KC_LSFT,KC_NUBS,KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM,KC_DOT, KC_SLSH, KC_RSFT, KC_UP, \
#include "geekpad.h"
@@ -26,10 +26,6 @@ LAYOUT(/* Base */
-bool process_record_user(uint16_t keycode, keyrecord_t *record) { return true; }
-void led_set_user(uint8_t usb_led) {}
void keyboard_post_init_user(void) {
rgblight_enable_noeeprom();
rgblight_mode_noeeprom(RGBLIGHT_MODE_RAINBOW_MOOD);
#include "beta.h"
@@ -25,19 +25,11 @@ LAYOUT(/* Base */
void matrix_init_user(void) {
-void matrix_scan_user(void) {}
-void keyboard_post_init_user(void) {}
#ifdef OLED_ENABLE
static void render_logo(void) {
static const char PROGMEM qmk_logo[] = {0x80, 0x81, 0x82, 0x83, 0x84, 0x85, 0x86, 0x87, 0x88, 0x89, 0x8a, 0x8b, 0x8c, 0x8d, 0x8e, 0x8f, 0x90, 0x91, 0x92, 0x93, 0x94,
#include "business_card.h"
@@ -15,20 +15,6 @@
#include "butterstick.h"
void matrix_scan_kb(void) {
#ifdef DEBUG_MATRIX
for (uint8_t c = 0; c < MATRIX_COLS; c++)
@@ -38,19 +24,3 @@ void matrix_scan_kb(void) {
matrix_scan_user();
@@ -110,8 +110,6 @@ void oled_task_user(void) {
oled_on();
if (index == 0) { /* left encoder */
#include "christmas_tree.h"
KC_P0, KC_PDOT, KC_PENT \
@@ -13,30 +13,3 @@
#include "nakey.h"
@@ -9,20 +9,3 @@ void matrix_init_kb(void) {
@@ -1,28 +1 @@
#include "thedora.h"
- // Turn status LED on
- //DDRD |= (1<<6);
- //PORTD |= (1<<6);
@@ -14,11 +14,3 @@
#include "60.h"
@@ -29,13 +29,6 @@ float music_scale[][2] = SONG(MUSIC_SCALE_SOUND);
float tone_goodbye[][2] = SONG(GOODBYE_SOUND);
#ifdef AUDIO_ENABLE
@@ -64,6 +57,3 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
@@ -12,17 +12,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
const uint8_t RGBLED_SNAKE_INTERVALS[] PROGMEM = {255, 170, 85};
const uint8_t RGBLED_KNIGHT_INTERVALS[] PROGMEM = {255, 170, 85};
@@ -28,15 +28,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
RESET, KC_2, KC_3,
KC_CAPS, KC_NLCK, KC_SLCK)
- //user initialization
- //user matrix
@@ -37,15 +37,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_END, \
KC_LCTL, KC_LGUI,KC_LALT, KC_SPC, KC_RALT, RESET, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT),
@@ -1,18 +1 @@
#include "vinta.h"
#include "cocoa40.h"
@@ -25,19 +25,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
KC_LCTL, KC_LALT, KC_SPC, KC_RALT, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT, KC_P0, KC_PDOT