http://bugs.winehq.org/show_bug.cgi?id=7874
------- Additional Comments From mikolaj.zalewski@gmail.com 2007-02-05 15:53 ------- It seems the problem is that GetAsyncKeyState notices only keys pressed in the current process - if I run three copies of the test program under Windows and press F5, all three of them prints the value $FFFF800x. Under Wine only the program has the focus has an updates value of GetAsyncKeyState.
In this bug it's probably Ultima Online that get's the key so the EasyUO's GetAsyncKeyState doesn't notice them.