summaryrefslogtreecommitdiff
path: root/src/macros/teams.py
diff options
context:
space:
mode:
authorSébastien Dailly <sebastien@dailly.me>2023-08-13 10:46:51 +0200
committerSébastien Dailly <sebastien@dailly.me>2023-08-13 10:46:58 +0200
commit259cb021db412471baf1478a6aa619ed0545d997 (patch)
tree279c128c592eb24a15241e42fa003050c2a1c4c8 /src/macros/teams.py
parent6716fbc7a1ec5d14887d54b7d0286a149d15d46a (diff)
Update the macrosHEADmaster
Diffstat (limited to 'src/macros/teams.py')
-rw-r--r--src/macros/teams.py13
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()
-