diff --git a/src/main/java/org/kde/kdeconnect/Plugins/MousePadPlugin/KeyListenerView.java b/src/main/java/org/kde/kdeconnect/Plugins/MousePadPlugin/KeyListenerView.java index ae910654..c0144872 100644 --- a/src/main/java/org/kde/kdeconnect/Plugins/MousePadPlugin/KeyListenerView.java +++ b/src/main/java/org/kde/kdeconnect/Plugins/MousePadPlugin/KeyListenerView.java @@ -22,7 +22,7 @@ public class KeyListenerView extends View { int i = 0; SpecialKeysMap.put(KeyEvent.KEYCODE_DEL, ++i); // 1 SpecialKeysMap.put(KeyEvent.KEYCODE_TAB, ++i); // 2 - SpecialKeysMap.put(KeyEvent.KEYCODE_ENTER, ++i); // 3 + SpecialKeysMap.put(KeyEvent.KEYCODE_ENTER, 12); ++i; // 3 is not used, return is 12 instead SpecialKeysMap.put(KeyEvent.KEYCODE_DPAD_LEFT, ++i); // 4 SpecialKeysMap.put(KeyEvent.KEYCODE_DPAD_UP, ++i); // 5 SpecialKeysMap.put(KeyEvent.KEYCODE_DPAD_RIGHT, ++i); // 6