C++/C# Programming and
Game Development.
Jack Rittichier
A blog for current projects and to reflect on past works.
Mouse Remote Control Android/Xamarin
I designed this mouse remote control so I could lay across the room and flip through YouTube or other TV programs without all the commercials getting in the way of the remote's buttons.
Includes 3 mouse buttons, the scroll wheel on the right of the ui, the track pad in the upper left, settings button for increasing pointer speed, finger precision, and network setup. I also included the shutdown button for that extra lazy way of turning off the computer.
My very first attempt at creating an android application and a simple windows UDP server to catch the commands. I used Xamarin studios and C# to code this project.
I also created my own server protocol to communicate to the mouse hardware on a Windows machine. This protocol is a bit odd, but I figured out later that using enums for the
communications state would have been alot easier to manage.
The server software has been tested on Windows 7 and Windows 10, and the Android APK file has been installed and tested on 3 different Android devices. (Lenovo Tablet, Samsung Galaxy S5, and Galaxy S6 edge+). There are quite a few bugs I hope to remedy at a later time when the opportunity presents itself.
I have included a few screenshots of code highlights and the basic UI I have used. Also, a download link to the source code and packaged APK and server is to the upper right.

Server Protocol used to communicate from smart phone to the mouse.

Barebones UI

Case statement showing how the server processes the command

system32.dll Import Statements. Had to modify the parameters of mouse_event to work properly.

SImple way to send information across the network.