gem5
v20.1.0.0
|
A device that expects to receive input from the vnc server should derrive (through mulitple inheritence if necessary from VncKeyboard or VncMouse and call setKeyboard() or setMouse() respectively on the vnc server. More...
#include <vncinput.hh>
Public Member Functions | |
virtual void | keyPress (uint32_t key, bool down)=0 |
Called when the vnc server receives a key press event from the client. More... | |
A device that expects to receive input from the vnc server should derrive (through mulitple inheritence if necessary from VncKeyboard or VncMouse and call setKeyboard() or setMouse() respectively on the vnc server.
Definition at line 59 of file vncinput.hh.
|
pure virtual |
Called when the vnc server receives a key press event from the client.
key | the key passed is an x11 keysym |
down | is the key now down or up? |
Implemented in PS2Keyboard.
Referenced by VncServer::recvKeyboardInput().