A HID device emulation which can be controlled remotely over network.You can create joystick, keyboard or mouse device and send events like joystick axis and buttons, keyboard key presses, mouse pointer movements over network.With new client real device events can be sent.So its perfectly fit for keyboard, mouse sharing.
Server side is written in C and currently works only in Linux.But client side is platform independent so can be written in any platform&language with using tcp socket connection.
Supported event codes are found here : here
git clone https://github.com/nmelihsensoy/virtual-hid-tcp.git
cd virtual-hid-tcp/
cd server/
make
cd bin/
./server
If your server located in diffrent pc then set server ip adress with -ip 11.11.11.11 option.
cd clients/C_Cpp/
make
./client --help
For Real Mouse Sharing
cd clients/C_Cpp/mouse
make
sudo ./mouse_client 127.0.0.1
115 -> Volume Up // 114 -> Volume Down
./client -k 115
-pX -pY
./client -pX 20
115 -> Volume Up // 114 -> Volume Down
python client.py -k 114
-pX -pY
python client.py -pX 20