#define PRODUCT_ID 0x0002
#define DEVICE_VER 0x0001
#define MANUFACTURER Tom Wong-Cornall/Ellipse/Purdea Andrei
-#define PRODUCT modelfkeyboards.com Brand New F62/F77 Model F Keybard by Model F Labs
+#define PRODUCT modelfkeyboards.com Brand New F62/F77 Model F Keyboard by Model F Labs
#define DESCRIPTION QMK firmware for the modelfkeyboards.com reproduction of the IBM Model F keyboards using the original Xwhatsit model F controller PCB
/* key matrix size */
// #define CAPSENSE_CAL_DEBUG 0
#define CAPSENSE_CAL_INIT_REPS 16
#define CAPSENSE_CAL_EACHKEY_REPS 16
-#define CAPSENSE_CAL_BINS 3
-#define CAPSENSE_CAL_THRESHOLD_OFFSET 12
+#define CAPSENSE_CAL_BINS 5
+#define CAPSENSE_CAL_THRESHOLD_OFFSET 24
#if !CAPSENSE_CAL_ENABLED
#define CAPSENSE_HARDCODED_THRESHOLD 142
//#define SOLENOID_MIN_DWELL 4
//#define SOLENOID_MAX_DWELL 100
+// If the lock lights are not used, then please don't define the below pins,
+// or leave them set as unused pins:
+
+// The following definitions match the lock lights as used by the original
+// xwhatsit firmware, but enabling all three of these is not compatible with
+// standard solenoid support, because B6 and B7 pins are already in use:
+//#define LED_NUM_LOCK_PIN B5
+//#define LED_CAPS_LOCK_PIN B6
+//#define LED_SCROLL_LOCK_PIN B4
+// Since solenoid support is enabled by default, the above lock light pin
+// assignments are disabled by default.
+// Instead the more common Num Lock and Caps Lock are assigned the following
+// way by default, and this can be used in combination with the solenoid:
+#define LED_NUM_LOCK_PIN B4
+#define LED_CAPS_LOCK_PIN B5
+
+// Uncomment below if the leds are on when the pin is driving zero:
+//#define LED_NUM_LOCK_ACTIVE_LOW
+//#define LED_CAPS_LOCK_ACTIVE_LOW
+//#define LED_SCROLL_LOCK_ACTIVE_LOW
+
#include "../../../post_config.h"