Next: , Previous: , Up: Read-Write Global Vars   [Contents][Index]


15.3.57 !kb

This is an integer number that expresses the state of the pointer buttons and modifier keys when any routine was last called that inspected this state. The returned number is the logical OR of those values from the following table that reflect the state.

1

The Shift key is depressed.

2

Caps lock is active.

4

The control (Ctrl) key is depressed.

8

The 1st modifier key is depressed. This is usually the Alt key.

16

The 2nd modifier key is depressed.

32

The 3rd modifier key is depressed.

64

The 4th modifier key is depressed.

128

The 5th modifier key is depressed.

256

The 1st pointer button is depressed. This is usually the leftmost mouse button.

512

The 2nd pointer button is depressed. This is usually the middle mouse button on three-button mice, or the rightmost mouse button on two-button mice.

1024

The 3rd pointer button is depressed. This is usually the rightmost mouse button on three-button mice.

2048

The 4th pointer button is depressed.

4096

The 5th pointer button is depressed.

See also: xquery