28 Jan
2005
28 Jan
'05
4:59 a.m.
"Oliver Stieber" <oliver_stieber(a)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, 0, VK_INSERT, VK_DELETE, + 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. -- Dmitry.