kdeconnect-kde/plugins/mousepad
Jean Vincent 72535ecf48 Make member variable names, & placement and * placement more coherent
Summary:
Change all member variables to the form m_fooBar because it is the preferred form in Qt (it was half and half between this and mFooBar, and a minority didn't have anything).
Place all references and pointers on the side of the type since it is the majority.

Basically:
 - mFoo -> m_foo
 - foo -> m_foo (if it is a member variable)
 - Type &ref -> Type& ref
 - Type *ptr -> Type* ptr

Reviewers: #kde_connect, nicolasfella, albertvaka

Reviewed By: #kde_connect, nicolasfella, albertvaka

Subscribers: albertvaka, #kde_connect

Tags: #kde_connect

Differential Revision: https://phabricator.kde.org/D7312
2017-09-03 21:45:08 +02:00
..
CMakeLists.txt Refactor capabilities together with Albert 2016-05-31 17:16:01 +02:00
config-mousepad.h.cmake Refactor capabilities together with Albert 2016-05-31 17:16:01 +02:00
kdeconnect_mousepad.json Make member variable names, & placement and * placement more coherent 2017-09-03 21:45:08 +02:00
mousepadplugin.cpp Make member variable names, & placement and * placement more coherent 2017-09-03 21:45:08 +02:00
mousepadplugin.h Make member variable names, & placement and * placement more coherent 2017-09-03 21:45:08 +02:00
README Implementation of mousepad plugin 2014-06-27 15:43:34 +02: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