Advertisement
Guest User

Config-MMM keybinding

a guest
Mar 11th, 2020
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. {
  2. module: 'MMM-KeyBindings',
  3. config: {
  4. enabledKeyStates: ["KEY_PRESSED", "KEY_LONGPRESSED"],
  5. enableKeyboard: true,
  6. evdev: {
  7. enabled: false
  8. },
  9. actions: [{
  10. key: "ArrowLeft",
  11. state: "KEY_PRESSED",
  12. instance: "SERVER",
  13. mode: "DEFAULT",
  14. payload: { action: "MONITORON" },
  15. }, {
  16. key: "ArrowRight",
  17. state: "KEY_PRESSED",
  18. instance: "SERVER",
  19. mode: "DEFAULT",
  20. payload: { action: "MONITOROFF" }}]
  21. // See below for configurable options
  22. }
  23. },
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement