On Tue, Jul 31, 2018 at 2:18 AM, Armin Novak via FreeRDP-devel
<freerdp-devel@lists.sourceforge.net> wrote:
>> Thanks. I did and am mostly on the right track. If you wouldn't mind
>> could you look over the code I have? The painting callbacks are never
>> called. Though as far as I can tell I implemented everything I should
>> have (probably even some things I didn't need to).
> You're missing the RDP main loop (the one with freerdp_connect and
> freerdp_disconnect)

This was it. I was having a hard time figuring out which function
actually called into the main loop of FreeRDP. It turns out it is
freerdp_check_event_handles.

>> Not exactly sure how to send you the code. Hopefully the list accepts
>> .tar.xz? There are two files.
> Best a link to a git branch ;)
>

Thanks for the help so far. I am displaying the screen using hardware
acceleration and receive decent throughput. I have started in on the
input handling.

I can send keys, but what SDL2 reports as a scancode does not seem to
match what Windows expects or FreeRDP sends. I would prefer to use
freerdp_input_send_keyboard_event_ex so that I can handle
keyup/keydown properly but do not know how RDP scancodes are mapped.
However even if I use freerdp_input_send_keyboard the keys are still
not right but in the same way as far as I can tell.

The Android example does something else and calls
instance->input->KeyboardEvent. Is any one more correct?

Why are there both freerdp_input_send_keyboard_event_ex and
freerdp_input_send_extended_mouse_event?

Cheers,
    R0b0t1

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
FreeRDP-devel mailing list
FreeRDP-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freerdp-devel

Reply via email to