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EFT_
UP
KEY_
LIGHT
S_
TOGGLE
KEY_
LINEFEED
KEY_
LIST
KEY_
LOGOFF
KEY_M
KEY_
MACRO
KEY_
MACR
O1
KEY_
MACR
O2
KEY_
MACR
O3
KEY_
MACR
O4
KEY_
MACR
O5
KEY_
MACR
O6
KEY_
MACR
O7
KEY_
MACR
O8
KEY_
MACR
O9
KEY_
MACR
O10
KEY_
MACR
O11
KEY_
MACR
O12
KEY_
MACR
O13
KEY_
MACR
O14
KEY_
MACR
O15
KEY_
MACR
O16
KEY_
MACR
O17
KEY_
MACR
O18
KEY_
MACR
O19
KEY_
MACR
O20
KEY_
MACR
O21
KEY_
MACR
O22
KEY_
MACR
O23
KEY_
MACR
O24
KEY_
MACR
O25
KEY_
MACR
O26
KEY_
MACR
O27
KEY_
MACR
O28
KEY_
MACR
O29
KEY_
MACR
O30
KEY_
MACR
O_
PRESE
T1
KEY_
MACR
O_
PRESE
T2
KEY_
MACR
O_
PRESE
T3
KEY_
MACR
O_
PRESE
T_
CYCLE
KEY_
MACR
O_
RECOR
D_
START
KEY_
MACR
O_
RECOR
D_
STOP
KEY_
MAIL
KEY_MAX
KEY_
MEDIA
KEY_
MEDI
A_
REPEAT
KEY_
MEDI
A_
TOP_
MENU
KEY_
MEMO
KEY_
MENU
KEY_
MESSENGER
KEY_MHP
KEY_
MICMUTE
KEY_
MINUS
KEY_
MIN_
INTERESTING
KEY_
MODE
KEY_
MOVE
KEY_MP3
KEY_
MSDOS
KEY_
MUHENKAN
KEY_
MUTE
KEY_N
KEY_NEW
KEY_
NEWS
KEY_
NEXT
KEY_
NEXTSONG
KEY_
NEXT_
FAVORITE
KEY_
NOTIFICATIO
N_
CENTER
KEY_
NUMERI
C_
0
KEY_
NUMERI
C_
1
KEY_
NUMERI
C_
2
KEY_
NUMERI
C_
3
KEY_
NUMERI
C_
4
KEY_
NUMERI
C_
5
KEY_
NUMERI
C_
6
KEY_
NUMERI
C_
7
KEY_
NUMERI
C_
8
KEY_
NUMERI
C_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