Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Hardware keyboard on simulator. Possible?
Forum Updated to NodeBB v4.3 + New Features

Hardware keyboard on simulator. Possible?

Scheduled Pinned Locked Moved Mobile and Embedded
5 Posts 2 Posters 3.1k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    artem.marchenko
    wrote on last edited by
    #1

    Hi

    My app mostly targets touch screen devices, but ones with hardware keyboard as well. Is there a way to simulate HW keyboard in Simulator? I can't find the way for it.

    I've got a funny bug that on devices with keyboard (in Nokia's Remote Device Access at least) every HW button pressed is registered as two keypresses in my app.

    I know that simulator can take input from the PC keyboard, but this way I can't reproduce the bug.

    Best regards,
    Artem.

    1 Reply Last reply
    0
    • AlicemirrorA Offline
      AlicemirrorA Offline
      Alicemirror
      wrote on last edited by
      #2

      In simulator if you simulate a non-touch device you see the device itself, including the keyboard. If the keyboard is not shown I think that maybe a problem of the code. Maybe ?

      Also on touch devices when you touch a text input field that has the correct focus management you see the on-screen keyboard appearing. A good way to try both the conditions I think maybe to simulate a touch and screen device.

      Enrico Miglino (aka Alicemirror)
      Balearic Dynamics
      Islas Baleares, Ibiza (Spain)
      www.balearicdynamics.com

      1 Reply Last reply
      0
      • A Offline
        A Offline
        artem.marchenko
        wrote on last edited by
        #3

        I am probably missing something very basic :/

        I have latest SDK 1.1.3, start simulator, choose N97 and can't see any keyboard open.

        1 Reply Last reply
        0
        • AlicemirrorA Offline
          AlicemirrorA Offline
          Alicemirror
          wrote on last edited by
          #4

          I should check on my computer what it maybe. Tomorrow first I will try on my simulator and an app that I am sure how are managed the input fields so I can see what happens and will update this thread. (already set a note on the agenda)

          Enrico Miglino (aka Alicemirror)
          Balearic Dynamics
          Islas Baleares, Ibiza (Spain)
          www.balearicdynamics.com

          1 Reply Last reply
          0
          • A Offline
            A Offline
            artem.marchenko
            wrote on last edited by
            #5

            For my own app I solved the problem by borrowing N97 from a friend (BTW, Remote Device Access, a good service otherwise, sucks with the simulation of keyboard presses).

            That said, it is still a bit of a problem that there's no keyboard based device in simulator.

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved