summaryrefslogtreecommitdiff
path: root/keyboards/handwired/hillside/46/config.h
diff options
context:
space:
mode:
authormmccoyd <mmccoyd@users.noreply.github.com>2022-08-13 12:10:01 -0700
committerGitHub <noreply@github.com>2022-08-13 20:10:01 +0100
commitaee738c61b52cce2ce03c78587450b17e982a522 (patch)
tree4af33cf5f775cad1a4ad89803b7fb9100a039e93 /keyboards/handwired/hillside/46/config.h
parentb1fe7621ebb086a519778030381eb5729e949523 (diff)
[Keyboard] Add Hillside 46 (#17968)
* 46: Copy from 52 and file rename * 46: File internals refer to 46, not 52 * 46: Board remove row * 46: Keymap: Lshift becomes ctrl, Rshift a symbol - ESC and CAPs on upper thumbs - AltGr and App on upper thumbs - Page up/down on upper thumbs - F11, F12 and mods for them on adjust * 46: Readme update for json script, tweaks * 46: Board fix LED count * 46: Keymap: Arrows right, symmetric layer keys * 46: Readme: Image link with and w/o outer pinkie * 46: Keymap: link fixed image of nav layer * 46: Keymap: fix reaching adj layer Co-authored-by: mmccoyd <mmccoyd@cs.berkley.edu>
Diffstat (limited to 'keyboards/handwired/hillside/46/config.h')
-rw-r--r--keyboards/handwired/hillside/46/config.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/keyboards/handwired/hillside/46/config.h b/keyboards/handwired/hillside/46/config.h
new file mode 100644
index 0000000000..5cad8e3d5a
--- /dev/null
+++ b/keyboards/handwired/hillside/46/config.h
@@ -0,0 +1,39 @@
+// Copyright 2022 Michael McCoyd (@mmccoyd)
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#include "config_common.h"
+
+/* key matrix size */
+// Rows are doubled-up
+#define MATRIX_ROWS 8
+#define MATRIX_COLS 6
+
+/* Split */
+#define SPLIT_HAND_MATRIX_GRID B5, F6
+#define MATRIX_MASKED
+
+/* Encoder */
+#define ENCODERS_PAD_A { F5 }
+#define ENCODERS_PAD_B { F4 }
+#define ENCODERS_PAD_A_RIGHT { F4 }
+#define ENCODERS_PAD_B_RIGHT { F5 }
+
+#define RGBLIGHT_SLEEP
+
+/* Haptic hardware */
+// The Pimoroni is the likely hardware, for which these settings work
+#define FB_ERM_LRA 1
+#define FB_BRAKEFACTOR 3 /* 1x:0, 2x:1, 3x:2, 4x:3, 6:4, 8:5, 16:6, Disable:7 */
+#define FB_LOOPGAIN 1 /* For Low:0, Medium:1, High:2, Very High:3 */
+/* Please refer to your datasheet for optimal setting for your specific motor.*/
+#define RATED_VOLTAGE 2
+#define V_PEAK 2.8
+#define V_RMS 2.0
+#define F_LRA 205 /* resonance freq */
+
+/* Haptic waveforms */
+// Two mild waveforms
+#define DRV_GREETING alert_750ms
+#define DRV_MODE_DEFAULT sharp_tick3_60