X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=converter%2Fusb_usb%2Fconfig.h;h=7b80fc214013138fb0306790549b2e55d68cde1b;hb=e7af17fec9c7fe4baa87b1ae19b273c03cefec7a;hp=87da4a45eb01b870ecdc58cc125c11e00bfe3c4b;hpb=c36828e25e4b39947e80b8ca599ea91c2fee5a57;p=max%2Ftmk_keyboard.git diff --git a/converter/usb_usb/config.h b/converter/usb_usb/config.h index 87da4a45..7b80fc21 100644 --- a/converter/usb_usb/config.h +++ b/converter/usb_usb/config.h @@ -36,4 +36,17 @@ along with this program. If not, see . /* key combination for command */ #define IS_COMMAND() (keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT))) + +// Disable power saving in USB suspend loop but remote wakeup is still valid. +// This allows keep USB::Task() going during suspend without power down time delay. +//#define NO_SUSPEND_POWER_DOWN + + +// Disable USB startup wait, which can delays starting UHS2 Task() for 350-600ms. +//#define NO_USB_STARTUP_WAIT_LOOP + +// Disable USB suspend loop, which blocks UHS2 Task() while power saving. +// Note that this also disables power saving and remote wakeup from keyboard completely. +//#define NO_USB_SUSPEND_LOOP + #endif