|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface InputInterface
Session input interface, used to send client events (keyboard, mouse) to the session (RDP, VNC, SSH etc)
Field Summary | |
---|---|
static int |
KEY_PRESS
|
static int |
KEY_RELEASE
|
static int |
PTRFLAGS_BUTTON1
|
static int |
PTRFLAGS_BUTTON2
|
static int |
PTRFLAGS_BUTTON3
|
static int |
PTRFLAGS_DOWN
|
static int |
PTRFLAGS_MOVE
|
Method Summary | |
---|---|
void |
sendKeyboardSynchronize(boolean scroll,
boolean numlock,
boolean capital)
synchronize keyboard status |
void |
sendMouse(int flags,
int x,
int y)
send mouse position |
void |
sendScancode(int flags,
int scancode)
send scancode of the key |
void |
sendUnicode(int unicode)
send unicode |
Field Detail |
---|
static final int KEY_PRESS
static final int KEY_RELEASE
static final int PTRFLAGS_BUTTON1
static final int PTRFLAGS_BUTTON2
static final int PTRFLAGS_BUTTON3
static final int PTRFLAGS_DOWN
static final int PTRFLAGS_MOVE
Method Detail |
---|
void sendMouse(int flags, int x, int y)
flags
- can be PTRFLAGS_BUTTON | KEY_PRESS. PTRFLAGS_BUTTON1 (left), PTRFLAGS_BUTTON2 (right), PTRFLAGS_BUTTON3 (middle)x
- y
- void sendScancode(int flags, int scancode)
flags
- scancode
- void sendUnicode(int unicode)
unicode
- void sendKeyboardSynchronize(boolean scroll, boolean numlock, boolean capital)
scroll
- scroll key on or offnumlock
- numlock key on or offcapital
- capital key on or off
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |