gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
VncKeyboard Class Referenceabstract

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>

Inheritance diagram for VncKeyboard:
Pl050

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...
 

Detailed Description

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 62 of file vncinput.hh.

Member Function Documentation

virtual void VncKeyboard::keyPress ( uint32_t  key,
bool  down 
)
pure virtual

Called when the vnc server receives a key press event from the client.

Parameters
keythe key passed is an x11 keysym
downis the key now down or up?

Implemented in Pl050.

Referenced by VncServer::recvKeyboardInput().


The documentation for this class was generated from the following file:

Generated on Fri Jun 9 2017 13:04:23 for gem5 by doxygen 1.8.6