lonelywm / MouseKeyboardUdpRemoteControl

MouseKeyboardUdpRemoteControl

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Qt version mouse keyboard remote control client & server

Fature:

  • Very fast by using udp message.
  • Low cpu usage, by sending or receiving message immediate to a queue, but processing them by a QTimer in another thread, you can change the frequency by changing the para of timer's start(msec) function
  • Thread safe by using QT's slot, it fundamentally supports thread sync messages, no need the usage of mutex.
  • Message order guarantee, by using udpmessage id check.

Usage: udpmousekeyboard.h defines two classes: UdpMouseKeyboardClient and UdpMouseKeyboardServer. Just promote the widget you want the response the key and mouse message to UdpMouseKeyboardClient, and on the server side, just new an instance of UdpMouseKeyboardServer. You can modify the port of the server and the ip&port of destination in the client.

About

MouseKeyboardUdpRemoteControl


Languages

Language:C++ 85.5%Language:C 9.1%Language:QMake 5.4%