Keyboard with type Numbers desn't fire key press "enter"

0 favourites
  • 3 posts
From the Asset Store
Change delay, create new lines, "backspace" the text
  • Problem Description

    In Android when I change the type of the keyboard to "Numbers" the keyboard doesn't fire an event when "enter" key is pressed. The same keyboard with the type "Text" fires event "Enter" in Android.

    Attach a Capx

    https://drive.google.com/file/d/0ByR2TX ... sp=sharing

    Description of Capx

    Just TextBox, Text for debug print and Keyboard. There's listener that set the TextBox in focus when the game starts, and then listener of the keyboard events that appends code of the last pressed key to the debug text

    Steps to Reproduce Bug

    • Open the project
    • Run the project
    • You can see the input textbox and the text "?", when you press "Enter" in the keyboard you see that "13" appends to the "?"
    • Export it for Cordova, Crosswalk, check New Intel XDK Project
    • Open the exported project in Intel XDK
    • Build the project
    • Download and install the app
    • Run the app
    • See the keyboard
    • Press the "Enter"
    • No "13" is not appended to "?"

    Observed Result

    No "13" is not appended to "?"

    Expected Result

    Like in desktop I expect that "13" will append to the "?" text. When I define the textBox as "Text" type I see "13" appends to the "?"

    Affected Browsers

    • Chrome: NO)

    Operating System and Service Pack

    Android 6.0.1

    Construct 2 Version ID

    Release 239 (64-bit)

  • The keyboard object is not designed to work with mobile on-screen keyboards, unless you have a real physical keyboard attached. So closing as won't fix.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Thank you for the answer

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)