I've seen that there are ways to toggle keys like Scroll Lock, Caps Lock and Num Lock using the windows API, but is there a way to do so without it?
The reason for not wanting to use the Windows API is because if I were on Linux, Unix or DOS, I wouldn't be able to utilize the windows API since it isn't installed.