JULY 2018 - IMPORTANT NEWS FOR GMS 2 USERS: This extension was developed for GameMaker Studio 1.x. YoYo Games are working on a built-in solution for GameMaker Studio 2.x to display the virtual keyboard; it's listed on the official roadmap for version 2.2: https://help.yoyogames.com/hc/en-us/articles/231719448-RoadMap. I contacted them to make sure that it is really about showing the native keyboard on iOS and Android (and possibly other platforms), and it is. Therefore, I am cancelling my plans for a version 2 of this extension. It being a core feature of GMS 2 is great news, as it will most likely be integrated with the existing GML keyboard functionality (resulting in much simpler cross-platform code), not to mention it will be receiving more attention and better support than ever. I would like to thank everyone who purchased the extension over the years, and everyone who took the time to leave a review. It has been an absolute pleasure.
The Keyboard extension lets you use the native on-screen keyboard on iOS and Android. In addition to allowing you to programmatically show/hide the keyboard and retrieve the text entered by the user, it lets you customize the keyboard's functionality and appearance according to the platform's API. It also contains functions to access the system's clipboard and even save emojis as sprites, which you can then use in your game or application.
The Keyboard extension is extremely simple to use. Complete documentation is available (see below) and the extension comes with three working examples, ranging from the most basic implementation to an advanced text box system.
This extension does not make the existing GML keyboard functionality (events, functions, and built-in variables such as keyboard_string) work on iOS or Android. Instead, it gives a new set of functions to interact with the virtual keyboard on those platforms. Any code dealing with the keyboard on other platforms will have to be rewritten/modified to support the keyboard on iOS and Android using this extension.
Click on "More info":
gmkb_key_was_pressed()more consistent between iOS and Android and improved its documentation