kdeconnect-kde/plugins/mousepad
Alexander Lohnau 1631ada5b3 Simplify KDEConnectPlugin::recievePacket
- We do not need the return type. If a plugin declares it can handle the
  packet it should do so. We don't have any fallback logic in place and
  the packet types are namespaced with the plugin IDs anyway.

- Provide a default implementation with a warning, not all plugins need
  to overwrite this
2023-08-03 20:49:44 +02:00
..
abstractremoteinput.cpp Add explicit moc includes to cpp files 2023-07-30 07:27:45 +00:00
abstractremoteinput.h Use pragma once in plugins 2023-07-22 20:51:19 +00:00
CMakeLists.txt Move all generated dbus interfaces to kdeconnectinterfaces exclude them from clazy 2023-07-24 12:18:47 +00:00
config-mousepad.h.cmake Reduce number of optional dependencies 2023-07-19 17:08:03 +00:00
kdeconnect_mousepad.json SVN_SILENT made messages (.desktop file) - always resolve ours 2023-07-30 01:37:54 +00:00
macosremoteinput.h Use pragma once in plugins 2023-07-22 20:51:19 +00:00
macosremoteinput.mm Add explicit moc includes to cpp files 2023-07-30 07:27:45 +00:00
mousepadplugin.cpp Simplify KDEConnectPlugin::recievePacket 2023-08-03 20:49:44 +02:00
mousepadplugin.h Simplify KDEConnectPlugin::recievePacket 2023-08-03 20:49:44 +02:00
README Implementation of mousepad plugin 2014-06-27 15:43:34 +02:00
waylandremoteinput.cpp Add explicit moc includes to cpp files 2023-07-30 07:27:45 +00:00
waylandremoteinput.h Move all generated dbus interfaces to kdeconnectinterfaces exclude them from clazy 2023-07-24 12:18:47 +00:00
windowsremoteinput.cpp Add explicit moc includes to cpp files 2023-07-30 07:27:45 +00:00
windowsremoteinput.h Use pragma once in plugins 2023-07-22 20:51:19 +00:00
x11remoteinput.cpp Add explicit moc includes to cpp files 2023-07-30 07:27:45 +00:00
x11remoteinput.h Use pragma once in plugins 2023-07-22 20:51:19 +00:00

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