forked from mirrors/qmk_firmware
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
25 lines
484 B
C
25 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
|