Forum rules - please read before posting.

How to disable keyboard for Menu Input Element on Android & IOS?

Hi!

I've made a "in app purchases parent lock" to my game with AC menu system (screenshot below)

The three question marks are made with three "Menu Input Elements". Each input element value is controlled by a "Menu: Set Input box text" Action. 

Since I've built my own numpad (see below), I don't want the android (or IOS) keyboard to pop up. Now the keyboard pops up, and I can't find a way to disable that. Is there a way?

Thanks very much for your help!

image

Comments

  • The call to open the iOS/Android keyboard is made in MenuInput.cs, line 383:

    KickStarter.playerMenus.SelectInputBox (this);

    Removing it will prevent the keyboard from opening, but as the purpose of AC's Input element on touch-devices is to do solely that, you may want to consider removing it from your Menu.  As you have your own numpad Menu, you already have the means for user input - and can record the user's presses into global variables.  You may want to use a custom Action to process the keypresses first, however.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.