Skip to content

Commit f94cc64

Browse files
Copilotjambl3r
andcommitted
Add microphone action creation in CreateActionDelegate
Co-authored-by: jambl3r <54366245+jambl3r@users.noreply.github.com>
1 parent e00ddb2 commit f94cc64

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

base/src/main/java/io/github/sds100/keymapper/base/actions/CreateActionDelegate.kt

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,18 @@ class CreateActionDelegate(
309309
return action
310310
}
311311

312+
ActionId.MUTE_MICROPHONE -> {
313+
return ActionData.Microphone.Mute
314+
}
315+
316+
ActionId.UNMUTE_MICROPHONE -> {
317+
return ActionData.Microphone.UnMute
318+
}
319+
320+
ActionId.TOGGLE_MUTE_MICROPHONE -> {
321+
return ActionData.Microphone.Toggle
322+
}
323+
312324
ActionId.VOLUME_INCREASE_STREAM,
313325
ActionId.VOLUME_DECREASE_STREAM,
314326
-> {

0 commit comments

Comments
 (0)