RITW: Keystroke transmitter

Posted by admin at May 12, 2014

This is my first entry in section I wish to call Reinventing the Wheel! where I am going to lay down some old and tech and how they can be rebuit, jsut for learning purposes.

I am thinking of the possibility of using my phone for full scale  development: To be able organise my lists, handle spreadsheets, write code, blog: (and even design although graphics would be asking too much) all done on my feet pacing around the corridor or standing in front of the projector. I think it possible and the technologies to use would be bluetooth and WIFI.

And because I am going app crazy these days, an app that transmits key strokes from my phone to the PC. Now I know there are available solutions  out there: Vectir being one of them, I would like to give it a shot: to  develop an efficient app for transmitting key strokes over a small  network form a mobile device to a PC.

Now, the challenge would be developing a translator that will reside on  the PC that will basically translates these key strokes to actions using  the OS’s environment. For instance moving the trackpad should move the mouse cursor and typing the letter ‘Q’ wen the notepad open on the PC  should display the letter inside notepad.

Another challenge would be speed and performance, my major problem with the Vectir app was the speed of communication. The app basically did everything as promised and as a plus displayed the PC screen on the phone a feature which I think affected its performance and response time as the app tried to refresh the screen for every action. A solution might be to use buffered transfer of data in piece meal sizes. Instead sending each keystroke at a time the app stores a length of keystrokes in string and then pushes them to the PC. This will reduce the real time response time but will clear the network.

 

   0 likes

Suggested Read