-
Notifications
You must be signed in to change notification settings - Fork 3
Protocol Information
mcharmas edited this page Sep 13, 2010
·
2 revisions
Everything is sent in plain text.
Only during TCP/IP connection authentication is performed:
- client sends password
- server compares password with configuration
- if password is wrong server replies with “WP;” and disconnects
- else it replies with “OK;”
After connection server waits for commands to execute:
Commands syntax:
- commands are ended with “;”
- mose commands:
- LDOWN – left button down
- RDOWN – right button down
- LUP – left button up
- RUP – right button up
- x y – mouse acceleration coordinates
- SCROLL y – scroll acceleration in y axis
- STOP – stops mouse
- key commands:
- starts with “KEY”
- everything according to msdn SendKeys documentation except " " which is “KEY {SPACE};” and “;” which is “KEY {SEMICOLON};”
- “KEY {MINIMIZE};” minimizes active window (may not work in not Polish window – FIX!!)
- media commands:
- starts with “MEDIA”
- PLAY / STOP / PAUSE / NEXT / PREV / VOLUP / VOLDOWN