aboutsummaryrefslogtreecommitdiff
path: root/keyboards/hp69
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2021-08-08 04:41:43 +0000
committerQMK Bot <hello@qmk.fm>2021-08-08 04:41:43 +0000
commit8e5213ca6c896de9f8a63ab56e424eee8549d05d (patch)
tree6a75d477a281a5369bfbc1b4781f99cf7b9acc54 /keyboards/hp69
parentb9dcd5ac38bc7cd3dc2fb97ac3842df03ee5f780 (diff)
parentb046bffcb8367b4238273e3ccb7de9b799fbec7c (diff)
downloadqmk_firmware-8e5213ca6c896de9f8a63ab56e424eee8549d05d.tar.gz
qmk_firmware-8e5213ca6c896de9f8a63ab56e424eee8549d05d.zip
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'keyboards/hp69')
-rw-r--r--keyboards/hp69/config.h4
-rw-r--r--keyboards/hp69/keymaps/via/keymap.c12
2 files changed, 15 insertions, 1 deletions
diff --git a/keyboards/hp69/config.h b/keyboards/hp69/config.h
index 06dd57145..ba6e55f86 100644
--- a/keyboards/hp69/config.h
+++ b/keyboards/hp69/config.h
@@ -47,7 +47,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
47#define RGB_DI_PIN A3 47#define RGB_DI_PIN A3
48#define RGBLED_NUM 20 48#define RGBLED_NUM 20
49#define RGBLIGHT_ANIMATIONS 49#define RGBLIGHT_ANIMATIONS
50#define RGBLIGHT_SLEEP
50 51
51#define AUDIO_PIN A5 52#define AUDIO_PIN A5
52#define AUDIO_PIN_ALT A4 53#define AUDIO_PIN_ALT A4
53#define AUDIO_PIN_ALT_AS_NEGATIVE 54#define AUDIO_PIN_ALT_AS_NEGATIVE
55
56#define LED_CAPS_LOCK_PIN A6
57#define LED_SCROLL_LOCK_PIN A7 \ No newline at end of file
diff --git a/keyboards/hp69/keymaps/via/keymap.c b/keyboards/hp69/keymaps/via/keymap.c
index d47308c8b..d72bdbf0b 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] = {
46 ), 46 ),
47 47
48 48
49}; \ No newline at end of file 49};
50
51
52void matrix_scan_user(void) {
53 writePin(A7, layer_state_is(1));
54}
55
56bool led_update_user(led_t led_state) {
57 writePin(LED_CAPS_LOCK_PIN, !led_state.caps_lock);
58 return false;
59};