[x11/keyboard] numpad 5 key

Dmitry Timoshkov dmitry at baikal.ru
Thu Jan 27 22:59:12 CST 2005

"Oliver Stieber" <oliver_stieber at yahoo.co.uk> wrote:

> This little patch sends a scancode through for the 5
> key when numlock isn't on.
> This is needed to fire cannons in pirates.
> I hope this is ok, a quick test showed that the
> keydown was already sending a scancode, but it may be
> wrong, this just fixes keyup  and should be correct.

> +    VK_END, 0x0c, VK_INSERT, VK_DELETE,

Running spy++ under Windows confirms that your patch is correct,
you just need to use symbolic name VK_CLEAR instead of 0x0c.


More information about the wine-devel mailing list