Last indexation completed on 2023-05-30 09:33:32 UTC

When the user moves his on the phone, dx and dy (The difference between the last movement and the current movement of the X and Y Axis respectively) is sent inside a NetworkPackage QCursor is used to move mouse cursor according to its relative position.
When the user tap or double taps his phone, a mouse key button is simulated using XTestFakeButtonEvent

  Name Size Date (UTC) Last indexed Description
  Name Size Date (UTC) Last indexed Description
folder Parent directory - 2023-05-30 08:01:02

Writing a plugin for KDE Connect
For the desktop client (this project):
1. Enter the "plugins" directory. 2. Copy the "ping" under a different name ("findmyphone" in this example). 3. Add "add_subdirectory(findmyphone)" to CMakeLists.txt after the others "add_subdirectory". 4. Enter the new "findmyphone" directory. 5. Edit CMakeLists.txt by replacing "ping" with "findmyphone". 6. Rename other files in this directory by replacing "ping" with "findmyphone" 7. Write a description of your plugin into "README" 8. Edit findmyphoneplugin.cpp and findmyphoneplugin.h. A. Change license header. B. Replace (case sensitive) "ping" with "findmyphone", "PingPlugin" with "FindMyPhonePlugin" and "PING" with "FINDMYPHONE". 9. Edit kdeconnect_findmyphone.json file: A. Replace "ping" with "findmyphone". B. Change name, description, icon, author, email, version, website, license info. C. Remove all the translations D. Set X-KDEConnect-SupportedPacketType and X-KDEConnect-OutgoingPacketType to the packet type your plugin will receive and send, respectively. In this example this is "kdeconnect.findmyphone". Make sure that this matches what is defined in the findmyphoneplugin.h file (in the line "#define PACKET_TYPE_..."), and also in Android. 10. Now you have an empty skeleton to implement your new plugin logic.


SEE ALSO: README.txt

file abstractremoteinput.cpp 370 bytes 2023-05-30 08:01:02 2023-05-30 09:17:26  
file abstractremoteinput.h 645 bytes 2023-05-30 08:01:02 2023-05-30 09:17:26  
file CMakeLists.txt 2224 bytes 2023-05-30 08:01:02 -  
file config-mousepad.h.cmake 106 bytes 2023-05-30 08:01:02 -  
file kdeconnect_mousepad.json 8840 bytes 2023-05-30 08:01:02 -  
file macosremoteinput.h 489 bytes 2023-05-30 08:01:02 2023-05-30 09:17:26  
file macosremoteinput.mm 9388 bytes 2023-05-30 08:01:02 -  
file mousepadplugin.cpp 1898 bytes 2023-05-30 08:01:02 2023-05-30 09:17:26  
file mousepadplugin.h 887 bytes 2023-05-30 08:01:02 2023-05-30 09:17:26  
file README 359 bytes 2023-05-30 08:01:02 -  
file waylandremoteinput.cpp 11864 bytes 2023-05-30 08:01:02 2023-05-30 09:17:26  
file waylandremoteinput.h 1321 bytes 2023-05-30 08:01:02 2023-05-30 09:17:26  
file windowsremoteinput.cpp 8653 bytes 2023-05-30 08:01:02 2023-05-30 09:17:26  
file windowsremoteinput.h 505 bytes 2023-05-30 08:01:02 2023-05-30 09:17:26  
file x11remoteinput.cpp 7545 bytes 2023-05-30 08:01:02 2023-05-30 09:17:27  
file x11remoteinput.h 572 bytes 2023-05-30 08:01:02 2023-05-30 09:17:27  
file xdp_dbus_remotedesktop_interface.xml 17171 bytes 2023-05-30 08:01:02 -