![]() |
Touch-It Virtual Keyboard | Version 4.9.2 |
| Before starting | |||||||||||||
|
This section gives usefull information of how Touch-It manages keyboard rendering.
Size, position and zoomRelated links Packaging, Setup - Templates. To allow end user to adjust keyboard to its monitor resolution and thus to use any templates, Touch-It works with zoom functions. Real size and position become (almost) obsolete notions. Image renderingRelated link Default - Images. Touch-It uses different algorithms to render images and texts. Before creating an image, you should figure out which of them fits your needs.
StretchingThis is the technic to use when the image is a non-square image or has a complex surface.Although when creating a new template, the keyboard, images and texts sizes should be greater or equal to the biggest screen resolution you plan to use. Simply because rendering quality is always better when reducing the image.
OptimizationPerfect for square images with flat surface or to create round rectangle from a spheric image.The image is splitted in four parts which become the corners of the resulting image. Touch-It then fill the gaps. Therefore the bevel and shadow effect remain identic whatever is the size of the button and the original image can be very small.
RepeatAlways keep the original size of the image and repeat it either horizontally, vertically or in mosaic.
The No cut options ensure that all images are 100% in view. The result is then centered in the key.
Images creationRelated links Default - Images, Default - Text, Guidelines. Images can be either PNG, JPG or BMP of any color depth.
32 bits alpha channel of PNG images is fully supported. This allows to have keyboards and
keys of any shapes, partially transparent and with shadows. For pictograms (glyphs) of 24 bits or lower, the transparency is (optionally) created using the bottom-left pixel as the transparent color. Note that this color should be used only for the background or the resulting image may look altered. Don't use this feature with 32bits png images. The alpha channel would be recreated with less accuracy.
BMP Pictograms of 1 or 8 bits grayscale have their color modified to match the font color assigned to the key.
MarginsRelated link Default - Images, Default - Colors. Margins define the usable area of the key to display texts or glyphs. If the text does not fit this area, it is truncated. Different margins are applied whether the key is up or down. This allows to shift the text position to give the final 3D effect.
When using stretched pictograms, margins should be set to ensure a bound rectangle proportional to the image size. Note that the pictogram size depends only on the image up margins. Margins for image down are used only to shift its position.
Active regionsRelated link Toolbar - Project. The active region (clickable) of the key is generated from the alpha channel. No part whithin your bound image should be fully transparent or the click may have no effect once in a while. To avoid this behaviour, add a semi-transparent background to your image shape (~3% opacity).
LocalizationRelated links Text key, ABC key, Unicode. Touch-It uses keyboard scancodes insteed of hard coded characters. This makes the same templates usable in any western languages. (Asian languages may require some rework.) Available layouts depend on the Windows regional settings. Other key captions can (optionally) be set by language. Touch-It selects the language to display based on the current layout id (which include the language id) and NOT the language of the operating system. Eg. Switching from the UK layout to the Swedish layout changes the Touch-It language from English to Swedish. UK to US would still use the English.KeystrokesRelated links Send keystrokes (Key list), Text key, ABC key. Touch-It can send simple characters and strings but also any keystrokes. You can then reproduce any standard shortcut and create new key combinations.
Open the Multiline editor and press the Record keystrokes button to add key code with up/down event. A down key is represented in red starting with a dot [.KEYNAME]. A key released in green starting with a semicolon [:KEYNAME]. If you manually edit the states, be sure to release the key. If not, the key will still be seen as pressed after the macro is terminated and the result of the next mouse click or keyboard key may be unpredictable.
It is also possible to include unicode characters in the text. Just open the Unicode table
Position on screenRelated links Packages, Drive key, Open keyboard key, Position key.
| |||||||||||||
| Copyright © 2011 Chessware SA |