BUG-PocketCalc icon

PocketCalc

Small in-game calculator (Alt+C), keyboard or mouse. While it is open, the keyboard belongs to the calculator and does not trigger game or mod shortcuts.

Last updated 2 hours ago
Total downloads 1
Total rating 0 
Categories Cheats
Dependency string BUG-PocketCalc-1.3.1
Dependants 0 other packages depend on this package

This mod requires the following mods to function

xiaoye97-BepInEx-5.4.17 icon
xiaoye97-BepInEx

BepInEx5.4.17 mod plugin framework, Mod框架

Preferred version: 5.4.17

README

PocketCalc

Small in-game calculator in the game's own window style. In a game, Alt+C opens it; Alt+C, Esc or the window's X closes it. It is closed on the main menu and in the Esc menu. Use the keyboard or click the buttons. The hotkey is in BepInEx/config/bug.dsp.pocketcalc.cfg.

Key Action
Top-row digits, Numpad Digit
/ * - + (Numpad and main keyboard, following your layout) Operator
. , Decimal separator
Enter, Numpad Enter, = Result
Backspace Deletes the last character
Delete Clears

Multiplication and division come first: 2+3*4 is 14. After a result, an operator continues from it and a digit starts a new calculation.

While it is open the keyboard belongs to the calculator: walking, mouse-wheel zoom and game and mod shortcuts stop, the mouse keeps working. Ctrl, Shift and Alt still reach the game (for shift-click). If you click another text field, keys go to that field.

Keys a mod reads some other way than Input.GetKey cannot be blocked (its own OnGUI events, Windows calls). A scan of the installed mods found no such reads.