Posted by wickage
Photon

Key Press Delays (WASD for example)

Is there a way for TeamViewer to not cap or atleast increase the 'key press' send rate to the remote computer. I am trying to connect to my other computer and the application uses the arrow or WASD keys to move about. The arrow keys move about just fine, but if I hold down the WASD keys to move they may send a move once every 2-3 seconds. Same result if I repeatidly press instead of hold down. 

Is there a way to make all the key presses act the same (like the arrow keys)?  Moving my hands to the arrow keys everytime is kind of annoying and would be my deal breaker with this program. Otherwise it is the best remote program I have used.

Thanks, Jeff

16 Replies
16 Replies
Posted by Tomer1
Digon

Re: Key Press Delays (WASD for example)has nothing to do with delay

It's not about delay it's about the send keys method . Team Viewer sends individual key press for etch time you press a key on the keyboard this is easier for the developer. I don't know what method they use for controlling the system but in Windows you can send keys with the Sendkeys class at winForms or when accessing the WIN32 API if they access the win32 API they can definitely send key down and key up input to the system so they should have no problems technology speaking , but they are probably too lazy to add support for that in their apps because the mobile keyboard only sends them key presses so they'll have to implement their own mobile keyboard . This is the result of lazy developers not delay internet connection or Windows problems they have the method there they can access it they are just lazy to build  their UI to use it. 

Posted by Senior Moderator Senior Moderator
Senior Moderator

Re: Key Press Delays (WASD for example)

Hi Wickage,

Tomer1 is correct that this is not a latency issue. It is because of how we engage the windows API.

We are remote support software and as such the program is designed to be as lightweight as possible.

However even if we did change the method, this still would not function acceptably to work with games which is why no one has created a decent service like this already.

Not to mention binding a mouse as a games controller would immediately become the next issue you would face as this interface is a lot more complicated.

@Tomer1
To be honest, I find it a bit unfair that you blame "Lazy Developers" for the issue when we simply haven't designed and don't intend to design the software for remote gaming.

It is like calling the designer of a sports car "lazy" for not giving the car enough clearance and no 4WD for off-road use. It simply was never intended for that.

Considering our target market are commercial users and we only offer it as a complimentary product to personal users, designing the software for sub-par remote gaming and introducing large chunks of arbitrary coding irrelevant to business users would probably not be a smart move on our part.

I hope this clarifies the issue for you.

-Scotty
Senior Moderator
Did my reply answer your question? Why not accept it as a solution to help others?
Posted by Tomer1
Digon

Re: Key Press Delays (WASD for example)

Ok I understand the reasons why you would consider this extra functionality unnecessary as TeamViewer is indeed not a service designed for gaming.

I’m sure you’re aware of this but long pressing a key is a functionality that isn’t necessarily needed in gaming I personally as a creator and developer need this kind of functionality in some programs to properly and effectively interact with the UI .

A touch screen can’t replace a mouse and keyboard but it can get closer to giving  the possibilities that a keyboard and mouse can. I wouldn’t  say it’s a deal breaker but I find it really annoying to spam press keys to do simple tasks. Hope you would re consider this topic. It is definitely a limit of TeamViewer .

Thanks you for your response Scotty .

Posted by Senior Moderator Senior Moderator
Senior Moderator

Re: Key Press Delays (WASD for example)

Hi Tomer1,

You can add this to our ideas board as a feature request if you would like.

I would recommend you give any examples of commonly used software that needs it to make sure it isn't passed over as "Gaming" though. (Just an honest recommendation)

-Scotty

Senior Moderator
Did my reply answer your question? Why not accept it as a solution to help others?
Posted by cepcep
Henagon

Re: Key Press Delays (WASD for example)

Your program I always use to communicate with the family when she is away from me, in particular with my little son who is happy with me to play simple online games through the browser. So, just "WASD" there and need. It's a pity that your program does not allow me to be closer to my son in this regard. But thank you so much for everything else.

Вашу программу я всегда использую для связи с семьей, когда она вдали от меня, в часности с моим маленьким сыном, который рад со мной играть в простые онлайн игры через браузер. Так вот, как раз "WASD" там и нужен. Жаль что Ваше программа не позволяет мне быть ближе к моему сыну в этом плане. Но огромное спасибо, за все остальное.

Posted by Null
Photon

Re: Key Press Delays (WASD for example)

I had made 6 AHK [Auto Hot Key] scripts that allowed me to play 3D games remotely. The scripts placed on the remote computer were for jumping and walking, but the script for resetting the cursor position was placed on the local computer. With these scripts, the movement will be consistent, but there will be an input lag of 100ms.

