aboutsummaryrefslogtreecommitdiff
path: root/keyboards/fc660c/fc660c.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/fc660c/fc660c.c')
-rw-r--r--keyboards/fc660c/fc660c.c27
1 files changed, 0 insertions, 27 deletions
diff --git a/keyboards/fc660c/fc660c.c b/keyboards/fc660c/fc660c.c
index da6ba9e74..592697cb8 100644
--- a/keyboards/fc660c/fc660c.c
+++ b/keyboards/fc660c/fc660c.c
@@ -21,36 +21,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
21#endif 21#endif
22 22
23void matrix_init_kb(void) { 23void matrix_init_kb(void) {
24 // put your keyboard start-up code here
25 // runs once when the firmware starts up
26
27#ifdef ACTUATION_DEPTH_ADJUSTMENT 24#ifdef ACTUATION_DEPTH_ADJUSTMENT
28 adjust_actuation_point(ACTUATION_DEPTH_ADJUSTMENT); 25 adjust_actuation_point(ACTUATION_DEPTH_ADJUSTMENT);
29#endif 26#endif
30 27
31 matrix_init_user(); 28 matrix_init_user();
32} 29}
33
34void matrix_scan_kb(void) {
35 // put your looping keyboard code here
36 // runs every cycle (a lot)
37
38 matrix_scan_user();
39}
40
41bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
42 // put your per-action keyboard code here
43 // runs for every action, just before processing by the firmware
44
45 return process_record_user(keycode, record);
46}
47
48void led_set_kb(uint8_t usb_led) {
49 if (usb_led & (1<<USB_LED_CAPS_LOCK)) {
50 PORTB &= ~(1<<6);
51 } else {
52 PORTB |= (1<<6);
53 }
54
55 led_set_user(usb_led);
56}