Universal virtual button

Configuration of VirtualButton.ini file enables you to place a unique virtual button. For example, if you display a virtual Home button on your application, selecting it will move you back to the Home screen.

 

Destination of VirtualButton.ini

VirtualButton.ini should be saved in C:\ProgramData\aeroTAP folder or the same folder where aeroTAP.exe is saved.

Notes:  C:\ProgramData\aeroTAP folder is given priority. Please save with UTF-8 format.

How to modify VirtualButton.ini

Description format
[Application EXE file name{:Caption name}]
action number, (X,Y), mode(0-1), button image No(0-3), Opacity(0-255), (Xxxxx,Yyyyy)
        or 
action number, (X,Y), mode(0-1), button image No(0-3), Opacity(0-255), "button caption name"
 
Action Number: Action to execute when the virtual button is selected
(X,Y): Position to display the virtual button, using 320x240 coordinate system.
Mode: at value 0 (default), executed when the virtual cursor comes on top of the virtual button,at value 1, executed when click action is made on top of the virtual button
Button Image No.: (applicable values are 0-3) Number of the image for the virtual button you want displayed (default value is 0).
                         0: HOME, 1: LEFT, 2: RIGHT, 3: CANCEL button image
                     Important: You cannot use the same button image within the same screen.
Transparency: Transparency of the virtual button displayed (applicable values are 0-255). For a opaque button, set the value to 255. At the value of 0, the button will not be displayed but it will be visible when virtual cursor overlaps it.
(Xxxxx,Yyyyy): Can be abbreviated or left blank. When performing an action, it will move to the location defined. Location X,Y is the actual screen coordinate. Example: (X100,Y200)
                         Usually the action will be perform where the current cursor is located, however you can use this option when you want to perform the action at a different location.
"button caption name": Can be abbreviated or left blank. Instead of setting the coordinates, you can define the application's button name (caption name) so you can click that button when selected. For example, when the button coordinates differ at different window sizes, to define the button caption name instead of the coordinates will enable you to select the button regardless of the window size.


The following example shows how to install the virtual button for Chrome Google Earth.
Flip action by tap is assigned for the RIGHT/LEFT button. To show the full screen toggle button with F11 key is assigned to the TOPLEFT button. Button for full screen will only be performed as a click action.
Example:
[chrome.exe:Google Earth]
37,(40,120),0,1,255

[chrome.exe:Google Earth]
38,(280,120),0,2,255
[chrome.exe:Google Earth]
71,(20,20),1,0,255

Configure multiple virtual buttons

You can define a maximum of 4 virtual buttons in an application. You cannot define the same image number within the same application. To use the same image, modify the virtual button image.

Modify virtual button image

Versatile virtual button images are predefined and ready for use. To modify these images, see Cusomize virtual button images.
Button Image No 0
 
Button Image No 1
 
Button Image No 2
 
Button Image No 3