miryoku_zmk/miryoku/miryoku_double_tap_guard.h
Manna Harbour f6b87ad38c Add double tap guard for Additional Features
- Add Issues
- Fix suspend
- Add MIRYOKU_KLUDGE_DOUBLETAPBOOT
2022-10-26 16:17:27 +11:00

19 lines
381 B
C

// Copyright 2022 Manna Harbour
// https://github.com/manna-harbour/miryoku
#pragma once
#if defined (MIRYOKU_KLUDGE_DOUBLETAPBOOT)
#if defined (MIRYOKU_KLUDGE_SUSPEND)
#define U_BOOT &u_suspend
#else
#define U_BOOT &u_bootloader
#endif
#else
#if defined (MIRYOKU_KLUDGE_SUSPEND)
#define U_BOOT &suspend
#else
#define U_BOOT &bootloader
#endif
#endif