beautypg.com

Assigning a pc keyboard key to a button, Figure 6, Specifying a button location – Sun Microsystems Computer Accessories User Manual

Page 45

background image

Chapter 3

Examining Device Property Files

31

FIGURE 6

Specifying a Button Location

Assigning a PC Keyboard Key to a Button

You can assign a key on the PC keyboard to a device button in order to simulate a
button press by pressing the key (instead of clicking on the button with the mouse).

You use a line of the form:

key.<

button_name

> =

height

X

width

Y

x1,y1

x2,y2

x3,y3

x4,y4

x5,y5

x6,y6

x7,y7

Rectangular Button Form

Polygon Button Form