Huihong,

It would be great if you could submit patches as pull requests instead,
otherwise it takes us more of our time

On Wed, Mar 21, 2012 at 5:40 PM, Huihong Luo <huisi...@yahoo.com> wrote:

> can the dev add this code change to wf_event.c below. This makes mouse
> wheel to work on windows FreeRDP client.
>
> LRESULT CALLBACK wf_event_proc(HWND hWnd, UINT Msg, WPARAM wParam, LPARAM
> lParam)
>
> {
>
>
> case WM_MOUSEMOVE:
> .....
> break;
>
> // new code
> case WM_MOUSEWHEEL:
> {
> WORD fwKeys = GET_KEYSTATE_WPARAM(wParam);
> int zDelta = GET_WHEEL_DELTA_WPARAM(wParam);
> uint16 flags;
> if (zDelta > 0)
> flags = PTR_FLAGS_WHEEL | 0x0078;
> else
> flags = PTR_FLAGS_WHEEL | PTR_FLAGS_WHEEL_NEGATIVE | 0x0088;
> input->MouseEvent(input, flags, 0, 0);
> break;
> }
> // end of new code
>
> ....
>
> }
>
> ------------------------------------------------------------------------------
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here
> http://p.sf.net/sfu/sfd2d-msazure
> _______________________________________________
> Freerdp-devel mailing list
> Freerdp-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freerdp-devel
>
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Freerdp-devel mailing list
Freerdp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freerdp-devel

Reply via email to