Skip to content

Commit

Permalink
Hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Rex109 committed Sep 9, 2021
1 parent 6f27bee commit bb640a9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions iw3velometer/dllmain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -188,9 +188,9 @@ bool initConfig()
pv = ini.GetValue("Config", "velocityB", "128");
velocityB = std::stof(pv);

pv = ini.GetValue("Config", "toggleKey", "0x60");
pv = ini.GetValue("Config", "toggleKey", "0x61");
toggleKey = std::stoi(pv, nullptr, 16);
pv = ini.GetValue("Config", "resetKey", "0x61");
pv = ini.GetValue("Config", "resetKey", "0x60");
resetKey = std::stoi(pv, nullptr, 16);

return true;
Expand Down
4 changes: 2 additions & 2 deletions iw3velometer/iw3velometer.ini
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ velocityG=255
velocityB=255
#Key settings, values reference: https://docs.microsoft.com/en-us/windows/win32/inputdev/virtual-key-codes
#Toggle UI Key
toggleKey=0x60
toggleKey=0x61
#Reset max velocity key
resetKey=0x61
resetKey=0x60

0 comments on commit bb640a9

Please sign in to comment.