mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-12-29 12:48:52 +06:00
f139c3db8d
* 🎉 duplicate default Preonic keymap * ✨ add Workman layout * 🚚 swap backspace and delete * ✨ enable hold enter for shift * 🚚 swap media play and next * 💄 use Planck startup sound * 💄 add Workman layer sound * ✨ add numpad layer * 💄 add new workman sound * 📝 add README * 🎨 fix layout formatting * 📝 add image of numpad layer * 📦 changing chibios submodule version to match upstream/master's version * ✨ add caps lock key on adjust layer * ✨ reworking numpad layer to match a real numpad * ✨ add double tap to activate numpad * 📝 fix layout comments * 📝 update numpad layer render * ✨ adding operator keys to left hand on numpad * 🎨 shorten numpad keycodes * 🎨 remove redundant breaks * 📝 update numpad layer render * 🎨 fix indentation * 🔧 add rules file * ✨🔊 play sound when switching to numpad layer * 🔨 use userspace sounds
26 lines
484 B
C
26 lines
484 B
C
#ifndef USERSPACE
|
|
#define USERSPACE
|
|
|
|
#ifdef TAPPING_TOGGLE
|
|
#undef TAPPING_TOGGLE
|
|
#endif
|
|
#define TAPPING_TOGGLE 2
|
|
|
|
#ifdef AUDIO_ENABLE
|
|
#define WORKMAN_SOUND \
|
|
E__NOTE(_GS7), \
|
|
ED_NOTE(_E7), \
|
|
S__NOTE(_REST), \
|
|
E__NOTE(_A6), \
|
|
S__NOTE(_REST), \
|
|
ED_NOTE(_GS6),
|
|
|
|
#define NUMPAD_ON_SOUND \
|
|
E__NOTE(_C6), \
|
|
ED_NOTE(_BF5), \
|
|
S__NOTE(_C6), \
|
|
ED_NOTE(_BF5),
|
|
#endif
|
|
|
|
#endif
|