From 259cb021db412471baf1478a6aa619ed0545d997 Mon Sep 17 00:00:00 2001 From: Sébastien Dailly Date: Sun, 13 Aug 2023 10:46:51 +0200 Subject: Update the macros --- src/macros/teams.py | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'src/macros/teams.py') diff --git a/src/macros/teams.py b/src/macros/teams.py index 621f8b6..374fc82 100644 --- a/src/macros/teams.py +++ b/src/macros/teams.py @@ -29,16 +29,25 @@ def planning(macropad, key, pressed): def link(macropad, key, pressed): Action().key(pressed, [Keycode.CONTROL, Keycode.K]) +def mic(macropad, key, pressed): + Action().key(pressed, [Keycode.SHIFT, Keycode.CONTROL, Keycode.M]) + +def camera(macropad, key, pressed): + Action().key(pressed, [Keycode.SHIFT, Keycode.CONTROL, Keycode.O]) + def build_application(): configuration = skeleton.Configuration("Teams") configuration.visible = False configuration.registerKey(0, "Convers.", conv, 0x050000) configuration.registerKey(3, "Planning", planning, 0x050200) - configuration.registerKey(2, "Link", link, 0x020002) + configuration.registerKey(6, "Micro.", mic, 0x000202) + configuration.registerKey(9, "camera", camera, 0x020200) + + configuration.registerKey(2, "Link", link, 0x020002) + return configuration configuration = build_application() - -- cgit v1.2.3