mirror of
https://github.com/KDE/kdeconnect-android
synced 2025-09-01 06:35:09 +00:00
Added TODO
This commit is contained in:
@@ -93,6 +93,7 @@ public class MousePadPlugin extends Plugin {
|
|||||||
if (np == null) {
|
if (np == null) {
|
||||||
np = new NetworkPacket(PACKET_TYPE_MOUSEPAD_REQUEST);
|
np = new NetworkPacket(PACKET_TYPE_MOUSEPAD_REQUEST);
|
||||||
} else {
|
} else {
|
||||||
|
// TODO: In my tests we never get here. Decide if it's worth keeping the logic to replace unsent packets.
|
||||||
dx += np.getInt("dx");
|
dx += np.getInt("dx");
|
||||||
dy += np.getInt("dx");
|
dy += np.getInt("dx");
|
||||||
}
|
}
|
||||||
|
@@ -113,6 +113,7 @@ public class PresenterPlugin extends Plugin {
|
|||||||
if (np == null) {
|
if (np == null) {
|
||||||
np = new NetworkPacket(PACKET_TYPE_PRESENTER);
|
np = new NetworkPacket(PACKET_TYPE_PRESENTER);
|
||||||
} else {
|
} else {
|
||||||
|
// TODO: In my tests we never get here. Decide if it's worth keeping the logic to replace unsent packets.
|
||||||
xDelta += np.getInt("dx");
|
xDelta += np.getInt("dx");
|
||||||
yDelta += np.getInt("dy");
|
yDelta += np.getInt("dy");
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user