FreeRDP-WebConnect icon indicating copy to clipboard operation
FreeRDP-WebConnect copied to clipboard

Virtual keyboard on smartphone?

Open xbxfelipe opened this issue 7 years ago • 4 comments

Hello, would you have any way to add the virtual keyboard? I did some tests with android and I did not succeed.

xbxfelipe avatar Mar 01 '18 18:03 xbxfelipe

I was able to solve my problem in a simple way, I inserted after from rdp.Run ():

if( /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) ) 
{
vkbd.toggle();
}

but I found some problems like backspace has no event, I'm distributing the code to see if I can fix these small problems.

xbxfelipe avatar Mar 06 '18 13:03 xbxfelipe

@xbxfelipe You mean the Virtual Keyboard has no "backspace event"?

c64cosmin avatar Mar 15 '18 14:03 c64cosmin

Sorry, I was wrong. I have no action on the backspace button

xbxfelipe avatar Mar 16 '18 15:03 xbxfelipe

https://github.com/FreeRDP/FreeRDP-WebConnect/blob/master/wsgate/webroot/js/vkb-debug.js#L553

Can you debug if the '\b' is correctly translated to keycode 8?

https://github.com/FreeRDP/FreeRDP-WebConnect/blob/master/wsgate/webroot/js/vkb-debug.js#L697

c64cosmin avatar Mar 27 '18 16:03 c64cosmin