M keyboards/1upkeyboards/1up60hse/1up60hse.c => keyboards/1upkeyboards/1up60hse/1up60hse.c +0 -27
@@ 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);
-}
M keyboards/1upkeyboards/1up60rgb/keymaps/default/keymap.c => keyboards/1upkeyboards/1up60rgb/keymaps/default/keymap.c +4 -38
@@ 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);
- } else {
- DDRB &= ~(1 << 2); PORTB &= ~(1 << 2);
- }
-
- if (usb_led & (1 << USB_LED_SCROLL_LOCK)) {
-
- } else {
-
- }
-
- if (usb_led & (1 << USB_LED_COMPOSE)) {
-
+ setPinOutput(B2);
+ writePinLow(B2);
} else {
-
+ setPinInput(B2);
+ writePinLow(B2);
}
-
- if (usb_led & (1 << USB_LED_KANA)) {
-
- } else {
-
- }
-
}
M keyboards/1upkeyboards/1up60rgb/keymaps/iso/keymap.c => keyboards/1upkeyboards/1up60rgb/keymaps/iso/keymap.c +4 -38
@@ 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);
- } else {
- DDRB &= ~(1 << 2); PORTB &= ~(1 << 2);
- }
-
- if (usb_led & (1 << USB_LED_SCROLL_LOCK)) {
-
- } else {
-
- }
-
- if (usb_led & (1 << USB_LED_COMPOSE)) {
-
+ setPinOutput(B2);
+ writePinLow(B2);
} else {
-
+ setPinInput(B2);
+ writePinLow(B2);
}
-
- if (usb_led & (1 << USB_LED_KANA)) {
-
- } else {
-
- }
-
}
M keyboards/1upkeyboards/1up60rgb/keymaps/tsangan/keymap.c => keyboards/1upkeyboards/1up60rgb/keymaps/tsangan/keymap.c +4 -38
@@ 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);
- } else {
- DDRB &= ~(1 << 2); PORTB &= ~(1 << 2);
- }
-
- if (usb_led & (1 << USB_LED_SCROLL_LOCK)) {
-
- } else {
-
- }
-
- if (usb_led & (1 << USB_LED_COMPOSE)) {
-
+ setPinOutput(B2);
+ writePinLow(B2);
} else {
-
+ setPinInput(B2);
+ writePinLow(B2);
}
-
- if (usb_led & (1 << USB_LED_KANA)) {
-
- } else {
-
- }
-
}
M keyboards/1upkeyboards/super16/keymaps/default/keymap.c => keyboards/1upkeyboards/super16/keymaps/default/keymap.c +0 -16
@@ 23,19 23,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
RGB_MOD, KC_1, KC_U, KC_P
),
};
-
-bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- return true;
-}
-
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-void led_set_user(uint8_t usb_led) {
-
-}
M keyboards/40percentclub/25/25.c => keyboards/40percentclub/25/25.c +0 -27
@@ 15,33 15,6 @@
*/
#include "25.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);
-}
-
#ifdef SWAP_HANDS_ENABLE
__attribute__ ((weak))
const keypos_t PROGMEM hand_swap_config[MATRIX_ROWS][MATRIX_COLS] = {
M keyboards/40percentclub/25/keymaps/default/keymap.c => keyboards/40percentclub/25/keymaps/default/keymap.c +0 -15
@@ 70,18 70,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
_______, _______, _______, _______, _______, _______, KC_HOME, KC_PGDN, KC_PGUP, KC_END \
),
};
-
-bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- return true;
-}
-
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-}
-
-void led_set_user(uint8_t usb_led) {
-
-}
M keyboards/40percentclub/25/keymaps/macro/keymap.c => keyboards/40percentclub/25/keymaps/macro/keymap.c +0 -16
@@ 24,19 24,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_SPC \
),
};
-
-bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- return true;
-}
-
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-void led_set_user(uint8_t usb_led) {
-
-}
M keyboards/40percentclub/4pack/4pack.c => keyboards/40percentclub/4pack/4pack.c +0 -23
@@ 29,26 29,3 @@ void matrix_init_kb(void) {
// Do the rest
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);
-}
-
-*/
M keyboards/40percentclub/4pack/keymaps/default/keymap.c => keyboards/40percentclub/4pack/keymaps/default/keymap.c +0 -3
@@ 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) { }
M keyboards/40percentclub/4x4/4x4.c => keyboards/40percentclub/4x4/4x4.c +0 -28
@@ 1,29 1,1 @@
-
#include "4x4.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);
-}
M keyboards/40percentclub/4x4/keymaps/default/keymap.c => keyboards/40percentclub/4x4/keymaps/default/keymap.c +0 -16
@@ 86,19 86,3 @@ 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) {
-
-}
M keyboards/40percentclub/5x5/5x5.c => keyboards/40percentclub/5x5/5x5.c +0 -28
@@ 1,29 1,1 @@
-
#include "5x5.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);
-}
M keyboards/40percentclub/5x5/keymaps/default/keymap.c => keyboards/40percentclub/5x5/keymaps/default/keymap.c +0 -17
@@ 98,20 98,3 @@ 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) {
-
-}
M keyboards/40percentclub/6lit/6lit.c => keyboards/40percentclub/6lit/6lit.c +0 -27
@@ 15,33 15,6 @@
*/
#include "6lit.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);
-}
-
#ifdef SWAP_HANDS_ENABLE
__attribute__ ((weak))
const keypos_t PROGMEM hand_swap_config[MATRIX_ROWS][MATRIX_COLS] = {
M keyboards/40percentclub/6lit/keymaps/default/keymap.c => keyboards/40percentclub/6lit/keymaps/default/keymap.c +0 -16
@@ 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 \
),
};
-
-bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- return true;
-}
-
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-void led_set_user(uint8_t usb_led) {
-
-}
M keyboards/40percentclub/6lit/keymaps/macro/keymap.c => keyboards/40percentclub/6lit/keymaps/macro/keymap.c +0 -16
@@ 21,19 21,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
KC_F22, KC_F23, KC_F24 \
),
};
-
-bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- return true;
-}
-
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-void led_set_user(uint8_t usb_led) {
-
-}
M keyboards/40percentclub/foobar/foobar.c => keyboards/40percentclub/foobar/foobar.c +0 -27
@@ 15,33 15,6 @@
*/
#include "foobar.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);
-}
-
#ifdef SWAP_HANDS_ENABLE
__attribute__ ((weak))
const keypos_t PROGMEM hand_swap_config[MATRIX_ROWS][MATRIX_COLS] = {
M keyboards/40percentclub/foobar/keymaps/default/keymap.c => keyboards/40percentclub/foobar/keymaps/default/keymap.c +0 -16
@@ 73,19 73,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
_______, _______, _______, _______, _______, RESET, _______, _______, _______, _______
),
};
-
-bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- return true;
-}
-
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-void led_set_user(uint8_t usb_led) {
-
-}
M keyboards/40percentclub/foobar/keymaps/macro/keymap.c => keyboards/40percentclub/foobar/keymaps/macro/keymap.c +0 -16
@@ 22,19 22,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
KC_F21, KC_F22, KC_F23, KC_F14, KC_INT5 \
),
};
-
-bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- return true;
-}
-
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-void led_set_user(uint8_t usb_led) {
-
-}
M keyboards/40percentclub/half_n_half/half_n_half.c => keyboards/40percentclub/half_n_half/half_n_half.c +0 -27
@@ 14,30 14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "half_n_half.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);
-}
M keyboards/40percentclub/half_n_half/keymaps/default/keymap.c => keyboards/40percentclub/half_n_half/keymaps/default/keymap.c +0 -12
@@ 51,15 51,3 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
}
return true;
}
-
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-void led_set_user(uint8_t usb_led) {
-
-}
M keyboards/40percentclub/i75/i75.c => keyboards/40percentclub/i75/i75.c +0 -27
@@ 14,30 14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "i75.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);
-}
M keyboards/40percentclub/i75/keymaps/default/keymap.c => keyboards/40percentclub/i75/keymaps/default/keymap.c +0 -12
@@ 52,15 52,3 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
}
return true;
}
-
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-void led_set_user(uint8_t usb_led) {
-
-}
M keyboards/40percentclub/mf68/mf68.c => keyboards/40percentclub/mf68/mf68.c +0 -7
@@ 1,8 1,1 @@
#include "mf68.h"
-
-void matrix_init_kb(void) {
- // put your keyboard start-up code here
- // runs once when the firmware starts up
-
- matrix_init_user();
-}
M keyboards/40percentclub/nano/nano.c => keyboards/40percentclub/nano/nano.c +0 -4
@@ 1,5 1,1 @@
#include "nano.h"
-
-void matrix_init_kb(void) {
- matrix_init_user();
-}
M keyboards/40percentclub/nori/keymaps/macro/keymap.c => keyboards/40percentclub/nori/keymaps/macro/keymap.c +0 -16
@@ 23,19 23,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
KC_F21, KC_F22, KC_F23, KC_F24 \
),
};
-
-bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- return true;
-}
-
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-void led_set_user(uint8_t usb_led) {
-
-}
M keyboards/40percentclub/nori/nori.c => keyboards/40percentclub/nori/nori.c +0 -27
@@ 14,30 14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "nori.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);
-}
M keyboards/40percentclub/tomato/keymaps/default/keymap.c => keyboards/40percentclub/tomato/keymaps/default/keymap.c +0 -44
@@ 97,47 97,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
, _______,_______,_______,_______,RESET, _______,_______,_______,_______,_______
),
};
-
-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)) {
-
- } else {
-
- }
-
- if (usb_led & (1 << USB_LED_SCROLL_LOCK)) {
-
- } else {
-
- }
-
- if (usb_led & (1 << USB_LED_COMPOSE)) {
-
- } else {
-
- }
-
- if (usb_led & (1 << USB_LED_KANA)) {
-
- } else {
-
- }
-
-}
M keyboards/40percentclub/ut47/ut47.c => keyboards/40percentclub/ut47/ut47.c +0 -20
@@ 18,20 18,6 @@
#include "protocol/serial.h"
#endif
-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
@@ 42,9 28,3 @@ bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
}
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);
-}
M keyboards/6ball/6ball.c => keyboards/6ball/6ball.c +0 -4
@@ 1,5 1,1 @@
#include "6ball.h"
-
-void matrix_init_kb(void) {
- matrix_init_user();
-}
M keyboards/9key/9key.c => keyboards/9key/9key.c +0 -4
@@ 1,5 1,1 @@
#include "9key.h"
-
-void matrix_init_kb(void) {
- matrix_init_user();
-}>
\ No newline at end of file
M keyboards/abstract/ellipse/keymaps/abstractkb/keymap.c => keyboards/abstract/ellipse/keymaps/abstractkb/keymap.c +0 -16
@@ 27,22 27,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
)
};
-/*bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- return true;
-}*/
-
-/*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) {
M keyboards/abstract/ellipse/keymaps/default/keymap.c => keyboards/abstract/ellipse/keymaps/default/keymap.c +0 -16
@@ 27,22 27,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
)
};
-/*bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- return true;
-}*/
-
-/*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) {
M keyboards/abstract/ellipse/rev1/rev1.c => keyboards/abstract/ellipse/rev1/rev1.c +0 -27
@@ 14,30 14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "rev1.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);
-}*/>
\ No newline at end of file
M keyboards/acheron/shark/shark.c => keyboards/acheron/shark/shark.c +0 -35
@@ 14,38 14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#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.
-
-/*
-
-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);
-}
-
-*/
M keyboards/adkb96/rev1/rev1.c => keyboards/adkb96/rev1/rev1.c +0 -14
@@ 1,15 1,1 @@
#include "adkb96.h"
-
-void matrix_init_kb(void) {
-
- // // green led on
- // DDRD |= (1<<5);
- // PORTD &= ~(1<<5);
-
- // // orange led on
- // DDRB |= (1<<0);
- // PORTB &= ~(1<<0);
-
- matrix_init_user();
-};
-
M keyboards/ai03/lunar/keymaps/default/keymap.c => keyboards/ai03/lunar/keymaps/default/keymap.c +0 -12
@@ 76,15 76,3 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
}
return true;
}
-
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-void led_set_user(uint8_t usb_led) {
-
-}
M keyboards/ai03/lunar/lunar.c => keyboards/ai03/lunar/lunar.c +0 -6
@@ 14,9 14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "lunar.h"
-
-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);
-}
M keyboards/ai03/orbit/keymaps/default/keymap.c => keyboards/ai03/orbit/keymaps/default/keymap.c +0 -17
@@ 72,20 72,3 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
}
return true;
}
-
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-void led_set_user(uint8_t usb_led) {
-
-}
-
-layer_state_t layer_state_set_user(layer_state_t state) {
-
- return state;
-}
M keyboards/ai03/orbit/orbit.c => keyboards/ai03/orbit/orbit.c +0 -16
@@ 172,20 172,6 @@ void matrix_init_kb(void) {
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
@@ 222,5 208,3 @@ uint32_t layer_state_set_kb(uint32_t state) {
return layer_state_set_user(state);
}
-
-
M keyboards/ai03/quasar/keymaps/default/keymap.c => keyboards/ai03/quasar/keymaps/default/keymap.c +0 -16
@@ 43,19 43,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
_______, _______, _______, _______, _______, _______, _______, _______
)
};
-
-bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- return true;
-}
-
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-void led_set_user(uint8_t usb_led) {
-
-}
M keyboards/ai03/quasar/quasar.c => keyboards/ai03/quasar/quasar.c +0 -35
@@ 14,38 14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "quasar.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.
-
-/*
-
-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);
-}
-
-*/
M keyboards/ai03/soyuz/keymaps/default/keymap.c => keyboards/ai03/soyuz/keymaps/default/keymap.c +0 -16
@@ 24,19 24,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
KC_P0, KC_P0, KC_PDOT, KC_PENT \
)
};
-
-bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- return true;
-}
-
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-void led_set_user(uint8_t usb_led) {
-
-}
M keyboards/ai03/soyuz/soyuz.c => keyboards/ai03/soyuz/soyuz.c +0 -27
@@ 14,30 14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "soyuz.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);
-}
M keyboards/akb/eb46/eb46.c => keyboards/akb/eb46/eb46.c +0 -27
@@ 14,30 14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "eb46.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);
-}
M keyboards/alf/dc60/keymaps/default/keymap.c => keyboards/alf/dc60/keymaps/default/keymap.c +0 -16
@@ 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
),
};
-
-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) {
-
-}
M keyboards/alf/x2/keymaps/default/keymap.c => keyboards/alf/x2/keymaps/default/keymap.c +4 -12
@@ 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),
};
-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_CAPS_LOCK)) {
- DDRB |= (1 << 2); PORTB &= ~(1 << 2);
+ setPinOutput(B2);
+ writePinLow(B2);
} else {
- DDRB &= ~(1 << 2); PORTB &= ~(1 << 2);
+ setPinInput(B2);
+ writePinLow(B2);
}
}
M keyboards/alpha/keymaps/default/keymap.c => keyboards/alpha/keymaps/default/keymap.c +0 -6
@@ 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),
};
-
-void matrix_init_user(void) {
-}
-
-void matrix_scan_user(void) {
-}
M keyboards/amj96/amj96.c => keyboards/amj96/amj96.c +0 -27
@@ 14,30 14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "amj96.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);
-}
M keyboards/amj96/keymaps/default/keymap.c => keyboards/amj96/keymaps/default/keymap.c +0 -16
@@ 35,19 35,3 @@ 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) {
-
-}
M keyboards/amjkeyboard/amj66/amj66.c => keyboards/amjkeyboard/amj66/amj66.c +0 -27
@@ 14,30 14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "amj66.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);
-}
M keyboards/angel17/alpha/alpha.c => keyboards/angel17/alpha/alpha.c +0 -35
@@ 14,38 14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "alpha.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.
-
-/*
-
-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);
-}
-
-*/
M keyboards/angel17/keymaps/default/keymap.c => keyboards/angel17/keymaps/default/keymap.c +0 -16
@@ 36,19 36,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
RGB_TOG, KC_NO, KC_NO
),
};
-
-bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- return true;
-}
-
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-void led_set_user(uint8_t usb_led) {
-
-}
M keyboards/angel17/rev1/rev1.c => keyboards/angel17/rev1/rev1.c +0 -35
@@ 14,38 14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "rev1.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.
-
-/*
-
-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);
-}
-
-*/
M keyboards/angel64/alpha/alpha.c => keyboards/angel64/alpha/alpha.c +0 -35
@@ 14,38 14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "alpha.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.
-
-/*
-
-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);
-}
-
-*/
M keyboards/angel64/rev1/rev1.c => keyboards/angel64/rev1/rev1.c +0 -35
@@ 14,38 14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "rev1.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.
-
-/*
-
-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);
-}
-
-*/
M keyboards/at101_bh/keymaps/default/keymap.c => keyboards/at101_bh/keymaps/default/keymap.c +10 -19
@@ 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),
};
-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) {
- 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);
} else {
- PORTD &= ~(1 << 7);
+ writePinLow(D7);
}
if (usb_led & (1 << USB_LED_CAPS_LOCK)) {
- PORTB |= (1 << 4);
+ writePinHigh(B4);
} else {
- PORTB &= ~(1 << 4);
+ writePinLow(B4);
}
if (usb_led & (1 << USB_LED_SCROLL_LOCK)) {
- PORTD |= (1 << 6);
+ writePinHigh(D6);
} else {
- PORTD &= ~(1 << 6);
+ writePinLow(D6);
}
-}>
\ No newline at end of file
+}
M keyboards/baguette/baguette.c => keyboards/baguette/baguette.c +0 -20
@@ 49,23 49,3 @@ void matrix_init_kb(void) {
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);
-}
M keyboards/baguette/keymaps/default/keymap.c => keyboards/baguette/keymaps/default/keymap.c +0 -18
@@ 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),
};
-
-
-
-bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- return true;
-}
-
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-void led_set_user(uint8_t usb_led) {
-
-}
M keyboards/baguette/keymaps/iso/keymap.c => keyboards/baguette/keymaps/iso/keymap.c +0 -18
@@ 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),
};
-
-
-
-bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- return true;
-}
-
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-void led_set_user(uint8_t usb_led) {
-
-}
M keyboards/bigseries/1key/keymaps/default/keymap.c => keyboards/bigseries/1key/keymaps/default/keymap.c +0 -37
@@ 39,9 39,6 @@ void matrix_init_user(void) {
}
}
-void matrix_scan_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) {
}
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)) {
-
- } else {
-
- }
-
- if (usb_led & (1 << USB_LED_SCROLL_LOCK)) {
-
- } else {
-
- }
-
- if (usb_led & (1 << USB_LED_COMPOSE)) {
-
- } else {
-
- }
-
- if (usb_led & (1 << USB_LED_KANA)) {
-
- } else {
-
- }
-
-}
M keyboards/bigseries/1key/keymaps/tester/keymap.c => keyboards/bigseries/1key/keymaps/tester/keymap.c +0 -37
@@ 42,9 42,6 @@ void matrix_init_user(void) {
}
}
-void matrix_scan_user(void) {
-}
-
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
switch (keycode) {
case KC_A:
@@ 56,37 53,3 @@ 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)) {
-
- } else {
-
- }
-
- if (usb_led & (1 << USB_LED_SCROLL_LOCK)) {
-
- } else {
-
- }
-
- if (usb_led & (1 << USB_LED_COMPOSE)) {
-
- } else {
-
- }
-
- if (usb_led & (1 << USB_LED_KANA)) {
-
- } else {
-
- }
-
-}
M keyboards/bigseries/2key/keymaps/default/keymap.c => keyboards/bigseries/2key/keymaps/default/keymap.c +0 -41
@@ 40,44 40,3 @@ void matrix_init_user(void) {
initialized = 1;
}
}
-
-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)) {
-
- } else {
-
- }
-
- if (usb_led & (1 << USB_LED_SCROLL_LOCK)) {
-
- } else {
-
- }
-
- if (usb_led & (1 << USB_LED_COMPOSE)) {
-
- } else {
-
- }
-
- if (usb_led & (1 << USB_LED_KANA)) {
-
- } else {
-
- }
-
-}
M keyboards/bigseries/2key/keymaps/lock/keymap.c => keyboards/bigseries/2key/keymaps/lock/keymap.c +0 -41
@@ 42,44 42,3 @@ void matrix_init_user(void) {
initialized = 1;
}
}
-
-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)) {
-
- } else {
-
- }
-
- if (usb_led & (1 << USB_LED_SCROLL_LOCK)) {
-
- } else {
-
- }
-
- if (usb_led & (1 << USB_LED_COMPOSE)) {
-
- } else {
-
- }
-
- if (usb_led & (1 << USB_LED_KANA)) {
-
- } else {
-
- }
-
-}
M keyboards/bigseries/2key/keymaps/tester/keymap.c => keyboards/bigseries/2key/keymaps/tester/keymap.c +0 -41
@@ 41,44 41,3 @@ void matrix_init_user(void) {
initialized = 1;
}
}
-
-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)) {
-
- } else {
-
- }
-
- if (usb_led & (1 << USB_LED_SCROLL_LOCK)) {
-
- } else {
-
- }
-
- if (usb_led & (1 << USB_LED_COMPOSE)) {
-
- } else {
-
- }
-
- if (usb_led & (1 << USB_LED_KANA)) {
-
- } else {
-
- }
-
-}
M keyboards/bigseries/3key/keymaps/default/keymap.c => keyboards/bigseries/3key/keymaps/default/keymap.c +0 -37
@@ 41,9 41,6 @@ void matrix_init_user(void) {
}
}
-void matrix_scan_user(void) {
-}
-
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
switch (keycode) {
case KC_A:
@@ 55,37 52,3 @@ 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)) {
-
- } else {
-
- }
-
- if (usb_led & (1 << USB_LED_SCROLL_LOCK)) {
-
- } else {
-
- }
-
- if (usb_led & (1 << USB_LED_COMPOSE)) {
-
- } else {
-
- }
-
- if (usb_led & (1 << USB_LED_KANA)) {
-
- } else {
-
- }
-
-}
M keyboards/bigseries/3key/keymaps/tester/keymap.c => keyboards/bigseries/3key/keymaps/tester/keymap.c +0 -41
@@ 41,44 41,3 @@ void matrix_init_user(void) {
initialized = 1;
}
}
-
-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)) {
-
- } else {
-
- }
-
- if (usb_led & (1 << USB_LED_SCROLL_LOCK)) {
-
- } else {
-
- }
-
- if (usb_led & (1 << USB_LED_COMPOSE)) {
-
- } else {
-
- }
-
- if (usb_led & (1 << USB_LED_KANA)) {
-
- } else {
-
- }
-
-}
M keyboards/bigseries/4key/4key.c => keyboards/bigseries/4key/4key.c +0 -6
@@ 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"
-
-void matrix_scan_kb(void) {
- // Looping keyboard code goes here
- // This runs every cycle (a lot)
- matrix_scan_user();
-};
M keyboards/bigseries/4key/keymaps/default/keymap.c => keyboards/bigseries/4key/keymaps/default/keymap.c +0 -37
@@ 40,46 40,9 @@ void matrix_init_user(void) {
}
}
-void matrix_scan_user(void) {
-}
-
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
if (record->event.pressed) {
rgblight_step();
}
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)) {
-
- } else {
-
- }
-
- if (usb_led & (1 << USB_LED_SCROLL_LOCK)) {
-
- } else {
-
- }
-
- if (usb_led & (1 << USB_LED_COMPOSE)) {
-
- } else {
-
- }
-
- if (usb_led & (1 << USB_LED_KANA)) {
-
- } else {
-
- }
-
-}
M keyboards/bigseries/4key/keymaps/tester/keymap.c => keyboards/bigseries/4key/keymaps/tester/keymap.c +0 -41
@@ 41,44 41,3 @@ void matrix_init_user(void) {
initialized = 1;
}
}
-
-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)) {
-
- } else {
-
- }
-
- if (usb_led & (1 << USB_LED_SCROLL_LOCK)) {
-
- } else {
-
- }
-
- if (usb_led & (1 << USB_LED_COMPOSE)) {
-
- } else {
-
- }
-
- if (usb_led & (1 << USB_LED_KANA)) {
-
- } else {
-
- }
-
-}
M keyboards/blockey/keymaps/default/keymap.c => keyboards/blockey/keymaps/default/keymap.c +0 -16
@@ 37,19 37,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
),
};
-
-bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- return true;
-}
-
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-void led_set_user(uint8_t usb_led) {
-
-}
M keyboards/boston_meetup/2019/keymaps/default/keymap.c => keyboards/boston_meetup/2019/keymaps/default/keymap.c +0 -7
@@ 156,10 156,3 @@ bool music_mask_user(uint16_t keycode) {
return true;
}
}
-
-void matrix_init_user(void) {
-}
-
-
-void matrix_scan_user(void) {
-}
M keyboards/bpiphany/kitten_paw/keymaps/default/keymap.c => keyboards/bpiphany/kitten_paw/keymaps/default/keymap.c +0 -16
@@ 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)
};
-
-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) {
-
-}
M keyboards/bpiphany/pegasushoof/2013/2013.c => keyboards/bpiphany/pegasushoof/2013/2013.c +0 -34
@@ 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))
-void matrix_init_user(void) {
-};
-
-__attribute__ ((weak))
-void matrix_scan_user(void) {
-}
-
-__attribute__ ((weak))
-bool process_action_user(keyrecord_t *record) {
- return true;
-}
-
-__attribute__ ((weak))
-void led_set_user(uint8_t usb_led) {
-}
-
-void matrix_init_kb(void) {
- matrix_init_user();
-}
-
-void matrix_scan_kb(void) {
- matrix_scan_user();
-}
-
-bool process_action_kb(keyrecord_t *record) {
- return process_action_user(record);
-}
-
-void led_set_kb(uint8_t usb_led) {
- led_set_user(usb_led);
-}
M keyboards/bpiphany/pegasushoof/2015/2015.c => keyboards/bpiphany/pegasushoof/2015/2015.c +0 -33
@@ 23,36 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))
-void matrix_init_user(void) {
-};
-
-__attribute__ ((weak))
-void matrix_scan_user(void) {
-}
-
-__attribute__ ((weak))
-bool process_action_user(keyrecord_t *record) {
- return true;
-}
-
-__attribute__ ((weak))
-void led_set_user(uint8_t usb_led) {
-}
-
-void matrix_init_kb(void) {
- matrix_init_user();
-}
-
-void matrix_scan_kb(void) {
- matrix_scan_user();
-}
-
-bool process_action_kb(keyrecord_t *record) {
- return process_action_user(record);
-}
-
-void led_set_kb(uint8_t usb_led) {
- led_set_user(usb_led);
-}
M keyboards/bpiphany/sixshooter/sixshooter.c => keyboards/bpiphany/sixshooter/sixshooter.c +0 -20
@@ 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);
-
-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();
-}
-
-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);
-}
M keyboards/bpiphany/unloved_bastard/keymaps/default_ansi/keymap.c => keyboards/bpiphany/unloved_bastard/keymaps/default_ansi/keymap.c +0 -16
@@ 24,19 24,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_LCTL,KC_LGUI,KC_LALT, KC_SPC, KC_RALT,KC_RGUI, KC_APP, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT )
};
-
-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) {
-
-}
M keyboards/bpiphany/unloved_bastard/keymaps/default_iso/keymap.c => keyboards/bpiphany/unloved_bastard/keymaps/default_iso/keymap.c +0 -16
@@ 24,19 24,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_LCTL,KC_LGUI,KC_LALT, KC_SPC, KC_RALT,KC_RGUI, KC_APP, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT )
};
-
-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) {
-
-}
M keyboards/bthlabs/geekpad/geekpad.c => keyboards/bthlabs/geekpad/geekpad.c +0 -27
@@ 14,30 14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "geekpad.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);
-}
M keyboards/business_card/alpha/alpha.c => keyboards/business_card/alpha/alpha.c +0 -35
@@ 14,38 14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "alpha.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.
-
-/*
-
-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);
-}
-
-*/
M keyboards/business_card/alpha/keymaps/default/keymap.c => keyboards/business_card/alpha/keymaps/default/keymap.c +0 -4
@@ 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);
M keyboards/business_card/beta/beta.c => keyboards/business_card/beta/beta.c +0 -35
@@ 14,38 14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "beta.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.
-
-/*
-
-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);
-}
-
-*/
M keyboards/business_card/beta/keymaps/default/keymap.c => keyboards/business_card/beta/keymaps/default/keymap.c +0 -8
@@ 25,19 25,11 @@ LAYOUT(/* Base */
),
};
-bool process_record_user(uint16_t keycode, keyrecord_t *record) { return true; }
-
void matrix_init_user(void) {
rgblight_enable_noeeprom();
rgblight_mode_noeeprom(RGBLIGHT_MODE_RAINBOW_MOOD);
}
-void matrix_scan_user(void) {}
-
-void led_set_user(uint8_t usb_led) {}
-
-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,
M keyboards/business_card/business_card.c => keyboards/business_card/business_card.c +0 -35
@@ 14,38 14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "business_card.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.
-
-/*
-
-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);
-}
-
-*/
M keyboards/butterstick/butterstick.c => keyboards/butterstick/butterstick.c +0 -30
@@ 15,20 15,6 @@
*/
#include "butterstick.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.
-
-/*
-
-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) {
#ifdef DEBUG_MATRIX
for (uint8_t c = 0; c < MATRIX_COLS; c++)
@@ 38,19 24,3 @@ void matrix_scan_kb(void) {
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);
-}
-
-*/
M keyboards/cassette42/keymaps/default/keymap.c => keyboards/cassette42/keymaps/default/keymap.c +0 -2
@@ 110,8 110,6 @@ void oled_task_user(void) {
}
#endif
-void led_set_user(uint8_t usb_led) {}
-
bool encoder_update_user(uint8_t index, bool clockwise) {
oled_on();
if (index == 0) { /* left encoder */
M keyboards/christmas_tree/christmas_tree.c => keyboards/christmas_tree/christmas_tree.c +0 -4
@@ 1,5 1,1 @@
#include "christmas_tree.h"
-
-void matrix_init_kb(void) {
- matrix_init_user();
-}
M keyboards/ckeys/nakey/keymaps/default/keymap.c => keyboards/ckeys/nakey/keymaps/default/keymap.c +0 -16
@@ 24,19 24,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
KC_P0, KC_PDOT, KC_PENT \
),
};
-
-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) {
-
-}
M keyboards/ckeys/nakey/nakey.c => keyboards/ckeys/nakey/nakey.c +0 -27
@@ 13,30 13,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "nakey.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);
-}
M keyboards/ckeys/obelus/obelus.c => keyboards/ckeys/obelus/obelus.c +0 -17
@@ 9,20 9,3 @@ void matrix_init_kb(void) {
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);
-}
M keyboards/ckeys/thedora/thedora.c => keyboards/ckeys/thedora/thedora.c +0 -27
@@ 1,28 1,1 @@
#include "thedora.h"
-
-void matrix_init_kb(void) {
- // put your keyboard start-up code here
- // runs once when the firmware starts up
- // Turn status LED on
- //DDRD |= (1<<6);
- //PORTD |= (1<<6);
-
- 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);
-}
M keyboards/clueboard/60/60.c => keyboards/clueboard/60/60.c +0 -8
@@ 14,11 14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "60.h"
-
-void matrix_init_kb(void) {
-
-}
-
-void matrix_scan_kb(void) {
-
-}
M keyboards/clueboard/card/keymaps/default/keymap.c => keyboards/clueboard/card/keymaps/default/keymap.c +0 -10
@@ 29,13 29,6 @@ float music_scale[][2] = SONG(MUSIC_SCALE_SOUND);
float tone_goodbye[][2] = SONG(GOODBYE_SOUND);
#endif
-void matrix_init_user(void) {
-}
-
-void matrix_scan_user(void) {
-
-}
-
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
switch (keycode) {
#ifdef AUDIO_ENABLE
@@ 64,6 57,3 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
return true;
}
}
-
-void led_set_user(uint8_t usb_led) {
-}
M keyboards/clueboard/card/keymaps/rgb_effects/keymap.c => keyboards/clueboard/card/keymaps/rgb_effects/keymap.c +0 -14
@@ 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};
-
-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) {
-}
M keyboards/coarse/ixora/keymaps/default/keymap.c => keyboards/coarse/ixora/keymaps/default/keymap.c +0 -12
@@ 28,15 28,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
RESET, KC_2, KC_3,
KC_CAPS, KC_NLCK, KC_SLCK)
};
-
-void matrix_init_user(void) {
- //user initialization
-}
-
-void matrix_scan_user(void) {
- //user matrix
-}
-
-bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- return true;
-}
M keyboards/coarse/vinta/keymaps/default/keymap.c => keyboards/coarse/vinta/keymaps/default/keymap.c +0 -12
@@ 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),
};
-
-void matrix_init_user(void) {
- //user initialization
-}
-
-void matrix_scan_user(void) {
- //user matrix
-}
-
-bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- return true;
-}
M keyboards/coarse/vinta/vinta.c => keyboards/coarse/vinta/vinta.c +0 -17
@@ 1,18 1,1 @@
#include "vinta.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) {
-
- matrix_scan_user();
-}
-
-bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
-
- return process_record_user(keycode, record);
-}
M keyboards/cocoa40/cocoa40.c => keyboards/cocoa40/cocoa40.c +0 -27
@@ 14,30 14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "cocoa40.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);
-}
M keyboards/converter/modelm101/keymaps/default/keymap.c => keyboards/converter/modelm101/keymaps/default/keymap.c +0 -16
@@ 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
),
};
-
-bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- return true;
-}
-
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-void led_set_user(uint8_t usb_led) {
-
-}
M keyboards/converter/modelm101/modelm101.c => keyboards/converter/modelm101/modelm101.c +0 -21
@@ 25,27 25,6 @@ void keyboard_pre_init_kb(void) {
writePinHigh(B6);
}
-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) {
if (usb_led & (1<<USB_LED_NUM_LOCK)) {
writePinLow(B4);
M keyboards/converter/numeric_keypad_IIe/keymaps/default/keymap.c => keyboards/converter/numeric_keypad_IIe/keymaps/default/keymap.c +0 -20
@@ 40,23 40,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
KC_SPACE, KC_KP_0, KC_KP_COMMA, KC_KP_DOT, KC_RETURN, KC_QUESTION \
),
};
-
-bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- return true;
-}
-
-void keyboard_post_init_user(void) {
-
-}
-
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-void led_set_user(uint8_t usb_led) {
-
-}
M keyboards/converter/numeric_keypad_IIe/numeric_keypad_IIe.c => keyboards/converter/numeric_keypad_IIe/numeric_keypad_IIe.c +0 -27
@@ 14,30 14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "numeric_keypad_IIe.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);
-}
M keyboards/converter/siemens_tastatur/keymaps/default/keymap.c => keyboards/converter/siemens_tastatur/keymaps/default/keymap.c +0 -4
@@ 51,10 51,6 @@ void matrix_init_user(void) {
writePinLow(B0);
}
-void matrix_scan_user(void) {
-
-}
-
void led_set_user(uint8_t usb_led) {
if (IS_LED_ON(usb_led, USB_LED_CAPS_LOCK)) {
writePinHigh(B0);
M keyboards/converter/siemens_tastatur/siemens_tastatur.c => keyboards/converter/siemens_tastatur/siemens_tastatur.c +0 -28
@@ 15,31 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 "siemens_tastatur.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);
-}
-
M keyboards/copenhagen_click/click_pad_v1/keymaps/default/keymap.c => keyboards/copenhagen_click/click_pad_v1/keymaps/default/keymap.c +0 -8
@@ 43,11 43,3 @@ void matrix_init_user(void) {
breathing_enable();
}
-
-void matrix_scan_user(void) {
-
-}
-
-void led_set_user(uint8_t usb_led) {
-
-}
M keyboards/coseyfannitutti/mullet/mullet.c => keyboards/coseyfannitutti/mullet/mullet.c +0 -7
@@ 14,10 14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "mullet.h"
-
-void matrix_init_kb(void) {
- // put your keyboard start-up code here
- // runs once when the firmware starts up
-
- matrix_init_user();
-}
M keyboards/coseyfannitutti/mulletpad/mulletpad.c => keyboards/coseyfannitutti/mulletpad/mulletpad.c +0 -7
@@ 14,10 14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "mulletpad.h"
-
-void matrix_init_kb(void) {
- // put your keyboard start-up code here
- // runs once when the firmware starts up
-
- matrix_init_user();
-}
M keyboards/crawlpad/keymaps/default/keymap.c => keyboards/crawlpad/keymaps/default/keymap.c +0 -37
@@ 76,40 76,3 @@ void matrix_init_user(void) {
DDRB |= (1 << 4) | (1 << 5) | (1 << 6) | (1 << 7);
PORTB &= ~(1 << 4) & ~(1 << 5) & ~(1 << 6) & ~(1 << 7);
}
-
-void matrix_scan_user(void) {
-}
-
-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)) {
-
- } else {
-
- }
-
- if (usb_led & (1 << USB_LED_SCROLL_LOCK)) {
-
- } else {
-
- }
-
- if (usb_led & (1 << USB_LED_COMPOSE)) {
-
- } else {
-
- }
-
- if (usb_led & (1 << USB_LED_KANA)) {
-
- } else {
-
- }
-
-}
M keyboards/cu75/cu75.c => keyboards/cu75/cu75.c +0 -7
@@ 163,13 163,6 @@ void reset_keyboard_kb(){
reset_keyboard();
}
-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);
-}
-
// LFK lighting info
const uint8_t switch_matrices[] = {0, 1};
const uint8_t rgb_matrices[] = {6, 7};
M keyboards/cu75/keymaps/default/keymap.c => keyboards/cu75/keymaps/default/keymap.c +0 -16
@@ 57,19 57,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
_______, _______, _______, _______, _______, _______, _______, _______, _______, RGB_SAD, RGB_HUD, RGB_SAI \
),
};
-
-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) {
-
-}
M keyboards/cu75/keymaps/iso/keymap.c => keyboards/cu75/keymaps/iso/keymap.c +0 -16
@@ 56,19 56,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
_______, _______, _______, _______, _______, _______, _______, _______, _______, RGB_SAD, RGB_HUD, RGB_SAI \
),
};
-
-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) {
-
-}
M keyboards/cutie_club/wraith/keymaps/default/keymap.c => keyboards/cutie_club/wraith/keymaps/default/keymap.c +0 -9
@@ 40,11 40,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
)
};
-
-void matrix_init_user(void) {
-
-}
-
void matrix_scan_user(void) {
// escape LED on layer 1
if (IS_LAYER_ON(1)) {
@@ 53,7 48,3 @@ void matrix_scan_user(void) {
writePinHigh(B0);
}
}
-
-void led_set_user(uint8_t usb_led) {
-
-}
M keyboards/cutie_club/wraith/keymaps/timer/keymap.c => keyboards/cutie_club/wraith/keymaps/timer/keymap.c +0 -9
@@ 42,11 42,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
)
};
-
-void matrix_init_user(void) {
-
-}
-
void matrix_scan_user(void) {
layer_time_remaining -= timer_read()-prev_loop_time; //amount of time elapsed since the start of the previous loop
prev_loop_time = timer_read(); //start counting the time to check at the next iteration
@@ 84,7 79,3 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
}
return true;
};
-
-void led_set_user(uint8_t usb_led) {
-
-}
M keyboards/dm9records/ergoinu/ergoinu.c => keyboards/dm9records/ergoinu/ergoinu.c +0 -4
@@ 1,5 1,1 @@
#include "ergoinu.h"
-
-void matrix_init_kb(void) {
- matrix_init_user();
-};
M keyboards/dm9records/ergoinu/keymaps/default/keymap.c => keyboards/dm9records/ergoinu/keymaps/default/keymap.c +0 -3
@@ 96,6 96,3 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
return true;
}
-
-void matrix_init_user(void) {
-}
M keyboards/dm9records/ergoinu/keymaps/default_jis/keymap.c => keyboards/dm9records/ergoinu/keymaps/default_jis/keymap.c +0 -3
@@ 96,6 96,3 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
#endif
return true;
}
-
-void matrix_init_user(void) {
-}
M keyboards/dm9records/plaid/plaid.c => keyboards/dm9records/plaid/plaid.c +0 -27
@@ 14,30 14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "plaid.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);
-}
M keyboards/donutcables/scrabblepad/keymaps/random/keymap.c => keyboards/donutcables/scrabblepad/keymaps/random/keymap.c +0 -13
@@ 60,16 60,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
RND_KEY, RND_KEY, RND_KEY, RND_KEY, RND_KEY, RND_KEY, RND_KEY, RND_KEY, RND_KEY, RND_KEY, RND_KEY, RND_KEY, RND_KEY, RND_KEY, RND_KEY
),
};
-
-
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-void led_set_user(uint8_t usb_led) {
-
-}
M keyboards/dozen0/dozen0.c => keyboards/dozen0/dozen0.c +0 -27
@@ 14,30 14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "dozen0.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);
-}
M keyboards/dozen0/keymaps/default/keymap.c => keyboards/dozen0/keymaps/default/keymap.c +0 -8
@@ 120,11 120,3 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
}
return true;
}
-
-void matrix_scan_user(void) {
-
-}
-
-void led_set_user(uint8_t usb_led) {
-
-}
M keyboards/duck/eagle_viper/v2/v2.c => keyboards/duck/eagle_viper/v2/v2.c +0 -4
@@ 59,7 59,3 @@ void led_set_kb(uint8_t usb_led) {
indicator_leds_set(status);
}
-
-bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
- return process_record_user(keycode, record);
-}
M keyboards/duck/jetfire/jetfire.c => keyboards/duck/jetfire/jetfire.c +0 -10
@@ 121,16 121,6 @@ void backlight_set(uint8_t level)
backlight_toggle_rgb(level & BACKLIGHT_RGB);
}
-
-
-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 backlight_update_state()
{
cli();
M keyboards/duck/jetfire/keymaps/default/keymap.c => keyboards/duck/jetfire/keymaps/default/keymap.c +0 -16
@@ 25,19 25,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_P1, KC_P2, KC_P3, KC_PENT,
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT, KC_P0, KC_COMM),
};
-
-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) {
-
-}
M keyboards/duck/lightsaver/lightsaver.c => keyboards/duck/lightsaver/lightsaver.c +0 -4
@@ 54,7 54,3 @@ void led_set_kb(uint8_t usb_led) {
led_set_user(usb_led);
}
-
-bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
- return process_record_user(keycode, record);
-}
M keyboards/duck/octagon/v1/v1.c => keyboards/duck/octagon/v1/v1.c +0 -4
@@ 44,7 44,3 @@ void led_set_kb(uint8_t usb_led) {
backlight_os_state & (1<<USB_LED_CAPS_LOCK) ? (PORTB &= ~0b00000001) : (PORTB |= 0b00000001);
backlight_os_state & (1<<USB_LED_SCROLL_LOCK) ? (PORTB &= ~0b00010000) : (PORTB |= 0b00010000);
}
-
-bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
- return process_record_user(keycode, record);
-}
M keyboards/duck/octagon/v2/v2.c => keyboards/duck/octagon/v2/v2.c +0 -4
@@ 111,7 111,3 @@ void led_set_kb(uint8_t usb_led) {
backlight_os_state & (1<<USB_LED_CAPS_LOCK) ? (PORTB &= ~0b00000001) : (PORTB |= 0b00000001);
backlight_os_state & (1<<USB_LED_SCROLL_LOCK) ? (PORTB &= ~0b00010000) : (PORTB |= 0b00010000);
}
-
-bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
- return process_record_user(keycode, record);
-}
M keyboards/duck/orion/v3/v3.c => keyboards/duck/orion/v3/v3.c +0 -4
@@ 37,7 37,3 @@ bool led_update_kb(led_t led_state) {
}
return true;
}
-
-bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
- return process_record_user(keycode, record);
-}
M keyboards/duck/tcv3/tcv3.c => keyboards/duck/tcv3/tcv3.c +1 -5
@@ 115,10 115,6 @@ void backlight_set(uint8_t level) {
// backlight_os_state & (1<<USB_LED_SCROLL_LOCK) ? (PORTB &= ~0b00010000) : (PORTB |= 0b00010000);
// }
-// bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
-// return process_record_user(keycode, record);
-// }
-
// U5 Pin 1, 2, 3 connected to top left LEDs
// U6 Pin 1, 2, 3 connected to bottom right leds col of 3
@@ 131,4 127,4 @@ void backlight_set(uint8_t level) {
// U5, U6, U7 Pin 8 VCC
// U5, U6, U7 Pin 4 GRND
-// U5 Pin 6 connected to atmega32u4 D4>
\ No newline at end of file
+// U5 Pin 6 connected to atmega32u4 D4
M keyboards/ep/40/40.c => keyboards/ep/40/40.c +0 -27
@@ 14,30 14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "40.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);
-}
M keyboards/ep/96/96.c => keyboards/ep/96/96.c +0 -27
@@ 14,30 14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "96.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);
-}
M keyboards/ep/96/keymaps/default/keymap.c => keyboards/ep/96/keymaps/default/keymap.c +0 -12
@@ 53,15 53,3 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
}
return true;
}
-
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-void led_set_user(uint8_t usb_led) {
-
-}
M keyboards/ep/comsn/hs68/hs68.c => keyboards/ep/comsn/hs68/hs68.c +0 -27
@@ 14,30 14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "hs68.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);
-}
M keyboards/ep/comsn/mollydooker/keymaps/default/keymap.c => keyboards/ep/comsn/mollydooker/keymaps/default/keymap.c +0 -8
@@ 45,11 45,3 @@ void matrix_init_user(void) {
};
}
-
-void matrix_scan_user(void) {
-
-}
-
-void led_set_user(uint8_t usb_led) {
-
-}
M keyboards/ep/comsn/mollydooker/mollydooker.c => keyboards/ep/comsn/mollydooker/mollydooker.c +0 -27
@@ 14,30 14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "mollydooker.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);
-}
M keyboards/ep/comsn/tf_longeboye/tf__longeboye.c => keyboards/ep/comsn/tf_longeboye/tf__longeboye.c +0 -27
@@ 14,30 14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "tf_longeboye.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);
-}
M keyboards/ergodash/mini/mini.c => keyboards/ergodash/mini/mini.c +0 -7
@@ 4,10 4,3 @@
float tone_startup[][2] = SONG(STARTUP_SOUND);
float tone_goodbye[][2] = SONG(GOODBYE_SOUND);
#endif
-
-#ifdef SSD1306OLED
-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);
-}
-#endif
M keyboards/ergodash/rev1/rev1.c => keyboards/ergodash/rev1/rev1.c +0 -7
@@ 5,13 5,6 @@
float tone_goodbye[][2] = SONG(GOODBYE_SOUND);
#endif
-#ifdef SSD1306OLED
-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);
-}
-#endif
-
void matrix_init_kb(void) {
#ifdef AUDIO_ENABLE
M keyboards/ergodox_ez/keymaps/default_osx/keymap.c => keyboards/ergodox_ez/keymaps/default_osx/keymap.c +0 -5
@@ 138,11 138,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
),
};
-// Runs just one time when the keyboard initializes.
-void matrix_init_user(void) {
-
-};
-
// Runs constantly in the background, in a loop.
void matrix_scan_user(void) {
M keyboards/ergodox_infinity/ergodox_infinity.c => keyboards/ergodox_infinity/ergodox_infinity.c +0 -7
@@ 137,13 137,6 @@ void matrix_init_kb(void) {
matrix_init_user();
}
-void matrix_scan_kb(void) {
- // put your looping keyboard code here
- // runs every cycle (a lot)
-
- matrix_scan_user();
-}
-
__attribute__ ((weak)) void ergodox_board_led_on(void) {}
__attribute__ ((weak)) void ergodox_right_led_1_on(void) {}
M keyboards/ergodox_infinity/keymaps/default/keymap.c => keyboards/ergodox_infinity/keymaps/default/keymap.c +0 -6
@@ 164,12 164,6 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
return true;
}
-// Runs just one time when the keyboard initializes.
-void matrix_init_user(void) {
-
-}
-
-
// Runs constantly in the background, in a loop.
void matrix_scan_user(void) {
M keyboards/ergotaco/keymaps/default/keymap.c => keyboards/ergotaco/keymaps/default/keymap.c +0 -8
@@ 32,11 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, KC_TRNS
),
*/
-
-// Runs just one time when the keyboard initializes.
-void matrix_init_user(void) {
-};
-
-// Runs constantly in the background, in a loop.
-void matrix_scan_user(void) {
-};
M keyboards/ergotravel/rev1/rev1.c => keyboards/ergotravel/rev1/rev1.c +0 -21
@@ 1,22 1,1 @@
#include "rev1.h"
-
-
-#ifdef SSD1306OLED
-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);
-}
-#endif
-
-void matrix_init_kb(void) {
-
- // // green led on
- // DDRD |= (1<<5);
- // PORTD &= ~(1<<5);
-
- // // orange led on
- // DDRB |= (1<<0);
- // PORTB &= ~(1<<0);
-
- matrix_init_user();
-};
M keyboards/evyd13/ta65/ta65.c => keyboards/evyd13/ta65/ta65.c +0 -12
@@ 1,13 1,1 @@
#include "ta65.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();
-};
M keyboards/exclusive/e6v2/oe/oe.c => keyboards/exclusive/e6v2/oe/oe.c +0 -21
@@ 1,26 1,5 @@
#include "oe.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
DDRB |= (1<<6);
M keyboards/exclusive/e7v1se/e7v1se.c => keyboards/exclusive/e7v1se/e7v1se.c +0 -33
@@ 15,36 15,3 @@
*/
#include "e7v1se.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.
-
-/*
-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);
-}
-
-bool led_update_kb(led_t led_state) {
- // put your keyboard LED indicator (ex: Caps Lock LED) toggling code here
-
- return led_update_user(led_state);
-}
-*/
M keyboards/flehrad/downbubble/keymaps/default/keymap.c => keyboards/flehrad/downbubble/keymaps/default/keymap.c +0 -12
@@ 89,15 89,3 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
}
return true;
}
-
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-void led_set_user(uint8_t usb_led) {
-
-}
M keyboards/flehrad/numbrero/keymaps/default/keymap.c => keyboards/flehrad/numbrero/keymaps/default/keymap.c +0 -10
@@ 18,13 18,3 @@ 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;
-}
M keyboards/flehrad/snagpad/keymaps/default/keymap.c => keyboards/flehrad/snagpad/keymaps/default/keymap.c +0 -45
@@ 16,48 16,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
KC_P1, KC_P2, KC_P3,
KC_P0, KC_PDOT, KC_PENT),
};
-
-
-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)) {
-
- } else {
-
- }
-
- if (usb_led & (1 << USB_LED_SCROLL_LOCK)) {
-
- } else {
-
- }
-
- if (usb_led & (1 << USB_LED_COMPOSE)) {
-
- } else {
-
- }
-
- if (usb_led & (1 << USB_LED_KANA)) {
-
- } else {
-
- }
-
-}
M keyboards/flehrad/snagpad/keymaps/via/keymap.c => keyboards/flehrad/snagpad/keymaps/via/keymap.c +0 -45
@@ 29,48 29,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)
};
-
-
-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)) {
-
- } else {
-
- }
-
- if (usb_led & (1 << USB_LED_SCROLL_LOCK)) {
-
- } else {
-
- }
-
- if (usb_led & (1 << USB_LED_COMPOSE)) {
-
- } else {
-
- }
-
- if (usb_led & (1 << USB_LED_KANA)) {
-
- } else {
-
- }
-
-}
M keyboards/fleuron/fleuron.c => keyboards/fleuron/fleuron.c +0 -27
@@ 14,30 14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "fleuron.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);
-}
M keyboards/fleuron/keymaps/default/keymap.c => keyboards/fleuron/keymaps/default/keymap.c +0 -12
@@ 151,15 151,3 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
}
return true;
}
-
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-void led_set_user(uint8_t usb_led) {
-
-}
M keyboards/flx/virgo/virgo.c => keyboards/flx/virgo/virgo.c +0 -14
@@ 25,20 25,6 @@ void matrix_init_kb(void) {
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);
-}
-
bool led_update_kb(led_t led_state) {
if(led_update_user(led_state)) {
writePin(E6, !led_state.caps_lock);
M keyboards/foxlab/leaf60/hotswap/keymaps/default/keymap.c => keyboards/foxlab/leaf60/hotswap/keymaps/default/keymap.c +0 -12
@@ 32,15 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)
};
-
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-void led_set_user(uint8_t usb_led) {
-
-}
M keyboards/foxlab/leaf60/universal/keymaps/default/keymap.c => keyboards/foxlab/leaf60/universal/keymaps/default/keymap.c +0 -12
@@ 32,15 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)
};
-
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-void led_set_user(uint8_t usb_led) {
-
-}
M keyboards/geekboards/tester/keymaps/default/keymap.c => keyboards/geekboards/tester/keymaps/default/keymap.c +0 -12
@@ 9,15 9,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
KC_F4, KC_F5, KC_F6, KC_F7
),
};
-
-void matrix_init_user(void) {
- //user initialization
-}
-
-void matrix_scan_user(void) {
- //user matrix
-}
-
-bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- return true;
-}
M keyboards/geekboards/tester/tester.c => keyboards/geekboards/tester/tester.c +3 -19
@@ 29,28 29,12 @@ led_config_t g_led_config = {
}
};
-
-
-void matrix_init_kb(void) {
- matrix_init_user();
-}
-
-void matrix_scan_kb(void) {
- matrix_scan_user();
-}
-
-bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
- return process_record_user(keycode, record);
-}
-
-void suspend_power_down_kb(void)
-{
+void suspend_power_down_kb(void) {
rgb_matrix_set_suspend_state(true);
- suspend_power_down_user();
+ suspend_power_down_user();
}
-void suspend_wakeup_init_kb(void)
-{
+void suspend_wakeup_init_kb(void) {
rgb_matrix_set_suspend_state(false);
suspend_wakeup_init_user();
}
M keyboards/gray_studio/cod67/cod67.c => keyboards/gray_studio/cod67/cod67.c +0 -27
@@ 14,30 14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "cod67.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);
-}
M keyboards/gray_studio/cod67/keymaps/default/keymap.c => keyboards/gray_studio/cod67/keymaps/default/keymap.c +0 -16
@@ 25,19 25,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
KC_LCTL, KC_LGUI, KC_LALT, KC_TRNS, KC_TRNS, KC_SPC, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_RGUI, KC_LEFT, KC_DOWN, KC_RGHT)
};
-
-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) {
-
-}
M keyboards/gray_studio/space65/keymaps/default/keymap.c => keyboards/gray_studio/space65/keymaps/default/keymap.c +0 -12
@@ 59,15 59,3 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
}
return true;
}
-
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-void led_set_user(uint8_t usb_led) {
-
-}
M keyboards/gray_studio/think65/solder/solder.c => keyboards/gray_studio/think65/solder/solder.c +0 -7
@@ 28,13 28,6 @@ void matrix_init_kb(void) {
matrix_init_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);
-}
-
bool led_update_kb(led_t led_state) {
if(led_update_user(led_state)) {
writePin(C7, !led_state.caps_lock);
M keyboards/grid600/press/keymaps/default/keymap.c => keyboards/grid600/press/keymaps/default/keymap.c +0 -12
@@ 20,15 20,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
KC_G, KC_R, KC_I, KC_D
),
};
-
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-void led_set_user(uint8_t usb_led) {
-
-}
M keyboards/gskt00/keymaps/default/keymap.c => keyboards/gskt00/keymaps/default/keymap.c +0 -45
@@ 35,48 35,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, RGB_MOD, KC_TRNS, RGB_TOG)
};
-
-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)) {
-
- } else {
-
- }
-
- if (usb_led & (1 << USB_LED_SCROLL_LOCK)) {
-
- } else {
-
- }
-
- if (usb_led & (1 << USB_LED_COMPOSE)) {
-
- } else {
-
- }
-
- if (usb_led & (1 << USB_LED_KANA)) {
-
- } else {
-
- }
-
-}
-
M keyboards/hadron/ver2/ver2.c => keyboards/hadron/ver2/ver2.c +0 -25
@@ 1,26 1,1 @@
#include "ver2.h"
-
-
-void matrix_init_kb(void) {
-
- 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);
-}>
\ No newline at end of file
M keyboards/hadron/ver3/keymaps/default/keymap.c => keyboards/hadron/ver3/keymaps/default/keymap.c +0 -7
@@ 260,10 260,3 @@ bool music_mask_user(uint16_t keycode) {
return true;
}
}
-
-void matrix_init_user(void) {
-}
-
-
-void matrix_scan_user(void) {
-}
M keyboards/halberd/halberd.c => keyboards/halberd/halberd.c +0 -27
@@ 14,30 14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "halberd.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);
-}
M keyboards/halberd/keymaps/default/keymap.c => keyboards/halberd/keymaps/default/keymap.c +0 -12
@@ 146,15 146,3 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
}
return true;
}
-
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-void led_set_user(uint8_t usb_led) {
-
-}
M keyboards/handwired/412_64/412_64.c => keyboards/handwired/412_64/412_64.c +0 -28
@@ 1,29 1,1 @@
-
#include "412_64.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);
-}
M keyboards/handwired/412_64/keymaps/default/keymap.c => keyboards/handwired/412_64/keymaps/default/keymap.c +0 -16
@@ 70,19 70,3 @@ 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) {
-
-}
M keyboards/handwired/aranck/aranck.c => keyboards/handwired/aranck/aranck.c +0 -27
@@ 14,30 14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "aranck.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.
-
-
-
-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);
-}>
\ No newline at end of file
M keyboards/handwired/cmd60/cmd60.c => keyboards/handwired/cmd60/cmd60.c +0 -7
@@ 1,8 1,1 @@
#include "cmd60.h"
-
-void matrix_init_kb(void) {
- // put your keyboard start-up code here
- // runs once when the firmware starts up
-
- matrix_init_user();
-}
M keyboards/handwired/co60/keymaps/all_keys/keymap.c => keyboards/handwired/co60/keymaps/all_keys/keymap.c +0 -16
@@ 30,19 30,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
KC_LCTL, KC_LGUI, KC_LALT, KC_ENT, KC_HOME, KC_END, KC_INS, KC_RALT, KC_RGUI, KC_RIGHT, KC_RCTL
)
};
-
-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) {
-
-}
M keyboards/handwired/co60/keymaps/default/keymap.c => keyboards/handwired/co60/keymaps/default/keymap.c +0 -16
@@ 36,19 36,3 @@ 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) {
-
-}
M keyboards/handwired/co60/rev1/rev1.c => keyboards/handwired/co60/rev1/rev1.c +0 -30
@@ 14,33 14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "rev1.h"
-
-__attribute__ ((weak))
-void matrix_init_kb(void) {
- // put your keyboard start-up code here
- // runs once when the firmware starts up
-
- matrix_init_user();
-}
-
-__attribute__ ((weak))
-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);
-}
-
-__attribute__ ((weak))
-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);
-}
M keyboards/handwired/dactyl/keymaps/default/keymap.c => keyboards/handwired/dactyl/keymaps/default/keymap.c +0 -9
@@ 148,12 148,3 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
}
return true;
}
-
-// Runs just one time when the keyboard initializes.
-void matrix_init_user(void) {
-
-};
-
-
-// Runs constantly in the background, in a loop.
-void matrix_scan_user(void) {};
M keyboards/handwired/dactyl_left/dactyl_left.c => keyboards/handwired/dactyl_left/dactyl_left.c +0 -35
@@ 14,38 14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "dactyl_left.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.
-
-/*
-
-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);
-}
-
-*/
M keyboards/handwired/dactyl_left/keymaps/default/keymap.c => keyboards/handwired/dactyl_left/keymaps/default/keymap.c +0 -6
@@ 49,9 49,3 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
}
return true;
}
-
-void matrix_init_user(void) {}
-
-void matrix_scan_user(void) {}
-
-void led_set_user(uint8_t usb_led) {}
M keyboards/handwired/dactyl_promicro/dactyl_promicro.c => keyboards/handwired/dactyl_promicro/dactyl_promicro.c +0 -11
@@ 1,12 1,1 @@
#include "dactyl_promicro.h"
-
-#ifdef SSD1306OLED
-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);
-}
-#endif
-
-void matrix_init_kb(void) {
- matrix_init_user();
-};>
\ No newline at end of file
M keyboards/handwired/daishi/daishi.c => keyboards/handwired/daishi/daishi.c +0 -21
@@ 1,22 1,1 @@
#include "daishi.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);
-}>
\ No newline at end of file
M keyboards/handwired/datahand/keymaps/default/keymap.c => keyboards/handwired/datahand/keymaps/default/keymap.c +0 -4
@@ 302,10 302,6 @@ void matrix_init_user(void) {
#endif
}
-void matrix_scan_user(void) {
-
-}
-
void led_set_user(uint8_t usb_led) {
lock_led_set(usb_led & (1<<USB_LED_NUM_LOCK), LED_NUM_LOCK);
lock_led_set(usb_led & (1<<USB_LED_CAPS_LOCK), LED_CAPS_LOCK);
M keyboards/handwired/datahand/matrix.c => keyboards/handwired/datahand/matrix.c +0 -4
@@ 82,10 82,6 @@ void matrix_print(void) {
}
}
-bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
- return process_record_user(keycode, record);
-}
-
static void select_row(uint8_t row) {
/* Original 8051: P1 bits 0-3 (pins 1-4)
* Teensy++: PE0, PB7, PD0, PD1
M keyboards/handwired/evk/v1_3/v1_3.c => keyboards/handwired/evk/v1_3/v1_3.c +0 -14
@@ 28,20 28,6 @@ void matrix_init_kb(void) {
matrix_init_user();
}
-// looping keyboard codes
-// runs every cycle (a lot)
-/*void matrix_scan_kb(void) {
-
- matrix_scan_user();
-}*/
-
-// per-action keyboard codes
-// runs for every key-press action, just before processing by the firmware
-/*bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
-
- return process_record_user(keycode, record);
-}*/
-
// Set LED based on layer
__attribute__((weak)) layer_state_t layer_state_set_user(layer_state_t state) {
writePin(D5, layer_state_cmp(state, 1));
M keyboards/handwired/fivethirteen/fivethirteen.c => keyboards/handwired/fivethirteen/fivethirteen.c +0 -7
@@ 1,8 1,1 @@
#include "fivethirteen.h"
-
-void matrix_init_kb(void) {
- // put your keyboard start-up code here
- // runs once when the firmware starts up
-
- matrix_init_user();
-}
M keyboards/handwired/frenchdev/keymaps/default/keymap.c => keyboards/handwired/frenchdev/keymaps/default/keymap.c +0 -3
@@ 205,9 205,6 @@ void press_underscore(void) {
if(shift_count > 0) register_code (KC_LSHIFT);
}
-void matrix_init_user(void) {
-}
-
// Bleah globals need to be initialized.
uint8_t old_layer=_BASE;
M keyboards/handwired/fruity60/fruity60.c => keyboards/handwired/fruity60/fruity60.c +0 -35
@@ 14,38 14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "fruity60.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.
-
-/*
-
-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);
-}
-
-*/
M keyboards/handwired/hacked_motospeed/hacked_motospeed.c => keyboards/handwired/hacked_motospeed/hacked_motospeed.c +0 -27
@@ 14,30 14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "hacked_motospeed.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);
-}>
\ No newline at end of file
M keyboards/handwired/hacked_motospeed/keymaps/default/keymap.c => keyboards/handwired/hacked_motospeed/keymaps/default/keymap.c +0 -12
@@ 51,15 51,3 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
}
return true;
}
-
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-void led_set_user(uint8_t usb_led) {
-
-}>
\ No newline at end of file
M keyboards/handwired/hexon38/keymaps/default/keymap.c => keyboards/handwired/hexon38/keymaps/default/keymap.c +0 -2
@@ 187,8 187,6 @@ void matrix_init_user(void) {
g_pending.head = NULL;
}
-void matrix_scan_user(void) {}
-
/*
a_ a-: emit a
a_ b_ b- a-: emit SHIFT+b
M keyboards/handwired/hnah40/hnah40.c => keyboards/handwired/hnah40/hnah40.c +0 -27
@@ 14,30 14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "hnah40.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);
-}
M keyboards/handwired/ibm122m/ibm122m.c => keyboards/handwired/ibm122m/ibm122m.c +0 -27
@@ 14,30 14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "ibm122m.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);
-}
M keyboards/handwired/ibm122m/keymaps/default/keymap.c => keyboards/handwired/ibm122m/keymaps/default/keymap.c +0 -17
@@ 27,20 27,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
KC_NO, KC_NO, KC_LCTL, KC_LALT, KC_SPC, KC_RALT, KC_RCTL, KC_DOWN, KC_P0, KC_PDOT
),
};
-
-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) {
-
-}
M keyboards/handwired/jn68m/jn68m.c => keyboards/handwired/jn68m/jn68m.c +0 -21
@@ 14,24 14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "jn68m.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);
-}
M keyboards/handwired/jn68m/keymaps/default/keymap.c => keyboards/handwired/jn68m/keymaps/default/keymap.c +0 -12
@@ 61,15 61,3 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
}
return true;
}
-
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-void led_set_user(uint8_t usb_led) {
-
-}
M keyboards/handwired/jot50/jot50.c => keyboards/handwired/jot50/jot50.c +0 -5
@@ 1,6 1,1 @@
#include "jot50.h"
-
-void matrix_init_kb(void) {
-
- matrix_init_user();
-}
M keyboards/handwired/jot50/keymaps/default/keymap.c => keyboards/handwired/jot50/keymaps/default/keymap.c +0 -3
@@ 77,6 77,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
layer_state_t layer_state_set_user(layer_state_t state) {
return update_tri_layer_state(state, _LOWER, _RAISE, _ADJUST);
}
-
-void matrix_init_user(void) {
-}
M keyboards/handwired/jotanck/jotanck.c => keyboards/handwired/jotanck/jotanck.c +0 -4
@@ 1,9 1,5 @@
#include "jotanck.h"
-void matrix_init_kb(void) {
- matrix_init_user();
-}
-
void keyboard_pre_init_kb() {
setPinOutput(JOTANCK_LED1);
setPinOutput(JOTANCK_LED2);
M keyboards/handwired/jotpad16/jotpad16.c => keyboards/handwired/jotpad16/jotpad16.c +0 -5
@@ 1,10 1,5 @@
#include "jotpad16.h"
-void matrix_init_kb(void) {
-
- matrix_init_user();
-}
-
void keyboard_pre_init_kb() {
setPinOutput(JOTPAD16_LED1);
setPinOutput(JOTPAD16_LED2);
M keyboards/handwired/kbod/kbod.c => keyboards/handwired/kbod/kbod.c +0 -27
@@ 1,28 1,1 @@
#include "kbod.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);
-}
M keyboards/handwired/lovelive9/lovelive9.c => keyboards/handwired/lovelive9/lovelive9.c +0 -6
@@ 1,7 1,1 @@
#include "lovelive9.h"
-
-
-
-void matrix_init_kb(void) {
- matrix_init_user();
-}
M keyboards/handwired/magicforce61/magicforce61.c => keyboards/handwired/magicforce61/magicforce61.c +0 -7
@@ 1,8 1,1 @@
#include "magicforce61.h"
-
-void matrix_init_kb(void) {
- // put your keyboard start-up code here
- // runs once when the firmware starts up
-
- matrix_init_user();
-}
M keyboards/handwired/magicforce68/magicforce68.c => keyboards/handwired/magicforce68/magicforce68.c +0 -7
@@ 1,8 1,1 @@
#include "magicforce68.h"
-
-void matrix_init_kb(void) {
- // put your keyboard start-up code here
- // runs once when the firmware starts up
-
- matrix_init_user();
-}
M keyboards/handwired/mechboards_micropad/keymaps/default/keymap.c => keyboards/handwired/mechboards_micropad/keymaps/default/keymap.c +0 -8
@@ 74,11 74,3 @@ void matrix_init_user(void) {
setPinOutput(F6);
writePinLow(F6);
}
-
-void matrix_scan_user(void) {
-
-}
-
-void led_set_user(uint8_t usb_led) {
-
-}
M keyboards/handwired/mechboards_micropad/mechboards_micropad.c => keyboards/handwired/mechboards_micropad/mechboards_micropad.c +0 -27
@@ 14,30 14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "mechboards_micropad.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);
-}
M keyboards/handwired/ms_sculpt_mobile/keymaps/default/keymap.c => keyboards/handwired/ms_sculpt_mobile/keymaps/default/keymap.c +0 -16
@@ 26,19 26,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, RSFT(KC_1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT \
)
};
-
-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) {
-
-}
M keyboards/handwired/numpad20/numpad20.c => keyboards/handwired/numpad20/numpad20.c +0 -7
@@ 1,8 1,1 @@
#include "numpad20.h"
-
-void matrix_init_kb(void) {
- // put your keyboard start-up code here
- // runs once when the firmware starts up
-
- matrix_init_user();
-}
M keyboards/handwired/ortho5x13/ortho5x13.c => keyboards/handwired/ortho5x13/ortho5x13.c +0 -7
@@ 1,8 1,1 @@
#include "ortho5x13.h"
-
-void matrix_init_kb(void) {
- // put your keyboard start-up code here
- // runs once when the firmware starts up
-
- matrix_init_user();
-}
M keyboards/handwired/owlet60/keymaps/default/keymap.c => keyboards/handwired/owlet60/keymaps/default/keymap.c +0 -12
@@ 60,15 60,3 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
}
return true;
}
-
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-void led_set_user(uint8_t usb_led) {
-
-}
M keyboards/handwired/owlet60/keymaps/oled_testing/keymap.c => keyboards/handwired/owlet60/keymaps/oled_testing/keymap.c +0 -12
@@ 61,18 61,6 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
return true;
}
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-void led_set_user(uint8_t usb_led) {
-
-}
-
#ifdef OLED_ENABLE
oled_rotation_t oled_init_user(oled_rotation_t rotation) {
//return OLED_ROTATION_180;
M keyboards/handwired/owlet60/owlet60.c => keyboards/handwired/owlet60/owlet60.c +0 -37
@@ 14,40 14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "owlet60.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.
-
-
-/*
-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();
- oled_task_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);
-}
-
-*/
M keyboards/handwired/pilcrow/keymaps/default/keymap.c => keyboards/handwired/pilcrow/keymaps/default/keymap.c +0 -16
@@ 52,19 52,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
_______, _______, _______, _______, KC_BTN1, KC_BTN2, _______, _______, _______, _______ \
)
};
-
-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) {
-
-}>
\ No newline at end of file
M keyboards/handwired/pilcrow/pilcrow.c => keyboards/handwired/pilcrow/pilcrow.c +0 -27
@@ 1,28 1,1 @@
#include "pilcrow.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);
-}
M keyboards/handwired/prime_exl/keymaps/default/keymap.c => keyboards/handwired/prime_exl/keymaps/default/keymap.c +0 -5
@@ 106,11 106,6 @@ void matrix_init_user(void) {
writePinHigh(B5);
}
-void matrix_scan_user(void) {
-
-}
-
-
void led_set_user(uint8_t usb_led) {
if (IS_LED_ON(usb_led, USB_LED_NUM_LOCK)) {
writePinHigh(B6);
M keyboards/handwired/prime_exl/keymaps/via/keymap.c => keyboards/handwired/prime_exl/keymaps/via/keymap.c +0 -5
@@ 64,11 64,6 @@ void matrix_init_user(void) {
writePinHigh(B5);
}
-void matrix_scan_user(void) {
-
-}
-
-
void led_set_user(uint8_t usb_led) {
if (IS_LED_ON(usb_led, USB_LED_NUM_LOCK)) {
writePinHigh(B6);
M keyboards/handwired/prime_exl/prime_exl.c => keyboards/handwired/prime_exl/prime_exl.c +0 -28
@@ 14,31 14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "prime_exl.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);
-}
-*/>
\ No newline at end of file
M keyboards/handwired/promethium/promethium.c => keyboards/handwired/promethium/promethium.c +0 -13
@@ 22,10 22,6 @@ __attribute__ ((weak))
void battery_poll(uint8_t level) {
}
-void matrix_init_kb(void) {
- matrix_init_user();
-}
-
void matrix_scan_kb(void) {
static uint16_t counter = BATTERY_POLL;
counter++;
@@ 37,12 33,3 @@ void matrix_scan_kb(void) {
matrix_scan_user();
}
-
-void led_set_kb(uint8_t usb_led) {
- led_set_user(usb_led);
-}
-
-__attribute__ ((weak))
-void led_set_user(uint8_t usb_led) {
-}
-
M keyboards/handwired/qc60/proto/proto.c => keyboards/handwired/qc60/proto/proto.c +0 -4
@@ 15,7 15,3 @@
*/
#include "qc60.h"
-
-void matrix_init_kb(void) {
- matrix_init_user();
-};
M keyboards/handwired/reddot/reddot.c => keyboards/handwired/reddot/reddot.c +0 -6
@@ 1,7 1,1 @@
#include "reddot.h"
-
-void matrix_init_kb(void) {
-
- matrix_init_user();
-}
-
M keyboards/handwired/sick68/keymaps/default/keymap.c => keyboards/handwired/sick68/keymaps/default/keymap.c +0 -15
@@ 64,18 64,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
_______, _______, _______, _______, _______, _______, _______, KC_MS_L, KC_MS_D, KC_MS_R
),
};
-
-
-/*
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-bool led_update_user(led_t led_state) {
- return true;
-}
-*/
M keyboards/handwired/space_oddity/keymaps/default/keymap.c => keyboards/handwired/space_oddity/keymaps/default/keymap.c +0 -40
@@ 143,12 143,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
)
};
-void matrix_init_user(void) {
-}
-
-void matrix_scan_user(void) {
-}
-
// Simple macro ideas follow. Each of them is designed to give you a quick way to create pairs of
// delimiters and then position the cursor between them, much like Emacs' ParEdit does. This way,
// you can have some convenient coding "helpers" even when not using Emacs. It is also nice for
@@ 186,37 180,3 @@ 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)) {
-
- } else {
-
- }
-
- if (usb_led & (1 << USB_LED_SCROLL_LOCK)) {
-
- } else {
-
- }
-
- if (usb_led & (1 << USB_LED_COMPOSE)) {
-
- } else {
-
- }
-
- if (usb_led & (1 << USB_LED_KANA)) {
-
- } else {
-
- }
-
-}
M keyboards/handwired/steamvan/keymaps/default/keymap.c => keyboards/handwired/steamvan/keymaps/default/keymap.c +0 -16
@@ 75,19 75,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
_______, KC_LSFT, KC_B, KC_SPC, KC_C, _______, _______, _______
)
};
-
-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) {
-
-}
M keyboards/handwired/sticc14/sticc14.c => keyboards/handwired/sticc14/sticc14.c +0 -35
@@ 14,38 14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "sticc14.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.
-
-/*
-
-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);
-}
-
-*/
M keyboards/handwired/tennie/tennie.c => keyboards/handwired/tennie/tennie.c +0 -24
@@ 15,31 15,7 @@
*/
#include "tennie.h"
-void matrix_init_kb(void) {
- matrix_init_user();
-}
-
void matrix_post_init(void) {
rgblight_enable_noeeprom();
keyboard_post_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);
-//}
M keyboards/handwired/terminus_mini/keymaps/default/keymap.c => keyboards/handwired/terminus_mini/keymaps/default/keymap.c +0 -13
@@ 265,16 265,3 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
}
return true;
}
-
-
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-void led_set_user(uint8_t usb_led) {
-
-}
M keyboards/handwired/terminus_mini/terminus_mini.c => keyboards/handwired/terminus_mini/terminus_mini.c +0 -27
@@ 14,30 14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "terminus_mini.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);
-}
M keyboards/handwired/trackpoint/trackpoint.c => keyboards/handwired/trackpoint/trackpoint.c +0 -4
@@ 1,5 1,1 @@
#include "trackpoint.h"
-
-void matrix_init_kb(void) {
-
-}
M keyboards/handwired/wulkan/wulkan.c => keyboards/handwired/wulkan/wulkan.c +0 -5
@@ 1,6 1,1 @@
#include "wulkan.h"
-
-void matrix_init_kb(void) {
- matrix_init_user();
-}
-
M keyboards/handwired/xealous/rev1/rev1.c => keyboards/handwired/xealous/rev1/rev1.c +0 -4
@@ 1,6 1,2 @@
#include "quantum.h"
#include "rev1.h"
-
-void matrix_init_kb(void) {
- matrix_init_user();
-}
M keyboards/handwired/xealousbrown/xealousbrown.c => keyboards/handwired/xealousbrown/xealousbrown.c +0 -9
@@ 15,15 15,6 @@
*/
#include "xealousbrown.h"
-void matrix_init_kb(void) {
- // put your keyboard start-up code here
- // runs once when the firmware starts up
-
- matrix_init_user();
-}
-
-
-
#ifdef BENCHMARK_MATRIX
# include "timer.h"
# include <stdint.h>
M keyboards/hecomi/hecomi.c => keyboards/hecomi/hecomi.c +0 -27
@@ 15,30 15,3 @@
*/
#include "hecomi.h"
#include "split_util.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);
-}
M keyboards/hecomi/keymaps/default/keymap.c => keyboards/hecomi/keymaps/default/keymap.c +0 -12
@@ 91,15 91,3 @@ layer_state_t layer_state_set_user(layer_state_t state)
}
return state;
}
-
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-void led_set_user(uint8_t usb_led) {
-
-}
M keyboards/helix/pico/pico.c => keyboards/helix/pico/pico.c +0 -5
@@ 11,11 11,6 @@ uint8_t is_master = false;
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
return process_record_gfx(keycode,record) && 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);
-}
#endif
void matrix_init_kb(void) {
M keyboards/helix/rev1/rev1.c => keyboards/helix/rev1/rev1.c +0 -18
@@ 7,22 7,4 @@
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
return process_record_gfx(keycode,record) && 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);
-}
#endif
-
-void matrix_init_kb(void) {
-
- // // green led on
- // DDRD |= (1<<5);
- // PORTD &= ~(1<<5);
-
- // // orange led on
- // DDRB |= (1<<0);
- // PORTB &= ~(1<<0);
-
- matrix_init_user();
-};
M keyboards/helix/rev2/rev2.c => keyboards/helix/rev2/rev2.c +0 -5
@@ 11,11 11,6 @@ uint8_t is_master = false;
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
return process_record_gfx(keycode,record) && 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);
-}
#endif
bool is_mac_mode(void) {
M keyboards/helix/rev3_4rows/keymaps/default/keymap.c => keyboards/helix/rev3_4rows/keymaps/default/keymap.c +0 -14
@@ 178,17 178,3 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
}
return true;
}
-
-/*
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-bool led_update_user(led_t led_state) {
- return true;
-}
-*/
M keyboards/helix/rev3_4rows/keymaps/via/keymap.c => keyboards/helix/rev3_4rows/keymaps/via/keymap.c +0 -14
@@ 165,17 165,3 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
}
return true;
}
-
-/*
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-bool led_update_user(led_t led_state) {
- return true;
-}
-*/
M keyboards/helix/rev3_5rows/keymaps/default/keymap.c => keyboards/helix/rev3_5rows/keymaps/default/keymap.c +0 -14
@@ 188,17 188,3 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
}
return true;
}
-
-/*
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-bool led_update_user(led_t led_state) {
- return true;
-}
-*/
M keyboards/helix/rev3_5rows/keymaps/via/keymap.c => keyboards/helix/rev3_5rows/keymaps/via/keymap.c +0 -14
@@ 175,17 175,3 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
}
return true;
}
-
-/*
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-bool led_update_user(led_t led_state) {
- return true;
-}
-*/
M keyboards/hineybush/h87a/h87a.c => keyboards/hineybush/h87a/h87a.c +0 -20
@@ 23,26 23,6 @@ void matrix_init_kb(void) {
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);
-}
-
bool led_update_kb(led_t led_state) {
if(led_update_user(led_state)) {
writePin(D5, !led_state.caps_lock);
M keyboards/hineybush/h87a/keymaps/default/keymap.c => keyboards/hineybush/h87a/keymaps/default/keymap.c +0 -12
@@ 34,15 34,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),
};
-
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- return true;
-}
M keyboards/hineybush/h88/h88.c => keyboards/hineybush/h88/h88.c +0 -20
@@ 23,26 23,6 @@ void matrix_init_kb(void) {
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);
-}
-
bool led_update_kb(led_t led_state) {
if(led_update_user(led_state)) {
writePin(D5, !led_state.caps_lock);
M keyboards/hineybush/h88/keymaps/default/keymap.c => keyboards/hineybush/h88/keymaps/default/keymap.c +0 -14
@@ 34,17 34,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),
};
-
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- return true;
-}
-
-
M keyboards/hineybush/hbcp/hbcp.c => keyboards/hineybush/hbcp/hbcp.c +0 -33
@@ 34,39 34,6 @@
// #define HSV_custom_color H, S, V
-
-// Optional override functions below.
-// You can leave any or all of these undefined.
-// These are only required if you want to perform custom actions.
-
-
-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);
-}
-
void eeconfig_init_kb(void) { // EEPROM is getting reset!
rgblight_enable(); // Enable RGB by default
rgblight_sethsv(0, 255, 128); // Set default HSV - red hue, full saturation, medium brightness
M keyboards/hineybush/hbcp/keymaps/default/keymap.c => keyboards/hineybush/hbcp/keymaps/default/keymap.c +0 -8
@@ 74,11 74,3 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
}
return true;
}
-
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
M keyboards/hineybush/hineyg80/keymaps/default/keymap.c => keyboards/hineybush/hineyg80/keymaps/default/keymap.c +0 -16
@@ 40,19 40,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, KC_TRNS, KC_TRNS
),
};
-
-bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- return true;
-}
-
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-void led_set_user(uint8_t usb_led) {
-
-}
M keyboards/hineybush/hineyg80/keymaps/wkl/keymap.c => keyboards/hineybush/hineyg80/keymaps/wkl/keymap.c +0 -16
@@ 42,19 42,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
______, ______, ______, ______, ______, ______, ______, ______, ______, ______
),
};
-
-bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- return true;
-}
-
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-void led_set_user(uint8_t usb_led) {
-
-}>
\ No newline at end of file
M keyboards/hineybush/sm68/sm68.c => keyboards/hineybush/sm68/sm68.c +0 -33
@@ 15,36 15,3 @@
*/
#include "sm68.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.
-
-/*
-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);
-}
-*/
M keyboards/hotdox/keymaps/default/keymap.c => keyboards/hotdox/keymaps/default/keymap.c +0 -6
@@ 160,12 160,6 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
return true;
}
-// Runs just one time when the keyboard initializes.
-void matrix_init_user(void) {
-
-};
-
-
// Runs constantly in the background, in a loop.
void matrix_scan_user(void) {
M keyboards/hotdox/keymaps/via/keymap.c => keyboards/hotdox/keymaps/via/keymap.c +0 -6
@@ 162,12 162,6 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
return true;
}
-// Runs just one time when the keyboard initializes.
-void matrix_init_user(void) {
-
-};
-
-
// Runs constantly in the background, in a loop.
void matrix_scan_user(void) {
M keyboards/hs60/v1/keymaps/ansi/keymap.c => keyboards/hs60/v1/keymaps/ansi/keymap.c +0 -12
@@ 32,15 32,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
KC_TRNS, RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, RGB_SPI, RGB_SPD, KC_TRNS,\
KC_VOLU, KC_VOLD, KC_MUTE, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS),
};
-
-void matrix_init_user(void) {
- //user initialization
-}
-
-void matrix_scan_user(void) {
- //user matrix
-}
-
-bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- return true;
-}>
\ No newline at end of file
M keyboards/hs60/v1/keymaps/default/keymap.c => keyboards/hs60/v1/keymaps/default/keymap.c +0 -12
@@ 32,15 32,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
KC_TRNS, RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, RGB_SPI, RGB_SPD, KC_TRNS, KC_TRNS,\
KC_VOLU, KC_VOLD, KC_MUTE, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS),
};
-
-void matrix_init_user(void) {
- //user initialization
-}
-
-void matrix_scan_user(void) {
- //user matrix
-}
-
-bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- return true;
-}
M keyboards/hs60/v1/v1.c => keyboards/hs60/v1/v1.c +0 -14
@@ 378,20 378,6 @@ void matrix_init_kb(void) {
matrix_init_user();
}
-void matrix_scan_kb(void) {
-
- matrix_scan_user();
-}
-
-bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
-
- return process_record_user(keycode, record);
-}
-
-void led_set_kb(uint8_t usb_led) {
- //backlight_set_indicator_state(usb_led);
-}
-
void suspend_power_down_kb(void)
{
rgb_matrix_set_suspend_state(true);
M keyboards/hs60/v2/ansi/keymaps/default/keymap.c => keyboards/hs60/v2/ansi/keymaps/default/keymap.c +0 -12
@@ 46,15 46,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, KC_TRNS,\
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS),
};
-
-void matrix_init_user(void) {
- //user initialization
-}
-
-void matrix_scan_user(void) {
- //user matrix
-}
-
-bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- return true;
-}>
\ No newline at end of file
M keyboards/hs60/v2/ansi/keymaps/via/keymap.c => keyboards/hs60/v2/ansi/keymaps/via/keymap.c +0 -12
@@ 46,15 46,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, KC_TRNS,\
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS),
};
-
-void matrix_init_user(void) {
- //user initialization
-}
-
-void matrix_scan_user(void) {
- //user matrix
-}
-
-bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- return true;
-}>
\ No newline at end of file
M keyboards/hs60/v2/hhkb/keymaps/default/keymap.c => keyboards/hs60/v2/hhkb/keymaps/default/keymap.c +0 -12
@@ 46,15 46,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, KC_TRNS, KC_TRNS,\
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS ),
};
-
-void matrix_init_user(void) {
- //user initialization
-}
-
-void matrix_scan_user(void) {
- //user matrix
-}
-
-bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- return true;
-}>
\ No newline at end of file
M keyboards/hs60/v2/hhkb/keymaps/via/keymap.c => keyboards/hs60/v2/hhkb/keymaps/via/keymap.c +0 -12
@@ 46,15 46,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, KC_TRNS, KC_TRNS,\
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS ),
};
-
-void matrix_init_user(void) {
- //user initialization
-}
-
-void matrix_scan_user(void) {
- //user matrix
-}
-
-bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- return true;
-}>
\ No newline at end of file
M keyboards/hs60/v2/iso/keymaps/default/keymap.c => keyboards/hs60/v2/iso/keymaps/default/keymap.c +0 -12
@@ 46,15 46,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, KC_TRNS, KC_TRNS,\
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS),
};
-
-void matrix_init_user(void) {
- //user initialization
-}
-
-void matrix_scan_user(void) {
- //user matrix
-}
-
-bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- return true;
-}>
\ No newline at end of file
M keyboards/hs60/v2/iso/keymaps/via/keymap.c => keyboards/hs60/v2/iso/keymaps/via/keymap.c +0 -12
@@ 46,15 46,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, KC_TRNS, KC_TRNS,\
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS),
};
-
-void matrix_init_user(void) {
- //user initialization
-}
-
-void matrix_scan_user(void) {
- //user matrix
-}
-
-bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- return true;
-}>
\ No newline at end of file
M keyboards/idobo/idobo.c => keyboards/idobo/idobo.c +0 -27
@@ 14,30 14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "idobo.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);
-}
M keyboards/idobo/keymaps/default/keymap.c => keyboards/idobo/keymaps/default/keymap.c +0 -12
@@ 52,15 52,3 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
}
return true;
}
-
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-void led_set_user(uint8_t usb_led) {
-
-}
M keyboards/illuminati/is0/is0.c => keyboards/illuminati/is0/is0.c +0 -35
@@ 14,38 14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "is0.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.
-
-/*
-
-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);
-}
-
-*/
M keyboards/illuminati/is0/keymaps/ctrlaltdel/keymap.c => keyboards/illuminati/is0/keymaps/ctrlaltdel/keymap.c +0 -16
@@ 20,19 20,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
LCTL(LALT(KC_DEL))
),
};
-
-bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- return true;
-}
-
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-void led_set_user(uint8_t usb_led) {
-
-}
M keyboards/illuminati/is0/keymaps/default/keymap.c => keyboards/illuminati/is0/keymaps/default/keymap.c +0 -12
@@ 38,15 38,3 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
}
return true;
}
-
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-void led_set_user(uint8_t usb_led) {
-
-}
M keyboards/ivy/keymaps/default/keymap.c => keyboards/ivy/keymaps/default/keymap.c +0 -4
@@ 39,7 39,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
)
};
-
-void matrix_init_user(void) {
-
-}
M keyboards/ivy/rev1/rev1.c => keyboards/ivy/rev1/rev1.c +0 -4
@@ 1,5 1,1 @@
#include "ivy.h"
-
-void matrix_init_kb(void) {
- matrix_init_user();
-};
M keyboards/jae/j01/j01.c => keyboards/jae/j01/j01.c +0 -14
@@ 29,20 29,6 @@ void matrix_init_kb(void) {
setPinOutput(E6);
}
-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);
-}
-
bool led_update_kb(led_t led_state) {
if(led_update_user(led_state)) {
writePin(E6, !led_state.caps_lock);
M keyboards/kagamidget/kagamidget.c => keyboards/kagamidget/kagamidget.c +0 -27
@@ 14,30 14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "kagamidget.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);
-}
M keyboards/kagamidget/keymaps/default/keymap.c => keyboards/kagamidget/keymaps/default/keymap.c +0 -16
@@ 100,19 100,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
)
};
-
-bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- return true;
-}
-
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-void led_set_user(uint8_t usb_led) {
-
-}
M keyboards/kbdfans/kbd19x/keymaps/default/keymap.c => keyboards/kbdfans/kbd19x/keymaps/default/keymap.c +0 -16
@@ 34,19 34,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ \
),
};
-
-bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- return true;
-}
-
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-void led_set_user(uint8_t usb_led) {
-
-}
M keyboards/kbdfans/kbd4x/kbd4x.c => keyboards/kbdfans/kbd4x/kbd4x.c +0 -27
@@ 14,30 14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "kbd4x.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);
-}
M keyboards/kbdfans/kbd4x/keymaps/default/keymap.c => keyboards/kbdfans/kbd4x/keymaps/default/keymap.c +0 -13
@@ 37,16 37,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
___, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___
),
};
-
-bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- return true;
-}
-
-void matrix_init_user(void) {
-}
-
-void matrix_scan_user(void) {
-}
-
-void led_set_user(uint8_t usb_led) {
-}
M keyboards/kbdfans/kbd66/kbd66.c => keyboards/kbdfans/kbd66/kbd66.c +0 -27
@@ 14,30 14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "kbd66.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);
-}
M keyboards/kbdfans/kbd66/keymaps/ansi/keymap.c => keyboards/kbdfans/kbd66/keymaps/ansi/keymap.c +0 -16
@@ 65,19 65,3 @@ 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) {
-
-}
M keyboards/kbdfans/kbd66/keymaps/default/keymap.c => keyboards/kbdfans/kbd66/keymaps/default/keymap.c +0 -16
@@ 65,19 65,3 @@ 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) {
-
-}
M keyboards/kbdfans/kbd66/keymaps/iso/keymap.c => keyboards/kbdfans/kbd66/keymaps/iso/keymap.c +0 -16
@@ 65,19 65,3 @@ 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) {
-
-}
M keyboards/kbdfans/kbd67/hotswap/hotswap.c => keyboards/kbdfans/kbd67/hotswap/hotswap.c +0 -27
@@ 14,30 14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "hotswap.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);
-}
M keyboards/kbdfans/kbd67/hotswap/keymaps/default/keymap.c => keyboards/kbdfans/kbd67/hotswap/keymaps/default/keymap.c +0 -12
@@ 58,15 58,3 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
}
return true;
}
-
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-void led_set_user(uint8_t usb_led) {
-
-}
M keyboards/kbdfans/kbd67/mkii_soldered/mkii_soldered.c => keyboards/kbdfans/kbd67/mkii_soldered/mkii_soldered.c +0 -32
@@ 14,35 14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "mkii_soldered.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.
-
-/*
-
-void matrix_init_kb(void) {
-
- matrix_init_user();
-}
-
-void led_set_kb(uint8_t usb_led) {
-
- led_set_user(usb_led);
-}
-
-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);
-}
-
-*/
M keyboards/kbdfans/kbd67/mkiirgb/keymaps/default/keymap.c => keyboards/kbdfans/kbd67/mkiirgb/keymaps/default/keymap.c +0 -14
@@ 15,17 15,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
KC_LSFT, KC_TRNS, KC_TRNS, KC_TRNS,KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_VOLU, KC_MUTE,\
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_MPRV, KC_VOLD, KC_MNXT),
};
-void matrix_init_user(void)
-{
- //user initialization
-}
-
-void matrix_scan_user(void)
-{
- //user matrix
-}
-
-bool process_record_user(uint16_t keycode, keyrecord_t *record)
-{
- return true;
-}
M keyboards/kbdfans/kbd67/rev1/keymaps/default/keymap.c => keyboards/kbdfans/kbd67/rev1/keymaps/default/keymap.c +0 -12
@@ 85,15 85,3 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
}
return true;
}
-
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-void led_set_user(uint8_t usb_led) {
-
-}
M keyboards/kbdfans/kbd67/rev2/keymaps/default/keymap.c => keyboards/kbdfans/kbd67/rev2/keymaps/default/keymap.c +0 -12
@@ 85,15 85,3 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
}
return true;
}
-
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-void led_set_user(uint8_t usb_led) {
-
-}
M keyboards/kbdfans/kbd6x/keymaps/default/keymap.c => keyboards/kbdfans/kbd6x/keymaps/default/keymap.c +0 -14
@@ 32,17 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
),
};
-
-
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- return true;
-}
-
M keyboards/kbdfans/kbd8x_mk2/keymaps/ansi_7/keymap.c => keyboards/kbdfans/kbd8x_mk2/keymaps/ansi_7/keymap.c +0 -16
@@ 26,19 26,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_NO, KC_RALT, KC_RGUI, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT \
),
};
-
-bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- return true;
-}
-
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-void led_set_user(uint8_t usb_led) {
-
-}
M keyboards/kbdfans/kbd8x_mk2/keymaps/default/keymap.c => keyboards/kbdfans/kbd8x_mk2/keymaps/default/keymap.c +0 -16
@@ 26,19 26,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, KC_APP, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT \
),
};
-
-bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- return true;
-}
-
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-void led_set_user(uint8_t usb_led) {
-
-}
M keyboards/kbdfans/kbd8x_mk2/keymaps/iso_625/keymap.c => keyboards/kbdfans/kbd8x_mk2/keymaps/iso_625/keymap.c +0 -16
@@ 26,19 26,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_ALGR, KC_RGUI, KC_APP, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT \
),
};
-
-bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- return true;
-}
-
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-void led_set_user(uint8_t usb_led) {
-
-}
M keyboards/kbdfans/kbd8x_mk2/keymaps/iso_7/keymap.c => keyboards/kbdfans/kbd8x_mk2/keymaps/iso_7/keymap.c +0 -16
@@ 26,19 26,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_NO, KC_ALGR, KC_RGUI, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT \
),
};
-
-bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- return true;
-}
-
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-void led_set_user(uint8_t usb_led) {
-
-}
M keyboards/kbdfans/kbd8x_mk2/keymaps/tester/keymap.c => keyboards/kbdfans/kbd8x_mk2/keymaps/tester/keymap.c +0 -16
@@ 26,19 26,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, KC_APP, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT \
),
};
-
-bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- return true;
-}
-
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-void led_set_user(uint8_t usb_led) {
-
-}
M keyboards/kbdfans/kbdpad_mk2/keymaps/default/keymap.c => keyboards/kbdfans/kbdpad_mk2/keymaps/default/keymap.c +0 -16
@@ 26,19 26,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
KC_P0, KC_P0, KC_PDOT, KC_PENT \
),
};
-
-bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- return true;
-}
-
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-void led_set_user(uint8_t usb_led) {
-
-}
M keyboards/kbdfans/kbdpad_mk2/keymaps/tester/keymap.c => keyboards/kbdfans/kbdpad_mk2/keymaps/tester/keymap.c +0 -16
@@ 26,19 26,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
KC_P0, KC_P0, KC_PDOT, KC_PENT \
),
};
-
-bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- return true;
-}
-
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-void led_set_user(uint8_t usb_led) {
-
-}
M keyboards/keebio/ergodicity/keymaps/default/keymap.c => keyboards/keebio/ergodicity/keymaps/default/keymap.c +0 -12
@@ 59,15 59,3 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
}
return true;
}
-
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-void led_set_user(uint8_t usb_led) {
-
-}
M keyboards/keebio/iris/rev1/rev1.c => keyboards/keebio/iris/rev1/rev1.c +0 -7
@@ 1,12 1,5 @@
#include "rev1.h"
-#ifdef SSD1306OLED
-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);
-}
-#endif
-
#ifdef SWAP_HANDS_ENABLE
__attribute__ ((weak))
// swap-hands action needs a matrix to define the swap
M keyboards/keebio/iris/rev1_led/rev1_led.c => keyboards/keebio/iris/rev1_led/rev1_led.c +0 -7
@@ 1,12 1,5 @@
#include "rev1_led.h"
-#ifdef SSD1306OLED
-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);
-}
-#endif
-
#ifdef SWAP_HANDS_ENABLE
__attribute__ ((weak))
// swap-hands action needs a matrix to define the swap
M keyboards/keebio/levinson/rev1/rev1.c => keyboards/keebio/levinson/rev1/rev1.c +0 -21
@@ 1,22 1,1 @@
#include "levinson.h"
-
-#ifdef SSD1306OLED
-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);
-}
-#endif
-
-void matrix_init_kb(void) {
-
- // // green led on
- // DDRD |= (1<<5);
- // PORTD &= ~(1<<5);
-
- // // orange led on
- // DDRB |= (1<<0);
- // PORTB &= ~(1<<0);
-
- matrix_init_user();
-};
-
M keyboards/keebio/nyquist/rev1/rev1.c => keyboards/keebio/nyquist/rev1/rev1.c +0 -21
@@ 1,22 1,1 @@
#include "rev1.h"
-
-#ifdef SSD1306OLED
-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);
-}
-#endif
-
-void matrix_init_kb(void) {
-
- // // green led on
- // DDRD |= (1<<5);
- // PORTD &= ~(1<<5);
-
- // // orange led on
- // DDRB |= (1<<0);
- // PORTB &= ~(1<<0);
-
- matrix_init_user();
-};
-
M keyboards/keebio/rorschach/rev1/rev1.c => keyboards/keebio/rorschach/rev1/rev1.c +0 -13
@@ 1,14 1,1 @@
#include "rev1.h"
-
-void matrix_init_kb(void) {
-
- // // green led on
- // DDRD |= (1<<5);
- // PORTD &= ~(1<<5);
-
- // // orange led on
- // DDRB |= (1<<0);
- // PORTB &= ~(1<<0);
-
- matrix_init_user();
-};
M keyboards/keebio/tragicforce68/tragicforce68.c => keyboards/keebio/tragicforce68/tragicforce68.c +0 -7
@@ 1,8 1,1 @@
#include "tragicforce68.h"
-
-void matrix_init_kb(void) {
- // put your keyboard start-up code here
- // runs once when the firmware starts up
-
- matrix_init_user();
-}
M keyboards/keebio/wavelet/wavelet.c => keyboards/keebio/wavelet/wavelet.c +0 -13
@@ 1,18 1,5 @@
#include "wavelet.h"
-void matrix_init_kb(void) {
-
- // // green led on
- // DDRD |= (1<<5);
- // PORTD &= ~(1<<5);
-
- // // orange led on
- // DDRB |= (1<<0);
- // PORTB &= ~(1<<0);
-
- matrix_init_user();
-};
-
#ifdef SWAP_HANDS_ENABLE
__attribute__ ((weak))
const keypos_t PROGMEM hand_swap_config[MATRIX_ROWS][MATRIX_COLS] = {
M keyboards/keyboardio/model01/model01.c => keyboards/keyboardio/model01/model01.c +0 -13
@@ 23,16 23,3 @@ void matrix_init_kb(void) {
set_all_leds_to(0, 0, 0);
matrix_init_user();
}
-
-void matrix_scan_kb(void) {
- matrix_scan_user();
-}
-
-__attribute__ ((weak))
-void matrix_scan_user(void) {
-}
-
-__attribute__ ((weak))
-void matrix_init_user(void) {
-}
-
M keyboards/keyhive/maypad/keymaps/default/keymap.c => keyboards/keyhive/maypad/keymaps/default/keymap.c +0 -13
@@ 25,16 25,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
KC_P0, KC_PDOT, KC_PENT
),
};
-
-
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-void led_set_user(uint8_t usb_led) {
-
-}
M keyboards/keyhive/maypad/maypad.c => keyboards/keyhive/maypad/maypad.c +0 -35
@@ 14,38 14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "maypad.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.
-
-/*
-
-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);
-}
-
-*/
M keyboards/kinesis/alvicstep/alvicstep.c => keyboards/kinesis/alvicstep/alvicstep.c +0 -17
@@ 70,21 70,6 @@ void blink_all_leds(void)
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
@@ 101,5 86,3 @@ void led_set_kb(uint8_t usb_led) {
led_set_user(usb_led);
}
-
-
M keyboards/kinesis/keymaps/default/keymap.c => keyboards/kinesis/keymaps/default/keymap.c +0 -16
@@ 51,19 51,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
KC_PGDN,KC_ENTER ,KC_SPC
)
};
-
-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) {
-
-}
M keyboards/kinesis/keymaps/default_pretty/keymap.c => keyboards/kinesis/keymaps/default_pretty/keymap.c +0 -16
@@ 44,19 44,3 @@ 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) {
-
-}
M keyboards/kira75/keymaps/default/keymap.c => keyboards/kira75/keymaps/default/keymap.c +0 -16
@@ 25,19 25,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RCTL, KC_LEFT, KC_DOWN, KC_RIGHT \
),
};
-
-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) {
-
-}
M keyboards/kira75/kira75.c => keyboards/kira75/kira75.c +0 -27
@@ 14,30 14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "kira75.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);
-}
M keyboards/kmac/keymaps/default/keymap.c => keyboards/kmac/keymaps/default/keymap.c +0 -6
@@ 79,9 79,3 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
}
return true;
};
-
-void matrix_init_user(void) {}
-
-void matrix_scan_user(void) {}
-
-void led_set_user(uint8_t usb_led) {}
M keyboards/kmac/keymaps/default_tkl_ansi/keymap.c => keyboards/kmac/keymaps/default_tkl_ansi/keymap.c +0 -6
@@ 79,9 79,3 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
}
return true;
};
-
-void matrix_init_user(void) {}
-
-void matrix_scan_user(void) {}
-
-void led_set_user(uint8_t usb_led) {}
M keyboards/kmac/keymaps/default_tkl_ansi_wkl/keymap.c => keyboards/kmac/keymaps/default_tkl_ansi_wkl/keymap.c +0 -6
@@ 79,9 79,3 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
}
return true;
};
-
-void matrix_init_user(void) {}
-
-void matrix_scan_user(void) {}
-
-void led_set_user(uint8_t usb_led) {}
M keyboards/kmini/keymaps/default/keymap.c => keyboards/kmini/keymaps/default/keymap.c +2 -11
@@ 41,17 41,8 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
void led_set_user(uint8_t usb_led) {
if (usb_led & (1<<USB_LED_CAPS_LOCK)) {
- PORTB &= ~(1<<1); // LO
+ writePinLow(B1);
} else {
- PORTB |= (1<<1); // HI
+ writePinHigh(B1);
}
}
-
-
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}>
\ No newline at end of file
M keyboards/kmini/kmini.c => keyboards/kmini/kmini.c +0 -4
@@ 26,7 26,3 @@ void led_init_ports(void) {
* Side1: Low B3
* Side2: Low B2
*/
-void led_set_kb(uint8_t usb_led) {
- led_set_user(usb_led);
-}
-
M keyboards/knops/mini/keymaps/default/keymap.c => keyboards/knops/mini/keymaps/default/keymap.c +0 -38
@@ 199,44 199,6 @@ void matrix_init_user(void) {
set_layer_led(0);
}
-void matrix_scan_user(void) {
-}
-
-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)) {
-
- } else {
-
- }
-
- if (usb_led & (1 << USB_LED_SCROLL_LOCK)) {
-
- } else {
-
- }
-
- if (usb_led & (1 << USB_LED_COMPOSE)) {
-
- } else {
-
- }
-
- if (usb_led & (1 << USB_LED_KANA)) {
-
- } else {
-
- }
-
-}
-
-
/*
* NOTE:
*
M keyboards/knops/mini/mini.c => keyboards/knops/mini/mini.c +0 -28
@@ 14,31 14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "mini.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);
-}
-*/>
\ No newline at end of file
M keyboards/kona_classic/keymaps/ansi/keymap.c => keyboards/kona_classic/keymaps/ansi/keymap.c +0 -12
@@ 44,18 44,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
)
};
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-void led_set_user(uint8_t usb_led) {
-
-}
-
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
switch (keycode) {
case SFT_ESC:
M keyboards/kona_classic/keymaps/ansi_arrows/keymap.c => keyboards/kona_classic/keymaps/ansi_arrows/keymap.c +0 -12
@@ 44,18 44,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
)
};
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-void led_set_user(uint8_t usb_led) {
-
-}
-
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
switch (keycode) {
case SFT_ESC:
M keyboards/kona_classic/keymaps/ansi_arrows_lcap/keymap.c => keyboards/kona_classic/keymaps/ansi_arrows_lcap/keymap.c +0 -12
@@ 44,18 44,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
)
};
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-void led_set_user(uint8_t usb_led) {
-
-}
-
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
switch (keycode) {
case SFT_ESC:
M keyboards/kona_classic/keymaps/ansi_split/keymap.c => keyboards/kona_classic/keymaps/ansi_split/keymap.c +0 -12
@@ 44,18 44,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
)
};
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-void led_set_user(uint8_t usb_led) {
-
-}
-
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
switch (keycode) {
case SFT_ESC:
M keyboards/kona_classic/keymaps/ansi_split_arrows/keymap.c => keyboards/kona_classic/keymaps/ansi_split_arrows/keymap.c +0 -12
@@ 44,18 44,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
)
};
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-void led_set_user(uint8_t usb_led) {
-
-}
-
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
switch (keycode) {
case SFT_ESC:
M keyboards/kona_classic/keymaps/default/keymap.c => keyboards/kona_classic/keymaps/default/keymap.c +0 -12
@@ 44,18 44,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
)
};
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-void led_set_user(uint8_t usb_led) {
-
-}
-
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
switch (keycode) {
case SFT_ESC:
M keyboards/kona_classic/keymaps/iso/keymap.c => keyboards/kona_classic/keymaps/iso/keymap.c +0 -12
@@ 44,18 44,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
)
};
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-void led_set_user(uint8_t usb_led) {
-
-}
-
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
switch (keycode) {
case SFT_ESC:
M keyboards/kona_classic/keymaps/iso_arrows/keymap.c => keyboards/kona_classic/keymaps/iso_arrows/keymap.c +0 -12
@@ 44,18 44,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
)
};
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-void led_set_user(uint8_t usb_led) {
-
-}
-
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
switch (keycode) {
case SFT_ESC:
M keyboards/kona_classic/keymaps/iso_split/keymap.c => keyboards/kona_classic/keymaps/iso_split/keymap.c +0 -12
@@ 44,18 44,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
)
};
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-void led_set_user(uint8_t usb_led) {
-
-}
-
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
switch (keycode) {
case SFT_ESC:
M keyboards/kona_classic/keymaps/iso_split_arrows/keymap.c => keyboards/kona_classic/keymaps/iso_split_arrows/keymap.c +0 -12
@@ 44,18 44,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
)
};
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-void led_set_user(uint8_t usb_led) {
-
-}
-
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
switch (keycode) {
case SFT_ESC:
M keyboards/kprepublic/bm16a/bm16a.c => keyboards/kprepublic/bm16a/bm16a.c +0 -27
@@ 14,30 14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "bm16a.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);
-}
M keyboards/kprepublic/bm43a/bm43a.c => keyboards/kprepublic/bm43a/bm43a.c +0 -35
@@ 14,38 14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "bm43a.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.
-
-/*
-
-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);
-}
-
-*/
M keyboards/kprepublic/bm60rgb/bm60rgb.c => keyboards/kprepublic/bm60rgb/bm60rgb.c +0 -27
@@ 15,33 15,6 @@
*/
#include "bm60rgb.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);
-}
-
led_config_t g_led_config = { {
{ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13 },
{ 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27 },
M keyboards/ktec/ergodone/keymaps/default/keymap.c => keyboards/ktec/ergodone/keymaps/default/keymap.c +0 -6
@@ 168,12 168,6 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
return true;
}
-// Runs just one time when the keyboard initializes.
-void matrix_init_user(void) {
-
-};
-
-
// Runs constantly in the background, in a loop.
void matrix_scan_user(void) {
M keyboards/kudox/rev1/rev1.c => keyboards/kudox/rev1/rev1.c +0 -21
@@ 1,22 1,1 @@
#include "kudox.h"
-
-
-#ifdef SSD1306OLED
-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);
-}
-#endif
-
-void matrix_init_kb(void) {
-
- // // green led on
- // DDRD |= (1<<5);
- // PORTD &= ~(1<<5);
-
- // // orange led on
- // DDRB |= (1<<0);
- // PORTB &= ~(1<<0);
-
- matrix_init_user();
-};
M keyboards/kudox_game/rev1/rev1.c => keyboards/kudox_game/rev1/rev1.c +0 -21
@@ 1,22 1,1 @@
#include "kudox_game.h"
-
-
-#ifdef SSD1306OLED
-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);
-}
-#endif
-
-void matrix_init_kb(void) {
-
- // // green led on
- // DDRD |= (1<<5);
- // PORTD &= ~(1<<5);
-
- // // orange led on
- // DDRB |= (1<<0);
- // PORTB &= ~(1<<0);
-
- matrix_init_user();
-};
M keyboards/launchpad/keymaps/default/keymap.c => keyboards/launchpad/keymaps/default/keymap.c +0 -4
@@ 53,7 53,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
)
};
-
-void matrix_init_user(void) {
-
-}
M keyboards/launchpad/rev1/rev1.c => keyboards/launchpad/rev1/rev1.c +0 -8
@@ 1,9 1,1 @@
#include "launchpad.h"
-
-void matrix_init_kb(void) {
- // Undo init of RX LED, we use that port currently
- //DDRB &= ~(1<<0);
-
- matrix_init_user();
-
-};
M keyboards/lets_split/rev1/rev1.c => keyboards/lets_split/rev1/rev1.c +0 -14
@@ 1,15 1,1 @@
#include "lets_split.h"
-
-void matrix_init_kb(void) {
-
- // // green led on
- // DDRD |= (1<<5);
- // PORTD &= ~(1<<5);
-
- // // orange led on
- // DDRB |= (1<<0);
- // PORTB &= ~(1<<0);
-
- matrix_init_user();
-};
-
M keyboards/lets_split/rev2/rev2.c => keyboards/lets_split/rev2/rev2.c +0 -22
@@ 1,23 1,1 @@
#include "lets_split.h"
-
-
-#ifdef SSD1306OLED
-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);
-}
-#endif
-
-void matrix_init_kb(void) {
-
- // // green led on
- // DDRD |= (1<<5);
- // PORTD &= ~(1<<5);
-
- // // orange led on
- // DDRB |= (1<<0);
- // PORTB &= ~(1<<0);
-
- matrix_init_user();
-};
-
M keyboards/lets_split/sockets/sockets.c => keyboards/lets_split/sockets/sockets.c +0 -21
@@ 1,22 1,1 @@
#include "lets_split.h"
-
-
-#ifdef SSD1306OLED
-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);
-}
-#endif
-
-void matrix_init_kb(void) {
-
- // // green led on
- // DDRD |= (1<<5);
- // PORTD &= ~(1<<5);
-
- // // orange led on
- // DDRB |= (1<<0);
- // PORTB &= ~(1<<0);
-
- matrix_init_user();
-};
M keyboards/lfkeyboards/lfk65_hs/keymaps/default/keymap.c => keyboards/lfkeyboards/lfk65_hs/keymaps/default/keymap.c +0 -16
@@ 52,19 52,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
F(5), F(2),F(4), KC_TR, KC_TR, KC_TR, KC_TR, MU_TOG, RGB_VAD, RGB_VAI, KC_TR, KC_TR, RGB_HUI, KC_TR,
KC_TR, KC_TR, KC_TR, KC_TR, KC_TR, KC_TR, KC_TR, RGB_SAD, RGB_HUD, RGB_SAI),
};
-
-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) {
-
-}
M keyboards/lfkeyboards/lfk65_hs/lfk65_hs.c => keyboards/lfkeyboards/lfk65_hs/lfk65_hs.c +0 -11
@@ 4,17 4,6 @@
#include "lfk65_hs.h"
#include "keymap.h"
-void matrix_init_kb(void)
-{
- matrix_init_user();
-
-}
-
-void matrix_scan_kb(void)
-{
- matrix_scan_user();
-}
-
bool process_record_kb(uint16_t keycode, keyrecord_t* record)
{
if (keycode == RESET) {
M keyboards/lfkeyboards/lfk87/keymaps/default/keymap.c => keyboards/lfkeyboards/lfk87/keymaps/default/keymap.c +0 -12
@@ 107,15 107,3 @@ void matrix_init_user(void) {
default_layer_set(1);
}
}
-
-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) {
-
-}
M keyboards/lfkeyboards/lfk87/keymaps/iso/keymap.c => keyboards/lfkeyboards/lfk87/keymaps/iso/keymap.c +0 -12
@@ 107,15 107,3 @@ void matrix_init_user(void) {
default_layer_set(1);
}
}
-
-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) {
-
-}
M keyboards/lfkeyboards/mini1800/keymaps/default/keymap.c => keyboards/lfkeyboards/mini1800/keymaps/default/keymap.c +0 -12
@@ 107,15 107,3 @@ void matrix_init_user(void) {
default_layer_set(1);
}
}
-
-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) {
-
-}
M keyboards/lily58/lily58.c => keyboards/lily58/lily58.c +0 -4
@@ 1,5 1,1 @@
#include "lily58.h"
-
-bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
- return process_record_user(keycode, record);
-}
M keyboards/lily58/rev1/rev1.c => keyboards/lily58/rev1/rev1.c +0 -7
@@ 1,8 1,1 @@
#include "lily58.h"
-
-#ifdef SSD1306OLED
-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);
-}
-#endif>
\ No newline at end of file
M keyboards/marksard/rhymestone/rev1/rev1.c => keyboards/marksard/rhymestone/rev1/rev1.c +0 -48
@@ 58,51 58,3 @@ led_config_t g_led_config = { {
4, 4, 4, 4
} };
#endif
-
-__attribute__((weak))
-void matrix_init_user(void) {}
-
-void matrix_init_kb(void) {
-
-#ifdef RGB_MATRIX_ENABLE
- // if (!is_keyboard_master()) {
- // g_led_config = (led_config_t){ {
- // { 30, 31, 32, 33, 20 },
- // { 29, 38, 39, 34, 21 },
- // { 28, 37, 36, 35, 22 },
- // { 27, 26, 25, 24, 23 },
- // { 10, 11, 12, 13, 0 },
- // { 9, 18, 19, 14, 1 },
- // { 8, 17, 16, 15, 2 },
- // { 7, 6, 5, 4, 3 }
- // }, {
- // { 125, 0 }, { 125, 21 }, { 125, 43 }, { 125, 64 },
- // { 150, 64 }, { 175, 64 }, { 200, 64 }, { 225, 64 },
- // { 225, 43 }, { 225, 21 }, { 225, 0 },
- // { 200, 0 }, { 175, 0 }, { 150, 0 },
- // { 150, 21 }, { 150, 43 },
- // { 175, 43 }, { 200, 43 },
- // { 200, 21 }, { 150, 21 },
- // { 100, 0 }, { 100, 21 }, { 100, 43 }, { 100, 64 },
- // { 75, 64 }, { 50, 64 }, { 25, 64 }, { 0, 64 },
- // { 0, 43 }, { 0, 21 }, { 0, 0 },
- // { 25, 0 }, { 50, 0 }, { 75, 0 },
- // { 75, 21 }, { 75, 43 },
- // { 50, 43 }, { 25, 43 },
- // { 25, 21 }, { 50, 21 }
- // }, {
- // 4, 4, 4, 1,
- // 1, 1, 1, 1,
- // 4, 4, 4, 4,
- // 4, 4, 4, 4,
- // 4, 4, 4, 4,
- // 4, 4, 4, 1,
- // 1, 1, 1, 1,
- // 4, 4, 4, 4,
- // 4, 4, 4, 4,
- // 4, 4, 4, 4
- // } };
- // }
-#endif
- matrix_init_user();
-}
M keyboards/massdrop/ctrl/keymaps/default/keymap.c => keyboards/massdrop/ctrl/keymaps/default/keymap.c +0 -8
@@ 39,14 39,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
*/
};
-// Runs just one time when the keyboard initializes.
-void matrix_init_user(void) {
-};
-
-// Runs constantly in the background, in a loop.
-void matrix_scan_user(void) {
-};
-
#define MODS_SHIFT (get_mods() & MOD_MASK_SHIFT)
#define MODS_CTRL (get_mods() & MOD_MASK_CTRL)
#define MODS_ALT (get_mods() & MOD_MASK_ALT)
M keyboards/massdrop/ctrl/keymaps/default_md/keymap.c => keyboards/massdrop/ctrl/keymaps/default_md/keymap.c +0 -8
@@ 50,14 50,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
*/
};
-// Runs just one time when the keyboard initializes.
-void matrix_init_user(void) {
-};
-
-// Runs constantly in the background, in a loop.
-void matrix_scan_user(void) {
-};
-
#define MODS_SHIFT (get_mods() & MOD_BIT(KC_LSHIFT) || get_mods() & MOD_BIT(KC_RSHIFT))
#define MODS_CTRL (get_mods() & MOD_BIT(KC_LCTL) || get_mods() & MOD_BIT(KC_RCTRL))
#define MODS_ALT (get_mods() & MOD_BIT(KC_LALT) || get_mods() & MOD_BIT(KC_RALT))
M keyboards/matrix/noah/noah.c => keyboards/matrix/noah/noah.c +0 -8
@@ 50,11 50,6 @@ void rgblight_set(void) {
}
#endif
-void matrix_init_kb(void) { matrix_init_user(); }
-
-__attribute__((weak))
-void matrix_init_user(void) { }
-
void matrix_scan_kb(void) {
#ifdef RGBLIGHT_ENABLE
rgblight_task();
@@ 62,9 57,6 @@ void matrix_scan_kb(void) {
matrix_scan_user();
}
-__attribute__((weak))
-void matrix_scan_user(void) { }
-
#ifdef RGB_MATRIX_ENABLE
const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = {
/* Refer to IS31 manual for these locations
M keyboards/maxr1998/pulse4k/keymaps/default/keymap.c => keyboards/maxr1998/pulse4k/keymaps/default/keymap.c +0 -12
@@ 29,15 29,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
{ KC_LEFT, KC_DOWN, KC_RGHT }
}
};
-
-void matrix_init_user(void) {
-}
-
-// Override if necessary
-/*
-void encoder_one_update(bool clockwise) {
-}
-
-void encoder_two_update(bool clockwise) {
-}
-//*/
M keyboards/mechkeys/mk60/keymaps/default/keymap.c => keyboards/mechkeys/mk60/keymaps/default/keymap.c +0 -12
@@ 60,15 60,3 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
}
return true;
}
-
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-void led_set_user(uint8_t usb_led) {
-
-}
M keyboards/mechmini/v2/keymaps/default/keymap.c => keyboards/mechmini/v2/keymaps/default/keymap.c +0 -40
@@ 31,46 31,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
};
-void matrix_init_user(void) {
-}
-
-void matrix_scan_user(void) {
-}
-
-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)) {
-
- } else {
-
- }
-
- if (usb_led & (1 << USB_LED_SCROLL_LOCK)) {
-
- } else {
-
- }
-
- if (usb_led & (1 << USB_LED_COMPOSE)) {
-
- } else {
-
- }
-
- if (usb_led & (1 << USB_LED_KANA)) {
-
- } else {
-
- }
-
-}
-
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
switch (keycode) {
case SFT_ESC:
M keyboards/meira/keymaps/default/keymap.c => keyboards/meira/keymaps/default/keymap.c +0 -12
@@ 174,14 174,6 @@ void update_tri_layer_RGB(uint8_t layer1, uint8_t layer2, uint8_t layer3) {
}
}
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
switch (keycode) {
case QWERTY:
@@ 304,7 296,3 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
}
return true;
}
-
-void led_set_user(uint8_t usb_led) {
-
-}
M keyboards/meira/meira.c => keyboards/meira/meira.c +0 -5
@@ 84,11 84,6 @@ bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
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);
-}
-
void reset_keyboard_kb(){
#ifdef WATCHDOG_ENABLE
MCUSR = 0;
M keyboards/meishi/keymaps/default/keymap.c => keyboards/meishi/keymaps/default/keymap.c +0 -16
@@ 20,19 20,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
LCTL(KC_Z), LCTL(KC_X), LCTL(KC_C), LCTL(KC_V) \
),
};
-
-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) {
-
-}
M keyboards/meishi/meishi.c => keyboards/meishi/meishi.c +0 -27
@@ 14,30 14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "meishi.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);
-}
M keyboards/meishi2/keymaps/default/keymap.c => keyboards/meishi2/keymaps/default/keymap.c +0 -13
@@ 20,16 20,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
LCTL(KC_Z), LCTL(KC_X), LCTL(KC_C), LCTL(KC_V) \
)
};
-
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-void led_set_user(uint8_t usb_led) {
-
-}
-
M keyboards/meishi2/meishi2.c => keyboards/meishi2/meishi2.c +0 -35
@@ 14,38 14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "meishi2.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.
-
-/*
-
-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);
-}
-
-*/
M keyboards/meme/meme.c => keyboards/meme/meme.c +0 -27
@@ 14,30 14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "meme.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);
-}
M keyboards/meson/keymaps/default/keymap.c => keyboards/meson/keymaps/default/keymap.c +0 -12
@@ 64,15 64,3 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
}
return true;
}
-
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-void led_set_user(uint8_t usb_led) {
-
-}
M keyboards/meson/meson.c => keyboards/meson/meson.c +0 -35
@@ 14,38 14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "meson.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.
-
-/*
-
-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);
-}
-
-*/
M keyboards/miniaxe/keymaps/default/keymap.c => keyboards/miniaxe/keymaps/default/keymap.c +0 -9
@@ 148,12 148,3 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
}
return true;
}
-
-void matrix_init_user(void) {
-}
-
-void matrix_scan_user(void) {
-}
-
-void led_set_user(uint8_t usb_led) {
-}
M keyboards/miniaxe/keymaps/underglow/keymap.c => keyboards/miniaxe/keymaps/underglow/keymap.c +0 -9
@@ 148,12 148,3 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
}
return true;
}
-
-void matrix_init_user(void) {
-}
-
-void matrix_scan_user(void) {
-}
-
-void led_set_user(uint8_t usb_led) {
-}
M keyboards/miniaxe/miniaxe.c => keyboards/miniaxe/miniaxe.c +0 -27
@@ 14,30 14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "miniaxe.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);
-}
M keyboards/miuni32/keymaps/default/keymap.c => keyboards/miuni32/keymaps/default/keymap.c +0 -44
@@ 58,47 58,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
_______, _______, _______, _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12
)
};
-
-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)) {
-
- } else {
-
- }
-
- if (usb_led & (1 << USB_LED_SCROLL_LOCK)) {
-
- } else {
-
- }
-
- if (usb_led & (1 << USB_LED_COMPOSE)) {
-
- } else {
-
- }
-
- if (usb_led & (1 << USB_LED_KANA)) {
-
- } else {
-
- }
-
-}
M keyboards/miuni32/miuni32.c => keyboards/miuni32/miuni32.c +0 -27
@@ 1,28 1,1 @@
#include "miuni32.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);
-}
M keyboards/mxss/keymaps/default/keymap.c => keyboards/mxss/keymaps/default/keymap.c +0 -16
@@ 51,19 51,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, RGB_HUD, RGB_SAD, RGB_HUI
),
};
-
-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) {
-
-}
M keyboards/mxss/mxss.c => keyboards/mxss/mxss.c +0 -7
@@ 39,13 39,6 @@ void matrix_init_kb(void) {
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) {
// Handle custom keycodes for front LED operation
process_record_fled(keycode, record);
M keyboards/nafuda/nafuda.c => keyboards/nafuda/nafuda.c +0 -4
@@ 1,5 1,1 @@
#include "nafuda.h"
-
-void matrix_init_kb(void) {
- matrix_init_user();
-};
M keyboards/naked48/keymaps/default/keymap.c => keyboards/naked48/keymaps/default/keymap.c +0 -4
@@ 104,7 104,3 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
return result;
}
-
-void matrix_init_user(void) {
-
-}
M keyboards/naked48/rev1/rev1.c => keyboards/naked48/rev1/rev1.c +0 -11
@@ 1,12 1,5 @@
#include "naked48.h"
-/*#ifdef SSD1306OLED
-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);
-}
-#endif*/
-
#ifdef RGB_MATRIX_ENABLE
led_config_t g_led_config = { {
// Key Matrix to LED Index
@@ 30,7 23,3 @@ void led_set_kb(uint8_t usb_led) {
4, 4, 4, 4, 4, 4, 4, 4
} };
#endif
-
-void matrix_init_kb(void) {
- matrix_init_user();
-};>
\ No newline at end of file
M keyboards/naked60/keymaps/default/keymap.c => keyboards/naked60/keymaps/default/keymap.c +0 -4
@@ 90,7 90,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
//`------------------------------------------------------------------------------------------------------------'
)
};
-
-void matrix_init_user(void) {
-
-}
M keyboards/naked60/rev1/rev1.c => keyboards/naked60/rev1/rev1.c +0 -4
@@ 16,7 16,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "naked60.h"
-
-void matrix_init_kb(void) {
- matrix_init_user();
-};>
\ No newline at end of file
M keyboards/naked64/keymaps/default/keymap.c => keyboards/naked64/keymaps/default/keymap.c +0 -4
@@ 150,7 150,3 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
return result;
}
-
-void matrix_init_user(void) {
-
-}
M keyboards/naked64/rev1/rev1.c => keyboards/naked64/rev1/rev1.c +0 -4
@@ 1,5 1,1 @@
#include "rev1.h"
-
-void matrix_init_kb(void) {
- matrix_init_user();
-};
M keyboards/namecard2x4/keymaps/default/keymap.c => keyboards/namecard2x4/keymaps/default/keymap.c +0 -17
@@ 41,20 41,3 @@ 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) {
-
-}
M keyboards/namecard2x4/namecard2x4.c => keyboards/namecard2x4/namecard2x4.c +0 -27
@@ 14,30 14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "namecard2x4.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);
-}
M keyboards/nek_type_a/keymaps/default/keymap.c => keyboards/nek_type_a/keymaps/default/keymap.c +0 -12
@@ 25,15 25,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
KC_LCTRL, KC_LALT, KC_LCMD, KC_SPC, KC_SPC, KC_RCMD, KC_RALT, KC_RCTRL, KC_APP, KC_LEFT, KC_DOWN, KC_RIGHT \
),
};
-
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-void led_set_user(uint8_t usb_led) {
-
-}
M keyboards/nek_type_a/nek_type_a.c => keyboards/nek_type_a/nek_type_a.c +0 -27
@@ 14,30 14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "nek_type_a.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);
-}
M keyboards/neson_design/n6/n6.c => keyboards/neson_design/n6/n6.c +0 -2
@@ 232,8 232,6 @@ const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = {
{0, C9_16, C7_15, C6_15},
};
#endif
-__attribute__((weak))
-void matrix_init_user(void) {}
void matrix_init_kb(void)
{
M keyboards/newgame40/newgame40.c => keyboards/newgame40/newgame40.c +0 -4
@@ 1,5 1,1 @@
#include "newgame40.h"
-
-void matrix_init_kb(void) {
- matrix_init_user();
-}
M keyboards/nightmare/nightmare.c => keyboards/nightmare/nightmare.c +0 -35
@@ 14,38 14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "nightmare.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.
-
-/*
-
-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);
-}
-
-*/
M keyboards/niu_mini/keymaps/default/keymap.c => keyboards/niu_mini/keymaps/default/keymap.c +0 -45
@@ 56,48 56,3 @@ 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 (IS_LED_ON(usb_led, USB_LED_NUM_LOCK)) {
-
- } else {
-
- }
-
- if (IS_LED_ON(usb_led, USB_LED_CAPS_LOCK)) {
-
- } else {
-
- }
-
- if (IS_LED_ON(usb_led, USB_LED_SCROLL_LOCK)) {
-
- } else {
-
- }
-
- if (IS_LED_ON(usb_led, USB_LED_COMPOSE)) {
-
- } else {
-
- }
-
- if (IS_LED_ON(usb_led, USB_LED_KANA)) {
-
- } else {
-
- }
-
-}
M keyboards/nk65/keymaps/default/keymap.c => keyboards/nk65/keymaps/default/keymap.c +0 -12
@@ 44,15 44,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, 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),
};
-
-void matrix_init_user(void) {
- //user initialization
-}
-
-void matrix_scan_user(void) {
- //user matrix
-}
-
-bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- return true;
-}>
\ No newline at end of file
M keyboards/nk65/keymaps/via/keymap.c => keyboards/nk65/keymaps/via/keymap.c +0 -12
@@ 44,15 44,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, 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),
};
-
-void matrix_init_user(void) {
- //user initialization
-}
-
-void matrix_scan_user(void) {
- //user matrix
-}
-
-bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- return true;
-}>
\ No newline at end of file
M keyboards/noxary/268/keymaps/ansi/keymap.c => keyboards/noxary/268/keymaps/ansi/keymap.c +4 -41
@@ 52,49 52,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 << 6);
- PORTB |= (1 << 6);
+ setPinOutput(B6);
+ writePinHigh(B6);
} else {
- DDRB &= ~(1 << 6);
- PORTB &= ~(1 << 6);
+ setPinInput(B6);
+ writePinLow(B6);
}
-
- if (usb_led & (1 << USB_LED_SCROLL_LOCK)) {
-
- } else {
-
- }
-
- if (usb_led & (1 << USB_LED_COMPOSE)) {
-
- } else {
-
- }
-
- if (usb_led & (1 << USB_LED_KANA)) {
-
- } else {
-
- }
-
}
M keyboards/noxary/268/keymaps/default/keymap.c => keyboards/noxary/268/keymaps/default/keymap.c +4 -43
@@ 70,52 70,13 @@ 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 << 6); PORTB |= (1 << 6);
+ setPinOutput(B6);
+ writePinHigh(B6);
}
else {
- DDRB &= ~(1 << 6); PORTB &= ~(1 << 6);
- }
-
- if (usb_led & (1 << USB_LED_SCROLL_LOCK)) {
-
+ setPinInput(B6);
+ writePinLow(B6);
}
- else {
-
- }
-
- if (usb_led & (1 << USB_LED_COMPOSE)) {
-
- }
- else {
-
- }
-
- if (usb_led & (1 << USB_LED_KANA)) {
-
- }
- else {
-
- }
-
}
M keyboards/noxary/268/keymaps/iso/keymap.c => keyboards/noxary/268/keymaps/iso/keymap.c +4 -41
@@ 52,49 52,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 << 6);
- PORTB |= (1 << 6);
+ setPinOutput(B6);
+ writePinHigh(B6);
} else {
- DDRB &= ~(1 << 6);
- PORTB &= ~(1 << 6);
+ setPinInput(B6);
+ writePinLow(B6);
}
-
- if (usb_led & (1 << USB_LED_SCROLL_LOCK)) {
-
- } else {
-
- }
-
- if (usb_led & (1 << USB_LED_COMPOSE)) {
-
- } else {
-
- }
-
- if (usb_led & (1 << USB_LED_KANA)) {
-
- } else {
-
- }
-
}
M keyboards/orange75/keymaps/default/keymap.c => keyboards/orange75/keymaps/default/keymap.c +13 -18
@@ 52,34 52,29 @@ 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)) {
- DDRB |= (1 << 0); PORTB &= ~(1 << 0);
+ setPinOutput(B0);
+ writePinLow(B0);
} else {
- DDRB &= ~(1 << 0); PORTB &= ~(1 << 0);
+ setPinInput(B0);
+ writePinLow(B0);
}
if (usb_led & (1 << USB_LED_CAPS_LOCK)) {
- DDRB |= (1 << 1); PORTB &= ~(1 << 1);
+ setPinOutput(B1);
+ writePinLow(B1);
} else {
- DDRB &= ~(1 << 1); PORTB &= ~(1 << 1);
+ setPinInput(B1);
+ writePinLow(B1);
}
if (usb_led & (1 << USB_LED_SCROLL_LOCK)) {
- DDRB |= (1 << 2); PORTB &= ~(1 << 2);
+ setPinOutput(B2);
+ writePinLow(B2);
} else {
- DDRB &= ~(1 << 2); PORTB &= ~(1 << 2);
+ setPinInput(B2);
+ writePinLow(B2);
}
-}>
\ No newline at end of file
+}
M keyboards/org60/keymaps/default/keymap.c => keyboards/org60/keymaps/default/keymap.c +0 -5
@@ 19,8 19,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RGUI, MO(1), KC_HOME, KC_PGDOWN,KC_END),
};
-
-// Loop
-void matrix_scan_user(void) {
- // Empty
-};
M keyboards/orthodox/rev1/rev1.c => keyboards/orthodox/rev1/rev1.c +0 -13
@@ 21,19 21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "orthodox.h"
-void matrix_init_kb(void) {
-
- //// // green led on
- //// DDRD |= (1<<5);
- //// PORTD &= ~(1<<5);
-
- //// // orange led on
- //// DDRB |= (1<<0);
- //// PORTB &= ~(1<<0);
-
- matrix_init_user();
-};
-
#ifdef SWAP_HANDS_ENABLE
__attribute__ ((weak))
// swap-hands action needs a matrix to define the swap
M keyboards/orthodox/rev3/rev3.c => keyboards/orthodox/rev3/rev3.c +0 -13
@@ 21,19 21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "orthodox.h"
-void matrix_init_kb(void) {
-
- //// // green led on
- //// DDRD |= (1<<5);
- //// PORTD &= ~(1<<5);
-
- //// // orange led on
- //// DDRB |= (1<<0);
- //// PORTB &= ~(1<<0);
-
- matrix_init_user();
-};
-
#ifdef SWAP_HANDS_ENABLE
__attribute__ ((weak))
// swap-hands action needs a matrix to define the swap
M keyboards/orthodox/rev3_teensy/rev3_teensy.c => keyboards/orthodox/rev3_teensy/rev3_teensy.c +0 -13
@@ 21,19 21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "orthodox.h"
-void matrix_init_kb(void) {
-
- //// // green led on
- //// DDRD |= (1<<5);
- //// PORTD &= ~(1<<5);
-
- //// // orange led on
- //// DDRB |= (1<<0);
- //// PORTB &= ~(1<<0);
-
- matrix_init_user();
-};
-
#ifdef SWAP_HANDS_ENABLE
__attribute__ ((weak))
// swap-hands action needs a matrix to define the swap
M keyboards/otaku_split/rev0/keymaps/default/keymap.c => keyboards/otaku_split/rev0/keymaps/default/keymap.c +0 -18
@@ 29,21 29,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
KC_LCTRL, KC_LGUI,KC_LALT,KC_MHEN,KC_TAB,KC_SPC, KC_ENT,KC_BSPC,KC_HENK,KC_KANA,KC_RALT,KC_RGUI,KC_APP,KC_RCTRL
),
};
-
-bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- switch (keycode) {
- }
- return true;
-}
-
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-void led_set_user(uint8_t usb_led) {
-
-}
M keyboards/otaku_split/rev0/keymaps/sample/keymap.c => keyboards/otaku_split/rev0/keymaps/sample/keymap.c +0 -12
@@ 65,15 65,3 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
}
return true;
}
-
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-void led_set_user(uint8_t usb_led) {
-
-}
M keyboards/otaku_split/rev0/rev0.c => keyboards/otaku_split/rev0/rev0.c +0 -35
@@ 14,38 14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "rev0.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.
-
-/*
-
-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);
-}
-
-*/
M keyboards/otaku_split/rev1/keymaps/default/keymap.c => keyboards/otaku_split/rev1/keymaps/default/keymap.c +0 -19
@@ 37,22 37,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
KC_LCTRL, KC_LGUI,KC_LALT,KC_MHEN,KC_TRNS,KC_SPC,KC_SPC, KC_TRNS,KC_ENT,KC_BSPC,KC_HENK,KC_TRNS,KC_LEFT,KC_DOWN,KC_RIGHT
)
};
-
-bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- switch (keycode) {
-
- }
- return true;
-}
-
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-void led_set_user(uint8_t usb_led) {
-
-}
M keyboards/otaku_split/rev1/keymaps/sample/keymap.c => keyboards/otaku_split/rev1/keymaps/sample/keymap.c +0 -12
@@ 71,15 71,3 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
}
return true;
}
-
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-void led_set_user(uint8_t usb_led) {
-
-}
M keyboards/otaku_split/rev1/rev1.c => keyboards/otaku_split/rev1/rev1.c +0 -35
@@ 14,38 14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "rev1.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.
-
-/*
-
-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);
-}
-
-*/
M keyboards/paladin64/keymaps/default/keymap.c => keyboards/paladin64/keymaps/default/keymap.c +0 -45
@@ 43,48 43,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
KC_TRNS, KC_TRNS, KC_TRNS, KC_BTN3, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS)
};
-
-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)) {
-
- } else {
-
- }
-
- if (usb_led & (1 << USB_LED_SCROLL_LOCK)) {
-
- } else {
-
- }
-
- if (usb_led & (1 << USB_LED_COMPOSE)) {
-
- } else {
-
- }
-
- if (usb_led & (1 << USB_LED_KANA)) {
-
- } else {
-
- }
-
-}
-
M keyboards/pdxkbc/keymaps/default/keymap.c => keyboards/pdxkbc/keymaps/default/keymap.c +0 -6
@@ 57,9 57,3 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
return true;
}
-
-void matrix_init_user(void) {}
-
-void matrix_scan_user(void) {}
-
-void led_set_user(uint8_t usb_led) {}
M keyboards/percent/booster/booster.c => keyboards/percent/booster/booster.c +0 -35
@@ 14,38 14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "booster.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.
-
-/*
-
-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);
-}
-
-*/
M keyboards/pinky/pinky.c => keyboards/pinky/pinky.c +0 -27
@@ 14,30 14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "pinky.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);
-}
M keyboards/planck/light/light.c => keyboards/planck/light/light.c +0 -10
@@ 105,11 105,6 @@ void matrix_init_kb(void) {
matrix_init_user();
}
-bool process_record_kb(uint16_t keycode, keyrecord_t *record)
-{
- return process_record_user(keycode, record);
-}
-
uint8_t rgb_matrix_map_row_column_to_led_kb(uint8_t row, uint8_t column, uint8_t *led_i) {
// Spacebar has 2 leds 41 & 42, so add 42 to the array here, and 41 will be added
// by the default lookup code that runs after this
@@ 120,11 115,6 @@ uint8_t rgb_matrix_map_row_column_to_led_kb(uint8_t row, uint8_t column, uint8_t
return 0;
}
-void matrix_scan_kb(void)
-{
- matrix_scan_user();
-}
-
void suspend_power_down_kb(void)
{
rgb_matrix_set_suspend_state(true);
M keyboards/playkbtw/pk60/keymaps/default/keymap.c => keyboards/playkbtw/pk60/keymaps/default/keymap.c +4 -34
@@ 20,42 20,12 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
};
-void matrix_init_user(void) {
-}
-
-void matrix_scan_user(void) {
-}
-
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)) {
- DDRF |= (1 << 4); PORTF &= ~(1 << 4);
- } else {
- DDRF &= ~(1 << 4); PORTF &= ~(1 << 4);
- }
-
- if (usb_led & (1 << USB_LED_SCROLL_LOCK)) {
-
+ setPinOutput(F4);
+ writePinLow(F4);
} else {
-
- }
-
- if (usb_led & (1 << USB_LED_COMPOSE)) {
-
- } else {
-
+ setPinInput(F4);
+ writePinLow(F4);
}
-
- if (usb_led & (1 << USB_LED_KANA)) {
-
- } else {
-
- }
-
}
M keyboards/primekb/prime_e/keymaps/default/keymap.c => keyboards/primekb/prime_e/keymaps/default/keymap.c +0 -5
@@ 57,11 57,6 @@ void matrix_init_user(void) {
writePinLow(B3);
}
-void matrix_scan_user(void) {
-
-}
-
-
void led_set_user(uint8_t usb_led) {
if (IS_LED_ON(usb_led, USB_LED_NUM_LOCK)) {
writePinHigh(B2);
M keyboards/primekb/prime_e/keymaps/via/keymap.c => keyboards/primekb/prime_e/keymaps/via/keymap.c +0 -5
@@ 85,11 85,6 @@ void matrix_init_user(void) {
writePinLow(B3);
}
-void matrix_scan_user(void) {
-
-}
-
-
void led_set_user(uint8_t usb_led) {
if (IS_LED_ON(usb_led, USB_LED_NUM_LOCK)) {
writePinHigh(B2);
M keyboards/primekb/prime_e/prime_e.c => keyboards/primekb/prime_e/prime_e.c +0 -6
@@ 14,9 14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "prime_e.h"
-
-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);
-}
M keyboards/primekb/prime_o/keymaps/default/keymap.c => keyboards/primekb/prime_o/keymaps/default/keymap.c +0 -12
@@ 63,15 63,3 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
}
return true;
}
-
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-void led_set_user(uint8_t usb_led) {
-
-}
M keyboards/primekb/prime_o/prime_o.c => keyboards/primekb/prime_o/prime_o.c +0 -27
@@ 14,30 14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "prime_o.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);
-}
M keyboards/primekb/prime_r/keymaps/default/keymap.c => keyboards/primekb/prime_r/keymaps/default/keymap.c +0 -10
@@ 52,13 52,3 @@ 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;
-}
M keyboards/primekb/prime_r/prime_r.c => keyboards/primekb/prime_r/prime_r.c +0 -27
@@ 14,30 14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "prime_r.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);
-}
M keyboards/quantrik/kyuu/keymaps/default/keymap.c => keyboards/quantrik/kyuu/keymaps/default/keymap.c +0 -12
@@ 59,15 59,3 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
}
return true;
}
-
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-void led_set_user(uint8_t usb_led) {
-
-}
M keyboards/quantrik/kyuu/kyuu.c => keyboards/quantrik/kyuu/kyuu.c +0 -27
@@ 14,30 14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "kyuu.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);
-}
M keyboards/qwertyydox/rev1/rev1.c => keyboards/qwertyydox/rev1/rev1.c +0 -21
@@ 1,22 1,1 @@
#include "rev1.h"
-
-
-#ifdef SSD1306OLED
-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);
-}
-#endif
-
-void matrix_init_kb(void) {
-
- // // green led on
- // DDRD |= (1<<5);
- // PORTD &= ~(1<<5);
-
- // // orange led on
- // DDRB |= (1<<0);
- // PORTB &= ~(1<<0);
-
- matrix_init_user();
-};
M keyboards/rabbit/rabbit68/rabbit68.c => keyboards/rabbit/rabbit68/rabbit68.c +0 -35
@@ 14,38 14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "rabbit68.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.
-
-/*
-
-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);
-}
-
-*/
M keyboards/redox/rev1/rev1.c => keyboards/redox/rev1/rev1.c +0 -21
@@ 1,22 1,1 @@
#include "redox.h"
-
-
-#ifdef SSD1306OLED
-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);
-}
-#endif
-
-void matrix_init_kb(void) {
-
- // // green led on
- // DDRD |= (1<<5);
- // PORTD &= ~(1<<5);
-
- // // orange led on
- // DDRB |= (1<<0);
- // PORTB &= ~(1<<0);
-
- matrix_init_user();
-};
M keyboards/reviung34/reviung34.c => keyboards/reviung34/reviung34.c +0 -35
@@ 14,38 14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "reviung34.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.
-
-/*
-
-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);
-}
-
-*/
M keyboards/reviung39/reviung39.c => keyboards/reviung39/reviung39.c +0 -35
@@ 14,38 14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "reviung39.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.
-
-/*
-
-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);
-}
-
-*/
M keyboards/rgbkb/zen/rev1/rev1.c => keyboards/rgbkb/zen/rev1/rev1.c +0 -21
@@ 1,22 1,1 @@
#include "rev1.h"
-
-#ifdef SSD1306OLED
-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);
-}
-#endif
-
-void matrix_init_kb(void) {
-
- // // green led on
- // DDRD |= (1<<5);
- // PORTD &= ~(1<<5);
-
- // // orange led on
- // DDRB |= (1<<0);
- // PORTB &= ~(1<<0);
-
- matrix_init_user();
-};
-
M keyboards/rominronin/katana60/rev1/keymaps/default/keymap.c => keyboards/rominronin/katana60/rev1/keymaps/default/keymap.c +0 -16
@@ 63,19 63,3 @@ 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) {
-
-}
M keyboards/scarletbandana/keymaps/default/keymap.c => keyboards/scarletbandana/keymaps/default/keymap.c +0 -12
@@ 87,14 87,6 @@ void update_tri_layer_RGB(uint8_t layer1, uint8_t layer2, uint8_t layer3) {
float tone_qwerty[][2] = SONG(QWERTY_SOUND);
#endif
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
switch (keycode) {
case LOWER:
@@ 167,7 159,3 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
}
return true;
}
-
-void led_set_user(uint8_t usb_led) {
-
-}
M keyboards/sck/m0116b/keymaps/default/keymap.c => keyboards/sck/m0116b/keymaps/default/keymap.c +0 -12
@@ 72,14 72,6 @@ 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) {
switch (keycode) {
case M0116B:
@@ 94,7 86,3 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
}
return true;
};
-
-void led_set_user(uint8_t usb_led) {
-
-}
M keyboards/sck/m0116b/keymaps/m0116/keymap.c => keyboards/sck/m0116b/keymaps/m0116/keymap.c +0 -12
@@ 72,14 72,6 @@ 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) {
switch (keycode) {
case M0116B:
@@ 94,7 86,3 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
}
return true;
};
-
-void led_set_user(uint8_t usb_led) {
-
-}
M keyboards/sck/m0116b/keymaps/m0118/keymap.c => keyboards/sck/m0116b/keymaps/m0118/keymap.c +0 -12
@@ 72,14 72,6 @@ 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) {
switch (keycode) {
case M0116B:
@@ 94,7 86,3 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
}
return true;
};
-
-void led_set_user(uint8_t usb_led) {
-
-}
M keyboards/sck/m0116b/m0116b.c => keyboards/sck/m0116b/m0116b.c +0 -35
@@ 14,38 14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "m0116b.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.
-
-/*
-
-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);
-}
-
-*/
M keyboards/sck/neiso/neiso.c => keyboards/sck/neiso/neiso.c +0 -14
@@ 14,17 14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "neiso.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.
-
-/*
-
-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);
-}
-
-*/
M keyboards/sck/osa/keymaps/all/keymap.c => keyboards/sck/osa/keymaps/all/keymap.c +0 -44
@@ 15,13 15,6 @@
*/
#include QMK_KEYBOARD_H
-// Defines the keycodes used by our macros in process_record_user
-//enum custom_keycodes {
-// QMKBEST = SAFE_RANGE,
-// QMKURL
-//};
-
-
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
/* Keymap BASE: (Base Layer) Default Layer
* .----.,----------------------------------------------------------------------.
@@ 64,40 57,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
KC_LCTL, KC_LALT, KC_SPC, _______, KC_SPC, KC_RALT, KC_RCTL
),
};
-
-
-
-
-//bool process_record_user(uint16_t keycode, keyrecord_t *record) {
-// switch (keycode) {
-// case QMKBEST:
-// if (record->event.pressed) {
-// // when keycode QMKBEST is pressed
-// SEND_STRING("QMK is the best thing ever!");
-// } else {
-// // when keycode QMKBEST is released
-// }
-// break;
-// case QMKURL:
-// if (record->event.pressed) {
-// // when keycode QMKURL is pressed
-// SEND_STRING("https://qmk.fm/" SS_TAP(X_ENTER));
-// } else {
-// // when keycode QMKURL is released
-// }
-// break;
-// }
-// return true;
-//}
-
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-void led_set_user(uint8_t usb_led) {
-
-}
M keyboards/sck/osa/keymaps/default/keymap.c => keyboards/sck/osa/keymaps/default/keymap.c +0 -44
@@ 15,13 15,6 @@
*/
#include QMK_KEYBOARD_H
-// Defines the keycodes used by our macros in process_record_user
-//enum custom_keycodes {
-// QMKBEST = SAFE_RANGE,
-// QMKURL
-//};
-
-
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
/* Keymap BASE: (Base Layer) Default Layer
* .----.,----------------------------------------------------------------------.
@@ 64,40 57,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
KC_LCTL, KC_LALT, KC_SPC, _______, KC_SPC, KC_RALT, KC_RCTL
),
};
-
-
-
-
-//bool process_record_user(uint16_t keycode, keyrecord_t *record) {
-// switch (keycode) {
-// case QMKBEST:
-// if (record->event.pressed) {
-// // when keycode QMKBEST is pressed
-// SEND_STRING("QMK is the best thing ever!");
-// } else {
-// // when keycode QMKBEST is released
-// }
-// break;
-// case QMKURL:
-// if (record->event.pressed) {
-// // when keycode QMKURL is pressed
-// SEND_STRING("https://qmk.fm/" SS_TAP(X_ENTER));
-// } else {
-// // when keycode QMKURL is released
-// }
-// break;
-// }
-// return true;
-//}
-
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-//void led_set_user(uint16_t usb_led) {
-//
-//}
M keyboards/scythe/scythe.c => keyboards/scythe/scythe.c +0 -27
@@ 14,30 14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "scythe.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);
-}
M keyboards/sentraq/number_pad/keymaps/default/keymap.c => keyboards/sentraq/number_pad/keymaps/default/keymap.c +0 -43
@@ 18,13 18,6 @@
#define _BL 0
#define _FN 1
-// Defines the keycodes used by our macros in process_record_user.
-// Disabled as it isn't used in this keymap, but available for modification.
-// enum custom_keycodes {
-// QMKBEST = SAFE_RANGE,
-// QMKURL
-// };
-
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[_BL] = LAYOUT_numpad_5x4(
/* Base Layer: Number Pad
@@ 67,39 60,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
KC_NO, KC_NO, KC_NLCK
),
};
-
-// Handles macros for keycodes defined above.
-// Disabled as it isn't used in this keymap, but available for modification.
-// bool process_record_user(uint16_t keycode, keyrecord_t *record) {
-// switch (keycode) {
-// case QMKBEST:
-// if (record->event.pressed) {
-// // when keycode QMKBEST is pressed
-// SEND_STRING("QMK is the best thing ever!");
-// } else {
-// // when keycode QMKBEST is released
-// }
-// break;
-// case QMKURL:
-// if (record->event.pressed) {
-// // when keycode QMKURL is pressed
-// SEND_STRING("https://qmk.fm/" SS_TAP(X_ENTER));
-// } else {
-// // when keycode QMKURL is released
-// }
-// break;
-// }
-// return true;
-// }
-
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-void led_set_user(uint8_t usb_led) {
-
-}
M keyboards/sentraq/number_pad/number_pad.c => keyboards/sentraq/number_pad/number_pad.c +0 -27
@@ 14,30 14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "number_pad.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);
-}
M keyboards/sentraq/s60_x/default/default.c => keyboards/sentraq/s60_x/default/default.c +0 -27
@@ 1,28 1,1 @@
#include "default.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);
-}
M keyboards/sentraq/s65_x/s65_x.c => keyboards/sentraq/s65_x/s65_x.c +0 -17
@@ 1,18 1,1 @@
#include "s65_x.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();
-};
-
-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);
-}
M keyboards/setta21/rev1/rev1.c => keyboards/setta21/rev1/rev1.c +0 -4
@@ 19,7 19,3 @@
4
} };
#endif
-
-void matrix_init_kb(void) {
- matrix_init_user();
-};
M keyboards/shiro/shiro.c => keyboards/shiro/shiro.c +0 -35
@@ 14,38 14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "shiro.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.
-
-/*
-
-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);
-}
-
-*/
M keyboards/snampad/keymaps/default/keymap.c => keyboards/snampad/keymaps/default/keymap.c +0 -12
@@ 26,15 26,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
),
};
-
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-void led_set_user(uint8_t usb_led) {
-
-}
M keyboards/snampad/snampad.c => keyboards/snampad/snampad.c +0 -27
@@ 14,30 14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "snampad.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);
-}
M keyboards/southpole/keymaps/default/keymap.c => keyboards/southpole/keymaps/default/keymap.c +0 -6
@@ 18,9 18,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
)
};
-
-void matrix_init_user(void) {
-}
-
-void matrix_scan_user(void) {
-}
M keyboards/spacetime/keymaps/default/keymap.c => keyboards/spacetime/keymaps/default/keymap.c +0 -16
@@ 67,19 67,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
layer_state_t layer_state_set_user(layer_state_t state) {
return update_tri_layer_state(state, _LOWER, _RAISE, _ADJUST);
}
-
-bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- return true;
-}
-
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-void led_set_user(uint8_t usb_led) {
-
-}
M keyboards/spacetime/rev1/rev1.c => keyboards/spacetime/rev1/rev1.c +0 -24
@@ 14,27 14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "rev1.h"
-
-bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
- return process_record_user(keycode, record);
-}
-
-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();
-}
-
-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);
-}
M keyboards/spacetime/rev2/rev2.c => keyboards/spacetime/rev2/rev2.c +0 -20
@@ 22,23 22,3 @@ bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
return process_record_user(keycode, record);
#endif
}
-
-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();
-}
-
-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);
-}
M keyboards/standaside/standaside.c => keyboards/standaside/standaside.c +0 -13
@@ 1,14 1,1 @@
-
#include "standaside.h"
-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);
-}
M keyboards/suihankey/alpha/alpha.c => keyboards/suihankey/alpha/alpha.c +0 -35
@@ 14,38 14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "alpha.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.
-
-/*
-
-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);
-}
-
-*/
M keyboards/suihankey/alpha/keymaps/default/keymap.c => keyboards/suihankey/alpha/keymaps/default/keymap.c +0 -16
@@ 55,22 55,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
),
};
-bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- return true;
-}
-
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-void led_set_user(uint8_t usb_led) {
-
-}
-
#ifdef OLED_ENABLE
void oled_task_user(void) {
oled_write_P(PSTR("Layer: "), false);
M keyboards/suihankey/rev1/keymaps/default/keymap.c => keyboards/suihankey/rev1/keymaps/default/keymap.c +0 -16
@@ 55,22 55,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
),
};
-bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- return true;
-}
-
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-void led_set_user(uint8_t usb_led) {
-
-}
-
#ifdef OLED_ENABLE
void oled_task_user(void) {
oled_write_P(PSTR("Layer: "), false);
M keyboards/suihankey/rev1/rev1.c => keyboards/suihankey/rev1/rev1.c +0 -35
@@ 14,38 14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "rev1.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.
-
-/*
-
-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);
-}
-
-*/
M keyboards/suihankey/split/alpha/alpha.c => keyboards/suihankey/split/alpha/alpha.c +0 -35
@@ 14,38 14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "alpha.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.
-
-/*
-
-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);
-}
-
-*/
M keyboards/suihankey/split/keymaps/default/keymap.c => keyboards/suihankey/split/keymaps/default/keymap.c +0 -16
@@ 54,19 54,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO
),
};
-
-bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- return true;
-}
-
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-void led_set_user(uint8_t usb_led) {
-
-}
M keyboards/suihankey/split/rev1/rev1.c => keyboards/suihankey/split/rev1/rev1.c +0 -35
@@ 14,38 14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "rev1.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.
-
-/*
-
-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);
-}
-
-*/
M keyboards/tanuki/tanuki.c => keyboards/tanuki/tanuki.c +0 -6
@@ 2,9 2,3 @@
#include "rgblight.h"
#include "config.h"
#include "rgblight.h"
-
-void matrix_init_kb(void) {
- // put your keyboard start-up code here
- // runs once when the firmware starts up
-
-};
M keyboards/tg4x/tg4x.c => keyboards/tg4x/tg4x.c +0 -35
@@ 14,38 14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "tg4x.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.
-
-/*
-
-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);
-}
-
-*/
M keyboards/the_ruler/the_ruler.c => keyboards/the_ruler/the_ruler.c +0 -21
@@ 1,22 1,1 @@
#include "the_ruler.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);
-}>
\ No newline at end of file
M keyboards/thevankeyboards/roadkit/roadkit.c => keyboards/thevankeyboards/roadkit/roadkit.c +0 -27
@@ 1,28 1,1 @@
#include "roadkit.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);
-}
M keyboards/tkc/candybar/lefty/lefty.c => keyboards/tkc/candybar/lefty/lefty.c +0 -4
@@ 15,7 15,3 @@
*/
#include "lefty.h"
-
-void matrix_init_kb(void) {
- matrix_init_user();
-}
M keyboards/tmo50/tmo50.c => keyboards/tmo50/tmo50.c +0 -20
@@ 31,26 31,6 @@ void matrix_init_kb(void) {
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);
-}
-
layer_state_t layer_state_set_kb(layer_state_t state)
{
state = layer_state_set_user(state);
M keyboards/treasure/type9/keymaps/default/keymap.c => keyboards/treasure/type9/keymaps/default/keymap.c +0 -12
@@ 50,15 50,3 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
}
return true;
}
-
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-void led_set_user(uint8_t usb_led) {
-
-}
M keyboards/treasure/type9/type9.c => keyboards/treasure/type9/type9.c +0 -27
@@ 14,30 14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "type9.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);
-}
M keyboards/uk78/keymaps/default/keymap.c => keyboards/uk78/keymaps/default/keymap.c +5 -41
@@ 75,48 75,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)) {
- DDRA |= (1 << 3);
- PORTA |= (1 << 3);
+ setPinOutput(A3);
+ writePinHigh(A3);
} else {
- DDRA &= ~(1 << 3);
- PORTA &= ~(1 << 3);
+ setPinInput(A3);
+ writePinLow(A3);
}
-
- if (usb_led & (1 << USB_LED_SCROLL_LOCK)) {
-
- } else {
-
- }
-
- if (usb_led & (1 << USB_LED_COMPOSE)) {
-
- } else {
-
- }
-
- if (usb_led & (1 << USB_LED_KANA)) {
-
- } else {
-
- }
-}>
\ No newline at end of file
+}
M keyboards/ut472/ut472.c => keyboards/ut472/ut472.c +0 -12
@@ 1,13 1,1 @@
#include "ut472.h"
-
-void matrix_init_kb(void) {
- // Keyboard start-up code goes here
- // Runs once when the firmware starts up
- matrix_init_user();
-};
-
-void matrix_scan_kb(void) {
- // Looping keyboard code goes here
- // This runs every cycle (a lot)
- matrix_scan_user();
-};
M keyboards/uzu42/uzu42.c => keyboards/uzu42/uzu42.c +0 -4
@@ 1,5 1,1 @@
#include "uzu42.h"
-
-bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
- return process_record_user(keycode, record);
-}
M keyboards/v60_type_r/keymaps/default/keymap.c => keyboards/v60_type_r/keymaps/default/keymap.c +0 -4
@@ 62,7 62,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),
};
-
-void led_set_user(uint8_t usb_led) {
-
-}
M keyboards/v60_type_r/keymaps/iso/keymap.c => keyboards/v60_type_r/keymaps/iso/keymap.c +0 -4
@@ 48,7 48,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
),
};
-
-void led_set_user(uint8_t usb_led) {
-
-}
M keyboards/vitamins_included/rev1/rev1.c => keyboards/vitamins_included/rev1/rev1.c +0 -12
@@ 1,13 1,1 @@
#include "rev1.h"
-
-
-#ifdef SSD1306OLED
-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);
-}
-#endif
-
-void matrix_init_kb(void) {
- matrix_init_user();
-};
M keyboards/vitamins_included/rev2/rev2.c => keyboards/vitamins_included/rev2/rev2.c +0 -12
@@ 1,13 1,5 @@
#include "rev2.h"
-
-#ifdef SSD1306OLED
-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);
-}
-#endif
-
bool is_keyboard_left(void) {
#if defined(MASTER_LEFT)
return is_keyboard_master();
@@ 25,7 17,3 @@ bool is_keyboard_left(void) {
return is_keyboard_master();
}
-
-void matrix_init_kb(void) {
- matrix_init_user();
-};
M keyboards/westfoxtrot/aanzee/keymaps/default/keymap.c => keyboards/westfoxtrot/aanzee/keymaps/default/keymap.c +0 -12
@@ 34,15 34,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
_______, _______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______, _______, \
_______,_______,_______, _______, _______,_______,_______,_______, _______)
};
-
- void matrix_init_user(void) {
- //user initialization
- }
-
- void matrix_scan_user(void) {
- //user matrix
- }
-
- bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- return true;
- }
M keyboards/westfoxtrot/aanzee/keymaps/iso-default/keymap.c => keyboards/westfoxtrot/aanzee/keymaps/iso-default/keymap.c +0 -12
@@ 34,15 34,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______, \
_______,_______,_______, _______, _______,_______,_______,_______,_______)
};
-
- void matrix_init_user(void) {
- //user initialization
- }
-
- void matrix_scan_user(void) {
- //user matrix
- }
-
- bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- return true;
- }
M keyboards/westfoxtrot/aanzee/keymaps/via/keymap.c => keyboards/westfoxtrot/aanzee/keymaps/via/keymap.c +0 -12
@@ 34,15 34,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
_______, _______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______, _______, \
_______,_______,_______, _______, _______,_______ ,_______,_______, _______)
};
-
- void matrix_init_user(void) {
- //user initialization
- }
-
- void matrix_scan_user(void) {
- //user matrix
- }
-
- bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- return true;
- }
M keyboards/westfoxtrot/cyclops/cyclops.c => keyboards/westfoxtrot/cyclops/cyclops.c +0 -27
@@ 14,30 14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "cyclops.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);
-}>
\ No newline at end of file
M keyboards/westfoxtrot/cyclops/keymaps/default/keymap.c => keyboards/westfoxtrot/cyclops/keymaps/default/keymap.c +0 -16
@@ 35,19 35,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
RESET, _______, _______, _______, _______, _______, _______, _______, _______),
};
-
-bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- return true;
-}
-
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-void led_set_user(uint8_t usb_led) {
-
-}
M keyboards/xbows/woody/woody.c => keyboards/xbows/woody/woody.c +0 -9
@@ 97,15 97,6 @@ led_config_t g_led_config = { {
} };
#endif
-void matrix_init_kb(void) {
- matrix_init_user();
-}
-void matrix_scan_kb(void) {
- matrix_scan_user();
-}
-bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
- return process_record_user(keycode, record);
-}
void suspend_power_down_kb(void)
{
rgb_matrix_set_suspend_state(true);
M keyboards/xiudi/xd004/keymaps/default/keymap.c => keyboards/xiudi/xd004/keymaps/default/keymap.c +0 -5
@@ 6,8 6,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
LAYOUT_all(KC_L, KC_O, KC_V, KC_E),
};
-
-// Loop
-void matrix_scan_user(void){
- // Empty
-};
M keyboards/xiudi/xd004/xd004.c => keyboards/xiudi/xd004/xd004.c +0 -6
@@ 1,7 1,1 @@
#include "xd004.h"
-
-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);
-}
M keyboards/xiudi/xd60/keymaps/default/keymap.c => keyboards/xiudi/xd60/keymaps/default/keymap.c +0 -5
@@ 19,8 19,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RGUI, MO(1), KC_HOME, KC_PGDOWN,KC_END),
};
-
-// Loop
-void matrix_scan_user(void) {
- // Empty
-};
M keyboards/xiudi/xd60/keymaps/iso/keymap.c => keyboards/xiudi/xd60/keymaps/iso/keymap.c +0 -5
@@ 26,8 26,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
)
};
-
-// Loop
-void matrix_scan_user(void) {
- // Empty
-};
M keyboards/xiudi/xd87/keymaps/default/keymap.c => keyboards/xiudi/xd87/keymaps/default/keymap.c +0 -12
@@ 54,15 54,3 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
}
return true;
}
-
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-void led_set_user(uint8_t usb_led) {
-
-}
M keyboards/xiudi/xd87/keymaps/default_underglow/keymap.c => keyboards/xiudi/xd87/keymaps/default_underglow/keymap.c +0 -12
@@ 60,15 60,3 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
}
return true;
}
-
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-void led_set_user(uint8_t usb_led) {
-
-}
M keyboards/yd68/keymaps/default/keymap.c => keyboards/yd68/keymaps/default/keymap.c +0 -12
@@ 51,15 51,3 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
}
return true;
}
-
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-}
-
-void led_set_user(uint8_t usb_led) {
-
-}
M keyboards/ymdk/sp64/sp64.c => keyboards/ymdk/sp64/sp64.c +0 -24
@@ 67,27 67,3 @@ out:
return (mcp23018_status);
}
#endif
-
-// Optional override functions below.
-// You can leave any or all of these undefined.
-// These are only required if you want to perform custom actions.
-
-__attribute__ ((weak))
-void matrix_init_user(void) {}
-
-void matrix_init_kb(void) {
- // put your keyboard start-up code here
- // runs once when the firmware starts up
-
- matrix_init_user();
-}
-
-__attribute__ ((weak))
-void matrix_scan_user(void) {}
-
-void matrix_scan_kb(void) {
- // put your looping keyboard code here
- // runs every cycle (a lot)
-
- matrix_scan_user();
-}
M keyboards/yosino58/rev1/rev1.c => keyboards/yosino58/rev1/rev1.c +0 -7
@@ 1,8 1,1 @@
#include "yosino58.h"
-
-#ifdef SSD1306OLED
-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);
-}
-#endif
M keyboards/z150_bh/keymaps/default/keymap.c => keyboards/z150_bh/keymaps/default/keymap.c +0 -13
@@ 33,16 33,3 @@ 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) {
-}>
\ No newline at end of file
M keyboards/z150_bh/keymaps/default_tkl/keymap.c => keyboards/z150_bh/keymaps/default_tkl/keymap.c +0 -13
@@ 33,16 33,3 @@ 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) {
-}>
\ No newline at end of file
M keyboards/zinc/rev1/rev1.c => keyboards/zinc/rev1/rev1.c +0 -4
@@ 1,5 1,1 @@
#include "zinc.h"
-
-void matrix_init_kb(void) {
- matrix_init_user();
-};
M keyboards/zinc/reva/reva.c => keyboards/zinc/reva/reva.c +0 -4
@@ 1,5 1,1 @@
#include "zinc.h"
-
-void matrix_init_kb(void) {
- matrix_init_user();
-};
M keyboards/zj68/zj68.c => keyboards/zj68/zj68.c +0 -8
@@ 14,11 14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "zj68.h"
-
-void matrix_init_kb(void) {
- matrix_init_user();
-}
-
-void matrix_scan_kb(void) {
- matrix_scan_user();
-}