Add image viewer keybinds

This commit is contained in:
miruka
2020-07-20 21:34:00 -04:00
parent 0cd2678797
commit acd02a67a0
6 changed files with 163 additions and 13 deletions

View File

@@ -378,6 +378,30 @@ class UISettings(JSONDataFile):
"refreshDevices": ["Alt+R", "F5"],
"signOutCheckedOrAllDevices": ["Alt+S", "Delete"],
"imageViewer": {
"panLeft": ["H", "Left", "Alt+H", "Alt+Left"],
"panDown": ["J", "Down", "Alt+J", "Alt+Down"],
"panUp": ["K", "Up", "Alt+K", "Alt+Up"],
"panRight": ["L", "Right", "Alt+L", "Alt+Right"],
"zoomOut": ["Z", "-", "Ctrl+-"],
"zoomIn": ["Shift+Z", "+", "Ctrl++"],
"zoomReset": ["Alt+Z", "=", "Ctrl+="],
"rotateLeft": ["R"],
"rotateRight": ["Shift+R"],
"rotateReset": ["Alt+R"],
"previousSpeed": ["S"],
"nextSpeed": ["Shift+S"],
"resetSpeed": ["Alt+S"],
"pause": ["Space"],
"expand": ["E"],
"fullScreen": ["F", "F11", "Alt+Return", "Alt+Enter"],
"close": ["X", "Q"],
},
},
}