Skip to content

Commit d6f8f93

Browse files
Added Evernote for Mac, contrib by Redditor s010sdc
1 parent 9f4911d commit d6f8f93

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# MACROPAD Hotkeys: Evernote web application for Mac
2+
# Contributed by Redditor s010sdc
3+
4+
from adafruit_hid.keycode import Keycode # REQUIRED if using Keycode.* values
5+
6+
app = { # REQUIRED dict, must be named 'app'
7+
'name' : 'Mac Evernote', # Application name
8+
'macros' : [ # List of button macros...
9+
# COLOR LABEL KEY SEQUENCE
10+
# 1st row ----------
11+
(0x004000, 'New Nt', [Keycode.COMMAND, 'n']),
12+
(0x004000, 'New Bk', [Keycode.SHIFT, Keycode.COMMAND, 'n']),
13+
(0x004000, 'CP Lnk', [Keycode.CONTROL, Keycode.OPTION, Keycode.COMMAND, 'c']),
14+
# 2nd row ----------
15+
(0x004000, 'Move', [Keycode.CONTROL, Keycode.COMMAND, 'm']),
16+
(0x004000, 'Find', [Keycode.OPTION, Keycode.COMMAND, 'f']),
17+
(0x004000, 'Emoji', [Keycode.CONTROL, Keycode.COMMAND, ' ']),
18+
# 3rd row ----------
19+
(0x004000, 'Bullets', [Keycode.SHIFT, Keycode.COMMAND, 'u']),
20+
(0x004000, 'Nums', [Keycode.SHIFT, Keycode.COMMAND, 'o']),
21+
(0x004000, 'Check', [Keycode.SHIFT, Keycode.COMMAND, 't']),
22+
# 4th row ----------
23+
(0x004000, 'Date', [Keycode.SHIFT, Keycode.COMMAND, 'D' ]),
24+
(0x004000, 'Time', [Keycode.OPTION, Keycode.SHIFT, Keycode.COMMAND, 'D' ]),
25+
(0x004000, 'Divider', [Keycode.SHIFT, Keycode.COMMAND, 'H']),
26+
# Encoder button ---
27+
(0x000000, '', [Keycode.COMMAND, 'w']) # Close window/tab
28+
]
29+
}

0 commit comments

Comments
 (0)