Skip to content

Add numpad option for remote input plugin

This is my first merge request here, so please tell me if anything needs changes.

Summary

This merge request adds another menu item, next to the Show Keyboard button, to show the numpad in the remote input plugin. The numpad functions the same way as the normal keyboard does, but with only numbers. It works by changing the listener view's input type to numbers only.

Implements: Bug 433052

Test Plan

  1. Run KDE Connect on a desktop and on Android, with virtual/remote input enabled
  2. Open remote input in the Android app
  3. There should be a numpad icon at the top right, tap on it
  4. The numpad should be toggled when the icon is tapped
  5. See that input from the numpad will be sent to the desktop
  6. Also try the keyboard button to see that the normal keyboard is opened instead, and still works

Merge request reports