Merge pull request #2346 from myk002/myk_keyboard_hotkey

[gui/cp437-table] add global keybinding for the on-screen keyboard
develop
Myk 2022-10-19 14:09:00 -07:00 committed by GitHub
commit 2531efbb8e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 3 deletions

@ -4,9 +4,9 @@
# defaults when you update DFHack. Instead, add your configuration to # defaults when you update DFHack. Instead, add your configuration to
# dfhack-config/init/dfhack.init # dfhack-config/init/dfhack.init
############################## ###################
# Generic dwarfmode bindings # # Global bindings #
############################## ###################
# the GUI command launcher (two bindings since some keyboards don't have `) # the GUI command launcher (two bindings since some keyboards don't have `)
keybinding add ` gui/launcher keybinding add ` gui/launcher
@ -16,6 +16,13 @@ keybinding add Ctrl-Shift-D gui/launcher
keybinding add Ctrl-F1 hotkeys keybinding add Ctrl-F1 hotkeys
keybinding add Alt-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 # toggle the display of water level as 1-7 tiles
keybinding add Ctrl-W twaterlvl keybinding add Ctrl-W twaterlvl

@ -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 - UX: You can now drag the scrollbar to scroll to a specific spot
- `overlay`: reduce the size of the "DFHack Launcher" button - `overlay`: reduce the size of the "DFHack Launcher" button
- Constructions module: ``findAtTile`` now uses a binary search intead of a linear search. - 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 ## Documentation