[x11/keyboard] numpad 5 key

Oliver Stieber oliver_stieber at yahoo.co.uk
Fri Jan 28 00:56:50 CST 2005


done

 --- Dmitry Timoshkov <dmitry at baikal.ru> wrote: 
> "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, 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.
> 
>  


	
	
		
___________________________________________________________ 
ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: x11kbd_numpad_5_os_2.patch
Type: text/x-diff
Size: 819 bytes
Desc: x11kbd_numpad_5_os_2.patch
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20050128/f1699017/x11kbd_numpad_5_os_2.bin


More information about the wine-patches mailing list