diff options
author | QMK Bot <hello@qmk.fm> | 2021-09-05 20:37:03 +0000 |
---|---|---|
committer | QMK Bot <hello@qmk.fm> | 2021-09-05 20:37:03 +0000 |
commit | 147289e173999b132f1b97835f8d57716a2bd376 (patch) | |
tree | 8aff70bcbc2bd3bec97a8f46006dab808e9997ca /keyboards/alf | |
parent | 673f82ebd9fb48371d815a1c4f8a5bb3d5d0bfe3 (diff) | |
parent | 8d6d8cfadfd1522b3dd2cc8ac1ce7393b45bbe64 (diff) | |
download | qmk_firmware-147289e173999b132f1b97835f8d57716a2bd376.tar.gz qmk_firmware-147289e173999b132f1b97835f8d57716a2bd376.zip |
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'keyboards/alf')
-rw-r--r-- | keyboards/alf/dc60/keymaps/default/keymap.c | 16 | ||||
-rw-r--r-- | keyboards/alf/x2/keymaps/default/keymap.c | 16 |
2 files changed, 4 insertions, 28 deletions
diff --git a/keyboards/alf/dc60/keymaps/default/keymap.c b/keyboards/alf/dc60/keymaps/default/keymap.c index acd9753ef0..ddc488670c 100644 --- a/keyboards/alf/dc60/keymaps/default/keymap.c +++ b/keyboards/alf/dc60/keymaps/default/keymap.c @@ -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) { - -} diff --git a/keyboards/alf/x2/keymaps/default/keymap.c b/keyboards/alf/x2/keymaps/default/keymap.c index eb3d7bd468..a119c70742 100644 --- a/keyboards/alf/x2/keymaps/default/keymap.c +++ b/keyboards/alf/x2/keymaps/default/keymap.c @@ -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); } } |