Releases: KoB-Kirito/CountOnKeypress
Stable
- Made the keys configurable
- You can now assign up to two keys as modifier (leave the second to 0 to not use it)
Run the app once and it will create a config.json where you can change default keys, etc.
Check https://docs.microsoft.com/en-us/windows/win32/inputdev/virtual-key-codes for key codes.
Some keys may not work, shift for example changes the values of the numKeys..
Config via cmd-line-args still works and overrides the settings in config.json.
Stable
Tested and working~
Check readme for how-to.
RC2
Self-contained-exe. No dependencies.
RC
Usage:
Press PageUp + Num1 -> Counts counter 1 up and writes it's value into counter1.txt.
Use that file in obs.
Profit.
Count up key is PageUp, Count down key is PageDown, Reset key is Delete.
All NumKeys are mapped to counters.
The console can be minimized.
Some stuff can be changed via args, the defaults are:
...\CountOnKeypress.exe "True" "0" "0" "0" "0" "0" "0" "0" "0" "0" "0"
The first defines if console-output is used, set it to False if you don't want to use that.
The others set the default value for every counter. That is the starting value and the value the reset key resets the counter to.
Proof of concept
A counter for obs that writes to files.
Keyboard shortcut is C + NumKey.
Press C + Num1 to increase counter1.txt, C + Num2 to increase counter2.txt, and so on...