Touch Keyboard

From Chumby Wiki
Jump to: navigation, search

Project Description

This is an example of a keyboard that can be used to enter text using chumby's touch-screen. The keyboard can be set to various modes, such as lowercase, uppercase, numbers & symbols, email, etc.

Usage

If you press down on a given key and then slide your finger around, the text box will show the current "candidate" key, which is added to the input string when you lift your finger.

To accept the input and use it in your program, you can either add another Submit button, or you could intercept a certain character code (such as the Enter key) in the hit() function in KeyboardTest.as.

Source

The complete source code can be downloaded from here: ChumbyKeyboard.zip.