Switch to HAPTIC_ENABLE_PIN, that is expected to land in core,
[jackhill/qmk/firmware.git] / keyboards / xwhatsit / ibm / xtant / wcass / config.h
index 62bedfc..a5755f0 100644 (file)
@@ -276,8 +276,10 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #define CAPSENSE_KEYMAP_COL_TO_PHYSICAL_COL(col) (11-(col))
 
 // By default we set up for support of xwhatsit's solenoid driver board.
-// Comment out USING_SOLENOID_ENABLE_PIN if you don't have an enable pin:
-#define USING_SOLENOID_ENABLE_PIN B7
+// Comment out HAPTIC_ENABLE_PIN if you don't have an enable pin:
+#define HAPTIC_ENABLE_PIN B7
+// We disable haptic feedbeck during USB low power conditions:
+#define HAPTIC_OFF_IN_LOW_POWER
 // Change this if you are using a different pin for the solenoid:
 #define SOLENOID_PIN B6
 // If you are not using a solenoid then comment out the above, and also in rules.mk, remove "HAPTIC_ENABLE += SOLENOID"