From 9199f8207fb4f7d3125b09e5a19fcdd69ab04d4a Mon Sep 17 00:00:00 2001 From: myk002 Date: Wed, 19 Oct 2022 14:01:35 -0700 Subject: [PATCH] add global keybinding for on-screen keyboard --- data/init/dfhack.keybindings.init | 13 ++++++++++--- docs/changelog.txt | 1 + 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/data/init/dfhack.keybindings.init b/data/init/dfhack.keybindings.init index 2ee706b09..fd02635e2 100644 --- a/data/init/dfhack.keybindings.init +++ b/data/init/dfhack.keybindings.init @@ -4,9 +4,9 @@ # defaults when you update DFHack. Instead, add your configuration to # dfhack-config/init/dfhack.init -############################## -# Generic dwarfmode bindings # -############################## +################### +# Global bindings # +################### # the GUI command launcher (two bindings since some keyboards don't have `) keybinding add ` gui/launcher @@ -16,6 +16,13 @@ keybinding add Ctrl-Shift-D gui/launcher keybinding add Ctrl-F1 hotkeys keybinding add Alt-F1 hotkeys +# on-screen keyboard +keybinding add Ctrl-Shift-K gui/cp437-table + +############################## +# Generic dwarfmode bindings # +############################## + # toggle the display of water level as 1-7 tiles keybinding add Ctrl-W twaterlvl diff --git a/docs/changelog.txt b/docs/changelog.txt index a4fef7c57..8b5603a6f 100644 --- a/docs/changelog.txt +++ b/docs/changelog.txt @@ -53,6 +53,7 @@ changelog.txt uses a syntax similar to RST, with a few special sequences: - UX: You can now drag the scrollbar to scroll to a specific spot - `overlay`: reduce the size of the "DFHack Launcher" button - Constructions module: ``findAtTile`` now uses a binary search intead of a linear search. +- `gui/cp437-table`: new global keybinding for the clickable on-screen keyboard for players with keyboard layouts that prevent them from using certain keys: Ctrl-Shift-K ## Documentation