Difference between revisions of "Virtual Keyboard"

Jump to navigation Jump to search
No change in size ,  21:11, 10 July 2011
→‎Information for keyboard pack creators: Removed Reference to SVN and changed link to Git SCM
(Cleanup table format and start to improve text a little.)
(→‎Information for keyboard pack creators: Removed Reference to SVN and changed link to Git SCM)
 
(2 intermediate revisions by 2 users not shown)
Line 3: Line 3:
'''Note:''' The virtual keyboard is being actively developed.
'''Note:''' The virtual keyboard is being actively developed.


The ScummVM virtual keyboard provides a generalised implementation
The ScummVM virtual keyboard provides a generalized implementation
of a virtual keyboard that will be usable on any backends that wish to make use of it.
of a virtual keyboard that will be usable on any backends that wish to make use of it.


Line 67: Line 67:
'''NOTE:''' It should be noted that the ''wise'' keyboard pack author uses SVG for there keyboard image(s) and just saves bitmaps at whatever resolutions are needed. It also makes it easy to add extra resolution images later if needed.
'''NOTE:''' It should be noted that the ''wise'' keyboard pack author uses SVG for there keyboard image(s) and just saves bitmaps at whatever resolutions are needed. It also makes it easy to add extra resolution images later if needed.


In order to create a keyboard pack there are three main stages:  
In order to create a keyboard pack these are the main stages:  


* Create the keyboard bitmaps.
* Create the keyboard bitmaps.
Line 73: Line 73:
* Writing the XML configuration file and incorporate the image maps.
* Writing the XML configuration file and incorporate the image maps.


You can view the files that make up our default keyboard pack in SVN [http://scummvm.svn.sourceforge.net/viewvc/scummvm/scummvm/trunk/backends/vkeybd/packs/vkeybd_default/ here]. This should serve as a useful reference in conjunction with the information below.  
You can view the files that make up our default keyboard pack in our source code repository [https://github.com/scummvm/scummvm/tree/master/backends/vkeybd/packs/vkeybd_default here]. This should serve as a useful reference in conjunction with the information below.  


=== Keyboard bitmaps ===
=== Keyboard bitmaps ===


ScummVM's image manager can only decode 24-bit BMP images, so make sure you save your images in this format. You need to reserve a particular colour value to be used for transparency. By default the colour used for transparency is set to be #FF00FF, but if you want to use a different colour this can be specified in the configuration file.
ScummVM's image manager can only decode 24-bit BMP images, so make sure you save your images in this format. You need to reserve a particular color value to be used for transparency. By default the color used for transparency is set to be #FF00FF, but if you want to use a different color this can be specified in the configuration file.


=== XML configuration file ===
=== XML configuration file ===
TrustedUser
574

edits

Navigation menu