-
-
Notifications
You must be signed in to change notification settings - Fork 1
Usage: Keybinds
The gag calculator has a number of default keybinds to expedite certain functions:
Keybind | Description |
---|---|
shift | Toggle Organic |
ctrl+l | Toggle Lure |
ctrl+r | Reset Calculation |
ctrl+d | Cycle Defense |
alt+d | Cycle Negative Defense |
ctrl+x | Lock/Unlock statuses |
alt+up | Toggle Pinned Window |
If you want to edit a keybind to something different, you will need to edit the settings.toml
file. It can be found in the assets
folder bundled with the program, but you can also open the file directly in the calculator on some operating systems:
- Select the "Program" menu in the upper navigation bar.
- Click on the "Settings" option.
You may be asked for a program to open the file in. You should choose a text editor program such as Notepad++ or Kate. With the file opened, you should be presented with a file that looks somewhat similar to the image below:
You can edit the keybinds by changing the values after the equal sign on each line under the [keybinds]
section. Once you're done, make sure to save the file! Note that the edited keybind must still be a valid tkinter keysym, or else the calculator will crash on launch. To use your new keybinds, you will need to restart the calculator.
If your settings.toml file causes your calculator to crash and you are unable to fix it, you can redownload the latest version of this file from the repository here: https://github.com/Vhou-Atroph/TT-Damage-Calculator/blob/main/src/tt_damage_calculator/assets/settings.toml
Replace your old settings.toml with the new file, and the calculator should function normally again!