Add a public API for a device-specific feature (configurable debounce

time)
pull/365/head
Jesse Vincent 7 years ago
parent b3ea050595
commit dbb1b95d5c

@ -242,4 +242,10 @@ void Model01::maskHeldKeys(void) {
memcpy(rightHandMask.rows, rightHandState.rows, sizeof(rightHandMask));
}
void Model01::setKeyscanInterval(uint8_t interval) {
leftHand.setKeyscanInterval(interval);
rightHand.setKeyscanInterval(interval);
}
HARDWARE_IMPLEMENTATION KeyboardHardware;

@ -31,6 +31,7 @@ class Model01 {
*/
void enableHighPowerLeds(void);
void enableScannerPower(void);
void setKeyscanInterval(uint8_t interval);
boolean ledPowerFault(void);
/* Key masking

Loading…
Cancel
Save