Here are the scripts:

For forward-walking:

w::
Send {Up down}
Sleep 100
Send {Up up}

For backward-walking:

s::
Send {Down down}
Sleep 100
Send {Down up}

For strafing right:

d::
Send {Right down}
Sleep 100
Send {Right up}

For strafing left:

a::
Send {Left down}
Sleep 100
Send {Left up}

For jumping:

Space::
Send {0 down}
Sleep 100
Send {0 up}

For resetting the cursor position(Beware: You will have to set the center of the game screen yourself, as it varies on where you placed the window. Also, this must be placed and run on the local computer, not on the remote one.) This can be toggled by pressing CTRL+Q. Due to AHK's input processing, when trying to toggle this off, it might not work the first time, so try pressing CTRL+Q multiple times.

^D::
CoordMode, Mouse, Screen
MouseGetPos, MouseX, MouseY
if toggle := !toggle
 gosub, MoveTheMouse
else
 SetTimer, MoveTheMouse, off
return
MoveTheMouse:
MouseMove, <XCOORD INTEGER>, <YCOORD INTEGER>, 0
SetTimer, MoveTheMouse, 50
return

Before running all of the scripts, set the game's controls for Forward-walking to the UP-Arrow key, Backward-walking to the DOWN-Arrow key, Strafing right to the RIGHT-arrow key, Strafing left to the LEFT-Arrow key and Jumping to the key 0. Then when playing the game from the local computer, just use W,A,S,D and SPACE as usual.

You can find AutoHotKey on https://autohotkey.com/. I hope that this helped.

Posted by GeryGreyhound
Photon

Re: Key Press Delays (WASD for example)

we simply haven't designed and don't intend to design the software for remote gaming.

Not only gaming is when this would be important, but in several graphic design, video editing and other similar applications.

For example: in Adobe After Effects long pressing spacebar enables dragging the viewport with the mouse, one press of spacebar starts a RAM preview (rendering and playback of the actual sequence). When I use After Effects with TeamViewer, every time I try to drag the viewport with space, it rapidly starts and stops and starts and stops... a RAM preview, while you can drag the viewport cca 1 pixel away until you don't release and press again the spacebar, which is pretty frustrating.

In Cinema 4D all camera controls are possible with a key being hold pressed (1: pan, 2: zoom, and 3: rotate) while dragging the mouse, and these very basic and essential controls are unusable via TeamViewer. These are like the steering wheel in a car, not off-road use or anything extreme.

 

Posted by tomesh
Electron

Re: Key Press Delays (WASD for example)

I am a software developer and I use the vim editor and associated plugins for IDEs.  vim uses apha keys for navigation, so for example, I use the "j" key to go down in the file.  For this reason, I would like teamviewer to support repeated keys.

Posted by chireaver
Henagon

Re: Key Press Delays (WASD for example)

Sure would be nice to be able to long press keys. It shouldn't be hard to send a key down event on a press, and a key up event on release of that key....instead of spamming that key press constantly. Just don't send anymore key events after the initial press of a given key until after it has been released.

Posted by lgeffrion
Electron

Re: Key Press Delays (WASD for example)

I have this same issue. Immensly crucial 

Posted by smckenna
Electron

Re: Key Press Delays (WASD for example)

I am not a gamer, but I am also experiencing keyboard delays when typing on the remote computer. I never noticed these delays when using the Windows client, but I recently got a MacBookPro and I'm experiencing keystroke delays when using TeamViewer for Mac connecting to a Windows 10 host.

Thanks.

Posted by csakanal
Henagon

Re: Key Press Delays (WASD for example)

Same problem here when navigating 3D programs like Softimage, Houdini! 

Posted by payala
Henagon

Re: Key Press Delays (WASD for example)

Not sure if this is the same issue, but I'm a developer, and just being in a text editor and pressing up, right, left or down arrows to navigate through the code is a pain.

The key repetition rate is very low, and the cursor keeps moving after I release the key. Pretty invonvenient.

Posted by spyroman16
Henagon

Re: Key Press Delays (WASD for example)

I use Unity software, for example, and I need this feature also.

Posted by csakanal
Henagon

Re: Key Press Delays (WASD for example)

**Third Party Product** do the job :) Go and try that!

Posted by n-ate
Electron

Not device specific issue

This happens for me on windows over lan. It's not related to any specific device.

The funny thing is when I hold a character. It initially sends the key to the client about every 300-500 ms, but then eventually seems to send 20+ times a second after holding for 2 or more seconds.