Skip to content

Instantly share code, notes, and snippets.

@ericfont
Last active March 24, 2026 23:22
Show Gist options
  • Select an option

  • Save ericfont/7754ea55add52872cc83a73f49b226ff to your computer and use it in GitHub Desktop.

Select an option

Save ericfont/7754ea55add52872cc83a73f49b226ff to your computer and use it in GitHub Desktop.
keyd unicode musical symbols configuration file for a second USB keyboard
[ids]
# put the USB id code of your secondary keyboard to map
# found by running 'sudo keyd monitor'
XXXX:XXXX:XXXXXXXX
[main]
#boxed letters 🅰🅱🅲🅳🅸🆅
a = macro(C-S-u 1 f 1 7 0 enter)
b = macro(C-S-u 1 f 1 7 1 enter)
c = macro(C-S-u 1 f 1 7 2 enter)
d = macro(C-S-u 1 f 1 7 3 enter)
i = macro(C-S-u 1 f 1 7 8 enter)
v = macro(C-S-u 1 f 1 8 5 enter)
e =
f =
g =
h =
j =
k =
l =
m =
n =
o =
p =
q =
r =
s =
t =
u =
w =
y =
z =
#Breath 𝄒
' = macro(C-S-u 1 d 1 1 2 enter)
#Capital Roman ⅠⅡⅢⅣⅤⅥⅦ
1 = macro(C-S-u 2 1 6 0 enter)
2 = macro(C-S-u 2 1 6 1 enter)
3 = macro(C-S-u 2 1 6 2 enter)
4 = macro(C-S-u 2 1 6 3 enter)
5 = macro(C-S-u 2 1 6 4 enter)
6 = macro(C-S-u 2 1 6 5 enter)
7 = macro(C-S-u 2 1 6 6 enter)
8 =
9 =
#half & fully diminshed: ʰᵒ
#h = macro(C-S-u 0 2 b 0 enter)
#o = macro(C-S-u 1 d 5 2 enter)
o = macro(C-S-u 0 0 b 0 enter)
#half & fully diminshed ø o
0 = macro(C-S-u 0 0 f 8 enter)
#o = o
# <sup>ø</sup>
#lower romanⅰⅱⅲⅳⅴⅵⅶ
q = macro(C-S-u 2 1 7 0 enter)
w = macro(C-S-u 2 1 7 1 enter)
e = macro(C-S-u 2 1 7 2 enter)
r = macro(C-S-u 2 1 7 3 enter)
t = macro(C-S-u 2 1 7 4 enter)
y = macro(C-S-u 2 1 7 5 enter)
u = macro(C-S-u 2 1 7 6 enter)
#barlines 𝄀 𝄆 𝄇
\ = macro(C-S-u 1 d 1 0 0 enter)
[ = macro(C-S-u 1 d 1 0 6 enter)
] = macro(C-S-u 1 d 1 0 7 enter)
#repeats 𝄎𝄍𝄊𝄉
x = macro(C-S-u 1 d 1 0 e enter)
/ = macro(C-S-u 1 d 1 0 d enter)
, = macro(C-S-u 1 d 1 0 a enter)
. = macro(C-S-u 1 d 1 0 9 enter)
#accidentals ♭♮♯
- = macro(C-S-u 2 6 6 d enter)
n = macro(C-S-u 2 6 6 e enter)
= = macro(C-S-u 2 6 6 f enter)
#superscript numbers ¹²³⁴⁵⁶⁷⁸⁹⁰
f1 = macro(C-S-u 0 0 b 9 enter)
f2 = macro(C-S-u 0 0 b 2 enter)
f3 = macro(C-S-u 0 0 b 3 enter)
f4 = macro(C-S-u 2 0 7 4 enter)
f5 = macro(C-S-u 2 0 7 5 enter)
f6 = macro(C-S-u 2 0 7 6 enter)
f7 = macro(C-S-u 2 0 7 7 enter)
f8 = macro(C-S-u 2 0 7 8 enter)
f9 = macro(C-S-u 2 0 7 9 enter)
f10= macro(C-S-u 2 0 7 0 enter)
[shift:S]
#double repeat measure 𝄏
x = macro(C-S-u 1 d 1 0 f enter)
#augmented ⁺
= = macro(C-S-u 2 0 7 a enter)
#double barline 𝄁
\ = macro(C-S-u 1 d 1 0 1 enter)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment