beautypg.com

8 auto repeat mode off, 9 assign keypad codes – Matrix Orbital GLK12232-25-SM User Manual

Page 44

background image

Examples

When the key code associated with key ’P’ (0x50) is pressed, the release
code is ’p’ (0x70). In RS-232 polled mode or via the I

2

C, the “Key

Down / Key Up” codes are used; however, the user should be careful of
timing details. If the poll rate is slower than the simulated auto-repeat it
is possible that polling for a key up code will be delayed long enough
for an unwanted key repeat to be generated.

10.8

Auto Repeat Mode Off

Syntax

Hexadecimal

0xFE 0x60

Decimal

254 96

ASCII

254 “‘”

Description

This command turns auto repeat mode off. See Set Auto Repeat Mode.

Remembered

No

10.9

Assign Keypad Codes

Syntax

Hexadecimal

0xFE 0xD5 [KDown] [KUp]

Decimal

254 213 [KDown] [KUp]

Parameters

Parameter

Length

Description

KDown

25

Key down codes

KUp

25

Key up codes

Description

This command will allow you to reassign the key codes that correspond
to the key presses on the matrix style key pad. The first 25 bytes that are
transmitted will be used for the key down codes and the next 25 bytes
that are transmitted will be used for the key up codes.

Key Down

1

2

3

4

5

1

A

B

C

D

E

2

F

G

H

I

J

3

K

L

M

N

O

4

P

Q

R

S

T

5

U

V

W

X

Y

Key Up

1

2

3

4

5

1

a

b

c

d

e

2

f

g

h

i

j

3

k

l

m

n

o

4

p

q

r

s

t

5

u

v

w

x

y

Remembered

Always

Matrix Orbital

GLK12232-25-SM

39