[Wine] Keyboard remapping (xmodmap) does not work in Warcraft III.

Gert van den Berg wine-users at mohag.net
Sun Nov 8 11:33:35 CST 2009


On Sat, Nov 7, 2009 at 17:03, samyazza <wineforum-user at winehq.org> wrote:
> I want to run my Warcraft III with better inventory shortcuts. I'm on a laptop and I do not have a numpad, I have an Fn key I can use to access the numbers (actually hiding under Fn+Shift+key since Ubuntu 8.10) . This combination does nothing in Warcraft though, as if it wasn't getting any hint of my keyboard action. Pressing only FN+key does things though, like lower the vision angle and such, just as expected. To work this around and make things more comfortable for my playing I've written a small script to remap the numerical keys to other keys, using xev to retrieve their keycodes. The script looks like this:
>
Workaround: Warcraft supports its own key remapping, customkeys.txt.

http://warkeys.sourceforge.net/ is a utility to generate a
custmkeys.txt for you.

Gert



More information about the wine-users mailing list