So for my C++ FoV Changer, I want to be able to press VK_PRIOR to increment the field of view value by 5 each time it is pressed. Vice versa for VK_NEXT. The address I write to each increment are: 0x063FB5C0 and 0x063FB5D0
Also, the default will be 80 so when you press VK_PRIOR it boosts it up to 85 the first time you press it, then the second time you press it, you get 90. Vice versa for VK_NEXT, Press once to get 75, again for 70 etc. If you could help me, I'd appreciate it very much. Thanks
EDIT: I worded that HORRIBLY. In simpler terms, I want it so when I press Page Up key, it boosts the degrees of field of view by 5, and when I press Page Down, it decrements the degrees of field of view by 5.