Update keyboard shortcuts for PFL channel.

This commit is contained in:
Matthew Stratford 2021-01-28 02:36:43 +00:00
parent 1a7e062e85
commit f5827f346e

View file

@ -973,60 +973,60 @@ export const mixerKeyboardShortcutsMiddleware: Middleware<
Dispatch<any> Dispatch<any>
> = (store) => { > = (store) => {
Keys("q", () => { Keys("q", () => {
store.dispatch(play(0));
});
Keys("w", () => {
store.dispatch(pause(0));
});
Keys("e", () => {
store.dispatch(stop(0));
});
Keys("r", () => {
store.dispatch(play(1)); store.dispatch(play(1));
}); });
Keys("t", () => { Keys("w", () => {
store.dispatch(pause(1)); store.dispatch(pause(1));
}); });
Keys("y", () => { Keys("e", () => {
store.dispatch(stop(1)); store.dispatch(stop(1));
}); });
Keys("u", () => { Keys("r", () => {
store.dispatch(play(2)); store.dispatch(play(2));
}); });
Keys("i", () => { Keys("t", () => {
store.dispatch(pause(2)); store.dispatch(pause(2));
}); });
Keys("o", () => { Keys("y", () => {
store.dispatch(stop(2)); store.dispatch(stop(2));
}); });
Keys("u", () => {
store.dispatch(play(3));
});
Keys("i", () => {
store.dispatch(pause(3));
});
Keys("o", () => {
store.dispatch(stop(3));
});
Keys("a", () => { Keys("a", () => {
store.dispatch(setVolume(0, "off"));
});
Keys("s", () => {
store.dispatch(setVolume(0, "bed"));
});
Keys("d", () => {
store.dispatch(setVolume(0, "full"));
});
Keys("f", () => {
store.dispatch(setVolume(1, "off")); store.dispatch(setVolume(1, "off"));
}); });
Keys("g", () => { Keys("s", () => {
store.dispatch(setVolume(1, "bed")); store.dispatch(setVolume(1, "bed"));
}); });
Keys("h", () => { Keys("d", () => {
store.dispatch(setVolume(1, "full")); store.dispatch(setVolume(1, "full"));
}); });
Keys("j", () => { Keys("f", () => {
store.dispatch(setVolume(2, "off")); store.dispatch(setVolume(2, "off"));
}); });
Keys("k", () => { Keys("g", () => {
store.dispatch(setVolume(2, "bed")); store.dispatch(setVolume(2, "bed"));
}); });
Keys("l", () => { Keys("h", () => {
store.dispatch(setVolume(2, "full")); store.dispatch(setVolume(2, "full"));
}); });
Keys("j", () => {
store.dispatch(setVolume(3, "off"));
});
Keys("k", () => {
store.dispatch(setVolume(3, "bed"));
});
Keys("l", () => {
store.dispatch(setVolume(3, "full"));
});
Keys("x", () => { Keys("x", () => {
const state = store.getState().mixer.mic; const state = store.getState().mixer.mic;