Benson type :
Each cusor position is return with the following format :
Syntax :
@FBSXXXXXXYYYYYY<cr>
Where :
|
Data |
Description |
|
@ |
ASCII code 64 |
|
F |
Cursor state : U : Button not pressed, D :- Button pressed, other : ignored |
|
B |
Current state of buttons : 0 : No button pressed, 1 : Button N°1 pressed, x : Other button pressed. |
|
S |
X coordinate sign : '+' : Positive, '-' : Negative |
|
XXXXXX |
Current X coordinate |
|
S |
Y coordinate sign : : '+' : Positive, '-' : Negative |
|
YYYYYY |
Current Y coordinate |
|
<cr> |
(ASCII code 13) terminator character |