Matrix Orbital GLK240128-25 User Manual

Page 47

Advertising
background image

42

Command Summary

11.6 Create a
Slider

Dec
Hex
ASCII

254 186

FE BA

■ ║

ID Type X Y Width Height Control Width Min Max
ID Type X Y Width Height Control Width Min Max
ID Type X Y Width Height Control Width Min Max

v8.3

Draw a slider on the screen that responds visually and numerically when tapped or slid. Slider regions respond
with a value of 83, their ID, then two byte length current X and Y coordinates when activated.

ID

Byte

Unique slider identification number, maximum 32 regions/sliders. value between 0 and
31

Type

Byte

Defines slider direction and starting point for the control, as below.

X

Byte

Leftmost coordinate.

Y

Byte

Topmost coordinate.

Width

Short

Width of slider.

Height

Short

Height of slider.

Control Width

Byte

Width of the slider control.

Min

Short

Minimum slider value.

Max

Short

Maximum slider value.

Table 35: Slider Definition

Value

Description

16

Horizontal slider, starting at minimum position

17

Vertical slider, starting at minimum position

32

Horizontal slider, starting at maximum position

33

Vertical slider, starting at maximum position

64

Horizontal slider, starting at middle position

65

Vertical slider, starting at middle position


11.7 Delete a
Slider

Dec
Hex
ASCII

254 189

FE BD

■ ╜

ID
ID
ID

v8.3

Deletes a previously created slider. Memory is shared with touch regions, this command will free space.

ID

Byte

Unique region identification number.


11.8 Delete
All Sliders

Dec
Hex
ASCII

254 190

FE BE

■ ╛

v8.3

Deletes all previously created sliders. Does not remove touch regions.


11.9 Set
Dragging
Threshold

Dec
Hex
ASCII

254 137

FE 89

■ ë

Threshold
Threshold
Threshold

v8.0

Sets the distance a press is required to travel before a drag event is reported. Precision will vary inversely to data
transmitted; care should be taken to find a suitable balance. Distance is calculated as

.

Threshold

Byte

Dragging threshold value. Default is 8.


Advertising
This manual is related to the following products: