Virtual keyboard explained

A virtual keyboard is a software component that allows the input of characters without the need for physical keys.[1] Interaction with a virtual keyboard happens mostly via a touchscreen interface, but can also take place in a different form when in virtual or augmented reality.

Types

On a desktop computer, a virtual keyboard might provide an alternative input mechanism for users with disabilities who cannot use a conventional keyboard, for multi-lingual users who switch frequently between different character sets or alphabets, which may be confusing over time, or for users who are lacking a traditional keyboard.

Virtual keyboards may utilize the following:

Various JavaScript virtual keyboards have been created on web browsers, allowing users to type their own languages on foreign keyboards. Multitouch screens allow the creation of virtual chorded keyboards for tablet computers,[3] touchscreens, touchpads, and wired gloves.[4] [5]

Mobile devices

Virtual keyboards are commonly used as an on-screen input method in devices with no physical keyboard where there is no room for one, such as a pocket computer, personal digital assistant (PDA), tablet computer, or touchscreen-equipped mobile phone. Text is commonly inputted either by tapping a virtual keyboard or finger-tracing.[6] Virtual keyboards are also featured in emulation software for systems that have fewer buttons than a computer keyboard would have.

Historical development

PDA

The four main approaches to enter text into a PDA were: virtual keyboards operated by a stylus, external USB keyboards, handwritten keyboards, and stroke recognition. Microsoft's mobile operating system approach was to simulate a completely functional keyboard, resulting in an overloaded layout.[7] Without support for multi-touch technology, PDA vitural keyboards had usability constraints.

First iPhone

When Apple presented the iPhone in 2007, not including a physical keyboard was seen as a detriment.[8] However, Apple brought the multi-touch technology into the device, overcoming the usability problems of PDAs.

Current implementation and use

The most common mobile operating systems, Android and iOS, give the developer community the possibility to individually develop custom virtual keyboards.

Android

The Android SDK provides an "InputMethodService".[9] This service provides a standard implementation of an input method, enabling the Android development community to implement their own keyboard layouts. The InputMethodService ships with it on Keyboard View.[10] While the InputMethodService can be used to customize key and gesture inputs, the Keyboard Class loads an XML description of a keyboard and stores the attributes of the keys.[11]

As a result, it is possible to install different keyboard versions on an Android device, and the keyboard is only an application, most frequently downloaded among them being Gboard and SwiftKey; a simple activation over the Android settings menu is possible.[12]

iOS

Apple's iOS allows development custom keyboards, but does not give access to the dictionary or general keyboard settings. iOS automatically switches between system and custom keyboards if the user enters text into the text input field.[13] [14]

The UIInputViewController is the primary view controller for a custom keyboard app extension. This controller provides different methods for the implementation of a custom keyboard, such as a user interface for a custom keyboard, obtaining a supplementary lexicon or changing the primary language of a custom keyboard.[15]

Word suggestions

Diverse scientific papers at the beginning of the 2000s showed even before the invention of smartphones, that predicting words, based on what the user is typing, assisted in increasing the typing speed.[16] [17] At the beginning of development of this keyboard feature, prediction was mainly based on static dictionaries. Google implemented the predicting method in 2013 in Android 4.4. This development was mainly driven by third party keyboard providers, such as SwiftKey and Swype.[18] In 2014 Apple presented iOS 8[19] which includes a new predictive typing feature called Quick Type, which displays word predictions above the keyboard as the user types.

Haptic feedback

Haptic feedback provides for tactile confirmation that a key has been successfully triggered i.e. the user hears and feels a "click" as a key is pressed. Utilizing hysteresis, the feel of a physical key can be emulated to an even greater degree. In this case, there is an initial "click" that is heard and felt as the virtual key is pressed down, but then as finger pressure is reduced once the key is triggered, there is a further "unclick" sound and sensation as if a physical key is respringing back to its original unclicked state. This behaviour is explained in Aleks Oniszczak & Scott Mackenzie's 2004 paper "A Comparison of Two Input Methods for Keypads on Mobile Devices" which first introduced haptic feedback with hysteresis on a virtual keyboard.[20]

Special keyboard types

Keyboards are needed in different digital areas. smartphones and devices that create virtual worlds, for example, virtual reality or augmented reality glasses, need to provide text input possibilities.

Optical virtual keyboard

An optical virtual keyboard was invented and patented by IBM engineers in 1992. It optically detects and analyses human hand and finger motions and interprets them as operations on a physically non-existent input device, such as a surface having painted keys. This allows it to emulate unlimited types of manually operated input devices including mouse or keyboard. All mechanical input units can be replaced by such virtual devices, optimized for the current application and for the user's physiology maintaining the speed, simplicity, and unambiguity of manual data input.

One example of this technology is the "Selfie Type" - a keyboard technology for mobile phones made by Samsung Electronics. It was intended to use the front-facing camera (the selfie camera) to track the user's fingers, enabling the user to type on an "invisible keyboard" on a table or another surface in front of the phone.[21] [22] It was introduced at the Consumer Electronics Show 2020[23] [24] [25] and was expected to be launched in the same year but never did.

Augmented reality keyboards

The basic idea of a virtual keyboard in an augmented reality environment is to give the user a text input possibility. A common approach is to render a flat keyboard into augmented reality, e.g. using the Unity TouchScreenKeyboard. The Microsoft HoloLens enables the user to point at letters on the keyboard by moving his head.[26]

Another approach was researched by the Korean KJIST U-VR Lab in 2003. Their suggestion was to use wearables to track the finger motion to replace a physical keyboard with virtual ones. They also tried to give audiovisual feedback to the user, when a key got hit. The basic idea was to give the user a more natural way to enter text, based on what he is used to.[27]

The Magic Leap 1 from Magic Leap implements a virtual keyboard with augmented reality.[28]

Virtual reality keyboards

The challenge, as in augmented reality, is to give the user the possibility to enter text in a completely virtual environment. Most augmented reality systems don't track the hands of the user. So many available systems provide the possibility to point at letters.[29]

In September 2016, Google released a virtual keyboard app for their Daydream virtual reality headset. To enter text, the user points at letters using the controller.[30]

In February 2017, Logitech presented an experimental approach to bring their keyboards into the virtual environment. The Vive Tracker and the Logitech G gaming keyboard track finger movement without wearing a glove. Fifty kits were sent to exclusive developers, enabling them, in combination with Logitech's BRIDGE developers kit, to test and experiment with the new technology.[31] [32]

Security considerations

Virtual keyboards may be used in some cases to reduce the risk of keystroke logging.[33] For example, Westpac's online banking service uses a virtual keyboard for password entry, as does TreasuryDirect (see picture). It is more difficult for malware to monitor the display and mouse to obtain the data entered via the virtual keyboard than it is to monitor real keystrokes. However, it is possible, for example by recording screenshots at regular intervals or upon each mouse click.[34]

The use of an on-screen keyboard on which the user "types" with mouse clicks can increase the risk of password disclosure by shoulder surfing, because:

See also

Notes and References

  1. Web site: virtual keyboard. PCMag.
  2. https://www.mobiletechreview.com/phones/Samsung-Omnia-i900-page2.htm Samsung Omnia i900, Reviewed August 21, 2008 by Lisa Gade: "There's even a virtual number pad for entering text T9-style, for those who are accustomed to texting on traditional mobile phones."
  3. Web site: Chien-Hsu Chen. Design and Evaluation of Chord Keyboard for Tablet Computer Manipulation. National Cheng Kung University.
  4. Web site: ASETNIOP concept designed to make touch typing on a touchscreen a mite easier. 9 October 2012 . Gizmag.com.
  5. Web site: ASETNIOP invisible keyboard aims to get you touch-typing on the iPad. 19 October 2022 . todaysiphone.com.
  6. Web site: Swype finger-tracing text entry seems fast, hypnotic, and magical. Engadget. 2016-03-24.
  7. Book: Mobile application for determination of users' text entry speed. Georgiev. Tsvetozar. Georgieva. Evgenia. 2008-06-12.
  8. News: How the world reacted to the first iPhone 10 years ago. Titcomb. James. 2017. The Telegraph. 2018-03-16. en-GB. 0307-1235.
  9. Web site: InputMethodService Android Developers. developer.android.com. en. 2018-03-19.
  10. News: Create a Custom Keyboard on Android. Code Envato Tuts+. 2018-03-19.
  11. Web site: Keyboard Android Developers. developer.android.com. en. 2018-03-19.
  12. Web site: keyboard - Google Play. en-US. 2018-03-19.
  13. Web site: Managing the Keyboard. developer.apple.com. en. 2018-03-19.
  14. Web site: UIInputViewController - UIKit Apple Developer Documentation. developer.apple.com. en. 2018-03-19.
  15. Web site: App Extension Programming Guide: Custom Keyboard. developer.apple.com. en. 2018-03-19.
  16. Tom Stocky, Alexander Faaborg, Henry Lieberman. 2004. A Commonsense Approach to Predictive Text Entry.
  17. Dunlop, Mark D. and Crossan, Andrew. 2000. Predictive text entry methods for mobile phones.
  18. News: How to use new QuickType and Swype keyboard options in iOS 8. Hattersley. Lucy. Macworld UK. 2018-03-19. en-GB.
  19. News: Using iOS 8's QuickType keyboard. 2014-09-19. CNET. 2018-03-19. en.
  20. Web site: CHI: A Comparison of Two Input Methods for Keypads on Mobile Devices. developer.apple.com. Oniszczak. Aleks. en.
  21. News: The invisible keyboard for smartphones. BBC News . en. 2020-01-13.
  22. Web site: Samsung introduces SelfieType, an AI-powered virtual keyboard – The Independent News. 11 January 2020 . en-US. 2020-01-13.
  23. Web site: Samsung Electronics to Showcase Successful 'C-Lab Inside' Projects and 'C-Lab Outside' Start-ups at CES 2020. news.samsung.com. en. 2020-01-13.
  24. Web site: Here's how Samsung's crazy invisible keyboard tech will work. 2020-01-06. Android Authority. en-US. 2020-01-13.
  25. Web site: Samsung Selfie Type. 6 January 2020. www.digitaltrends.com. 2020-01-13.
  26. Web site: Keyboard input in Unity. developer.microsoft.com. en-us. 2018-03-16.
  27. Book: ARKB: 3D vision-based Augmented Reality Keyboard.. Lee. Minkyung. Woo. Woontack. 2003-01-01.
  28. Web site: Text Entry .
  29. Poupyrev. Ivan. Virtual Notepad: Handwriting in Immersive VR.
  30. News: Google launches virtual keyboard for Daydream-ready phones. 2016-10-19. Haptical. 2018-03-16.
  31. Web site: Introducing the Logitech BRIDGE SDK - VIVE Blog. blog.vive.com. 2018-03-16.
  32. Web site: Logitech is experimenting with a keyboard built for virtual reality – TechCrunch. techcrunch.com. 2 November 2017 . en-US. 2018-03-16.
  33. Web site: Virtual keyboard.
  34. Lake Software: Does not defeat keyloggers!