Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-38349

Missing support for CTRL, Fn, HOME, END, PGUP, PGDN, INS, ESC and few other keys in Android builds

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Not Evaluated Not Evaluated
    • None
    • 5.2.0, 5.2.1, 5.3.0 Alpha, 5.3.0 Beta1
    • QPA
    • None
    • Build: Ubuntu 12.04, QT5.2.1, NDK r8e, SDK 20130514
      Run: Samsung Galaxy S3 and few others
    • Android

      Missing support for CTRL, Fn, HOME, END, PGUP, PGDN, INS, ESC and few other keys in Android builds.
      Attached patch for 5.2.1/qtbase/src/plugins/platforms/android/src/androidjniinput.cpp
      adds support for missing basic keys, fixes wrongly mapped HOME key, add support for CTRL modifier, cleans a little bit media key mapping and adds android macro names for all mapped keys (the macro names help to update the code so if possible please keep them).
      To test extended keys you can use Hacker's Keyboard by Klaus Weidner and some QT terminal programs.
      I used QT Android builds with GTQTC (terminal window backend) for Harbour (http://harbour-project.org/)

        1. androidjniinput.cpp
          23 kB
          Przemysław Czerpak
        2. androidjniinput.cpp.diff
          11 kB
          Przemysław Czerpak
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            esabraha Eskil Abrahamsen Blomfeldt
            druzus Przemysław Czerpak
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes