summaryrefslogtreecommitdiff
path: root/keyboards/hp69/keymaps/via/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/hp69/keymaps/via/keymap.c')
-rw-r--r--keyboards/hp69/keymaps/via/keymap.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/keyboards/hp69/keymaps/via/keymap.c b/keyboards/hp69/keymaps/via/keymap.c
index d47308c8ba..d72bdbf0b1 100644
--- a/keyboards/hp69/keymaps/via/keymap.c
+++ b/keyboards/hp69/keymaps/via/keymap.c
@@ -46,4 +46,14 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
),
-}; \ No newline at end of file
+};
+
+
+void matrix_scan_user(void) {
+ writePin(A7, layer_state_is(1));
+}
+
+bool led_update_user(led_t led_state) {
+ writePin(LED_CAPS_LOCK_PIN, !led_state.caps_lock);
+ return false;
+};