On a Japanese Windows environment, ANSI keyboards may be recognized wrongly as a JIS keyboard.
By using this code, you can use your ANSI keyboard under a JIS keyboard environment without changing the settings and registry of your environment.
Original code by Shela