mirror of
https://github.com/ClaytonWWilson/miryoku_zmk.git
synced 2026-03-11 03:05:03 +00:00
Add double tap guard for Additional Features
- Add Issues - Fix suspend - Add MIRYOKU_KLUDGE_DOUBLETAPBOOT
This commit is contained in:
18
miryoku/miryoku_double_tap_guard.h
Normal file
18
miryoku/miryoku_double_tap_guard.h
Normal file
@@ -0,0 +1,18 @@
|
||||
// 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
|
||||
Reference in New Issue
Block a user