diff options
Diffstat (limited to 'src/macros/teams.py')
-rw-r--r-- | src/macros/teams.py | 13 |
1 files changed, 11 insertions, 2 deletions
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() - |