diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2023-05-08 05:09:12 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-08 05:09:12 +0000 |
commit | 66428667c5fd3cebb94ea231fd26e1138b06472b (patch) | |
tree | 51d44c6dbb078226a552e7054a2cdecc71f41e15 /modules/shared.py | |
parent | 6ac33fe9d1a80c521d43ce8018618d970998899d (diff) | |
parent | 85bd9b3d31474c0bb4b209519f3f4179ccda2539 (diff) | |
download | stable-diffusion-webui-gfx803-66428667c5fd3cebb94ea231fd26e1138b06472b.tar.gz stable-diffusion-webui-gfx803-66428667c5fd3cebb94ea231fd26e1138b06472b.tar.bz2 stable-diffusion-webui-gfx803-66428667c5fd3cebb94ea231fd26e1138b06472b.zip |
Merge pull request #10146 from missionfloyd/gamepad-option
Fix gamepad navigation
Diffstat (limited to 'modules/shared.py')
-rw-r--r-- | modules/shared.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/shared.py b/modules/shared.py index 151bab9e..91aac1a3 100644 --- a/modules/shared.py +++ b/modules/shared.py @@ -400,6 +400,8 @@ options_templates.update(options_section(('ui', "User interface"), { "font": OptionInfo("", "Font for image grids that have text"),
"js_modal_lightbox": OptionInfo(True, "Enable full page image viewer"),
"js_modal_lightbox_initially_zoomed": OptionInfo(True, "Show images zoomed in by default in full page image viewer"),
+ "js_modal_lightbox_gamepad": OptionInfo(True, "Navigate image viewer with gamepad"),
+ "js_modal_lightbox_gamepad_repeat": OptionInfo(250, "Gamepad repeat period, in milliseconds"),
"show_progress_in_title": OptionInfo(True, "Show generation progress in window title."),
"samplers_in_dropdown": OptionInfo(True, "Use dropdown for sampler selection instead of radio group"),
"dimensions_and_batch_together": OptionInfo(True, "Show Width/Height and Batch sliders in same row"),
|