Question

Im looking to make a program that mixes up all the keyboard letters/ASCII values. Sort of like the software version of taking off the keyboard letters and moving them around... Is there any way to do this? Right now, Im using an infinite while loop with a GetAsyncKeyState() inside to get any typed letters, but I dont know how to take that information and change it and put it back into system... Any and all help is greatly appreciated.

Thanks!

Was it helpful?

Solution

This sounds like someone is trying to write some nasty program?

For Windows: The basic idea would be catching window messages (WM_KEYDOWN and WM_KEYUP) and change the key values/ids before passing them.

Depending on your version, this will require your code to run with administrator privileges.

I don't have any experience for other systems regarding this, but the basic idea would most likely be the same.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top